解决单据跳转的时候的无法加载供应商和客户的bug

This commit is contained in:
季圣华
2022-11-16 22:45:50 +08:00
parent 60b332ca94
commit 1764ee66f3
8 changed files with 94 additions and 94 deletions

View File

@@ -259,9 +259,13 @@
this.loadDetailData(1)
}
} else {
this.getSelectBillDetailRows();
this.$emit('ok', this.selectBillDetailRows, this.linkNumber, this.organId, this.discount, this.deposit, this.remark)
this.close();
if(this.selectedDetailRowKeys.length) {
this.getSelectBillDetailRows()
this.$emit('ok', this.selectBillDetailRows, this.linkNumber, this.organId, this.discount, this.deposit, this.remark)
this.close()
} else {
this.$message.warning('抱歉,请选择单据明细!')
}
}
},
//查询明细列表