lihongxiao 2 年 前
親
コミット
9d8b6b048d

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryUnsettled.vue

@@ -65,7 +65,6 @@ export default {
       findPageDetailList:{},
       searchData: {},
       dialogVisiblebalance:false,
-      openBalanceDetail:{},
       form:{},
       openBalanceDetail:{},
       formList: [
@@ -239,6 +238,7 @@ export default {
           partnerCompaniesId:this.findPageDetailList.partnerCompaniesId,
           companyId:this.findPageDetailList.companyId,
           isNotCar:'0',
+          handlingFeesStatus:'1',
           ...this.form})
         .then(res => {
           if (res.code==200) {

+ 9 - 2
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/InvoicingUnsettled.vue

@@ -232,10 +232,17 @@ export default {
         // 结算
         balanceFun(row) {
             this.$api.task
-                .batchBxBalance({id:row.id})
+                .batchBxBalance({
+                    ...row,
+                    otherFeevalue:this.formDetail.otherFeevalue,
+                    partnerCompaniesId:this.formDetail.partnerCompaniesId,
+                    companyId:this.formDetail.companyId,
+                    isNotCar:'0',
+                    handlingFeesStatus:'1',
+                    })
                 .then(res => {
                     if (res.code==200) {
-                        this.findPage()
+                        this.haldDetail(this.formDetail)
                         this.dialogVisible=false
                         this.$message({
                             message: res.msg ||'操作成功',

+ 1 - 0
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryUnsettled.vue

@@ -212,6 +212,7 @@ export default {
           isNotCar:'1',
           partnerCompaniesId:this.findPageDetailList.partnerCompaniesId,
           companyId:this.findPageDetailList.companyId,
+          handlingFeesStatus:'1',
           ...this.form})
         .then(res => {
           if (res.code==200) {

+ 9 - 3
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/InvoicingUnsettled.vue

@@ -225,11 +225,17 @@ export default {
         // 结算
         balanceFun(row) {
             this.$api.task
-            .batchBxBalance({id:row.id})
-
+            .batchBxBalance({
+                    ...row,
+                    otherFeevalue:this.formDetail.otherFeevalue,
+                    partnerCompaniesId:this.formDetail.partnerCompaniesId,
+                    companyId:this.formDetail.companyId,
+                    isNotCar:'0',
+                    handlingFeesStatus:'1',
+                    })
                 .then(res => {
                     if (res.code == 200) {
-                        this.findPage()
+                        this.haldDetail(this.formDetail)
                         this.dialogVisible=false
                         this.$message({
                             message: res.msg || '操作成功',