feat: 新增工序签字功能,移除移料指令模块
新增操作工/检验员工序签字功能,支持工艺步骤配置签字要求;删除移料指令相关代码,将移料页签重命名为产线点位(上料/下料);新增成品入库功能及相关权限;优化备料单状态、质量状态逻辑,新增批次序号字段;修复AGV取消后备料单回退状态问题。
This commit is contained in:
@@ -72,17 +72,20 @@ const EVENT_FAMILIES = [
|
||||
{ label: '出库', value: 'outbound.' },
|
||||
{ label: '质量检验', value: 'inspection.' },
|
||||
{ label: '库存盘点', value: 'stocktake.' },
|
||||
{ label: '半成品', value: 'semi.' }
|
||||
{ label: '半成品', value: 'semi.' },
|
||||
{ label: '成品入库', value: 'finished.' }
|
||||
]
|
||||
const FAMILY_LABEL = Object.fromEntries(EVENT_FAMILIES.map((f) => [f.value, f.label]))
|
||||
const FAMILY_TAG = {
|
||||
'user.': 'primary', 'role.': 'warning', 'rbac.': 'danger',
|
||||
'material.': 'success', 'zone.': 'success', 'inbound.': 'success',
|
||||
'outbound.': 'warning', 'inspection.': 'info', 'stocktake.': 'info', 'semi.': 'info'
|
||||
'outbound.': 'warning', 'inspection.': 'info', 'stocktake.': 'info', 'semi.': 'info',
|
||||
'finished.': 'success'
|
||||
}
|
||||
const ENTITY_LABEL = {
|
||||
user: '账号', role: '角色', rbac: '权限', material: '物料', zone: '区域',
|
||||
inbound: '入库', outbound: '出库', inspection: '检验', stocktake: '盘点', semi: '半成品'
|
||||
inbound: '入库', outbound: '出库', inspection: '检验', stocktake: '盘点', semi: '半成品',
|
||||
finished: '成品'
|
||||
}
|
||||
|
||||
function familyName(evt) {
|
||||
|
||||
Reference in New Issue
Block a user