From c32376c1af7fe6102e9c887425617cb21541da51 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Fri, 13 Dec 2024 10:23:50 +0800
Subject: [PATCH] =?UTF-8?q?2024-12-13=20RFQ=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/part/bomManagement.vue | 18 +++++++++++-----
src/views/modules/part/routingManagement.vue | 22 ++++++++++++++++----
2 files changed, 31 insertions(+), 9 deletions(-)
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) {