fix(wms): 修正钢卷选择器筛选条件及显示逻辑
- 统一钢卷选择器的selectType为'product'并添加status过滤 - 修复materialType与selectType的映射关系 - 移除分页组件的rangeMode条件限制 - 更新部分字段显示名称
This commit is contained in:
@@ -220,7 +220,9 @@ export default {
|
||||
// 钢卷选择器筛选参数
|
||||
coilFilters: {
|
||||
dataType: 1,
|
||||
materialType: '成品'
|
||||
materialType: '成品',
|
||||
selectType: 'product',
|
||||
status: 0,
|
||||
},
|
||||
coilSelectorVisible: false,
|
||||
loading: false,
|
||||
|
||||
@@ -633,7 +633,7 @@ export default {
|
||||
endTime: this.queryParams.updateTime?.[1],
|
||||
}
|
||||
// 如果没有设置itemType,则设置为raw_material
|
||||
query.selectType = this.querys.materialType === '成品' ? 'product' : 'raw_material';
|
||||
query.selectType = this.querys.materialType === '原料' ? 'raw_material' : 'product';
|
||||
listMaterialCoil(query).then(response => {
|
||||
if (this.querys.warehouseId != 111) {
|
||||
// 排除掉111仓库的
|
||||
|
||||
Reference in New Issue
Block a user