优化编辑商品起售数量不显示和库存数量显示不准确
This commit is contained in:
parent
52ed7edf08
commit
dcb2eb36ea
|
|
@ -108,10 +108,7 @@
|
|||
</el-table-column>
|
||||
<el-table-column label="起售数量" prop="suit">
|
||||
<template slot-scope="scope">
|
||||
<el-input-number
|
||||
v-model="scope.row.suit"
|
||||
controls-position="right"
|
||||
></el-input-number>
|
||||
<el-input-number v-model="scope.row.suit" controls-position="right"></el-input-number>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="库存数量" prop="stockNumber">
|
||||
|
|
@ -239,10 +236,7 @@
|
|||
<i class="icon el-icon-edit" @click="batchNumber('suit')"></i>
|
||||
</template>
|
||||
<template slot-scope="scope">
|
||||
<el-input-number
|
||||
v-model="scope.row.suit"
|
||||
controls-position="right"
|
||||
></el-input-number>
|
||||
<el-input-number v-model="scope.row.suit" controls-position="right"></el-input-number>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="库存数量" prop="stockNumber">
|
||||
|
|
@ -578,8 +572,11 @@ export default {
|
|||
specInfo[index].realSalesNumber = item.productId;
|
||||
specInfo[index].shopId = item.shopId;
|
||||
specInfo[index].warnLine = item.warnLine;
|
||||
specInfo[index].suit = item.suit;
|
||||
specInfo[index].stockNumber = item.stockNumber;
|
||||
return specInfo[index];
|
||||
});
|
||||
console.log(this.form.skuList);
|
||||
this.originSkuList = [...this.form.skuList];
|
||||
this.selectSpecResult = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue