diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue index c5a56c8..450db80 100644 --- a/src/views/modules/part/bomManagement.vue +++ b/src/views/modules/part/bomManagement.vue @@ -29,6 +29,13 @@ + + + + + + + 查询 新增 @@ -188,9 +195,9 @@ - 新增 - 删除 - 编辑 + + + 编辑 Copy Build Retire @@ -1094,8 +1101,9 @@ export default { userName: this.$store.state.user.name, partNo: '', partDesc: '', - bomType:'', - engChgLevel:'', + bomType: '', + engChgLevel: '', + status: '', page: 1, limit: 10 }, diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue index 78146fb..58e094b 100644 --- a/src/views/modules/part/routingManagement.vue +++ b/src/views/modules/part/routingManagement.vue @@ -175,9 +175,9 @@ - 新增 - 删除 - 编辑 + + + 编辑 Copy Build Retire @@ -2961,7 +2961,6 @@ export default { }) } }) - }).catch(() => { }) } }, @@ -3042,6 +3041,21 @@ export default { this.$message.warning('请填写生产过程中人数!') return } + if (this.componentData.laborCycleTime === '' || this.componentData.laborCycleTime === 0) { + this.$confirm("人工处理时间为0,是否确认保存?", "提示", { + confirmButtonText: "确定", + cancelButtonText: "取消", + type: "warning" + }).then(() => { + this.componentDataSave2(isClose) + }) + } else { + this.componentDataSave2(isClose) + } + + }, + + componentDataSave2 (isClose) { if (this.componentData.flag === '1') { saveRoutingComponent(this.componentData).then(({data}) => { if (data && data.code === 0) {