bug修改

prod
anthonywj 2 years ago
parent 4015a52aa6
commit 983b9996f8

@ -161,8 +161,7 @@ export default {
methods: { methods: {
rowStyle({row, rowIndex}) { rowStyle({row, rowIndex}) {
let rowBackground = { let rowBackground = {};
};
if (row.reCount != row.acceptCount) { if (row.reCount != row.acceptCount) {
rowBackground.color = '#f60303'; rowBackground.color = '#f60303';
} }
@ -255,6 +254,8 @@ export default {
}) })
.catch(() => { .catch(() => {
}); });
}else {
this.$message.success("匹配成功!");
} }
} else { } else {
@ -338,8 +339,6 @@ export default {
}) })
.catch(() => { .catch(() => {
this.renewAccept(); this.renewAccept();
}); });
} }

@ -500,8 +500,10 @@ export default {
}); });
}, },
addOrders(row) { addOrders(row) {
this.currentRow = row;
this.idQuery = {}; this.idQuery = {};
this.idQuery = row; this.idQuery = row;
this.addOrderVisible = true; this.addOrderVisible = true;
}, },
closeDialog() { closeDialog() {

@ -453,7 +453,9 @@ export default {
formData: formJson, formData: formJson,
deleteLoading: false, deleteLoading: false,
busTypes: [], busTypes: [],
currentRow: {}, currentRow: {
billNo:null,
},
bizQuery: { bizQuery: {
productName: null, productName: null,
orderIdFk: null, orderIdFk: null,
@ -576,11 +578,14 @@ export default {
}; };
deleteInvByBillNo(params).then((res) => { deleteInvByBillNo(params).then((res) => {
if (res.code === 20000) { if (res.code === 20000) {
debugger
this.$message.success("删除成功"); this.$message.success("删除成功");
this.list = []; this.list = [];
this.detailList = []; this.detailList = [];
this.filterQuery.billNo = null;
this.clearDetailList(); this.clearDetailList();
this.filterQuery={
billNo: "",
};
} }
}).catch((error) => { }).catch((error) => {
this.$message.error("删除失败"); this.$message.error("删除失败");

@ -277,7 +277,7 @@ export default {
// //
getBusType() { getBusType() {
let query = { let query = {
enable: false, enable: true,
type: 1, type: 1,
}; };
getBusChange(query) getBusChange(query)

@ -314,7 +314,7 @@ export default {
}, },
getBusType() { getBusType() {
let query = { let query = {
enable: false, enable: true,
type: 1, type: 1,
}; };
getBusChange(query) getBusChange(query)

Loading…
Cancel
Save