|
@@ -662,7 +662,8 @@
|
|
|
this.dataList[this.isEdit].qty = '',
|
|
|
this.dataList[this.isEdit].goodsCategoryId = e.categoryId
|
|
|
this.dataList[this.isEdit].goodsCategoryName = e.categoryName
|
|
|
- getGoods({websitId: this.formData.websitId,categoryId: e.categoryId,type: 'M',orderEnginBaseId: this.formData.orderEnginBaseId,saleType: this.formData.salesType}).then(res => {
|
|
|
+ if(!this.formData.storageId){return this.$message.warning('请先选择入库仓库!')}
|
|
|
+ getGoods({websitId: this.formData.websitId,categoryId: e.categoryId,type: 'M',orderEnginBaseId: this.formData.orderEnginBaseId,saleType: this.formData.salesType,storageId: this.formData.storageId}).then(res => {
|
|
|
this.dataList[this.isEdit].goodsList = res.data
|
|
|
})
|
|
|
},
|