Kaynağa Gözat

代码提交:
0919合同管理-合同登记

sunruiqi 2 yıl önce
ebeveyn
işleme
0b1928595d

+ 13 - 1
src/views/modules/sys/workContract/WorkContractForm.vue

@@ -425,7 +425,7 @@
             this.loading = true
             this.inputForm.workAttachmentList = this.$refs.uploadComponent.getDataList()
             this.inputForm.status = '2'
-            this.inputForm.contractFees = this.inputForm.contractFees.join(',')
+            this.inputForm.fees = this.inputForm.contractFees.join(',')
             await this.workContractService.save(this.inputForm).then(({data}) => {
               callback(data.businessTable, data.businessId, this.inputForm)
               this.$refs.inputForm.resetFields()
@@ -565,6 +565,18 @@
         let fees = this.inputForm.contractFees
         if (fees.length > 0) {
           fees.forEach(i => {
+            if (i === '1') {
+              i = '计价格(2002)1980号文下浮%'
+            }
+            if (i === '2') {
+              i = '苏价服(2014)383号文下浮%'
+            }
+            if (i === '3') {
+              i = '标段 元/标段'
+            }
+            if (i === '4') {
+              i = '其他'
+            }
             fee = fee + ';' + i
             this.inputForm.contractFee = fee.substring(1, fee.length)
           })

+ 12 - 0
src/views/modules/sys/workContract/WorkContractForm2.vue

@@ -525,6 +525,18 @@
         let fees = this.inputForm.contractFees
         if (fees.length > 0) {
           fees.forEach(i => {
+            if (i === '1') {
+              i = '计价格(2002)1980号文下浮%'
+            }
+            if (i === '2') {
+              i = '苏价服(2014)383号文下浮%'
+            }
+            if (i === '3') {
+              i = '标段 元/标段'
+            }
+            if (i === '4') {
+              i = '其他'
+            }
             fee = fee + ';' + i
             this.inputForm.contractFee = fee.substring(1, fee.length)
           })