yaoyao 2 lat temu
rodzic
commit
dee40e8936

+ 17 - 6
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/DocumentaryFeesDetail.vue

@@ -13,7 +13,6 @@
         <el-cascader v-model="pageData.partnerCompaniesIdList" size="small" :show-all-levels="false" ize="small"
           :options="ztreeNodes" :props="optionProps" clearable filterable></el-cascader>
       </template> -->
-
       <template slot="imageUrl" slot-scope="scope">
         <img :src="`${process + scope.row.imageUrl}`" class="imageclass" />
       </template>
@@ -24,6 +23,12 @@
           </el-option>
         </el-select>
       </template>
+      <template slot="riskcode">
+        <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
+          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+            :value="item.dictTag"></el-option>
+        </el-select>
+      </template>
     </templateTable>
     <el-dialog
     title="编辑"
@@ -232,6 +237,7 @@ export default {
     return {
       process:'http://192.168.0.42:8080',
       dockingPersonOption: [],
+      riskcodeList: [],
       rulesAdd: {
         signDate: [
           { required: true, message: '请输入签单日期', trigger: 'blur' },
@@ -330,9 +336,11 @@ export default {
 
         {
           label: "险种",
-          prop: "riskcode",
-          type: "select",
-          options:[]
+          name: "riskcode",
+          type: "slot"
+          // prop: "riskcode",
+          // type: "select",
+          // options:[]
         },
         {
           label: "交强保单号",
@@ -674,7 +682,8 @@ export default {
     this.$api.dept.findDeptTree("9", "").then((res) => {
       this.treedata = res.data;
     });
-    this.getDicType("InsInsuranceKind"); //险种类型
+    // this.getDicType("InsInsuranceKind"); //险种类型
+    this.getDicType("productsType"); //险种类型
     this.getDicType("agreementType"); //险种类型
     this.areaqueryList(1, 99, "provinceId");
     this.companyqueryList(0,'allPartnerCompaniesId');
@@ -895,7 +904,9 @@ export default {
       this.$api.insCompany.dicType(type).then((res) => {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
-          if (type == 'InsInsuranceKind') {
+          // if (type == 'InsInsuranceKind') {
+            if (type == 'productsType') {
+              this.riskcodeList = res.data.ddList
             this.formList.forEach(e => {
               if (e.prop == 'riskcode') {
                 e.options = res.data.ddList

+ 16 - 4
src/views/FinancialManagement/CarInsurance/CompanySettlement/CarInsurance/HandlingFees.vue

@@ -24,6 +24,12 @@
           </el-option>
         </el-select>
       </template>
+      <template slot="riskcode">
+        <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
+          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+            :value="item.dictTag"></el-option>
+        </el-select>
+      </template>
       <div v-if="!Object.keys(moneyList).length == 0">
         <el-row class="customStyle">
           <el-col :span="4">总手续费:{{ moneyList.commissionFeevalue }}</el-col>
@@ -228,6 +234,7 @@ export default {
   },
   data() {
     return {
+      riskcodeList: [],
       formListbatch:[
         {
               label: "上传时间",
@@ -358,13 +365,17 @@ export default {
           prop: "insuredName",
           type: "input",
         },
+        // {
+        //   label: "险种",
+        //   prop: "riskcode",
+        //   type: "select",
+        //   options: []
+        // },
         {
           label: "险种",
-          prop: "riskcode",
-          type: "select",
-          options: []
+          name: "riskcode",
+          type: "slot"
         },
-
         {
           label: "交强保单号",
           prop: "policyno",
@@ -763,6 +774,7 @@ export default {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
           if (type == 'productsType') {
+            this.riskcodeList = res.data.ddList
             this.formList.forEach(e => {
               if (e.prop == 'riskcode') {
                 e.options = res.data.ddList

+ 17 - 6
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/DocumentaryFeesDetail.vue

@@ -19,6 +19,12 @@
           </el-option>
         </el-select>
       </template>
+      <template slot="riskcode">
+        <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
+          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+            :value="item.dictTag"></el-option>
+        </el-select>
+      </template>
     <!-- <template slot="保司机构">
         <el-cascader v-model="pageData.partnerCompaniesIdList" size="small" :show-all-levels="false" ize="small"
           :options="ztreeNodes" :props="optionProps" clearable filterable></el-cascader>
@@ -200,6 +206,7 @@ export default {
     return {
       process:process.env.BASE_URL,
       dockingPersonOption: [],
+      riskcodeList: [],
       rulesAdd: {
         signDate: [
           { required: true, message: '请输入签单日期', trigger: 'blur' },
@@ -304,9 +311,12 @@ export default {
 
         {
           label: "险种",
-          prop: "riskcode",
-          type: "select",
-          options:[]
+          name: "riskcode",
+          type: "slot"
+          // label: "险种",
+          // prop: "riskcode",
+          // type: "select",
+          // options:[]
         },
         {
           label: "非车保单号",
@@ -587,7 +597,7 @@ export default {
     this.$api.dept.findDeptTree("9", "").then((res) => {
       this.treedata = res.data;
     });
-    this.getDicType("InsInsuranceKind"); //险种类型
+    this.getDicType("productsType"); //险种类型
     this.getDicType("agreementType"); //险种类型
     this.areaqueryList(1, 99, "provinceId");
     this.companyqueryList(0,'allPartnerCompaniesId');
@@ -804,8 +814,9 @@ drivinguploadBatchs(file, fileList){
       this.$api.insCompany.dicType(type).then((res) => {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
-          if (type == 'InsInsuranceKind') {
-            this.formList.forEach(e => {
+          if (type == 'productsType') {
+              this.riskcodeList = res.data.ddList
+              this.formList.forEach(e => {
               if (e.prop == 'riskcode') {
                 e.options = res.data.ddList
               }

+ 11 - 4
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/HandlingFees.vue

@@ -24,6 +24,12 @@
           </el-option>
         </el-select>
       </template>
+      <template slot="riskcode">
+        <el-select v-model="pageData.riskcode"  placeholder="选择险种" size="small">
+          <el-option v-for="item in riskcodeList" :key="item.dictValue" :label="item.dictTag"
+            :value="item.dictTag"></el-option>
+        </el-select>
+      </template>
       <div v-if="!Object.keys(moneyList).length == 0">
         <el-row class="customStyle">
           <el-col :span="4">总手续费:{{ moneyList.commissionFeevalue }}</el-col>
@@ -229,6 +235,7 @@ export default {
       ],
       ztreeNodes: [],
       productsTypeoptions: [],
+      riskcodeList: [],
       optionProps: {
         //公司下拉列表配置
         checkStrictly: true,
@@ -318,9 +325,8 @@ export default {
 
         {
           label: "险种",
-          prop: "riskcode",
-          type: "select",
-          options:[]
+          name: "riskcode",
+          type: "slot"
         },
         {
           label: "非车保单号",
@@ -735,7 +741,8 @@ export default {
         if (res.code == 200) {
           this[type + "options"] = res.data.ddList;
           if(type=='productsType'){
-              this.formList.forEach(e=>{
+            this.riskcodeList = res.data.ddList
+            this.formList.forEach(e=>{
                 if(e.prop=='riskcode'){
                   e.options=res.data.ddList
                 }

+ 1 - 1
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/InvoicingUnsettled.vue

@@ -321,7 +321,7 @@ export default {
                 .batchBxBalance({
                     ...this.openBalanceDetail,
                     otherFeevalue: this.formDetail.otherFeevalue,
-                    partnerCompaniesId: this.formDetail.partnerCompaniesId,
+                    // partnerCompaniesId: this.formDetail.partnerCompaniesId,
                     companyId: this.formDetail.companyId,
                     isNotCar: '1',
                     handlingFeesStatus: '1',

+ 6 - 5
src/views/FinancialManagement/CarInsurance/CompanySettlement/NoCarInsurance/Notinvoiced.vue

@@ -41,11 +41,11 @@
               <el-input v-model="InvoicingData.taxPoints"></el-input>
             </el-form-item>
           </el-col>
-          <el-col :span="10">
+          <!-- <el-col :span="10">
             <el-form-item label="开票金额" prop="settlementAmount">
               <el-input v-model="InvoicingData.settlementAmount"></el-input>
             </el-form-item>
-          </el-col>
+          </el-col> -->
         </el-row>
       </el-form>
       <el-table
@@ -257,9 +257,9 @@ export default {
         contractId: [
             { required: true, message: '请输入开票号', trigger: 'blur' },
           ],
-          settlementAmount: [
-            { required: true, message: '请输入开票金额', trigger: 'blur' },
-          ],
+          // settlementAmount: [
+          //   { required: true, message: '请输入开票金额', trigger: 'blur' },
+          // ],
           invoicingMethod: [
             { required: true, message: '请输入开票方式', trigger: 'blur' },
           ],
@@ -399,6 +399,7 @@ export default {
             let data={ ...this.formDataList,...this.InvoicingData,isNotCar:1,handlingFeesStatus:'1',
             yeartsStart:this.yeartsStart,
                yeartsEnd:this.yeartsEnd,
+              multipleSelection:this.multipleSelection,
                monthNumber:this.multipleSelection.map(val=>val.monthNumber)}
                if (this.isSingle == '2') {
             this.$api.task.singleInvoic(data).then(res => {