内部码打印bug修复

prod
郑明梁 2 years ago
parent 9b43123599
commit 7c086e1639

@ -260,7 +260,7 @@ export default {
},
selectProductFunction() {
if(this.query.id==null) {
inserThrOrderWeb({innerOrderEntity: this.formData})
inserThrOrderWeb({innerOrderEntity: this.formData,editStatus:1})
.then(response => {
this.loading = false;
if (response.code === 20000) {
@ -293,7 +293,16 @@ export default {
tableRowClassName({row, rowIndex}) {
row.index = rowIndex;
},
//
resetForm() {
if (this.$refs["dataForm"]) {
//
this.$refs["dataForm"].clearValidate();
//
this.$refs["dataForm"].resetFields();
this.getList();
}
},
deleteCodeArray(index, row) {
this.$confirm("此操作将永久删除该数据, 是否继续?", "提示", {
confirmButtonText: "确定",
@ -335,7 +344,7 @@ export default {
},
getStockOrderDetailList() {
this.loading = true;
listInnerOrderDetail({orderIdFk:this.pId}) //
listInnerOrderDetail({orderIdFk:this.formData.id}) //
.then((response) => {
this.codeArray = response.data.list || [];
this.total = response.data.total || 0;
@ -366,6 +375,7 @@ export default {
this.formData.billDate = this.idQuery.formData.createTime;
this.orderEditor = true;
this.sValue = this.formData.corpName;
this.getStockOrderDetailList();
} else {
this.formData = {
id: null,

Loading…
Cancel
Save