fix(wms/coil): 调整酸洗轧制动作类型区间范围并注释完成待办逻辑

1. 将acidRollingActionType判断区间从200-299修正为200-210
2. 注释掉stepSplit.vue中调用completeAction完成待办的代码逻辑
This commit is contained in:
2026-06-16 11:52:10 +08:00
parent 25beef5517
commit f525770094
3 changed files with 16 additions and 7 deletions

View File

@@ -35,6 +35,15 @@ export function updateMaterialWarning(data) {
}) })
} }
// 批量处理钢卷通用维度告警(长度/厚度/宽度)
export function batchHandleMaterial(data) {
return request({
url: '/wms/materialWarning/batchHandle',
method: 'put',
data: data
})
}
// 删除钢卷通用维度告警(长度/厚度/宽度) // 删除钢卷通用维度告警(长度/厚度/宽度)
export function delMaterialWarning(warningId) { export function delMaterialWarning(warningId) {
return request({ return request({

View File

@@ -665,7 +665,7 @@ export default {
lockValue = 3 lockValue = 3
} else if (this.acidRollingActionType == 120) { } else if (this.acidRollingActionType == 120) {
lockValue = 4 lockValue = 4
} else if (this.acidRollingActionType >= 200 && this.acidRollingActionType <= 299) { } else if (this.acidRollingActionType >= 200 && this.acidRollingActionType <= 210) {
lockValue = 5 lockValue = 5
} }

View File

@@ -379,7 +379,7 @@
<script> <script>
import { getMaterialCoil, listMaterialCoil, createSpecialChild, completeSpecialSplit, updateMaterialCoilSimple, delMaterialCoil, getFirstHeatCoilMaterial } from '@/api/wms/coil' import { getMaterialCoil, listMaterialCoil, createSpecialChild, completeSpecialSplit, updateMaterialCoilSimple, delMaterialCoil, getFirstHeatCoilMaterial } from '@/api/wms/coil'
import { listCoilAbnormal } from '@/api/wms/coilAbnormal' import { listCoilAbnormal } from '@/api/wms/coilAbnormal'
import { completeAction, getPendingAction, updatePendingAction } from '@/api/wms/pendingAction' import { getPendingAction, updatePendingAction } from '@/api/wms/pendingAction'
import { saveCoilCache, getCoilCacheByCoilId, delCoilCache } from '@/api/wms/coilCache' import { saveCoilCache, getCoilCacheByCoilId, delCoilCache } from '@/api/wms/coilCache'
import { getGalvanize1TypingPrefill } from '@/api/pocket/acidTyping' import { getGalvanize1TypingPrefill } from '@/api/pocket/acidTyping'
import ProductSelect from '@/components/KLPService/ProductSelect' import ProductSelect from '@/components/KLPService/ProductSelect'
@@ -939,11 +939,11 @@ export default {
} }
// 2. 完成待办动作(根据业务逻辑调整) // 2. 完成待办动作(根据业务逻辑调整)
const actionRes = await completeAction(this.actionId, splitRes.data.childCoilIds.join(',')) // const actionRes = await completeAction(this.actionId, splitRes.data.childCoilIds.join(','))
if (actionRes.code !== 200) { // if (actionRes.code !== 200) {
this.$message.error('完成待办动作失败:' + actionRes.msg) // this.$message.error('完成待办动作失败:' + actionRes.msg)
return // return
} // }
this.buttonLoading = false this.buttonLoading = false
this.$message.success('分条操作已完成') this.$message.success('分条操作已完成')