浏览代码

修改路由跳转

@dongkboy 3 月之前
父节点
当前提交
c0fc8f6276

+ 113 - 91
src/views/finance/modules/auditDetail.vue

@@ -9,13 +9,17 @@
             '1' ? '待核保' : detailData?.order?.orderStatus === '2' ? '核保中' : detailData?.order?.orderStatus ===
               '3' ? '人工处理' : detailData?.order?.orderStatus === '4' ? '待缴费' : detailData?.order?.orderStatus ===
                 '5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '报价失败' : detailData?.order?.orderStatus ===
-                  '7' ? '核保失败' :detailData?.order?.orderStatus === '8'?'订单关闭':'--' }}</span>
+                  '7' ? '核保失败' : detailData?.order?.orderStatus === '8' ? '订单关闭' : '--' }}</span>
         </el-col>
         <el-col :span="12" class="orderTips">
-          <span class="tips">{{ detailData?.order?.orderStatus === '0' ? '订单报价中,请耐心等待' : detailData?.order?.orderStatus ===
-            '1' ? '订单已完成报价,请立即核保!' : detailData?.order?.orderStatus === '2' ? '订单核保中,请耐心等待' : detailData?.order?.orderStatus ===
-              '3' ? '订单人工处理中,请耐心等待' : detailData?.order?.orderStatus === '4' ? '订单核保已通过,请尽快支付!' : detailData?.order?.orderStatus
-                === '5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '计算保费失败,请按要求修改订单' : detailData?.order?.orderStatus ===
+          <span class="tips">{{ detailData?.order?.orderStatus === '0' ? '订单报价中,请耐心等待' : detailData?.order?.orderStatus
+            ===
+            '1' ? '订单已完成报价,请立即核保!' : detailData?.order?.orderStatus === '2' ? '订单核保中,请耐心等待' :
+            detailData?.order?.orderStatus ===
+              '3' ? '订单人工处理中,请耐心等待' : detailData?.order?.orderStatus === '4' ? '订单核保已通过,请尽快支付!' :
+              detailData?.order?.orderStatus
+                === '5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '计算保费失败,请按要求修改订单' :
+                detailData?.order?.orderStatus ===
                   '7' ? '核保不通过,请按意见修改订单' : detailData?.order?.orderStatus === '8'?'订单已关闭,有投保需求请重新报价':'--' }}</span>
         </el-col>
       </el-row>
@@ -30,8 +34,10 @@
         </el-col>
         <el-col :span="6">
           <span class="label">业务员类型</span>
-          <span class="words">{{ detailData?.salesmanInfo?.typeAttr == '5' ? '团队' : detailData?.salesmanInfo?.typeAttr ==
-            '6' ? '个代' : detailData?.salesmanInfo?.typeAttr == '7' ? '渠道' : detailData?.salesmanInfo?.typeAttr == '8' ?'电销组':'--'
+          <span class="words">{{ detailData?.salesmanInfo?.typeAttr == '5' ? '团队' : detailData?.salesmanInfo?.typeAttr
+            ==
+            '6' ? '个代' : detailData?.salesmanInfo?.typeAttr == '7' ? '渠道' : detailData?.salesmanInfo?.typeAttr == '8'
+              ?'电销组':'--'
             }}</span>
         </el-col>
         <el-col :span="6">
@@ -206,8 +212,9 @@
         <el-row :gutter="20">
           <el-col :span="6" class="carMsgItem">
             <span class="label">类型</span>
-            <span class="value">{{ detailData?.carInfoVo?.isRegistered === '1' ? '已上牌' : detailData?.carInfoVo?.isRegistered
-              === '2' ?'未上牌':'--' }}</span>
+            <span class="value">{{ detailData?.carInfoVo?.isRegistered === '1' ? '已上牌' :
+              detailData?.carInfoVo?.isRegistered
+                === '2' ?'未上牌':'--' }}</span>
           </el-col>
           <el-col :span="6" class="carMsgItem">
             <span class="label">车牌</span>
@@ -229,12 +236,12 @@
           <el-col :span="6" class="carMsgItem">
             <span class="label">使用性质</span>
             <span class="value">{{ dictChange(optionObj['car_nature_code'], detailData?.carInfoVo?.carNatureCode)
-              }}</span>
+            }}</span>
           </el-col>
           <el-col :span="6" class="carMsgItem">
             <span class="label">车辆用途</span>
             <span class="value">{{ dictChange(optionObj['vehicle_use_code'], detailData?.carInfoVo?.vehicleUseCode)
-              }}</span>
+            }}</span>
           </el-col>
           <el-col :span="6" class="carMsgItem">
             <span class="label">车辆种类</span>
