Ver Fonte

自选方案

@dongkboy há 2 anos atrás
pai
commit
f614c3b74d

+ 8 - 5
src/views/AgreementManage/CarInsurance/AgreementProductFee.vue

@@ -46,8 +46,9 @@
         </el-col>
         <el-col :span="12">
           <el-form-item label="费用描述">
-            <el-input v-model="productpageRequest.costsDescription" clearable
-              placeholder="关键字搜索 例:新能源、非车险、评分等"></el-input>
+            <el-select style="width: 100%;"  v-model="productpageRequest.costsDescription" multiple filterable allow-create default-first-option
+              placeholder="关键字搜索 例:新能源、非车险、评分等">
+            </el-select>
           </el-form-item>
         </el-col>
         <el-col :span="6">
@@ -434,7 +435,9 @@
             </el-date-picker>
           </el-form-item>
           <el-form-item label="费用描述">
-            <el-input v-model="productcopyItemPageRequest.costsDescription" clearable placeholder="费用描述"></el-input>
+            <el-select style="width: 300px;"  v-model="productcopyItemPageRequest.costsDescription" multiple filterable allow-create default-first-option
+              placeholder="费用描述">
+            </el-select>
           </el-form-item>
           <el-form-item>
             <el-button type="primary" @click="productcopyItemQuery">查询</el-button>
@@ -478,7 +481,7 @@ export default {
         costStartDate: "",
         costsEndDate: "",
         isEffective: "",
-        costsDescription: "",
+        costsDescription: [],
         pageNum: 1,
         pageSize: 20,
       },
