feat(分卷): 实现镀锌工序特殊分卷功能

新增特殊分卷功能,包括分步分条界面、API接口及状态管理。主要修改:
1. 添加分步分条组件,支持新增、编辑、删除分条
2. 扩展分卷API接口,包括开始/完成/取消特殊分卷
3. 优化操作按钮加载状态和错误处理
4. 调整界面布局和样式
This commit is contained in:
砂糖
2026-01-22 16:52:07 +08:00
parent 6f83ae7dae
commit 8adad71acd
7 changed files with 761 additions and 67 deletions

View File

@@ -1,5 +1,5 @@
<template>
<DoPage :label="actionType" :tabs="tabs" />
<DoPage :label="actionType" :tabs="tabs" :useSpecialSplit="useSpecialSplit" />
</template>
<script>
@@ -14,6 +14,7 @@
return {
actionType: '分卷',
tabs: [],
useSpecialSplit: false,
}
},
watch: {
@@ -53,6 +54,10 @@
{value: '1988151132361519105', label: '镀铬成品库'},
],
}
if (this.actionType === '镀锌工序') {
this.useSpecialSplit = true
}
// 从map中获取默认的查询参数
const defaultWarehouseIds = map[this.actionType] || []
console.log(defaultWarehouseIds, 'defaultWarehouseIds')