From 83e56c7bdc80df9e01e5d485b6c9052c18764bbd Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 06 二月 2026 21:08:55 +0800
Subject: [PATCH] 解决 err 未定义问题
---
pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill.vue | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill.vue b/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill.vue
index b153674..468dcc6 100644
--- a/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill.vue
+++ b/pages/MJGL/Sb_EquipRepairCheckBill/Sb_EquipRepairCheckBill.vue
@@ -89,7 +89,7 @@
</zxz-uni-data-select>
</view>
<view class="form-item">
- <view class="title required">楠屾敹椤圭洰:</view>
+ <view class="title">楠屾敹椤圭洰:</view>
<zxz-uni-data-select required class="right" :localdata="HRepairCheckList" dataKey="缁翠慨楠屾敹椤圭洰"
dataValue="hitemid" v-model="hform.HRepairCheckID">
</zxz-uni-data-select>
@@ -569,7 +569,7 @@
try {
let sWhere= " where 1=1 "
if(this.hform.HDeptName && uni.getStorageSync("Organization") == '瀹佹尝甯傚崕鑸熷寘瑁呮湁闄愬叕鍙�'){
- sWhere += ` and HDeptName = '${this.hform.HDeptName}'`
+ // sWhere += ` and HDeptName = '${this.hform.HDeptName}'`
}
let res = await CommonUtils.doRequest2Async({
url: '/PublicPageMethod/UserList',
@@ -722,6 +722,7 @@
let {data, count, Message} = res.data
if(count == 1) {
this.hform.HRepairCheckID = this.HRepairCheckList.find(item => data[0]["琛ㄤ綋缁翠慨椤圭洰"] == item["缁翠慨楠屾敹椤圭洰"])?.hitemid
+ this.HDetailList[0].HRepairCheckContent = data[0].缁翠慨鍐呭
}else {
CommonUtils.showTips({
title: "娓╅Θ鎻愮ず",
@@ -760,7 +761,7 @@
this.hform.HBarName = data[0].璁惧鍚嶇О
this.hform.HBarModel = data[0].璁惧瑙勬牸
this.hform.HBarSpec = data[0].璁惧瑙勬牸
- this.HDetailList[0].HRepairCheckContent = data[0].鏁呴殰鎻忚堪
+
this.hform.HMainSourceBillNo = data[0]["璁惧缁翠慨璁板綍鍗�"];
this.hform.HMainSourceInterID = data[0]["HEquipRepairCheckBillInterID"];
this.hform.HMainSourceEntryID = data[0]["HEquipRepairCheckBillEntryID"];
--
Gitblit v1.9.1