feat(wms): 在完成操作时传递新钢卷ID参数

修改completeAction接口以接收新钢卷ID参数,并在多个视图中调用时传递该参数
This commit is contained in:
砂糖
2026-04-15 15:28:28 +08:00
parent ec5da2a7ca
commit 5e80208d61
5 changed files with 10 additions and 60 deletions

View File

@@ -324,11 +324,9 @@
</template>
<script>
import { getMaterialCoil, updateMaterialCoil, getMaterialCoilTrace, checkCoilNo } from '@/api/wms/coil';
import { getMaterialCoil, updateMaterialCoil, getMaterialCoilTrace } from '@/api/wms/coil';
import { completeAction, getPendingAction } from '@/api/wms/pendingAction';
import { listWarehouse } from '@/api/wms/warehouse';
import { listRawMaterialWithBom } from '@/api/wms/rawMaterial';
import { listProductWithBom } from '@/api/wms/product';
import { getAcidTypingPrefill } from '@/api/pocket/acidTyping';
import ActualWarehouseSelect from "@/components/KLPService/ActualWarehouseSelect";
import RawMaterialSelect from "@/components/KLPService/RawMaterialSelect";
@@ -870,7 +868,6 @@ export default {
enterCoilNo: this.currentInfo.enterCoilNo,
supplierCoilNo: this.currentInfo.supplierCoilNo,
abnormals: this.abnormals,
// 注意不要传newCoils否则会走批量更新逻辑
};
const response = await updateMaterialCoil(updateData);
@@ -880,7 +877,7 @@ export default {
// 如果是从待操作列表进来的,标记操作为完成
if (this.actionId) {
await completeAction(this.actionId);
await completeAction(this.actionId, response.msg);
}
// 延迟返回