复制单据的时候需要移除关联单据的相关信息

This commit is contained in:
季圣华
2022-05-27 23:18:12 +08:00
parent f67f772f76
commit 29eb63e94f

View File

@@ -43,6 +43,9 @@ export const BillListMixin = {
if(this.btnEnableList.indexOf(2)===-1) { if(this.btnEnableList.indexOf(2)===-1) {
this.$refs.modalForm.isCanCheck = false this.$refs.modalForm.isCanCheck = false
} }
//复制单据的时候需要移除关联单据的相关信息
record.linkNumber = ''
record.billType = ''
this.$refs.modalForm.edit(record); this.$refs.modalForm.edit(record);
this.$refs.modalForm.title = "复制新增"; this.$refs.modalForm.title = "复制新增";
this.$refs.modalForm.disableSubmit = false; this.$refs.modalForm.disableSubmit = false;