refactor(wms): 移除materialType限制并统一使用selectType
- 在ship.vue中移除coilFilters的materialType默认值 - 在base.vue和CoilSelector中将itemType改为selectType - 在ActualWarehouseSelect组件中添加cascader的filterable属性
This commit is contained in:
@@ -213,7 +213,6 @@ export default {
|
||||
// 钢卷选择器筛选参数
|
||||
coilFilters: {
|
||||
dataType: 1,
|
||||
materialType: '成品'
|
||||
},
|
||||
coilSelectorVisible: false,
|
||||
loading: false,
|
||||
|
||||
@@ -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