|
@@ -195,7 +195,7 @@ export default {
|
|
|
this.qkrow(row)
|
|
|
if (val) {
|
|
|
row['goodsCategoryName'] = selectList.find(item => item.categoryId == val).categoryName
|
|
|
- materialNormList({ isShowStockQty: true, websitId: this.formData.websitId, "pageNum": 1, "pageSize": -1, "params": [{ "param": "b.category_id", "compare": "=", "value": val }] }).then(res => {
|
|
|
+ materialNormList({ isShowStockQty: true, websitId: this.formData.websitId, "pageNum": 1, "pageSize": -1, "params": [{ "param": "b.category_id", "compare": "=", "value": val }, { "param": "a.status", "compare": "=", "value": "ON" }] }).then(res => {
|
|
|
this.materialNormList = res.data.records
|
|
|
})
|
|
|
} else {
|
|
@@ -544,7 +544,7 @@ export default {
|
|
|
item.isEditRow = false
|
|
|
}
|
|
|
if (!!~['auxiliaryMaterialsStorage', 'returnAuxiliaryMaterials'].indexOf(this.pageType) && row.goodsCategoryId) {
|
|
|
- materialNormList({ isShowStockQty: true, websitId: this.formData.websitId, "pageNum": 1, "pageSize": -1, "params": [{ "param": "b.category_id", "compare": "=", "value": row.goodsCategoryId }] }).then(res => {
|
|
|
+ materialNormList({ isShowStockQty: true, websitId: this.formData.websitId, "pageNum": 1, "pageSize": -1, "params": [{ "param": "b.category_id", "compare": "=", "value": row.goodsCategoryId }, { "param": "a.status", "compare": "=", "value": "ON" }] }).then(res => {
|
|
|
this.materialNormList = res.data.records
|
|
|
})
|
|
|
}
|