refactor(wms): 移除materialType限制并统一使用selectType
- 在ship.vue中移除coilFilters的materialType默认值 - 在base.vue和CoilSelector中将itemType改为selectType - 在ActualWarehouseSelect组件中添加cascader的filterable属性
This commit is contained in:
@@ -441,9 +441,7 @@ export default {
|
||||
endTime: this.queryParams.updateTime?.[1],
|
||||
}
|
||||
// 如果没有设置itemType,则设置为raw_material
|
||||
if (!query.itemType) {
|
||||
query.itemType = 'raw_material';
|
||||
}
|
||||
query.selectType = 'raw_material';
|
||||
listMaterialCoil(query).then(response => {
|
||||
if (this.querys.warehouseId != 111) {
|
||||
// 排除掉111仓库的
|
||||
|
||||
Reference in New Issue
Block a user