@@ -985,7 +988,7 @@ export default {
         productCode: [],
         costStartDate: "",
         costsEndDate: "",
-        costsDescription: "",
+        costsDescription: [],
         isEffective: "2",
         pageNum: 1,
         pageSize: 20,

+ 82 - 319
src/views/AgreementManage/CarInsurance/ProductCostExamine.vue

@@ -2,355 +2,189 @@
 <template>
   <div class="page">
     <!-- 模板内容 -->
-    <el-form
-      :inline="true"
-      size="small"
-      :model="productpageRequest"
-      class="demo-form-inline"
-      label-width="100px"
-    >
+    <el-form :inline="true" size="small" :model="productpageRequest" class="demo-form-inline" label-width="100px">
       <el-form-item label="保险公司">
-        <el-select
-          size="small"
-          clearable
-          filterable
-          v-model="productpageRequest.companyId"
-          :placeholder="'请输入'"
-          @change="refreshAgreement"
-        >
-          <el-option
-            v-for="(s, i) in InsCompanyList"
-            :key="i"
-            :label="s.name"
-            :value="s.id"
-          ></el-option>
+        <el-select size="small" clearable filterable v-model="productpageRequest.companyId" :placeholder="'请输入'"
+          @change="refreshAgreement">
+          <el-option v-for="(s, i) in InsCompanyList" :key="i" :label="s.name" :value="s.id"></el-option>
         </el-select>
       </el-form-item>
 
       <el-form-item label="协议选择">
-        <el-select
-          size="small"
-          clearable
-          filterable
-          v-model="productpageRequest.agreementId"
-          :placeholder="'请输入'"
-        >
-          <el-option
-            v-for="(s, i) in agreementList"
-            :key="i"
-            :label="s.agreementName"
-            :value="s.id"
-          ></el-option>
+        <el-select size="small" clearable filterable v-model="productpageRequest.agreementId" :placeholder="'请输入'">
+          <el-option v-for="(s, i) in agreementList" :key="i" :label="s.agreementName" :value="s.id"></el-option>
         </el-select>
       </el-form-item>
 
       <el-form-item label="产品名称">
-        <el-select
-          size="small"
-          clearable
-          v-model="productpageRequest.productCode"
-          multiple
-          :placeholder="'请输入'"
-        >
-          <el-option
-            v-for="(s, i) in insuranceRepertoire"
-            :key="i"
-            :label="s.dictTag"
-            :value="s.dictValue"
-          ></el-option>
+        <el-select size="small" clearable v-model="productpageRequest.productCode" multiple :placeholder="'请输入'">
+          <el-option v-for="(s, i) in insuranceRepertoire" :key="i" :label="s.dictTag" :value="s.dictValue"></el-option>
         </el-select>
       </el-form-item>
 
       <el-form-item label="创建日期">
-        <el-date-picker
-          value-format="yyyy-MM-dd"
-          v-model="date"
-          size="mini"
-          type="daterange"
-          align="left"
-          range-separator="至"
-          start-placeholder="开始日期"
-          end-placeholder="结束日期"
-        >
+        <el-date-picker value-format="yyyy-MM-dd" v-model="date" size="mini" type="daterange" align="left"
+          range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期">
         </el-date-picker>
       </el-form-item>
 
       <el-form-item label="审核状态">
         <el-select v-model="productpageRequest.isAudit">
-          <el-option
-            v-for="(item, index) in expenseAuditlist"
-            :key="index"
-            :label="item.label"
-            :value="item.value"
-          ></el-option>
+          <el-option v-for="(item, index) in expenseAuditlist" :key="index" :label="item.label"
+            :value="item.value"></el-option>
         </el-select>
       </el-form-item>
       <el-form-item label="费用描述">
-        <el-input
-          v-model="productpageRequest.costsDescription"
-          clearable
-          placeholder="费用描述"
-        ></el-input>
+        <el-select style="width: 300px;" v-model="productpageRequest.costsDescription" multiple filterable allow-create
+          default-first-option placeholder="费用描述">
+        </el-select>
       </el-form-item>
       <el-form-item>
         <el-button type="primary" @click="costQuery">查询</el-button>
       </el-form-item>
     </el-form>
-    <kt-common-table
-      :SerialShow="false"
-      :operationWidth="150"
-      :showOperation="true"
-      button2Name="查看"
-      permsButton2="agreement:input:productCost"
-      @handleButton2="viewDetails"
-      :showBatchDelete="true"
-      deleteName="批量审核"
-      @handleDelete="handleDelete"
-      :data="costAudit"
-      :columns="costColumns"
-      @findPage="costPage"
-    >
+    <kt-common-table :SerialShow="false" :operationWidth="150" :showOperation="true" button2Name="查看"
+      permsButton2="agreement:input:productCost" @handleButton2="viewDetails" :showBatchDelete="true" deleteName="批量审核"
+      @handleDelete="handleDelete" :data="costAudit" :columns="costColumns" @findPage="costPage">
     </kt-common-table>
-    <el-dialog
-      title="详情"
-      :visible.sync="productCostAddVehicleFactorVisible"
-      width="80%"
-      top="6vh"
-    >
+    <el-dialog title="详情" :visible.sync="productCostAddVehicleFactorVisible" width="80%" top="6vh">
       <div class="productstitle flex j-s" style="margin-top: 10px">
         <div>
           <span>{{ productCostForm.productName }}费用</span>
         </div>
       </div>
-      <el-button
-        class="mrgin-1"
-        size="small"
-        type="warning"
-        @click="productCostFactorDialogVisible = true"
-        >产品费用因子</el-button
-      >
-      <el-form
-        ref="productCostForm"
-        :model="productCostForm"
-        label-width="130px"
-        size="mini"
-        disabled
-      >
+      <el-button class="mrgin-1" size="small" type="warning"
+        @click="productCostFactorDialogVisible = true">产品费用因子</el-button>
+      <el-form ref="productCostForm" :model="productCostForm" label-width="130px" size="mini" disabled>
         <el-row>
           <el-col :span="20" :offset="2">
             <el-form-item label="费用描述">
-              <el-input
-                type="textarea"
-                v-model="productCostForm.costsDescription"
-                placeholder="输入费用描述内容"
-              ></el-input>
+              <el-input type="textarea" v-model="productCostForm.costsDescription" placeholder="输入费用描述内容"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="10" :offset="2">
             <el-form-item label="费用起期" prop="costsStartDate">
-              <el-date-picker
-                style="width: 100%"
-                v-model="productCostForm.costsStartDate"
-                type="datetime"
-                placeholder="选择费用开始日期"
-                value-format="yyyy-MM-dd HH:mm:ss"
-              >
+              <el-date-picker style="width: 100%" v-model="productCostForm.costsStartDate" type="datetime"
+                placeholder="选择费用开始日期" value-format="yyyy-MM-dd HH:mm:ss">
               </el-date-picker>
             </el-form-item>
           </el-col>
           <el-col :span="10">
             <el-form-item label="费用止期" prop="costsEndDate">
-              <el-date-picker
-                style="width: 100%"
-                v-model="productCostForm.costsEndDate"
-                type="datetime"
-                placeholder="选择费用结束日期"
-                value-format="yyyy-MM-dd HH:mm:ss"
-              >
+              <el-date-picker style="width: 100%" v-model="productCostForm.costsEndDate" type="datetime"
+                placeholder="选择费用结束日期" value-format="yyyy-MM-dd HH:mm:ss">
               </el-date-picker>
             </el-form-item>
           </el-col>
           <el-col :span="10" :offset="2">
             <el-form-item label="优先级">
-              <el-input
-                style="width: 100%"
-                v-model="productCostForm.priorityLevel"
-                onkeyup="value=value.replace(/\D/g,'')"
-                placeholder="输入数字"
-              ></el-input>
+              <el-input style="width: 100%" v-model="productCostForm.priorityLevel"
+                onkeyup="value=value.replace(/\D/g,'')" placeholder="输入数字"></el-input>
             </el-form-item>
           </el-col>
         </el-row>
-        <el-row
-          v-if="
-            ['单交', '交三', '交商', '兜底配置'].includes(
-              productCostForm.productName
-            )
-          "
-        >
+        <el-row v-if="['单交', '交三', '交商', '兜底配置'].includes(
+          productCostForm.productName
+        )
+          ">
           <h4 style="color: tomato">交强险费用</h4>
           <el-col :span="5" :offset="1">
             <el-form-item label="费用比例" prop="jqCarCostsProportion">
