From 52663e888fff7f234729199ee7be9b425ba1138d Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期三, 15 四月 2026 17:00:30 +0800
Subject: [PATCH] 优化设备故障维修全流程页面与功能
---
pages/MJGL/Sb_EquipConkBook/Sb_EquipConkBookBill.vue | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pages/MJGL/Sb_EquipConkBook/Sb_EquipConkBookBill.vue b/pages/MJGL/Sb_EquipConkBook/Sb_EquipConkBookBill.vue
index 5d42826..72d90cd 100644
--- a/pages/MJGL/Sb_EquipConkBook/Sb_EquipConkBookBill.vue
+++ b/pages/MJGL/Sb_EquipConkBook/Sb_EquipConkBookBill.vue
@@ -236,7 +236,7 @@
"HConkReasonCode": "",
"HConkReasonName": "",
"HConkExplanation": "",
- "HManagerID": "",
+ "HManagerID": "0",
"HManagerCode": "",
"HManagerName": "",
"HRemark": " "
@@ -319,37 +319,37 @@
},
// 鎻愪氦鏁版嵁鏈夋晥鎬ф牎楠�
ValidCheck() {
- if (this.hform.HEquipID == 0) {
+ if (this.hform.HEquipID == 0 || this.hform.HEquipID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.noEquipInfo') == 'Sb_EquipConkBookBill.noEquipInfo' ? '鏈綍鍏ヨ澶囦俊鎭紝璇峰厛褰曞叆璁惧淇℃伅!' : this.$t('Sb_EquipConkBookBill.noEquipInfo'),
state: false
}
}
- if (this.hform.HDeptID == 0) {
+ if (this.hform.HDeptID == 0 || this.hform.HDeptID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.deptRequired') == 'Sb_EquipConkBookBill.deptRequired' ? '閮ㄩ棬涓嶅緱涓虹┖!' : this.$t('Sb_EquipConkBookBill.deptRequired'),
state: false
}
}
- if (this.hform.HEmpID == 0) {
+ if (this.hform.HEmpID == 0 || this.hform.HEmpID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.discovererRequired') == 'Sb_EquipConkBookBill.discovererRequired' ? '鍙戠幇浜轰笉寰椾负绌�!' : this.$t('Sb_EquipConkBookBill.discovererRequired'),
state: false
}
}
- if (this.hform.HManagerID == 0) {
+ if (this.hform.HManagerID === 0 || this.hform.HManagerID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.checkerRequired') == 'Sb_EquipConkBookBill.checkerRequired' ? '楠屾敹浜轰笉寰椾负绌�!' : this.$t('Sb_EquipConkBookBill.checkerRequired'),
state: false
}
}
- if (this.hform.HConkReasonID == 0) {
+ if (this.hform.HConkReasonID == 0 || this.hform.HConkReasonID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.reasonRequired') == 'Sb_EquipConkBookBill.reasonRequired' ? '鏁呴殰鍘熷洜涓嶅緱涓虹┖!' : this.$t('Sb_EquipConkBookBill.reasonRequired'),
state: false
}
}
- if (this.hform.HConkTypeID == 0) {
+ if (this.hform.HConkTypeID == 0 || this.hform.HConkTypeID === undefined) {
return {
Message: this.$t('Sb_EquipConkBookBill.typeRequired') == 'Sb_EquipConkBookBill.typeRequired' ? '鏁呴殰绫诲埆涓嶅緱涓虹┖!' : this.$t('Sb_EquipConkBookBill.typeRequired'),
state: false
--
Gitblit v1.9.1