Sfoglia il codice sorgente

协议费用匹配车牌号因子添加包含暂未上牌标志

li.pengfei 3 anni fa
parent
commit
9a046e510b

+ 8 - 4
src/views/AgreementManage/CarInsurance/AgreementEntry.vue

@@ -1414,14 +1414,17 @@
               <el-input-number v-model="CostfactorForm.maxLossRation"></el-input-number>
             </el-form-item>
           </el-col>
-          <el-col :span="22">
+          <el-col :span="12">
             <el-form-item label="车牌号">
-              <el-select style="width: 100%;" v-model="value1" multiple placeholder="请选择" @change="licenseNumberChange">
+              <el-select style="width: 80%;" v-model="value1" multiple placeholder="请选择" @change="licenseNumberChange">
                 <el-option v-for="item in areanumberplateList" :key="item.id" :label="item.license" :value="item.license">
                 </el-option>
               </el-select>
             </el-form-item>
           </el-col>
+          <el-col :span="12">
+              <el-checkbox v-model="CostfactorForm.containNoLicense" true-label="1" false-label="0" :disabled="this.value1.length>0?false:true">含暂未上牌</el-checkbox>
+          </el-col>
         </el-row>
       </el-form>
       <span slot="footer" class="dialog-footer">
@@ -1546,6 +1549,7 @@ export default {
         minLossRation: "",//预期赔付
         maxLossRation: "",
         licenseNumber: "",//车牌号
+        containNoLicense:""//含暂未上牌
       },
       value1: [],
       value2: [],
@@ -2337,10 +2341,10 @@ export default {
         this.natureOfUseList = item.natureOfUse.split(",")
         this.value1 = item.licenseNumber != '' ? item.licenseNumber.split(",") : [];
         const {
-          transfer, newEnergy, oldAndNew, renewal, minSeats, maxSeats, minTruckTonnage, maxTruckTonnage, minPurchasePrice, maxPurchasePrice, minApprovedLoadCapacity, maxApprovedLoadCapacity, minCompulsoryInsurancePremium, maxCompulsoryInsurancePremium, minTaxAmount, maxTaxAmount, minTheThreePremium, maxTheThreePremium, minOnboardProductsPremium, maxOnboardProductsPremium, minCommercialInsuranceDiscount, maxCommercialInsuranceDiscount, minCompulsoryInsuranceDiscount, maxCompulsoryInsuranceDiscount, minScore, maxScore, minLossRation, maxLossRation,
+          transfer, newEnergy, oldAndNew, renewal, minSeats, maxSeats, minTruckTonnage, maxTruckTonnage, minPurchasePrice, maxPurchasePrice, minApprovedLoadCapacity, maxApprovedLoadCapacity, minCompulsoryInsurancePremium, maxCompulsoryInsurancePremium, minTaxAmount, maxTaxAmount, minTheThreePremium, maxTheThreePremium, minOnboardProductsPremium, maxOnboardProductsPremium, minCommercialInsuranceDiscount, maxCommercialInsuranceDiscount, minCompulsoryInsuranceDiscount, maxCompulsoryInsuranceDiscount, minScore, maxScore, minLossRation, maxLossRation,containNoLicense
         } = item;
         this.CostfactorForm = {
-          transfer, newEnergy, oldAndNew, renewal, minSeats, maxSeats, minTruckTonnage, maxTruckTonnage, minPurchasePrice, maxPurchasePrice, minApprovedLoadCapacity, maxApprovedLoadCapacity, minCompulsoryInsurancePremium, maxCompulsoryInsurancePremium, minTaxAmount, maxTaxAmount, minTheThreePremium, maxTheThreePremium, minOnboardProductsPremium, maxOnboardProductsPremium, minCommercialInsuranceDiscount, maxCommercialInsuranceDiscount, minCompulsoryInsuranceDiscount, maxCompulsoryInsuranceDiscount, minScore, maxScore, minLossRation, maxLossRation,
+          transfer, newEnergy, oldAndNew, renewal, minSeats, maxSeats, minTruckTonnage, maxTruckTonnage, minPurchasePrice, maxPurchasePrice, minApprovedLoadCapacity, maxApprovedLoadCapacity, minCompulsoryInsurancePremium, maxCompulsoryInsurancePremium, minTaxAmount, maxTaxAmount, minTheThreePremium, maxTheThreePremium, minOnboardProductsPremium, maxOnboardProductsPremium, minCommercialInsuranceDiscount, maxCommercialInsuranceDiscount, minCompulsoryInsuranceDiscount, maxCompulsoryInsuranceDiscount, minScore, maxScore, minLossRation, maxLossRation,containNoLicense
         }
       }
     },