优化称重起售数量
This commit is contained in:
parent
850509ba04
commit
ea93710b6e
|
|
@ -198,8 +198,10 @@
|
||||||
</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')" :min="0"
|
||||||
|
v-model="scope.row.suit" controls-position="right" v-if="form.type == 'weigh'"></el-input-number>
|
||||||
<el-input-number @change="priceFormat(scope.row, 'suit')" @blur="priceFormat(scope.row, 'suit')" :min="1"
|
<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" v-else></el-input-number>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<!-- <el-table-column label="库存数量" prop="stockNumber">
|
<!-- <el-table-column label="库存数量" prop="stockNumber">
|
||||||
|
|
@ -592,7 +594,7 @@ export default {
|
||||||
isGrounding: 1,
|
isGrounding: 1,
|
||||||
productId: this.$route.query.goods_id ? this.$route.query.goods_id : "",
|
productId: this.$route.query.goods_id ? this.$route.query.goods_id : "",
|
||||||
shopId: localStorage.getItem("shopId"),
|
shopId: localStorage.getItem("shopId"),
|
||||||
suit: 0,
|
suit: '',
|
||||||
},
|
},
|
||||||
tableAddShopIndex: null,
|
tableAddShopIndex: null,
|
||||||
isEditor: false,
|
isEditor: false,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue