@dongkboy 2 лет назад
Родитель
Сommit
706e2541a1

+ 2 - 2
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -3678,8 +3678,6 @@ export default {
         //没数
         return;
       }
-      this.attributionform.apiType = ""; //每次更改公司选择后清除保险公司账号配置
-      this.attributionform.fields = []; //每次更改公司选择后清除保险公司账号配置参数
       this.agreement.partnerCompaniesId = value[value.length - 1];
       this.agreement.insuranceCompanyId = value[0];
       if (this.supplierType == "1") {
@@ -3697,6 +3695,8 @@ export default {
     },
     prodhandleChange(value) {
       this.agreement.insuranceCompanyId = value[value.length - 1];
+      this.attributionform.apiType = ""; //每次更改公司选择后清除保险公司账号配置
+      this.attributionform.fields = []; //每次更改公司选择后清除保险公司账号配置参数
       //协议编码,新增时可能为空
       // let agreementId = this.agreementId;
       //保险公司代码  协议归属渠道时,取保险公司代码   协议归属财险时,取合作机构代码

+ 8 - 4
src/views/Task/daikeComponents/KtLetter.vue

@@ -993,7 +993,7 @@
                   <el-button v-show="reslistitem.quoteCode == '200'" type="text" size="small" style="font-size:14px "
                     @click="bjdpreview(reslistitem.result.companyId)">报价单</el-button>
                   <el-button type="text" size="small" style="font-size:14px "
-                    @click="Payment(reslistitem.result.companyId, reslistitem.namesimple)"
+                    @click="Payment(reslistitem.result.companyId, reslistitem)"
                     v-show="reslistitem.orderstatus == '2' && !('editStatus' in reslistitem.result)">付款码</el-button>
                 </div>
               </div>
@@ -2067,7 +2067,7 @@
       </div>
       <span slot="footer" class="dialog-footer" v-if="orderstatus == '2'">
         <el-button style="width: 100px;" type="primary" size="small"
-          @click="Payment(companyId, queryOrders.inscompany)">缴费二维码</el-button>
+          @click="Payment(companyId, queryOrders)">缴费二维码</el-button>
       </span>
     </el-dialog>
     <el-dialog title="转保确认码" :visible.sync="renewalCodedialogVisible" width="400px" style="font-weight: bold">
@@ -4434,6 +4434,7 @@ export default {
     //   });
     // },
     Payment(id, item) {
+      console.log(id, item)
       this.carcode(id, item);
     },
     //选择协议  val:协议id  row:协议列表  index:下标  item:保险公司数据集合
@@ -8093,7 +8094,8 @@ export default {
     },
     //返回上一步
     Back() { },
-    carcode(id, item) {
+    carcode(id,item) {
+      console.log(id,item)
       this.$api.letter.getQrCode(id).then(res => {
         if (res.code == "200") {
           this.inscompany = res.data.inscompany; //保险公司
@@ -8107,7 +8109,8 @@ export default {
           this.jqstartdate = res.data.jqStartDate; //交强起保日期
           this.systartdate = res.data.syStartDate; //商业起保日期
           // this.mobile = res.data.applyinfo.mobile;//投保人手机号
-          let qrCodeUrl = res.data.qrCodeUrl
+          let qrCodeUrl = res.data.qrCodeUrl;
+
           this.$api.letter.getThemeByUserId().then(res => {
             if (res.code == 200) {
               if (res.data[0] == 'GD') {
@@ -8142,6 +8145,7 @@ export default {
                 else {
                   this.creatQrCode(qrCodeUrl);
                 }
+                console.log(this.paycodeimg)
               });
             }
           })

+ 1 - 0
src/views/Task/daikeComponents/KtOrder.vue

@@ -994,6 +994,7 @@ export default {
     },
     //二维码
     carcode(item) {
+      console.log(item)
       this.$api.letter.getQrCode(item.id).then(res => {
         if (res.code == "200") {
           this.inscompany = res.data.inscompany; //保险公司