refactor(wms): 移除表单字段并优化领料确认逻辑

移除交付计划中的绑定订单字段和接收导入中的类型、逻辑库区列
为导入数据添加默认类型和逻辑库区值
在领料操作前添加确认弹窗提示
This commit is contained in:
砂糖
2025-12-17 11:41:41 +08:00
parent 73ae0c0f94
commit 772e026aa5
3 changed files with 14 additions and 14 deletions

View File

@@ -166,8 +166,8 @@ const ErrorType = Object.freeze({
* 表格列配置枚举
*/
const TableColumnEnum = Object.freeze([
{ prop: 'type', label: '类型', width: 80 },
{ prop: 'logicWarehouse', label: '逻辑库区', width: 120 },
// { prop: 'type', label: '类型', width: 80 },
// { prop: 'logicWarehouse', label: '逻辑库区', width: 120 },
{ prop: 'inboundCoilNo', label: '入场卷号', width: 150 },
{ prop: 'factoryCoilNo', label: '厂家卷号', width: 150 },
{ prop: 'weight', label: '重量(吨)', width: 120 },
@@ -440,6 +440,10 @@ export default {
// 增加行号
rowObj.rowNum = rowNum;
// 模版中移除原料列和逻辑库区列,默认值为原料和酸连轧原料库
rowObj.type = '原料'
rowObj.logicWarehouse = '酸连轧原料库'
return rowObj;
},