@@ -244,12 +251,12 @@
           <el-col :span="6" class="carMsgItem">
             <span class="label">车辆类型</span>
             <span class="value">{{ dictChange(optionObj['car_type_code'], detailData?.carInfoVo?.carTypeCode)
-              }}</span>
+            }}</span>
           </el-col>
           <el-col :span="6" class="carMsgItem">
             <span class="label">能源种类</span>
             <span class="value">{{ dictChange(optionObj['energy_type_code'], detailData?.carInfoVo?.energyTypeCode)
-              }}</span>
+            }}</span>
           </el-col>
           <el-col :span="6" class="carMsgItem">
             <span class="label">注册日期</span>
@@ -330,24 +337,29 @@
           <el-col :span="10">
             <el-descriptions border :column="1" title="车船税" v-if="vehicleAndVesselTaxVo">
               <el-descriptions-item
-                v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3"
-                label="减免税凭证号"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.extendChar2 || '--' }}</el-descriptions-item>
+                v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3" label="减免税凭证号"
+                label-class-name="my-content">{{ vehicleAndVesselTaxVo.extendChar2 || '--'
+                }}</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4" label="完税凭证号"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.paidFreeCertificate || '--' }}</el-descriptions-item>
+                label-class-name="my-content">{{
+                  vehicleAndVesselTaxVo.paidFreeCertificate || '--' }}</el-descriptions-item>
               <el-descriptions-item
                 v-if="vehicleAndVesselTaxVo.taxRelifFlag == 2 || vehicleAndVesselTaxVo.taxRelifFlag == 3" label="减免税原因"
                 label-class-name="my-content">{{ vehicleAndVesselTaxVo.relifReason || '--' }}</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag == 3" label="减税比例"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.taxRelief || '--' }}%</el-descriptions-item>
+                label-class-name="my-content">{{
+                  vehicleAndVesselTaxVo.taxRelief || '--' }}%</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag != 1" label="税务机关代码"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.taxComCode || '--' }}</el-descriptions-item>
+                label-class-name="my-content">{{
+                  vehicleAndVesselTaxVo.taxComCode || '--' }}</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag != 1" label="税务机关名称"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.taxComName || '--' }}</el-descriptions-item>
+                label-class-name="my-content">{{
+                  vehicleAndVesselTaxVo.taxComName || '--' }}</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4" label="完税凭证填发日期"
                 label-class-name="my-content">{{ vehicleAndVesselTaxVo.taxDocumentDate || '--' }}</el-descriptions-item>
               <el-descriptions-item v-if="vehicleAndVesselTaxVo.taxRelifFlag == 4" label="完税凭证地区"
-                label-class-name="my-content">{{ vehicleAndVesselTaxVo.taxPaidAreaCode || '--' }}</el-descriptions-item>
+                label-class-name="my-content">{{
+                  vehicleAndVesselTaxVo.taxPaidAreaCode || '--' }}</el-descriptions-item>
             </el-descriptions>
           </el-col>
         </el-row>
@@ -367,7 +379,7 @@
             <span class="label">证件类型</span>
             <span class="value">{{ detailData?.ownersInfo?.identifyType ===
               '1' ? '身份证' : detailData?.ownersInfo?.identifyType ===
-              '2'?'营业执照': '--' }}</span>
+                '2' ? '营业执照' : '--' }}</span>
           </el-col>
           <el-col :span="6" class="personMsgItem" v-if="detailData?.ownersInfo?.identifyType === '1'">
             <span class="label">证件号码</span>
@@ -416,7 +428,7 @@
           <div class="taxList">
             <span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in tbList" :key="index">{{
               item.name
-              }}</span>
+            }}</span>
           </div>
         </div>
         <el-row :gutter="20" v-if="!tbList[0].bool">
