From 346f95358c235aece0e226dd5e933323a5d416f0 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期五, 14 十一月 2025 13:12:21 +0800
Subject: [PATCH] 1
---
pages/ZLGL/shoujianjianyan/firstCheckBill.vue | 48 +++++++++++++++++++++++++-----------------------
1 files changed, 25 insertions(+), 23 deletions(-)
diff --git a/pages/ZLGL/shoujianjianyan/firstCheckBill.vue b/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
index 0b33f30..597746e 100644
--- a/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
+++ b/pages/ZLGL/shoujianjianyan/firstCheckBill.vue
@@ -39,8 +39,8 @@
<view class="form-item">
<view class="left">婧愬崟鍗曞彿</view>
<view class="right" :class="!hasSourceBill?'':'disabled'">
- <input type="text" :disabled="hasSourceBill" placeholder="璇疯緭鍏ユ垨鎵弿婧愬崟鍙�" v-model="hform.HSourceBillNo"
- @confirm="getSourceBillInfo(hform.HSourceBillNo)" />
+ <input type="text" :disabled="hasSourceBill" placeholder="璇疯緭鍏ユ垨鎵弿婧愬崟鍙�"
+ v-model="hform.HSourceBillNo" @confirm="getSourceBillInfo(hform.HSourceBillNo)" />
</view>
<view class="icon-wrapper-big">
<uni-icons class="right-icon" type="scan" style="
@@ -235,6 +235,7 @@
</view>
</view>
</view>
+
</view>
</view>
<!-- 瀛愯〃鍖哄煙 -->
@@ -491,7 +492,7 @@
mainTabSelected: 1,
subTabSelected: 1,
-
+
// 婧愬崟鐘舵�佹帶鍒�
hasSourceBill: false,
@@ -771,7 +772,7 @@
this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
this.hform.HProcName = data[0].褰撳墠宸ュ簭;
this.hform.HBatchNo = data[0].鎵瑰彿;
-
+
this.hasSourceBill = true
this.get_CheckItem();
} catch (err) {
@@ -922,11 +923,11 @@
this.hform.HQCSchemeName = data[0].妫�楠屾柟妗堝悕绉�;
this.hform.HQCSchemeID = data[0].妫�楠屾柟妗圛D;
this.hform.HProcName = data[0].褰撳墠宸ュ簭;
-
- for(let i =0; i<data.length;i++) {
+
+ for (let i = 0; i < data.length; i++) {
this.addCheckItem(data[i])
}
-
+
this.hasSourceBill = true
this.get_CheckItem();
} catch (err) {
@@ -1620,7 +1621,7 @@
console.log("e: ", e);
let key = e.num;
e.HStatus = e.HStatus ? 1 : 0
- if(e.HResult2 == ''){
+ if (e.HResult2 == '') {
e.HResult2 = this.checkItems[key].HResult
}
Object.assign(this.checkItems[key], e);
@@ -1701,9 +1702,10 @@
return;
}
try {
- console.log('this.$refs: ',this.$refs);
+ console.log('this.$refs: ', this.$refs);
// 妫�鏌ユ槸鍚︽湁鏈垏鎹㈢殑妫�楠屽�兼ā鍧�(鏄惁鍖呭惈set_SaveValue鏂规硶),濡傛灉鏈夛紝鍒欒繍琛屼竴娆′繚瀛樻楠屽�肩殑鏂规硶锛屾牴鎹楠屽�兼槸鍚︿繚瀛樻垚鍔熷啀鎵ц涓嬩竴姝�
- if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules.length > 0) {
+ if (typeof this.$refs.InspectValueModules != "undefined" && this.$refs.InspectValueModules
+ .length > 0) {
// 鍔犺浇鏈夋楠屽�兼ā鍧�
await this.$refs.InspectValueModules[0].set_SaveValue();
this.InspectValues[0] = this.$refs.InspectValueModules[0].InSpectValues;
@@ -1720,11 +1722,11 @@
}
let checkItemsArray = [];
for (var key in this.checkItems) {
- let checkItem = JSON.parse(JSON.stringify(this.checkItems[key]))
+ let checkItem = JSON.parse(JSON.stringify(this.checkItems[key]))
delete checkItem.data
checkItemsArray.push(checkItem);
}
- console.log('checkItemsArray: ',checkItemsArray);
+ console.log('checkItemsArray: ', checkItemsArray);
let sMainSub = `${JSON.stringify(this.hform)};${JSON.stringify(
checkItemsArray
)};${this.operationType};${getUserInfo()["Czymc"]};${InspectValuesTrans[0]}`;
@@ -1869,17 +1871,17 @@
HLastResult: data[0].鍒ゅ畾缁撹 == "鍚堟牸" ? true : false,
HTakeSampleCheckBillID: data[0].HTakeSampleCheckBillID,
HTakeSampleCheckBillNo: data[0].HTakeSampleCheckBillNo,
- HAnalysisMethod: function(){
- if(data[0].HAnalysisMethod == 1) {
+ HAnalysisMethod: function() {
+ if (data[0].HAnalysisMethod == 1) {
return '瀹氭�ф楠�'
- }else if(data[0].HAnalysisMethod == 2) {
+ } else if (data[0].HAnalysisMethod == 2) {
return '瀹氶噺妫�楠�'
- }else {
- return '鍏朵粬妫�楠�'
+ } else {
+ return '鍏朵粬妫�楠�'
}
}(),
-
-
+
+
});
@@ -1926,10 +1928,10 @@
HStrictness: data[i].涓ユ牸搴�,
HInspectResultToSee: data[i].妫�楠岀粨鏋�
});
-
+
}
-
-
+
+
this.hasSourceBill = true
} else {
CommonUtils.showTips({
@@ -1951,7 +1953,7 @@
if (this.operationType == 1) {
await this.getMaxBillNo();
} else if (this.operationType == 2) {
-
+
} else if (this.operationType == 3) {
await this.RoadBillMain();
}
--
Gitblit v1.9.1