优化起售数量最低1

This commit is contained in:
gyq 2024-08-02 10:41:44 +08:00
parent 0a1af58fcd
commit 744632324b
1 changed files with 2 additions and 2 deletions

View File

@ -117,7 +117,7 @@
</el-table-column> </el-table-column>
<el-table-column label="起售数量" prop="suit"> <el-table-column label="起售数量" prop="suit">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number @change="priceFormat(scope.row, 'suit')" @blur="priceFormat(scope.row, 'suit')" <el-input-number @change="priceFormat(scope.row, 'suit')" @blur="priceFormat(scope.row, 'suit')" :min="1"
v-model="scope.row.suit" controls-position="right"></el-input-number> v-model="scope.row.suit" controls-position="right"></el-input-number>
</template> </template>
</el-table-column> </el-table-column>
@ -256,7 +256,7 @@
</template> </template>
<template slot-scope="scope"> <template slot-scope="scope">
<el-input-number @change="priceFormat(scope.row, 'originsuitrice')" @blur="priceFormat(scope.row, 'suit')" <el-input-number @change="priceFormat(scope.row, 'originsuitrice')" @blur="priceFormat(scope.row, 'suit')"
v-model="scope.row.suit" controls-position="right"></el-input-number> v-model="scope.row.suit" controls-position="right" :min="1"></el-input-number>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="库存数量" prop="stockNumber"> <el-table-column label="库存数量" prop="stockNumber">