-              <el-input
-                v-model="productCostForm.jqCarCostsProportion"
-                placeholder="请输入费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqCarCostsProportion" placeholder="请输入费用比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="其他费用比例">
-              <el-input
-                disabled
-                v-model="productCostForm.jqCarOtherCostsProportion"
-                placeholder="请输入其他费用比例"
-              ></el-input>
+              <el-input disabled v-model="productCostForm.jqCarOtherCostsProportion" placeholder="请输入其他费用比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="总费用比例" prop="jqCostsProportion">
-              <el-input
-                v-model="productCostForm.jqCostsProportion"
-                placeholder="请输入总费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqCostsProportion" placeholder="请输入总费用比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="交强管理比例一级	" prop="jqExportRadioLevel1">
-              <el-input
-                v-model="productCostForm.jqExportRadioLevel1"
-                placeholder="请输入管理费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqExportRadioLevel1" placeholder="请输入管理费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="交强管理比例二级	" prop="jqExportRadioLevel2">
-              <el-input
-                v-model="productCostForm.jqExportRadioLevel2"
-                placeholder="请输入管理费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqExportRadioLevel2" placeholder="请输入管理费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="交强管理比例三级	" prop="jqExportRadioLevel3">
-              <el-input
-                v-model="productCostForm.jqExportRadioLevel3"
-                placeholder="请输入管理费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqExportRadioLevel3" placeholder="请输入管理费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="交强管理比例四级	" prop="jqExportRadioLevel4">
-              <el-input
-                v-model="productCostForm.jqExportRadioLevel4"
-                placeholder="请输入管理费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqExportRadioLevel4" placeholder="请输入管理费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="交强管理比例五级	" prop="jqExportRadioLevel5">
-              <el-input
-                v-model="productCostForm.jqExportRadioLevel5"
-                placeholder="请输入管理费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.jqExportRadioLevel5" placeholder="请输入管理费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="交强出口手续比例"
-              prop="jqCostsExportProportion"
-            >
-              <el-input
-                v-model="productCostForm.jqCostsExportProportion"
-                placeholder="请输入出口手续费比例"
-              ></el-input>
+            <el-form-item label="交强出口手续比例" prop="jqCostsExportProportion">
+              <el-input v-model="productCostForm.jqCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
             </el-form-item>
           </el-col>
         </el-row>
-        <el-row
-          v-if="
-            ['单商', '单三', '交商', '交三', '兜底配置'].includes(
-              productCostForm.productName
-            )
-          "
-        >
+        <el-row v-if="['单商', '单三', '交商', '交三', '兜底配置'].includes(
+          productCostForm.productName
+        )
+          ">
           <h4 style="color: tomato">商业险费用</h4>
 
           <el-col :span="5" :offset="1">
             <el-form-item label="费用比例" prop="syCarCostsProportion">
-              <el-input
-                v-model="productCostForm.syCarCostsProportion"
-                placeholder="请输入费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syCarCostsProportion" placeholder="请输入费用比例"></el-input>
             </el-form-item>
           </el-col>
 
           <el-col :span="5" :offset="1">
             <el-form-item label="其他费用比例">
-              <el-input
-                v-model="productCostForm.syCarOtherCostsProportion"
-                placeholder="请输入其他费用比例"
-                disabled
-              ></el-input>
+              <el-input v-model="productCostForm.syCarOtherCostsProportion" placeholder="请输入其他费用比例" disabled></el-input>
             </el-form-item>
           </el-col>
 
           <el-col :span="5" :offset="1">
             <el-form-item label="总费用比例" prop="syCostsProportion">
-              <el-input
-                v-model="productCostForm.syCostsProportion"
-                placeholder="请输入总费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syCostsProportion" placeholder="请输入总费用比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="商业手续比例一级	" prop="syExportRadioLevel1">
-              <el-input
-                v-model="productCostForm.syExportRadioLevel1"
-                placeholder="请输入手续费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syExportRadioLevel1" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="商业手续比例二级	" prop="syExportRadioLevel2">
-              <el-input
-                v-model="productCostForm.syExportRadioLevel2"
-                placeholder="请输入手续费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syExportRadioLevel2" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="商业手续比例三级	" prop="syExportRadioLevel3">
-              <el-input
-                v-model="productCostForm.syExportRadioLevel3"
-                placeholder="请输入手续费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syExportRadioLevel3" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="商业手续比例四级	" prop="syExportRadioLevel4">
-              <el-input
-                v-model="productCostForm.syExportRadioLevel4"
-                placeholder="请输入手续费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syExportRadioLevel4" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
             <el-form-item label="商业手续比例五级	" prop="syExportRadioLevel5">
-              <el-input
-                v-model="productCostForm.syExportRadioLevel5"
-                placeholder="请输入手续费比例"
-              ></el-input>
+              <el-input v-model="productCostForm.syExportRadioLevel5" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="商业出口手续比例"
-              prop="syCostsExportProportion"
-            >
-              <el-input
-                v-model="productCostForm.syCostsExportProportion"
-                placeholder="请输入出口手续费比例"
-              ></el-input>
+            <el-form-item label="商业出口手续比例" prop="syCostsExportProportion">
+              <el-input v-model="productCostForm.syCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
             </el-form-item>
           </el-col>
         </el-row>
@@ -358,138 +192,67 @@
           <h4 style="color: tomato">非车费用</h4>
           <el-col :span="5" :offset="1">
             <el-form-item label="费用比例" prop="noCarCostsProportion">
-              <el-input
-                v-model="productCostForm.noCarCostsProportion"
-                placeholder="请输入费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.noCarCostsProportion" placeholder="请输入费用比例"></el-input>
             </el-form-item>
           </el-col>
 
           <el-col :span="5" :offset="1">
             <el-form-item label="其他费用比例">
-              <el-input
-                v-model="productCostForm.noCarOtherCostsProportion"
-                placeholder="请输入其他费用比例"
-                disabled
-              ></el-input>
+              <el-input v-model="productCostForm.noCarOtherCostsProportion" placeholder="请输入其他费用比例" disabled></el-input>
             </el-form-item>
           </el-col>
 
           <el-col :span="5" :offset="1">
             <el-form-item label="总费用比例" prop="noCostsProportion">