@@ -431,7 +443,7 @@
           <el-col :span="6" class="personMsgItem">
             <span class="label">证件类型</span>
             <span class="value">{{ detailData?.policyHolderInfo?.identifyType ===
-              '1' ? '身份证' : detailData?.policyHolderInfo?.identifyType === '2' ?'营业执照': '--' }}</span>
+              '1' ? '身份证' : detailData?.policyHolderInfo?.identifyType === '2' ? '营业执照' : '--' }}</span>
           </el-col>
           <el-col :span="6" class="personMsgItem" v-if="detailData?.policyHolderInfo?.identifyType === '1'">
             <span class="label">证件号码</span>
@@ -480,7 +492,7 @@
           <div class="taxList">
             <span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in bbList" :key="index">{{
               item.name
-              }}</span>
+            }}</span>
           </div>
         </div>
         <el-row :gutter="20" v-if="!bbList[0].bool && !bbList[1].bool">
@@ -495,7 +507,7 @@
           <el-col :span="6" class="personMsgItem">
             <span class="label">证件类型</span>
             <span class="value">{{ detailData?.insuredPersonInfo?.identifyType ===
-              '1' ? '身份证' : detailData?.insuredPersonInfo?.identifyType === '2' ?'营业执照': '--' }}</span>
+              '1' ? '身份证' : detailData?.insuredPersonInfo?.identifyType === '2' ? '营业执照' : '--' }}</span>
           </el-col>
           <el-col :span="6" class="personMsgItem" v-if="detailData?.insuredPersonInfo?.identifyType === '1'">
             <span class="label">证件号码</span>
@@ -594,8 +606,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqInletRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqInletRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqInletRatio }}%</div>
               </th>
               <th>
@@ -603,8 +615,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqCommissionRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                  <el-input-number v-model="detailData.costRatio.jqCommissionRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqCommissionRatio }}%</div>
               </th>
               <th>
@@ -612,8 +624,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqFollowRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqFollowRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqFollowRatio }}%</div>
               </th>
               <th>
@@ -621,8 +633,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqAdditionalRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqAdditionalRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqAdditionalRatio }}%</div>
               </th>
               <th>
@@ -630,8 +642,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqExportRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqExportRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqExportRatio }}%</div>
               </th>
               <th>
@@ -639,8 +651,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqKeepPointRatio }}%</div>
               </th>
               <th>
@@ -648,8 +660,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jqExportKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jqExportKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jqExportKeepPointRatio }}%</div>
               </th>
               <th>
@@ -665,8 +677,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syInletRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syInletRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syInletRatio }}%</div>
               </th>
               <th>
@@ -674,8 +686,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syCommissionRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syCommissionRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syCommissionRatio }}%</div>
               </th>
               <th>
@@ -683,8 +695,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syFollowRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syFollowRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syFollowRatio }}%</div>
               </th>
               <th>
@@ -692,8 +704,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syAdditionalRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syAdditionalRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syAdditionalRatio }}%</div>
               </th>
               <th>
@@ -701,8 +713,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syExportRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syExportRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syExportRatio }}%</div>
               </th>
               <th>
@@ -710,8 +722,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syKeepPointRatio }}%</div>
               </th>
               <th>
@@ -719,8 +731,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.syExportKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.syExportKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.syExportKeepPointRatio }}%</div>
               </th>
               <th>
@@ -736,8 +748,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyInletRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyInletRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyInletRatio }}%</div>
               </th>
               <th>
@@ -745,8 +757,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyCommissionRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyCommissionRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyCommissionRatio }}%</div>
               </th>
               <th>
@@ -754,8 +766,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyFollowRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyFollowRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyFollowRatio }}%</div>
               </th>
               <th>
@@ -763,8 +775,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyAdditionalRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyAdditionalRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyAdditionalRatio }}%</div>
               </th>
               <th>
@@ -772,8 +784,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyExportRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyExportRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyExportRatio }}%</div>
               </th>
               <th>
@@ -781,8 +793,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyKeepPointRatio }}%</div>
               </th>
               <th>
@@ -790,8 +802,8 @@
               </th>
 
               <th>
