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