From f57a4fa99b37c20147fb69e4ca0ae7c6246d0a6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Sun, 9 Jan 2022 22:41:21 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=99=84=E4=BB=B6=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E5=88=A0=E9=99=A4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jshERP-web/src/views/bill/modules/AllocationOutModal.vue | 4 +--- jshERP-web/src/views/bill/modules/AssembleModal.vue | 4 +--- jshERP-web/src/views/bill/modules/DisassembleModal.vue | 4 +--- jshERP-web/src/views/bill/modules/OtherInModal.vue | 4 +--- jshERP-web/src/views/bill/modules/OtherOutModal.vue | 4 +--- jshERP-web/src/views/bill/modules/PurchaseBackModal.vue | 4 +--- jshERP-web/src/views/bill/modules/PurchaseInModal.vue | 4 +--- jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue | 4 +--- jshERP-web/src/views/bill/modules/RetailBackModal.vue | 4 +--- jshERP-web/src/views/bill/modules/RetailOutModal.vue | 4 +--- jshERP-web/src/views/bill/modules/SaleBackModal.vue | 4 +--- jshERP-web/src/views/bill/modules/SaleOrderModal.vue | 4 +--- jshERP-web/src/views/bill/modules/SaleOutModal.vue | 4 +--- 13 files changed, 13 insertions(+), 39 deletions(-) diff --git a/jshERP-web/src/views/bill/modules/AllocationOutModal.vue b/jshERP-web/src/views/bill/modules/AllocationOutModal.vue index 8b8d8c8a..6194881f 100644 --- a/jshERP-web/src/views/bill/modules/AllocationOutModal.vue +++ b/jshERP-web/src/views/bill/modules/AllocationOutModal.vue @@ -219,9 +219,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/AssembleModal.vue b/jshERP-web/src/views/bill/modules/AssembleModal.vue index 915f63fe..d58336f2 100644 --- a/jshERP-web/src/views/bill/modules/AssembleModal.vue +++ b/jshERP-web/src/views/bill/modules/AssembleModal.vue @@ -220,9 +220,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/DisassembleModal.vue b/jshERP-web/src/views/bill/modules/DisassembleModal.vue index d15b2b34..a7164956 100644 --- a/jshERP-web/src/views/bill/modules/DisassembleModal.vue +++ b/jshERP-web/src/views/bill/modules/DisassembleModal.vue @@ -219,9 +219,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/OtherInModal.vue b/jshERP-web/src/views/bill/modules/OtherInModal.vue index fec2de85..491b8efb 100644 --- a/jshERP-web/src/views/bill/modules/OtherInModal.vue +++ b/jshERP-web/src/views/bill/modules/OtherInModal.vue @@ -249,9 +249,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/OtherOutModal.vue b/jshERP-web/src/views/bill/modules/OtherOutModal.vue index d22f8d16..f0295ddb 100644 --- a/jshERP-web/src/views/bill/modules/OtherOutModal.vue +++ b/jshERP-web/src/views/bill/modules/OtherOutModal.vue @@ -247,9 +247,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue b/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue index cf55fd3e..62b459d9 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseBackModal.vue @@ -339,9 +339,7 @@ } billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : "" billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : "" - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue index 3d654183..619dcb64 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseInModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseInModal.vue @@ -365,9 +365,7 @@ this.accountMoneyList = changeListFmtMinus(this.accountMoneyList) billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : "" billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : "" - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue b/jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue index 414ad0b2..88ed0e16 100644 --- a/jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue +++ b/jshERP-web/src/views/bill/modules/PurchaseOrderModal.vue @@ -257,9 +257,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = 0-totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/RetailBackModal.vue b/jshERP-web/src/views/bill/modules/RetailBackModal.vue index 23f77f29..44878e3e 100644 --- a/jshERP-web/src/views/bill/modules/RetailBackModal.vue +++ b/jshERP-web/src/views/bill/modules/RetailBackModal.vue @@ -317,9 +317,7 @@ } billMain.totalPrice = 0-totalPrice billMain.changeAmount = 0-billMain.changeAmount - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/RetailOutModal.vue b/jshERP-web/src/views/bill/modules/RetailOutModal.vue index 4541a096..97c1d9ec 100644 --- a/jshERP-web/src/views/bill/modules/RetailOutModal.vue +++ b/jshERP-web/src/views/bill/modules/RetailOutModal.vue @@ -336,9 +336,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/SaleBackModal.vue b/jshERP-web/src/views/bill/modules/SaleBackModal.vue index 163ac152..e9b3a26b 100644 --- a/jshERP-web/src/views/bill/modules/SaleBackModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleBackModal.vue @@ -351,9 +351,7 @@ this.accountMoneyList = changeListFmtMinus(this.accountMoneyList) billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : "" billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : "" - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/SaleOrderModal.vue b/jshERP-web/src/views/bill/modules/SaleOrderModal.vue index 7886008e..eaba9b09 100644 --- a/jshERP-web/src/views/bill/modules/SaleOrderModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleOrderModal.vue @@ -265,9 +265,7 @@ totalPrice += item.allPrice-0 } billMain.totalPrice = totalPrice - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id } diff --git a/jshERP-web/src/views/bill/modules/SaleOutModal.vue b/jshERP-web/src/views/bill/modules/SaleOutModal.vue index dbeb383c..4dc26785 100644 --- a/jshERP-web/src/views/bill/modules/SaleOutModal.vue +++ b/jshERP-web/src/views/bill/modules/SaleOutModal.vue @@ -370,9 +370,7 @@ } billMain.accountIdList = this.accountIdList.length>0 ? JSON.stringify(this.accountIdList) : "" billMain.accountMoneyList = this.accountMoneyList.length>0 ? JSON.stringify(this.accountMoneyList) : "" - if(this.fileList && this.fileList.length > 0) { - billMain.fileName = this.fileList - } + billMain.fileName = this.fileList if(this.model.id){ billMain.id = this.model.id }