-                <el-input v-model="detailData.costRatio.jyExportKeepPointRatio" v-if="costShow" placeholder="请输入"
-                  style="width: 100px"></el-input>
+                <el-input-number v-model="detailData.costRatio.jyExportKeepPointRatio" controls-position="right" v-if="costShow"
+                  style="width: 80px" :min="0" :max="100" />
                 <div v-else>{{ detailData?.costRatio?.jyExportKeepPointRatio }}%</div>
               </th>
               <th>
@@ -834,7 +846,7 @@
                   Number(detailData?.insFeeOrders?.jyKeepPointPremium)).toFixed(5) }}</div>
               </th>
               <th colspan="2">
-                <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqExportKeepPointtPremium) +
+                <div>小计: ¥{{ (Number(detailData?.insFeeOrders?.jqExportKeepPointPremium) +
                   Number(detailData?.insFeeOrders?.syExportKeepPointPremium) +
                   Number(detailData?.insFeeOrders?.jyExportKeepPointPremium)).toFixed(5) }}</div>
               </th>
@@ -850,23 +862,28 @@
               <el-row :gutter="10" class="list">
                 <el-col :span="4" class="list-item" v-for="sub in item.list">
                   <img :src="sub.previewUrl" />
-                  <div class="tips">{{ sub.imageType === 'C01' ? '行驶证主页' : sub.imageType === 'D01' ? '行驶证副页' : sub.imageType ===
-                    'TAR05' ? '机动车辆登记证书' : sub.imageType === 'XC00' ? '新车合格证' : sub.imageType === 'GC00' ? '购车发票' : sub.imageType
+                  <div class="tips">{{ sub.imageType === 'C01' ? '行驶证主页' : sub.imageType === 'D01' ? '行驶证副页' :
+                    sub.imageType
                       ===
-                      'C02' ? '车主身份证(正面)' : sub.imageType === 'D02' ? '车主身份证(反面)' : sub.imageType === 'Y02' ? '车主营业执照' : sub.imageType
-                        ===
-                        'C03' ? '投保人身份证(正面)' : sub.imageType === 'D03' ? '投保人身份证(反面) ' : sub.imageType ===
-                          'Y03' ? '投保人营业执照' : sub.imageType
-                            === 'C04' ? '被保人身份证(正面)' : sub.imageType === 'D04' ? '被保人身份证(反面)' : sub.imageType ===
-                              'Y04' ? '被保人营业执照' : sub.imageType === 'GX00' ? '关系证明' : sub.imageType === 'C0500' ? '验车照(车架)' : sub.imageType
-                                ===
-                                'C0501' ? '验车照(后左)' : sub.imageType === 'C0502' ? '验车照(后右)' : sub.imageType ===
-                                  'C0503' ? '验车照(前右)' : sub.imageType
-                                    === 'C0504' ? '验车照(前左)' : sub.imageType === 'C0506' ? '验车照(正前)' : sub.imageType ===
-                    'C0507'?'验车照(正后)':sub.imageType === 'C0505'?'验车照(人车合影)':sub.imageType ===
-                    'C0508'?'验车照(地标合影)':sub.imageType === 'C0509'?'验车照(工作台)':sub.imageType ===
-                    'C0510'?'验车照(天窗)':sub.imageType
-                    === 'LAST_INSURANCE_POLICY'?'上年商业险保单':'--' }}</div>
+                      'TAR05' ? '机动车辆登记证书' : sub.imageType === 'XC00' ? '新车合格证' : sub.imageType === 'GC00' ? '购车发票' :
+                        sub.imageType
+                          ===
+                          'C02' ? '车主身份证(正面)' : sub.imageType === 'D02' ? '车主身份证(反面)' : sub.imageType === 'Y02' ? '车主营业执照' :
+                            sub.imageType
+                              ===
+                              'C03' ? '投保人身份证(正面)' : sub.imageType === 'D03' ? '投保人身份证(反面) ' : sub.imageType ===
+                                'Y03' ? '投保人营业执照' : sub.imageType
+                                  === 'C04' ? '被保人身份证(正面)' : sub.imageType === 'D04' ? '被保人身份证(反面)' : sub.imageType ===
+                                    'Y04' ? '被保人营业执照' : sub.imageType === 'GX00' ? '关系证明' : sub.imageType === 'C0500' ? '验车照(车架)' :
+                                      sub.imageType
+                                        ===
+                                        'C0501' ? '验车照(后左)' : sub.imageType === 'C0502' ? '验车照(后右)' : sub.imageType ===
+                                          'C0503' ? '验车照(前右)' : sub.imageType
+                                            === 'C0504' ? '验车照(前左)' : sub.imageType === 'C0506' ? '验车照(正前)' : sub.imageType ===
+                                              'C0507' ? '验车照(正后)' : sub.imageType === 'C0505' ? '验车照(人车合影)' : sub.imageType ===
+                                                'C0508' ? '验车照(地标合影)' : sub.imageType === 'C0509' ? '验车照(工作台)' : sub.imageType ===
+                                                  'C0510' ? '验车照(天窗)' : sub.imageType
+                                                    === 'LAST_INSURANCE_POLICY' ? '上年商业险保单' :'--' }}</div>
                 </el-col>
               </el-row>
             </el-tab-pane>
