给单据增加复制功能

This commit is contained in:
季圣华
2021-09-22 23:08:24 +08:00
parent efb1e828e0
commit a7ac4581fd
28 changed files with 120 additions and 0 deletions

View File

@@ -33,6 +33,12 @@ export const BillListMixin = {
this.$refs.modalForm.action = "add";
this.handleAdd();
},
myHandleCopyAdd(record) {
this.$refs.modalForm.action = "copyAdd";
this.$refs.modalForm.edit(record);
this.$refs.modalForm.title = "复制新增";
this.$refs.modalForm.disableSubmit = false;
},
myHandleEdit(record) {
if(record.status === '0') {
this.$refs.modalForm.action = "edit";