fix(wms/coil): 修复钢卷领料和合并相关的逻辑问题

1. 新增根据酸洗动作类型设置锁值的逻辑
2. 修复合并页面钢卷选择器的筛选条件和匹配逻辑
This commit is contained in:
2026-06-15 13:21:54 +08:00
parent a2844ec54a
commit 9d679954fa
2 changed files with 13 additions and 3 deletions

View File

@@ -660,6 +660,15 @@ export default {
this.$set(row, 'picking', true)
let lockValue = undefined;
if (this.acidRollingActionType == 11) {
lockValue = 3
} else if (this.acidRollingActionType == 120) {
lockValue = 4
} else if (this.acidRollingActionType >= 200 && this.acidRollingActionType <= 299) {
lockValue = 5
}
const pendingData = {
coilId: row.coilId,
currentCoilNo: row.currentCoilNo,
@@ -668,7 +677,8 @@ export default {
sourceType: 'manual', // 手动创建
warehouseId: row.warehouseId,
priority: 0, // 默认普通优先级
remark: `PC端领料创建-${this.label}`
remark: `PC端领料创建-${this.label}`,
lockValue
}
this.$modal.confirm(`是否确认从${row.warehouseName || '仓库'}领料${row.currentCoilNo || '物料'}`).then(() => {