@@ -1096,19 +1113,23 @@ const handleSaveCostChange = () => {
   }).then((res: any) => {
     if (res.code == 200) {
       ElMessage({
-        message: res.msg,
+        message: '调整成功',
         type: 'success'
       })
     } else {
-      ElMessage({
-        message: res.msg,
-        type: 'warning'
-      })
     }
     costShow.value = false
     initDetail();
   })
 }
+/** 根据路由参数 jumpType 跳转至对应的提示项,并触发提示切换处理 */
+const jumpFn = () => {
+  const jumpType = myRoute.query.jumpType
+  if (!jumpType) return
+  const obj = tipsList.value.find(v => v.id === jumpType)
+  const index = tipsList.value.findIndex(v => v.id === jumpType)
+  handleTipsIndexChange(obj, index)
+}
 
 // 影像资料
 let activeName = ref('car')
@@ -1200,6 +1221,7 @@ const initDetail = () => {
     if (res.code == 200) {
       detailData.value = res.data;
       vehicleAndVesselTaxVo.value = res.data?.vehicleAndVesselTaxVo || {}
+      nextTick(() => jumpFn())
 
     }
   })
@@ -1654,11 +1676,11 @@ onUnmounted(() => {
               line-height: 23px;
               overflow: hidden;
               overflow-wrap: break-word;
-              padding: 8px 12px;
               text-overflow: ellipsis;
               white-space: normal;
               font-size: 14px;
               font-weight: 500;
+              margin: 8px 12px;
             }
           }
         }

+ 23 - 21
src/views/insurancePolicy/index.vue

@@ -1643,13 +1643,7 @@ const initDetail = () => {
         btns.value.owner2Text = '其他人'
       }
       // 设置车船税信息
-      insurancePolicyForm.value.extendChar2 = obj?.vehicleAndVesselTaxVo?.extendChar2
-      insurancePolicyForm.value.relifReason = obj?.vehicleAndVesselTaxVo?.relifReason
-      insurancePolicyForm.value.taxComCode = obj?.vehicleAndVesselTaxVo?.taxComCode
-      insurancePolicyForm.value.taxComName = obj?.vehicleAndVesselTaxVo?.taxComName
-      insurancePolicyForm.value.taxRelief = obj?.vehicleAndVesselTaxVo?.taxRelief
-      insurancePolicyForm.value.taxDocumentDate = obj?.vehicleAndVesselTaxVo?.taxDocumentDate
-      insurancePolicyForm.value.taxPaidAreaCode = obj?.vehicleAndVesselTaxVo?.taxPaidAreaCode
+      Object.assign(vehicleAndVesselTaxVo, obj?.vehicleAndVesselTaxVo || {})
       // 重置车船税选择状态
       btns.value.owner3.forEach(a => {
         a.checked = false
@@ -1690,6 +1684,7 @@ const initDetail = () => {
       let newObj = optionObj.value.insuranceType.find(a => a.checked)
       if (newObj) {
         ruleFilterCompany(newObj)
+
       }
       syWork.value[0].checked = obj?.biRiskInfoVo?.instantFlag
       insurancePolicyForm.value.SYStartDate = obj?.biRiskInfoVo?.startDate
@@ -1699,6 +1694,9 @@ const initDetail = () => {
 
       // 获取报价号
       getQuoteNumber()
+      //获取已报价保险公司
+
+
     }
   })
 }
