祁鹏飞 vor 4 Monaten
Ursprung
Commit
c83cb9b37b
1 geänderte Dateien mit 7 neuen und 5 gelöschten Zeilen
  1. 7 5
      src/views/insurancePolicy/index.vue

+ 7 - 5
src/views/insurancePolicy/index.vue

@@ -1194,7 +1194,7 @@
                   <el-button v-if="scope.row.quoteResult" link type="primary"
                     @click="handleShare(scope.row.quoteResult.ordersNo)">分享</el-button>
                   <el-button v-if="scope.row.quoteResult" link type="primary"
-                    @click="handleUnderwriting(scope.row.quoteResult.ordersNo)">核保</el-button>
+                    @click="handleUnderwriting(scope)">核保</el-button>
                 </div>
               </template>
             </el-table-column>
@@ -2873,11 +2873,13 @@ const handlePopoverConfirm = async () => {
 // 提交核保
 let underwritingShow = ref(false)
 let underwritingIndex = ref(-1)
-const handleUnderwriting = (ordersNo: string) => {
+const handleUnderwriting = (scope: any) => {
   underwritingShow.value = true
+  underwritingIndex.value = scope.$index
   // insurancePolicyForm.value.imageVoList
   let data = {
-    ordersNo,
+    // ordersNo: '1915570359429222400'
+    ordersNo: scope.row.quoteResult.ordersNo,
     quoteNo: insurancePolicyForm.value.order.quoteNo,
     imageVoList: images.value
   }
@@ -2906,11 +2908,11 @@ const handleUnderwriting = (ordersNo: string) => {
     }
   })
 }
-const historyhandleUnderwriting = (ordersNo: string) => {
+const historyhandleUnderwriting = (scope: any) => {
 
   underwritingShow.value = true
   let data = {
-    ordersNo,
+    ordersNo: scope,
     quoteNo: insurancePolicyForm.value.order.quoteNo,
     list: images.value
   }