-              <el-input
-                v-model="productCostForm.noCostsProportion"
-                placeholder="请输入总费用比例"
-              ></el-input>
+              <el-input v-model="productCostForm.noCostsProportion" placeholder="请输入总费用比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车手续比例一级	"
-              prop="noCarExportRadioLevel1"
-            >
-              <el-input
-                v-model="productCostForm.noCarExportRadioLevel1"
-                placeholder="请输入手续费比例"
-              ></el-input>
+            <el-form-item label="非车手续比例一级	" prop="noCarExportRadioLevel1">
+              <el-input v-model="productCostForm.noCarExportRadioLevel1" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车手续比例二级	"
-              prop="noCarExportRadioLevel2"
-            >
-              <el-input
-                v-model="productCostForm.noCarExportRadioLevel2"
-                placeholder="请输入手续费比例"
-              ></el-input>
+            <el-form-item label="非车手续比例二级	" prop="noCarExportRadioLevel2">
+              <el-input v-model="productCostForm.noCarExportRadioLevel2" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车手续比例三级	"
-              prop="noCarExportRadioLevel3"
-            >
-              <el-input
-                v-model="productCostForm.noCarExportRadioLevel3"
-                placeholder="请输入手续费比例"
-              ></el-input>
+            <el-form-item label="非车手续比例三级	" prop="noCarExportRadioLevel3">
+              <el-input v-model="productCostForm.noCarExportRadioLevel3" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车手续比例四级	"
-              prop="noCarExportRadioLevel4"
-            >
-              <el-input
-                v-model="productCostForm.noCarExportRadioLevel4"
-                placeholder="请输入手续费比例"
-              ></el-input>
+            <el-form-item label="非车手续比例四级	" prop="noCarExportRadioLevel4">
+              <el-input v-model="productCostForm.noCarExportRadioLevel4" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车手续比例五级	"
-              prop="noCarExportRadioLevel5"
-            >
-              <el-input
-                v-model="productCostForm.noCarExportRadioLevel5"
-                placeholder="请输入手续费比例"
-              ></el-input>
+            <el-form-item label="非车手续比例五级	" prop="noCarExportRadioLevel5">
+              <el-input v-model="productCostForm.noCarExportRadioLevel5" placeholder="请输入手续费比例"></el-input>
             </el-form-item>
           </el-col>
           <el-col :span="5" :offset="1">
-            <el-form-item
-              label="非车出口手续比例"
-              prop="noCostsExportProportion"
-            >
-              <el-input
-                v-model="productCostForm.noCostsExportProportion"
-                placeholder="请输入出口手续费比例"
-              ></el-input>
+            <el-form-item label="非车出口手续比例" prop="noCostsExportProportion">
+              <el-input v-model="productCostForm.noCostsExportProportion" placeholder="请输入出口手续费比例"></el-input>
             </el-form-item>
           </el-col>
         </el-row>
       </el-form>
       <div class="flex j-s a-c">
         <span style="margin-right: 10px; width: 100px">驳回原因</span>
-        <el-input
-          type="textarea"
-          v-model="reject"
-          maxlength="100"
-          show-word-limit
-        ></el-input>
+        <el-input type="textarea" v-model="reject" maxlength="100" show-word-limit></el-input>
       </div>
       <span slot="footer" class="dialog-footer">
-        <el-button
-          size="mini"
-          @click="productCostAddVehicleFactorVisible = false"
-          >关闭</el-button
-        >
-        <el-button size="mini" type="success" @click="approval"
-          >审核通过</el-button
-        >
-        <el-button size="mini" type="primary" @click="rejectionReason"
-          >审核驳回</el-button
-        >
+        <el-button size="mini" @click="productCostAddVehicleFactorVisible = false">关闭</el-button>
+        <el-button size="mini" type="success" @click="approval">审核通过</el-button>
+        <el-button size="mini" type="primary" @click="rejectionReason">审核驳回</el-button>
       </span>
     </el-dialog>
-    <el-dialog
-      title="产品因子录入"
-      :visible.sync="productCostFactorDialogVisible"
-      :close-on-click-modal="false"
-      width="70%"
-      top="6vh"
-      :fullscreen="true"
-    >
-      <Product-Cost-Form
-        v-if="productCostFactorDialogVisible"
-        :form="dynamicFormArray"
-        :operator="operatorlist"
-        :disabled="true"
-        over-size="small"
-        @cancelForm="cancel"
-      ></Product-Cost-Form>
+    <el-dialog title="产品因子录入" :visible.sync="productCostFactorDialogVisible" :close-on-click-modal="false" width="70%"
+      top="6vh" :fullscreen="true">
+      <Product-Cost-Form v-if="productCostFactorDialogVisible" :form="dynamicFormArray" :operator="operatorlist"
+        :disabled="true" over-size="small" @cancelForm="cancel"></Product-Cost-Form>
     </el-dialog>
   </div>
 </template>
@@ -516,7 +279,7 @@ export default {
         pageSize: 20,
         companyId: "",
         agreementId: "",
-        costsDescription: "",
+        costsDescription: [],
         productCode: [],
       },
       //保险公司列表
@@ -936,7 +699,7 @@ export default {
   text-align: center;
 }
 