@@ -1894,6 +1892,20 @@ let insurancePolicyForm = ref({
 
   imageVoList: []            // 影像资料列表
 })
+// 车船税信息
+const vehicleAndVesselTaxVo = reactive({
+  taxRelifFlag: '1',         // 车船税减免标志 ('1': 正常交税, '2': 免税, '3': 减税, '4': 完税)
+  extendChar2: '',           // 车船税扩展字符2
+  relifReason: '',           // 减免税原因
+  taxComCode: '',            // 税务公司代码
+  taxComName: '',            // 税务公司名称
+  taxRelief: '',             // 税务减免信息
+  taxDocumentDate: '',       // 税务凭证日期
+  taxPaidAreaCode: '',       // 已缴税地区代码
+  taxpayerName: '',          // 纳税人姓名
+  taxpayerIdentifier: '',    // 纳税人证件类型
+  identifyNumber: '',        // 纳税人证件号码
+})
 
 // 保险单表单验证规则
 let insurancePolicyRules = ref<FormRules>({
@@ -2577,7 +2589,7 @@ const syChange = (e: any) => {
 }
 
 // 报价公司
-let currentRow = ref([])
+let currentRow = ref([])//当前选中的报价公司
 let quoteData = ref<QuoteDataItem[]>([])
 
 // 选择权益
@@ -2600,6 +2612,7 @@ const handleEquitiesSave = (data: any) => {
 }
 
 const handleSelect = (a: any, b: any) => {
+  console.log(a, b)
   currentRow.value = a
   // currentRow.value = a
   // insurancePolicyForm.value.order.insuranceCompanyCode = a[0].id
@@ -3495,19 +3508,7 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
           instantFlag: insurancePolicyForm.value.SYInstantFlag    // 即时生效标志
         } : null,
 
-        vehicleAndVesselTaxVo: {  // 车船税信息
-          taxRelifFlag: insurancePolicyForm.value.taxRelifFlag,   // 车船税减免标志
-          extendChar2: insurancePolicyForm.value.extendChar2,     // 扩展字符2
-          relifReason: insurancePolicyForm.value.relifReason,
-          taxComCode: insurancePolicyForm.value.taxComCode,
-          taxComName: insurancePolicyForm.value.taxComName,
-          taxRelief: insurancePolicyForm.value.taxRelief,
-          taxDocumentDate: insurancePolicyForm.value.taxDocumentDate,
-          taxPaidAreaCode: insurancePolicyForm.value.taxPaidAreaCode,
-          taxpayerName: insurancePolicyForm.value.taxpayerName,
-          taxpayerIdentifier: insurancePolicyForm.value.taxpayerIdentifier,
-          identifyNumber: insurancePolicyForm.value.identifyNumber,
-        },
+        vehicleAndVesselTaxVo: vehicleAndVesselTaxVo,
         kindInfoVo: [...arr],
         accidentalDrivings: [...brr],
         specialInfoVo: [...crr]
@@ -3816,6 +3817,7 @@ const ruleFilterCompany = (item: any) => {
           item.agreement = item.agreements[0].id
         }
       })
+      console.log(quoteData.value)
     } else {
       quoteData.value = []
     }

+ 2 - 2
src/views/platform/index.vue

