Przeglądaj źródła

方案管理-驾意险配置适用座位数回显优化

祁鹏飞 2 miesięcy temu
rodzic
commit
0cde57f2d6

+ 2 - 2
src/views/quoteConfig/project/modules/projectAdd.vue

@@ -98,13 +98,13 @@
                           <template #default="scope">
                             <div class="">
                               <el-input-number v-model="scope.row.minSeatCount" controls-position="right"
-                                style="width: 100px;" :min="2" :max="scope.row.maxSeatCount">
+                                style="width: 100px;" :min="2" :max="scope.row.maxSeatCount??Number.MAX_SAFE_INTEGER">
                                 <template #suffix>
                                   <span>座</span>
                                 </template>
                               </el-input-number> 至
                               <el-input-number v-model="scope.row.maxSeatCount" controls-position="right"
-                                style="width: 100px;" :min="scope.row.minSeatCount" :max="99">
+                                style="width: 100px;" :min="scope.row.minSeatCount??Number.MIN_SAFE_INTEGER" :max="99">
                                 <template #suffix>
                                   <span>座</span>
                                 </template>