-.productstitle > div {
+.productstitle>div {
   width: 100px;
   height: 26px;
   line-height: 30px;

+ 15 - 7
src/views/AgreementManage/InsuranceCompany/CargoTruck/BusinessOperation/Fuel/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -120,7 +124,8 @@
                       :key="undrvingListindex">
                       <div class="flex f-c ">
                         <div style="width: 100%;">
-                          <el-checkbox v-model="undrvingListitem.switch" style="margin-right: 20px;" @change="event => superiordrvingcheckboxChange(event, drvingListindex, undrvingListitem)"></el-checkbox>
+                          <el-checkbox v-model="undrvingListitem.switch" style="margin-right: 20px;"
+                            @change="event => superiordrvingcheckboxChange(event, drvingListindex, undrvingListitem)"></el-checkbox>
                           <span>{{ undrvingListitem.projectName }}</span>
                           <span style="color: #2D4D89;cursor: pointer;text-align: right;"
                             @click="Drivedetails(undrvingListitem)">详情</span>
@@ -244,6 +249,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {
@@ -321,9 +329,9 @@ export default {
                   return Insurances;
                 })
               } else {
-                if(list.includes(undrvingList.id)){
+                if (list.includes(undrvingList.id)) {
                   undrvingList.switch = true;
-                }else{
+                } else {
                   undrvingList.switch = false;
                 }
               }

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/CargoTruck/BusinessOperation/NewEnergy/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -245,6 +249,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/CargoTruck/NonBusiness/Fuel/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -244,6 +248,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/CargoTruck/NonBusiness/NewEnergy/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -244,6 +248,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/PassengerBus/BusinessOperation/Fuel/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -245,6 +249,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/PassengerBus/BusinessOperation/NewEnergy/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -244,6 +248,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/PassengerBus/NonBusiness/Fuel/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -244,6 +248,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 11 - 4
src/views/AgreementManage/InsuranceCompany/PassengerBus/NonBusiness/NewEnergy/OptionalsolutionConfig.vue

@@ -101,10 +101,14 @@
             </div>
             <div class="flex f-c " style="margin-bottom: 20px;"
               v-for="(drvingListitem, drvingListindex) in CustomPlanData.drvingList" :key="drvingListindex">
-              <div class="flex a-c">
-                <span>座位数:</span>
-                <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
-                  :min="1"></el-input-number>
+              <div class="flex a-c j-s">
+                <div class="flex a-c">
+                  <span>座位数:</span>
+                  <el-input-number size="small" style="width:150px; margin-bottom: 10px;" v-model="drvingListitem.seatNum"
+                    :min="1"></el-input-number>
+                </div>
+                <el-button v-if="drvingListindex > 0" type="primary" size="small" icon="el-icon-delete"
+                  style="margin: right;" @click="planOptiondel(drvingListindex)">方案删除</el-button>
               </div>
               <div class="flex j-start ">
                 <div class="Risk" style="margin-right: 30px;">
@@ -244,6 +248,9 @@ export default {
   },
   // 方法函数
   methods: {
+    planOptiondel(index) {
+      this.CustomPlanData.drvingList.splice(index, 1);
+    },
     superiordrvingcheckboxChange(e, drvingListindex, undrvingListitem) {
       if (!undrvingListitem.insDrivingIntentionInsurances) {
         if (e) {

+ 2 - 2
src/views/Core/components/detailsDialog.vue

@@ -1,7 +1,7 @@
 <template>
   <div>
 
-    <el-dialog :visible.sync="dialogVisible" width="80%" class="details_style">
+    <el-dialog :visible.sync="dialogVisible" v-dialogDrag width="80%" class="details_style">
       <div slot="title" class=" dialog-title details-title">
         <img src="../../../icon/归属信息.png" alt class="icon-img" />
         <span>车辆报价信息详情</span>
@@ -652,7 +652,7 @@
               </el-table>
             </div>
           </OpenCloseBox>
-          <OpenCloseBox id="hbyy">
+          <OpenCloseBox id="hbyy" v-if="orderInfo.orderstatus == 4">
             <span slot="title">核保原因</span>
             <div slot="boby" style="font-size:12px;width: 100%" class="FeeEnclosure">
               <span>{{ orderInfo.underwritingReason }}</span>

+ 9 - 8
src/views/FinancialManagement/CarInsurance/Verifytasks/Verifyuntasks.vue

@@ -57,7 +57,7 @@
         </template>
       </el-table-column>
       <el-table-column prop="licenseno" label="车牌号" align="center"></el-table-column>
-      <el-table-column prop="insuredname" label="投保人姓名" align="center"></el-table-column>
+      <el-table-column prop="insuredname" label="被保险人" align="center"></el-table-column>
       <el-table-column prop="product" label="投保险种" align="center"></el-table-column>
       <el-table-column prop="operatorName" label="录入人" align="center"></el-table-column>
       <el-table-column prop="auditStatus" label="状态" align="center">
@@ -180,7 +180,7 @@ export default {
           type: 'select',
           options: []
         },
-        
+
 
         // {
         //   name: 'taskNo',
@@ -233,7 +233,7 @@ export default {
           type: 'input',
           Retained: true,
         },
-          
+
         {
           name: 'riskCode',
           label: '投保险种',
@@ -261,7 +261,7 @@ export default {
           type: 'input',
           Retained: true,
         },
-        
+
         {
           name: 'agreeId',
           label: '协议选择',
@@ -269,8 +269,8 @@ export default {
           options: [],
           optionsIabel: "agreementName",
         },
-      
-     
+
+
 
         {
           name: 'isExternal',
@@ -493,7 +493,7 @@ export default {
       })
     },
     areaSelectChange(obj) {
-    
+
       switch (obj.filed) {
         case "whole":
           this.areaqueryList(1, obj.id, "provinceId");
@@ -785,6 +785,7 @@ export default {
     },
     //应用详情
     OrderDetails(dy) {
+      console.log(dy)
       if (dy.isExternal == 1) {
         this.isrejection = true
       }
@@ -1613,7 +1614,7 @@ export default {
           this.oldFeeInfo = res.data.adjustFeeDescVo;
           this.adjustFeeDescInfo = { ...this.oldFeeInfo }
           // this.quotedetailsdialogVisible = true;
-
+          console.log(this.orderInfo)
           this.$refs.detailsDialog.setBackupVisible(true);
 
         } else {

+ 13 - 5
src/views/Task/daikeComponents/KtOrder.vue

@@ -53,7 +53,14 @@
             </el-select>
           </el-form-item>
         </el-col>
-
+        <el-col :span="12">
+          <el-form-item label="险种选择">
+            <el-radio-group v-model="pageRequest.productid">
+              <el-radio v-for="val in productsTypeoptions" :key="val.dictValue" :label="val.dictValue">{{ val.dictTag
+              }}</el-radio>
+            </el-radio-group>
+          </el-form-item>
+        </el-col>
       </el-row>
       <el-row>
         <el-col :span="21" v-if="isLetterOrder">
@@ -82,7 +89,7 @@
             v-for="(item, index) in scope.row.insAreaCompanyList" :key="index">
             <div style="width: 12%">
               {{ item.inscompany }}
-              <span style="color: #d42426">({{ item.agreementName }})</span>
+              <!-- <span style="color: #d42426">({{ item.agreementName }})</span> -->
             </div>
             <div class="flex a-c j-s demo-table-expand-time">
               <div>
@@ -215,7 +222,7 @@
           <span>{{ scope.row.userid }}</span>
         </template>
       </el-table-column>
-      <el-table-column prop="insCompany" label="承保公司" width="100" align="center">
+      <el-table-column prop="insCompany" label="已承保的公司" width="100" align="center">
         <template slot-scope="scope">
           <span>{{ scope.row.insCompany ? scope.row.insCompany : "--" }}</span>
         </template>
@@ -869,7 +876,7 @@ export default {
       productsTypeoptions: [],
       InsInsuranceKindoptions: [],
       width: document.documentElement.clientWidth,
-      tabelHeight: document.documentElement.clientHeight - 360,
+      tabelHeight: document.documentElement.clientHeight - 390,
       insAreaCompanyList: [], //子订单list
       companyList: [], //保险公司
       querystatusLoaing: false,
@@ -1851,6 +1858,7 @@ export default {
     },
     //应用详情
     OrderDetails(dy, item) {
+      console.log(dy, item)
       this.carImageList = [];
       this.ownerImageList = []; //车主影像
       this.policyImageList = []; //投保人影像
@@ -2835,7 +2843,7 @@ export default {
 
             this.$refs.detailsDialog.warrantyFun(obj);
           }
-
+          console.log(this.orderInfo)
           this.showInsureList = false;
           this.$refs.detailsDialog.setBackupVisible(true);
         } else {