@@ -869,9 +869,9 @@ const initDept = () => {
 const toEdit = (row: any) => {
   console.log(row)
   myRouter.push({
-    path: '/insurancePolicy/order/insurancePolicyOrderDetail',
+    path: '/finance/auditOrderDetail',
     query: {
-      orderNo: row.orderNo,
+      id: row.orderNo,
       jumpType: 'costMsg'
     }
   })

+ 4 - 2
src/views/receivable/handingFee/index.vue

@@ -823,10 +823,12 @@ const handleCurrentChange = (page) => {
 
 // 编辑
 const toEdit = (row: any) => {
+  console.log(row)
   myRouter.push({
-    path: '/insurancePolicy/order/insurancePolicyOrderDetail',
+    path: '/finance/auditOrderDetail',
     query: {
-      orderNo: row.orderNo
+      id: row.orderNo,
+      jumpType: 'costMsg'
     }
   })
 }

+ 27 - 10
src/views/receivable/handingFee/report.vue

@@ -63,8 +63,7 @@
             <el-col :span="8">
               <el-form-item prop="companyIda" label="保险公司">
                 <el-select v-model="recordForm1.companyId" placeholder="请选择" clearable filterable>
-                  <el-option v-for="item in companyList" :key="item.id" :value="item.id"
-                    :label="item.name"></el-option>
+                  <el-option v-for="item in companyList" :key="item.id" :value="item.id" :label="item.name"></el-option>
                 </el-select>
               </el-form-item>
             </el-col>
@@ -125,7 +124,8 @@
           <el-table-column prop="receivePaymentDate" label="收款日期" width="150"></el-table-column>
           <el-table-column label="收款凭证" width="100">
             <template #default="scope">
-              <el-button link type="primary" @click="view">查看凭证(1)</el-button>
+              <el-button link type="primary" v-if="scope.row.fileUrl" @click="view(scope.row)">查看凭证({{scope.row.fileUrl.split(',').length}})</el-button>
+              <span v-else>无凭证</span>
             </template>
           </el-table-column>
           <el-table-column prop="createBy" label="结算人" width="100"></el-table-column>
@@ -150,8 +150,7 @@
             <el-col :span="8">
               <el-form-item prop="companyId" label="保险公司">
                 <el-select v-model="recordForm2.companyId" placeholder="请选择" clearable filterable>
-                  <el-option v-for="item in companyList" :key="item.id" :value="item.id"
-                    :label="item.name"></el-option>
+                  <el-option v-for="item in companyList" :key="item.id" :value="item.id" :label="item.name"></el-option>
                 </el-select>
               </el-form-item>
             </el-col>
@@ -227,8 +226,7 @@
             <el-col :span="8">
               <el-form-item prop="companyId" label="保险公司">
                 <el-select v-model="recordForm3.companyId" placeholder="请选择" clearable filterable>
-                  <el-option v-for="item in companyList" :key="item.id" :value="item.id"
-                    :label="item.name"></el-option>
+                  <el-option v-for="item in companyList" :key="item.id" :value="item.id" :label="item.name"></el-option>
                 </el-select>
               </el-form-item>
             </el-col>
@@ -290,6 +288,21 @@
       </el-tab-pane>
     </el-tabs>
   </PageMain>
+  <el-dialog v-model="viewCredential" title="查看凭证" width="400">
+    <div class="text-center text-[14px] text-[#999] pb-[20px]">点击图片放大预览</div>
+    <el-image
+      style="width: 100%; height: 300px"
+      :src="CredentialList[0]"
+      :zoom-rate="1.2"
+      :max-scale="7"
+      :min-scale="0.2"
+      :preview-src-list="CredentialList"
+      show-progress
+      :initial-index="4"
+      alt="凭证图片"
+      fit="cover"
+    />
+  </el-dialog>
 </template>
 
 <script setup lang="ts">
@@ -316,7 +329,8 @@ const handleClick = (e) => {
       break;
   }
 }
-
+const viewCredential = ref(false)//查看凭证弹窗
+const CredentialList = ref([])//凭证图片
 // 保险公司
 let companyList = ref([])
 const initCompany = () => {
@@ -409,7 +423,10 @@ const handleReset1 = () => {
 
 }
 const view = (scope) => {
-
+  console.log(scope.fileUrl)
+  CredentialList.value = scope.fileUrl.split(',')
+  console.log(CredentialList.value)
+  viewCredential.value = true
 }
 
 const initData1 = () => {
@@ -439,7 +456,7 @@ const initData2 = () => {
     invoiceId: recordForm1.value.invoiceId,
     settlementDateStart: recordForm1.value.settlementTime?.[0],
     settlementDateEnd: recordForm1.value.settlementTime?.[1],
-    pages: pages.value, 
+    pages: pages.value,
     size: size.value,
     invoiceTypes: ['1', '3']
   }).then((res: any) => {