From d72baacfd86962c05ba9eaac9fd7fe48d5602a52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Thu, 8 Jul 2021 01:23:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=94=B6=E9=A2=84=E4=BB=98?= =?UTF-8?q?=E6=AC=BE=E7=9A=84=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/financial/AdvanceInList.vue | 1 - .../financial/mixins/FinancialModalMixin.js | 3 + .../financial/modules/AdvanceInModal.vue | 9 +- jshERP-web/src/views/system/LogList.vue | 2 +- jshERP-web/src/views/system/PluginList.vue | 2 +- .../src/views/system/UserAnnouncementList.vue | 192 ++++++++++++++++++ 6 files changed, 200 insertions(+), 9 deletions(-) create mode 100644 jshERP-web/src/views/system/UserAnnouncementList.vue diff --git a/jshERP-web/src/views/financial/AdvanceInList.vue b/jshERP-web/src/views/financial/AdvanceInList.vue index b52e8b2e..f5b3ebee 100644 --- a/jshERP-web/src/views/financial/AdvanceInList.vue +++ b/jshERP-web/src/views/financial/AdvanceInList.vue @@ -127,7 +127,6 @@ { title: '操作员', dataIndex: 'userName',width:80}, { title: '单据日期 ', dataIndex: 'billTimeStr',width:160}, { title: '合计金额', dataIndex: 'totalPrice',width:80}, - { title: '优惠金额', dataIndex: 'discountMoney',width:80}, { title: '收款金额', dataIndex: 'changeAmount',width:80}, { title: '备注', dataIndex: 'remark',width:200}, { diff --git a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js index f1f14161..396bc534 100644 --- a/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js +++ b/jshERP-web/src/views/financial/mixins/FinancialModalMixin.js @@ -155,6 +155,9 @@ export const FinancialModalMixin = { autoChangeAmount(target) { let allEachAmount = target.statisticsColumns.eachAmount-0 let discountMoney = this.form.getFieldValue('discountMoney')-0 + if(!discountMoney) { + discountMoney = 0 + } let changeAmount = (allEachAmount-discountMoney).toFixed(2) this.$nextTick(() => { this.form.setFieldsValue({'totalPrice':allEachAmount, 'changeAmount':changeAmount}) diff --git a/jshERP-web/src/views/financial/modules/AdvanceInModal.vue b/jshERP-web/src/views/financial/modules/AdvanceInModal.vue index 3ed9631a..1f7a040e 100644 --- a/jshERP-web/src/views/financial/modules/AdvanceInModal.vue +++ b/jshERP-web/src/views/financial/modules/AdvanceInModal.vue @@ -67,11 +67,6 @@ - - - - - @@ -79,6 +74,8 @@ + + @@ -176,7 +173,7 @@ this.model.billTime = this.model.billTimeStr this.$nextTick(() => { this.form.setFieldsValue(pick(this.model,'organId', 'handsPersonId', 'billTime', 'billNo', 'remark', - 'totalPrice', 'discountMoney', 'changeAmount')) + 'totalPrice', 'changeAmount')) }); this.fileList = this.model.fileName // 加载子表数据 diff --git a/jshERP-web/src/views/system/LogList.vue b/jshERP-web/src/views/system/LogList.vue index d6f8c424..a436c51e 100644 --- a/jshERP-web/src/views/system/LogList.vue +++ b/jshERP-web/src/views/system/LogList.vue @@ -19,7 +19,7 @@ { diff --git a/jshERP-web/src/views/system/UserAnnouncementList.vue b/jshERP-web/src/views/system/UserAnnouncementList.vue new file mode 100644 index 00000000..891880ef --- /dev/null +++ b/jshERP-web/src/views/system/UserAnnouncementList.vue @@ -0,0 +1,192 @@ + + + + \ No newline at end of file