浏览代码

Merge branch 'dev' of http://www.baoxianzhanggui.com:8090/sxzgd/vue-insagent-pc into dev

@dongkboy 2 年之前
父节点
当前提交
c9d6b71820

+ 6 - 3
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/InvoicedAndSettled.vue

@@ -307,7 +307,7 @@ export default {
             formTableData: [],
             formTableDatarecord:[],
             recordDetailData:[],
-            recorddetailids:''
+            recorddetailid:''
 
         };
     },
@@ -372,6 +372,7 @@ export default {
                     agreementType: '2',
                     isNotCar: '0',
                     handlingFeesStatus: '0',
+                    id:this.recorddetailid,
                     ...data
                 })
                 .then(res => {
@@ -406,13 +407,14 @@ export default {
             this.dialogVisiblerecordDetail = false
         },
         haldRecord(row) {
-            this.findPageDetailrecord()
             this.dialogVisiblerecord = true
+            this.recorddetailid = row.id
+            this.findPageDetailrecord()
         },
         haldRecordDetail(row) {
             this.dialogVisiblerecordDetail = true
             this.getListrecorddetail()
-            this.recorddetailids = row.ids
+            this.recorddetailid = row.id
 
         },
         getListrecorddetail(data) {
@@ -426,6 +428,7 @@ export default {
                     agreementType: '2',
                     isNotCar: '0',
                     handlingFeesStatus: '0',
+                    id:this.recorddetailid,
                     ...data})
                 .then(res => {
                     if (res.code == 200) {

+ 5 - 2
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/InvoicedAndSettled.vue

@@ -259,7 +259,7 @@ export default {
             formDetail: {},
             formTableData: [],
             formTableDatarecord:[],
-            recorddetailids:'',
+            recorddetailid:'',
             tableConfigDetailrecorddetail: {
                 columns: [
                     {
@@ -388,7 +388,7 @@ export default {
         haldRecordDetail(row) {
             this.dialogVisiblerecordDetail = true
             this.getListrecorddetail()
-            this.recorddetailids = row.ids
+            this.recorddetailid = row.id
 
         },
         getListrecorddetail(data) {
@@ -402,6 +402,7 @@ export default {
                     agreementType: '2',
                     isNotCar: '0',
                     handlingFeesStatus: '0',
+                    id:this.recorddetailid,
                     ...data})
                 .then(res => {
                     if (res.code == 200) {
@@ -422,6 +423,7 @@ export default {
                     agreementType: '2',
                     isNotCar: '1',
                     handlingFeesStatus: '0',
+                    id:this.recorddetailid,
                     ...data
                 })
                 .then(res => {
@@ -461,6 +463,7 @@ export default {
             this.findPage();
         },
         haldRecord(row) {
+            this.recorddetailid = row.id
             this.findPageDetailrecord()
             this.dialogVisiblerecord = true
         }