Pārlūkot izejas kodu

不同报价单显示

lihongxiao 2 gadi atpakaļ
vecāks
revīzija
bcbee9b9ca

+ 2 - 2
config/dev.env.js

@@ -9,11 +9,11 @@ module.exports = merge(prodEnv, {
   ENV_CONFIG:'"dev"',
   // BASE_URL: '"https://test.baoxianzhanggui.com/web-api"',//测试服务器
   // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
-  // BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
+  BASE_URL:'"https://sxzgkj.baoxianzhanggui.com/web-api"'//正式服务器
   // BASE_URL: '"http://192.168.0.115:8080/"' //凯森
   // BASE_URL: '"http:///192.168.0.106:8080/"',//屈晨
   // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
-  BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
+  // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http:///192.168.0.253:8080/"',//田智
   // BASE_URL: '"http:///192.168.0.42:8080/"',//武鸿鹏
   // BASE_URL: '"http://192.168.1.101:8080/"',

+ 14 - 5
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFeesSettled.vue

@@ -51,7 +51,6 @@ export default {
             },
       dialogVisiblerecordDetail: false,
       dialogVisiblerecord: false,
-      recorddetailids:'',
       tableConfigDetailrecorddetail: {
                 columns: [
                     {
@@ -239,8 +238,7 @@ export default {
         },
     haldRecordDetail(row) {
             this.dialogVisiblerecordDetail = true
-            this.getListrecorddetail()
-            this.recorddetailids = row.ids
+            this.getListrecorddetail(row)
         },
         getListrecorddetail(data) {
             this.findPageDetailrecorddatail(data)
@@ -248,11 +246,22 @@ export default {
         findPageDetailrecorddatail(data) {
             this.tableConfigDetailrecorddetail.loading = true;
             this.$api.task
-                .fncplyFeeQuery({ ...data,ids:this.recorddetailids })
+                .fncplyFeeQuery({ 
+                  partnerCompaniesId: data.partnerCompaniesId,
+                  agreementType: '2',
+                  handlingFeesStatus: '1',
+                  isNotCar:'1',
+                  ...this.pageDatarecorddetail
+                })
                 .then(res => {
                     if (res.code == 200) {
+                      this.recordDetailData = res.data.content;
+                      this.pageDatarecorddetail = {
+                        pageNum: res.data.pageNum,
+                        pageSize: res.data.pageSize,
+                        totalSize: res.data.totalSize,
+                      }
                         this.tableConfigDetailrecorddetail.loading = false;
-                        this.recordDetailData = res.data.content ? res.data.content : []
                     }
                     else {
                         this.tableConfigDetailrecorddetail.loading = false;

+ 19 - 4
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFeesSettled.vue

@@ -191,6 +191,11 @@ export default {
             type: 'primary',
             label: '记录',
             click: (row, index) => { return this.haldRecord(row) },
+          },
+          {
+              type: 'primary',
+              label: '明细',
+              click: (row, index) => { return this.haldRecordDetail(row) },
           }
         ]
 
@@ -215,8 +220,7 @@ export default {
         },
     haldRecordDetail(row) {
             this.dialogVisiblerecordDetail = true
-            this.getListrecorddetail()
-            this.recorddetailids = row.ids
+            this.getListrecorddetail(row)
         },
         getListrecorddetail(data) {
             this.findPageDetailrecorddatail(data)
@@ -224,11 +228,22 @@ export default {
         findPageDetailrecorddatail(data) {
             this.tableConfigDetailrecorddetail.loading = true;
             this.$api.task
-                .fncplyFeeQuery({ ...data,ids:this.recorddetailids })
+                .fncplyFeeQuery({ 
+                  partnerCompaniesId: data.partnerCompaniesId,
+                  agreementType: '2',
+                  handlingFeesStatus: '1',
+                  isNotCar:'1',
+                  ...this.pageDatarecorddetail
+                 })
                 .then(res => {
                     if (res.code == 200) {
+                      this.recordDetailData = res.data.content;
+                      this.pageDatarecorddetail = {
+                        pageNum: res.data.pageNum,
+                        pageSize: res.data.pageSize,
+                        totalSize: res.data.totalSize,
+                      }
                         this.tableConfigDetailrecorddetail.loading = false;
-                        this.recordDetailData = res.data.content ? res.data.content : []
                     }
                     else {
                         this.tableConfigDetailrecorddetail.loading = false;

+ 2 - 2
src/views/Task/daikeComponents/KtLetter.vue

@@ -8062,7 +8062,7 @@ export default {
 
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code == 200) {
-              if (res.data.themeCode == 'GD') {
+              if(res.data[0]=='GD'){
                 this.$refs.quotationDialogPro.setBackupVisible(true);
               }
               else {
@@ -8100,7 +8100,7 @@ export default {
           let qrCodeUrl = res.data.qrCodeUrl
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code == 200) {
-              if (res.data.themeCode == 'GD') {
+              if(res.data[0]=='GD'){
                 this.codedialogVisiblePro = true;
                 this.qrcodeWidth = "154";
                 this.qrcodeHeight = "154";

+ 2 - 2
src/views/Task/daikeComponents/KtOrder.vue

@@ -881,7 +881,7 @@ export default {
           this.queryOrders = data;
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code==200) {
-              if(res.data.themeCode=='GD'){
+              if(res.data[0]=='GD'){
                 this.$refs.quotationDialogPro.setBackupVisible(true);
               }
               else {
@@ -1145,7 +1145,7 @@ export default {
           let qrCodeUrl=res.data.qrCodeUrl
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code==200) {
-              if(res.data.themeCode=='GD'){
+              if(res.data[0]=='GD'){
                 this.codedialogVisiblePro = true;
                 this.qrcodeWidth = "154";
                 this.qrcodeHeight = "154";