From 2fda34643bc22e25f6c569415da5f955c81536bf Mon Sep 17 00:00:00 2001
From: Houjie <714924425@qq.com>
Date: 星期二, 03 六月 2025 09:37:08 +0800
Subject: [PATCH] 设备详情通过ID过滤/设备详情增加上传附件

---
 pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure.vue |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure.vue b/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure.vue
index 1c85fbf..6d6e422 100644
--- a/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure.vue
+++ b/pages/ToDoList/ToDoBaoZhouSure/ToDoBaoZhouSure.vue
@@ -114,7 +114,7 @@
 			</uni-collapse>
 
 
-			<uni-forms ref="form" :modelValue="ScanData" validate-trigger="bind" err-show-type="undertext">
+			<uni-forms  v-show="isShowSure"  ref="form" :modelValue="ScanData" validate-trigger="bind" err-show-type="undertext">
 				<uni-group top="1">
 					<view class="divider"><text>鐝粍闀跨‘璁や俊鎭�</text></view>
 					<!-- 	<view class="text-gray margin-bottom-lg">鈥斺�斺�斺�斺�斺�斺�斺�斺�旂彮缁勯暱纭淇℃伅鈥斺�斺�斺�斺�斺�斺�斺�斺�斺��</view> -->
@@ -137,10 +137,10 @@
 						<uni-easyinput type="textarea" v-model="ScanData.initialAcceptanceComment" placeholder="璇疯緭鍏ユ剰瑙�"
 							:disabled="isShowLast" />
 					</uni-forms-item>
-					<uni-forms-item :label-width="80" required name="randomInspectionFlag" label="鎶芥鏍囪:">
+					<uni-forms-item :label-width="80"  name="randomInspectionFlag" label="鎶芥鏍囪:">
 						<uni-data-select v-model="ScanData.InspectionFlagName"
 							:localdata="ScanData.randomInspectionFlagList" @change="changehandlingInspectionFlag"
-							placeholder="璇烽�夋嫨" :disabled="isShowLast"/>
+							placeholder="璇烽�夋嫨"    :disabled="isShowLast"/>
 					</uni-forms-item>
 					<uni-forms-item :label-width="80" name="outNum" label="鍒濋獙鏀堕檮浠�:">
 						<uni-file-picker limit="9" :value="fileList" :image-styles="imageStyles"
@@ -157,7 +157,7 @@
 						<uni-easyinput type="textarea" v-model="ScanData.finalAcceptanceComment" placeholder="璇疯緭鍏ユ剰瑙�"
 							:disabled="isfinal" />
 					</uni-forms-item>
-					<uni-forms-item :label-width="80" required name="finalFlagName" label="鎶芥鏍囪:">
+					<uni-forms-item :label-width="80"  name="finalFlagName" label="鎶芥鏍囪:">
 						<uni-data-select v-model="ScanData.finalFlagName" :localdata="ScanData.finalInspectionFlagList"
 							@change="changehandlingFinalFlag" placeholder="璇烽�夋嫨" :disabled="isfinal" />
 					</uni-forms-item>
@@ -712,7 +712,7 @@
 								 */
 							case 'WAIT_FINAL_ACCEPTANCE':
 								if (this.flag == 'task') {
-									this.title = '缁堥獙'
+									this.title = '璇︽儏'
 									this.readonly = true
 									this.readonlyFirst = true
 									this.isHideFist = true;
@@ -756,7 +756,7 @@
 
 								break
 							case 'COMPLETE':
-								this.isShowSure = true;
+								this.isShowSure = true
 								this.isHideLast = true
 								this.isHideFist = true
 								this.isShowLast = true
@@ -767,6 +767,17 @@
 								this.isShowBtn = false
 								this.title = '璇︽儏'
 								break
+								
+							case 'UNDER_MAINTENANCE':
+								
+								this.isfinal = true
+								this.readonlyFirst = true
+								this.readonly = true
+								this.readonlyFirstFanl = true
+								this.isShowBtn = false
+								this.title = '璇︽儏'
+								break
+								
 						}
 						this.ScanData.initialAcceptanceComment = this.announcement1.initialAcceptanceComment
 						this.ScanData.typeName = this.announcement1.confirmDealType

--
Gitblit v1.9.3