|
@@ -268,6 +268,10 @@ export default {
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
importStagList(row, index, type) {
|
|
importStagList(row, index, type) {
|
|
|
|
+ if (Number(row.inventory) <= 0) {
|
|
|
|
+ this.$message.error("所选商品的库存不能为0")
|
|
|
|
+ return
|
|
|
|
+ }
|
|
this.goodsListSave.push(row);
|
|
this.goodsListSave.push(row);
|
|
},
|
|
},
|
|
removeStagList(row, index, type) {
|
|
removeStagList(row, index, type) {
|