| | |
| | | .filter((detail) => detail.required && !detail.paramValue?.trim()) |
| | | .map((detail) => detail.paramName || detail.paramCode || ''); |
| | | } |
| | | |
| | | /** 当前报工任务编号(用于倒计时接口) */ |
| | | export const waitTaskId = ref<number>(); |
| | | /** 当前任务工序的等待时长(小时),>0 表示报工前需倒计时 */ |
| | | export const waitDuration = ref<number>(); |
| | | /** 当前任务报工倒计时开始时间(yyyy-MM-dd HH:mm:ss) */ |
| | | export const waitStartTime = ref<string>(); |
| | | |
| | | /** 重置报工倒计时相关状态 */ |
| | | export function resetWaitConfig() { |
| | | waitTaskId.value = undefined; |
| | | waitDuration.value = undefined; |
| | | waitStartTime.value = undefined; |
| | | } |