Qukatie 1 gadu atpakaļ
vecāks
revīzija
a882d1a59e
1 mainītis faili ar 9 papildinājumiem un 4 dzēšanām
  1. 9 4
      src/views/tradeAgency/tradeAgency/detailsPage.vue

+ 9 - 4
src/views/tradeAgency/tradeAgency/detailsPage.vue

@@ -314,7 +314,7 @@ export default {
                         disabled: true,
                     },
                     {
-                        label:'应收金额',
+                        label: '应收金额',
                         prop: 'amountD',
                         disabled: true,
                     },
@@ -1248,7 +1248,7 @@ export default {
                         })
                     })
                 })
-                this.findObject(this.wkOption.column, "amountD").label ='应收金额';
+                this.findObject(this.wkOption.column, "amountD").label = '应收金额';
                 this.wkDialog = true
                 this.wkType = name
             }
@@ -1306,7 +1306,7 @@ export default {
                         })
                     })
                 })
-                this.findObject(this.wkOption.column, "amountD").label ='应付金额';
+                this.findObject(this.wkOption.column, "amountD").label = '应付金额';
                 this.wkDialog = true
                 this.wkType = name
             }
@@ -1443,7 +1443,12 @@ export default {
                 })
             }
             if (this.wkType == '生成尾款应付') {
-                generatePayment(this.wkForm).then(res => {
+                let obj = {}
+                obj = {
+                    ...this.wkForm,
+                    paidApplication: 'FFSQ-WK'
+                }
+                generatePayment(obj).then(res => {
                     this.$message.success("生成尾款应付成功");
                     this.getDetails(this.form.id)
                     this.wkDialog = false