feat(wms): 添加通过POST查询钢卷列表功能并更新相关视图
- 在coil.js中新增listCoilWithIds方法用于报表查询 - 修改多个报表视图使用新的查询方法 - 在warehousing.vue中添加材料类型变更处理函数 - 更新delivery.vue中的时间查询参数名
This commit is contained in:
@@ -476,6 +476,16 @@ export default {
|
||||
this.form.itemType = 'raw_material';
|
||||
}
|
||||
},
|
||||
handleMaterialTypeChangeInEdit(value) {
|
||||
// 清空物品选择
|
||||
this.editCoil.form.itemId = null;
|
||||
// 根据材料类型设置物品类型
|
||||
if (value === '成品') {
|
||||
this.editCoil.form.itemType = 'product';
|
||||
} else if (value === '原料' || value === '废品') {
|
||||
this.editCoil.form.itemType = 'raw_material';
|
||||
}
|
||||
},
|
||||
remoteMethod(query) {
|
||||
listDeliveryPlan({ planName: query, pageNum: 1, pageSize: 5, planType: 1 }).then(res => {
|
||||
this.planList = res.rows
|
||||
|
||||
Reference in New Issue
Block a user