From b2e231938f9ac4dffdd402a796e946354377c4a3 Mon Sep 17 00:00:00 2001 From: jishenghua <752718920@qq.com> Date: Thu, 26 Sep 2024 23:00:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E6=94=B6=E5=85=A5=E5=8D=95=E5=92=8C?= =?UTF-8?q?=E6=94=AF=E5=87=BA=E5=8D=95=E5=A2=9E=E5=8A=A0=E6=94=B6=E6=94=AF?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E4=B8=8B=E6=8B=89=E6=A1=86=E7=9A=84=E5=BF=AB?= =?UTF-8?q?=E6=8D=B7=E5=BD=95=E5=85=A5=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/jeecg/JEditableTable.vue | 1 + .../financial/mixins/FinancialModalMixin.js | 15 ++++++++++++++- .../src/views/financial/modules/ItemInModal.vue | 10 +++++++++- .../views/financial/modules/ItemOutModal.vue | 10 +++++++++- .../src/views/system/modules/InOutItemModal.vue | 17 +++++++++++++++-- 5 files changed, 48 insertions(+), 5 deletions(-) diff --git a/jshERP-web/src/components/jeecg/JEditableTable.vue b/jshERP-web/src/components/jeecg/JEditableTable.vue index 5d8441c0c..ffec2cfce 100644 --- a/jshERP-web/src/components/jeecg/JEditableTable.vue +++ b/jshERP-web/src/components/jeecg/JEditableTable.vue @@ -234,6 +234,7 @@
+
diff --git a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js index 0baa1ada1..e03756102 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js @@ -18,7 +18,11 @@ export const FinancialModalMixin = { billStatus: '0', isCanCheck: true, quickBtn: { - person: false + vendor: false, + customer: false, + account: false, + person: false, + inOutItem: false }, /* 原始审核是否开启 */ checkFlag: true, @@ -191,6 +195,11 @@ export const FinancialModalMixin = { this.$refs.personModalForm.title = "新增经手人"; this.$refs.personModalForm.disableSubmit = false; }, + addInOutItem(type) { + this.$refs.inOutItemModalForm.add(type); + this.$refs.inOutItemModalForm.title = "新增收支项目"; + this.$refs.inOutItemModalForm.disableSubmit = false; + }, vendorModalFormOk() { this.initSupplier() }, @@ -203,6 +212,9 @@ export const FinancialModalMixin = { personModalFormOk() { this.initPerson() }, + inOutItemModalFormOk(type) { + this.initInOutItem(type) + }, workflowModalFormOk() { this.close() }, @@ -337,6 +349,7 @@ export const FinancialModalMixin = { this.quickBtn.customer = btnStrList[i].url === '/system/customer'?btnStrList[i].btnStr.indexOf(1)>-1:this.quickBtn.customer this.quickBtn.account = btnStrList[i].url === '/system/account'?btnStrList[i].btnStr.indexOf(1)>-1:this.quickBtn.account this.quickBtn.person = btnStrList[i].url === '/system/person'?btnStrList[i].btnStr.indexOf(1)>-1:this.quickBtn.person + this.quickBtn.inOutItem = btnStrList[i].url === '/system/in_out_item'?btnStrList[i].btnStr.indexOf(1)>-1:this.quickBtn.inOutItem } } } diff --git a/jshERP-web/src/views/financial/modules/ItemInModal.vue b/jshERP-web/src/views/financial/modules/ItemInModal.vue index ee866e43b..d5af98895 100644 --- a/jshERP-web/src/views/financial/modules/ItemInModal.vue +++ b/jshERP-web/src/views/financial/modules/ItemInModal.vue @@ -67,7 +67,12 @@ :rowSelection="true" :actionButton="true" @added="onAdded" - @valueChange="onValueChange" /> + @valueChange="onValueChange"> + + @@ -114,6 +119,7 @@ +