1.修复部分bug

prod
x_z 2 years ago
parent e54026a9bb
commit 17f7945977

@ -454,7 +454,7 @@ export default {
deleteLoading: false,
busTypes: [],
currentRow: {
billNo:null,
billNo: null,
},
bizQuery: {
productName: null,
@ -578,14 +578,12 @@ export default {
};
deleteInvByBillNo(params).then((res) => {
if (res.code === 20000) {
debugger
this.$message.success("删除成功");
this.list = [];
this.detailList = [];
this.clearDetailList();
this.filterQuery={
billNo: "",
};
this.filterQuery.billNo = null;
this.currentRow.billNo = "";
}
}).catch((error) => {
this.$message.error("删除失败");
@ -660,8 +658,12 @@ export default {
this.getBizDetailList();
},
getBizDetailList() {
debugger
if (null == this.currentRow) {
return;
}
if (isBlank(this.currentRow.billNo)) {
this.$message.error("请先选择需要查询的单据!")
this.$message.error("请先选择需要查询的单据!");
return;
}
this.bizDetailLoading = true;
@ -696,6 +698,9 @@ export default {
this.getCodeDetailList();
},
getCodeDetailList() {
if (null == this.currentRow) {
return;
}
if (isBlank(this.currentRow.billNo)) {
this.$message.error("请先选择需要查询的单据!")
return;
@ -734,6 +739,9 @@ export default {
this.getResultDetailList();
},
getResultDetailList() {
if (null == this.currentRow) {
return;
}
if (isBlank(this.currentRow.billNo)) {
this.$message.error("请先选择需要查询的单据!")
return;

@ -550,7 +550,7 @@ export default {
},
created() {
this.getInvList();
if (null !== this.maOrder) {
if (null !== this.maOrder && !isBlank(this.maOrder.orderId)) {
this.formData.orderId = this.maOrder.orderId;
this.formData.createTime = this.maOrder.createTime;
this.formData.invCode = this.maOrder.invWarehouseCode;

Loading…
Cancel
Save