Kaynağa Gözat

fix:修改bug

wuguojie 1 yıl önce
ebeveyn
işleme
ee0fc17bd2

+ 2 - 0
src/views/additionalOrder/additional/index.vue

@@ -3297,6 +3297,7 @@ const handleSave = () => {
     insuredPersonInfo: any, // 被投保人信息
     kindInfoVo: [], // 险种
     insOrders: {
+      realQuoteUserId: string,
       productId: string
     }, // 保险订单
     vehicleAndVesselTax: any, // 车船税
@@ -3315,6 +3316,7 @@ const handleSave = () => {
     insuredPersonInfo: null,
     kindInfoVo: [],
     insOrders: {
+      realQuoteUserId: realQuoteUserId.value,
       productId: insuranceForm.value.productId
     },
     vehicleAndVesselTax: null,

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

@@ -835,6 +835,7 @@
             :preserve-expanded-content="true"
             @selection-change="handleSelect"
             @select="handelSelectRow"
+            @row-click="handleClickRow"
           >
             <el-table-column type="expand">
               <template #default="scope">
@@ -2020,6 +2021,9 @@ const handelSelectRow = (a, b) => {
   } else {
     insurancePolicyForm.value.order.insuranceCompanyCode = ''
   }
+}
+const handleClickRow = (a, b) => {
+
 }
 // 选择险种
 let insuranceShow = ref(false)
@@ -2237,7 +2241,6 @@ const handleRecognition = () => {
 // 提交
 let loading = ref(false)
 const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope) => {
-  console.log(scope.$index)
   if(!InsurancePolicyRefs) {
     InsurancePolicyRefs?.resetFields()
     return

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

@@ -281,8 +281,6 @@ const echoValue=(ids:any[])=>{
 }
 //授权保存
 const DrawerSave = (list: any) => {
-  console.log(list)
-  return;
   api.agreementApi.authSave({ deptIds: list, id: id.value }).then((res: any) => {
     if (res.code == '200') {
       ElMessage({