Ver Fonte

方案管理-车牌号变更为code进行匹配

祁鹏飞 há 1 mês atrás
pai
commit
6d938e5545

+ 2 - 2
src/components/ruleConditionContainer/index.vue

@@ -79,7 +79,7 @@
               </template>
               <el-option v-for="dictLabalitem in showDictLabal(item)" :key="dictLabalitem.id"
                 :label="dictLabalitem.name"
-                :value="['车辆类型', '交强不浮动原因', '商业不浮动原因'].includes(item.attrName) ? dictLabalitem.code : dictLabalitem.name" />
+                :value="['车辆类型', '交强不浮动原因', '商业不浮动原因','车牌号'].includes(item.attrName) ? dictLabalitem.code : dictLabalitem.name" />
             </el-select>
           </template>
           <template v-if="item.attrType == 'inputTag'">
@@ -210,7 +210,7 @@ const handleCheckAll = (item, index: number, val: boolean) => {
   if (val) {
     let arr = item.dictLabal
     if (item.dictLabalFilter) arr = item.dictLabalFilter
-    item.minArray = arr.map((_) => ['车辆类型', '交强不浮动原因', '商业不浮动原因'].includes(_.attrName) ? _.code : _.name)
+    item.minArray = arr.map((_) => ['车辆类型', '交强不浮动原因', '商业不浮动原因','车牌号'].includes(_.attrName) ? _.code : _.name)
   } else {
     item.minArray = []
   }

+ 1 - 1
src/views/externalAgreement/agreement/components/contactPersonFeeDialogEdit.vue

@@ -88,7 +88,7 @@
           <el-table-column prop="costType" label="类型"></el-table-column>
             <el-table-column prop="inlet" label="入口比例" width="180" align="center">
                 <template #default="scope">
-                    <el-input-number v-model="scope.row.inlet"  :disabled="disabledShow" :precision="2" controls-position="right"
+                    <el-input-number v-model="scope.row.inlet"  :disabled="disabledShow||contactPersonEditInfo.isInquiry==='0'" :precision="2" controls-position="right"
                                      style="width: 100%;" :min="0" :max="100" @change="handelRK(scope)">
                         <template #suffix>%</template>
                     </el-input-number>