Commit cb0342fe by wusiyi

fix: bug

parent e90e3e9f
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
<el-form-item label="序号" prop="sortNo"> <el-form-item label="序号" prop="sortNo">
<el-input-number <el-input-number
v-model="form.sortNo" v-model="form.sortNo"
:min="0" :min="1"
:max="999" :max="999"
style="width: 200px" style="width: 200px"
step-strictly step-strictly
...@@ -252,7 +252,7 @@ const form = ref<SortingRuleDetail>({ ...@@ -252,7 +252,7 @@ const form = ref<SortingRuleDetail>({
}, },
], ],
secondScan: false, secondScan: false,
sortNo: 0, sortNo: 1,
autoPrint: false, autoPrint: false,
warehouseId: 0, warehouseId: 0,
warehouseName: '', warehouseName: '',
...@@ -290,6 +290,7 @@ const handleConditionTypeChange = (item: SortingRuleCondition) => { ...@@ -290,6 +290,7 @@ const handleConditionTypeChange = (item: SortingRuleCondition) => {
// 订单总件数 清空字段 // 订单总件数 清空字段
else if (item.conditionType === 'order_total_num') { else if (item.conditionType === 'order_total_num') {
item.conditionValue = undefined item.conditionValue = undefined
item.operator = 'gt'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment