diff --git a/src/views/modules/part/bomManagement.vue b/src/views/modules/part/bomManagement.vue
index ff55ae3..77aa279 100644
--- a/src/views/modules/part/bomManagement.vue
+++ b/src/views/modules/part/bomManagement.vue
@@ -530,7 +530,7 @@
-
+
@@ -578,7 +578,7 @@
-
+
@@ -618,7 +618,7 @@
-
+
@@ -645,7 +645,7 @@
-
+
diff --git a/src/views/modules/part/routingManagement.vue b/src/views/modules/part/routingManagement.vue
index 3619eb0..a2b86dd 100644
--- a/src/views/modules/part/routingManagement.vue
+++ b/src/views/modules/part/routingManagement.vue
@@ -355,7 +355,8 @@
调机过程中人员等级
-
+
+
@@ -381,7 +382,8 @@
人员等级
-
+
+
@@ -637,8 +639,8 @@ export default {
deep: true,
handler: function (newV, oldV) {
this.componentData.workCenterNo = this.componentData.workCenterNo.toUpperCase()
- this.componentData.laborClassDesc = this.componentData.laborClassDesc.toUpperCase()
- this.componentData.setupLaborClassDesc = this.componentData.setupLaborClassDesc.toUpperCase()
+ this.componentData.laborClassNo = this.componentData.laborClassNo.toUpperCase()
+ this.componentData.setupLaborClassNo = this.componentData.setupLaborClassNo.toUpperCase()
}
},
},
@@ -2829,6 +2831,54 @@ export default {
}
},
+ // 人员等级
+ setupLaborClassBlur (tagNo) {
+ if (this.componentData.setupLaborClassNo != null && this.componentData.setupLaborClassNo !== '') {
+ let tempData = {
+ tagno: tagNo,
+ conditionSql: " and class_no = '" + this.componentData.setupLaborClassNo + "'" + " and site = '" + this.modalData.site + "'" + " and bu_no = '" + this.modalData.buNo + "'"
+ }
+ verifyData(tempData).then(({data}) => {
+ if (data && data.code === 0) {
+ if (data.baseListData.length > 0) {
+ this.componentData.setupLaborClassNo = data.baseListData[0].class_no
+ this.componentData.setupLaborClassDesc = data.baseListData[0].class_desc
+ } else {
+ this.$message.warning('该人员等级不存在!')
+ this.componentData.setupLaborClassDesc = ''
+ }
+ } else {
+ this.$message.warning(data.msg)
+ this.componentData.setupLaborClassDesc = ''
+ }
+ })
+ }
+ },
+
+ // 人员等级
+ laborClassBlur (tagNo) {
+ if (this.componentData.laborClassNo != null && this.componentData.laborClassNo !== '') {
+ let tempData = {
+ tagno: tagNo,
+ conditionSql: " and class_no = '" + this.componentData.laborClassNo + "'" + " and site = '" + this.modalData.site + "'" + " and bu_no = '" + this.modalData.buNo + "'"
+ }
+ verifyData(tempData).then(({data}) => {
+ if (data && data.code === 0) {
+ if (data.baseListData.length > 0) {
+ this.componentData.laborClassNo = data.baseListData[0].class_no
+ this.componentData.laborClassDesc = data.baseListData[0].class_desc
+ } else {
+ this.$message.warning('该人员等级不存在!')
+ this.componentData.laborClassDesc = ''
+ }
+ } else {
+ this.$message.warning(data.msg)
+ this.componentData.laborClassDesc = ''
+ }
+ })
+ }
+ },
+
// ======== 导出相关方法 ========
/**
* 导出excel