Просмотр исходного кода

编辑订单-选择权益-接收人

祁鹏飞 3 месяцев назад
Родитель
Сommit
bd80446135

+ 4 - 0
src/views/insurancePolicy/index.vue

@@ -1600,6 +1600,10 @@ const initDetail = () => {
   api.insurancePolicyApi.getOrderDetail(myRoute.query.orderNo).then((res: any) => {
     if (res.code == 200) {
       let obj = res.data
+
+      owerFormInfo.value = { ...obj.ownersInfo, title: '车主', policyPersonType: '1' };
+      policyHolderInfo.value = { ...obj.policyHolderInfo, title: '投保人', policyPersonType: '2' };
+      insuredPersonInfo.value = { ...obj.insuredPersonInfo, title: '被保人', policyPersonType: '3' };
       // 设置业务员信息
       insurancePolicyForm.value.salesman = obj?.salesmanInfo?.name
       insurancePolicyForm.value.mobile = obj?.salesmanInfo?.mobile

+ 0 - 1
src/views/quoteConfig/agreement/agreementDetails.vue

@@ -804,7 +804,6 @@ const costitemEdit = (id: string, item: any, index: number, costindex: number) =
       ruleFeeHeaderTitle.value = res.data.productName;
       costitemEditInfo.value = res.data;
       ruleFeeEditVisible.value = true;
-    } else {
     }
   });
 }