From 25100ec3d663fdab00f6dacb9f427b772c2f806f Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期一, 14 七月 2025 12:27:54 +0800
Subject: [PATCH] 合并开发文件

---
 pages/shebeiweixiu/gz_table.vue |  516 ++++++++++++++++++++------------------------------------
 1 files changed, 186 insertions(+), 330 deletions(-)

diff --git a/pages/shebeiweixiu/gz_table.vue b/pages/shebeiweixiu/gz_table.vue
index d3b43a9..7586084 100644
--- a/pages/shebeiweixiu/gz_table.vue
+++ b/pages/shebeiweixiu/gz_table.vue
@@ -39,326 +39,202 @@
 					<input v-model="hform.ColContent" placeholder="杈撳叆鍐呭" />
 				</view>
 			</view>
-
+			
 			<view class="buttons">
 				<button class="op5" size="mini" type="default" @tap="clear">閲嶇疆</button>
 				<button class="op3" size="mini" type="default" @tap="search">鏌ヨ</button>
 				<button class="op4" size="mini" type="default" @tap="close">鍏抽棴</button>
 			</view>
 		</view>
-
+		
 		<view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
-
+		
 		<view class="list" v-for="(item,index) in listData" :key="index">
-			<!-- #ifdef MP-WEIXIN -->
-			<uni-card style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
+			<uni-card :title="item.璁惧鍚嶇О" :extra="item.鍗曟嵁鍙�" style="margin: 10px;" @tap="showDetail = showDetail==index?-1:index">
 				<view class="card-detail">
-					<view class="detail" v-if="item['璁惧浠g爜']">
-						<text>璁惧浠g爜锛�</text>{{item['璁惧浠g爜']}}
+					<view class="detail" v-if="item.璁惧浠g爜">
+						<text>璁惧浠g爜锛�</text>{{item.璁惧浠g爜}}
 					</view>
-					<view class="detail" v-if="item['璁惧鍨嬪彿']">
-						<text>璁惧鍨嬪彿锛�</text>{{item['璁惧鍨嬪彿']}}
+					<view class="detail" v-if="item.璁惧鍨嬪彿">
+						<text>璁惧鍨嬪彿锛�</text>{{item.璁惧鍨嬪彿}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰绫诲埆浠g爜']">
-						<text>鏁呴殰绫诲埆浠g爜锛�</text>{{item['鏁呴殰绫诲埆浠g爜']}}
+					<view class="detail" v-if="item.鏁呴殰绫诲埆浠g爜">
+						<text>鏁呴殰绫诲埆浠g爜锛�</text>{{item.鏁呴殰绫诲埆浠g爜}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰绫诲埆']">
-						<text>鏁呴殰绫诲埆锛�</text>{{item['鏁呴殰绫诲埆']}}
+					<view class="detail" v-if="item.鏁呴殰绫诲埆">
+						<text>鏁呴殰绫诲埆锛�</text>{{item.鏁呴殰绫诲埆}}
 					</view>
-					<view class="detail" v-if="item['鍙戠幇浜轰唬鐮�']">
-						<text>鍙戠幇浜轰唬鐮侊細</text>{{item['鍙戠幇浜轰唬鐮�']}}
+					<view class="detail" v-if="item.鍙戠幇浜轰唬鐮�">
+						<text>鍙戠幇浜轰唬鐮侊細</text>{{item.鍙戠幇浜轰唬鐮亇}
 					</view>
-					<view class="detail" v-if="item['鍙戠幇浜�']">
-						<text>鍙戠幇浜猴細</text>{{item['鍙戠幇浜�']}}
+					<view class="detail" v-if="item.鍙戠幇浜�">
+						<text>鍙戠幇浜猴細</text>{{item.鍙戠幇浜簘}
 					</view>
-					<view class="detail" v-if="item['璐熻矗浜轰唬鐮�']">
-						<text>璐熻矗浜轰唬鐮侊細</text>{{item['璐熻矗浜轰唬鐮�']}}
+					<view class="detail" v-if="item.璐熻矗浜轰唬鐮�">
+						<text>璐熻矗浜轰唬鐮侊細</text>{{item.璐熻矗浜轰唬鐮亇}
 					</view>
-					<view class="detail" v-if="item['璐熻矗浜�']">
-						<text>璐熻矗浜猴細</text>{{item['璐熻矗浜�']}}
+					<view class="detail" v-if="item.璐熻矗浜�">
+						<text>璐熻矗浜猴細</text>{{item.璐熻矗浜簘}
 					</view>
-					<view class="detail" v-if="item['鍙戠敓鏃ユ湡']">
-						<text>鍙戠敓鏃ユ湡锛�</text>{{item['鍙戠敓鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.鍙戠敓鏃ユ湡">
+						<text>鍙戠敓鏃ユ湡锛�</text>{{item.鍙戠敓鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰鎻忚堪']">
-						<text>鏁呴殰鎻忚堪锛�</text>{{item['鏁呴殰鎻忚堪']}}
+					<view class="detail" v-if="item.鏁呴殰鎻忚堪">
+						<text>鏁呴殰鎻忚堪锛�</text>{{item.鏁呴殰鎻忚堪}}
 					</view>
-					<view class="detail" v-if="item['琛ㄥご澶囨敞']">
-						<text>琛ㄥご澶囨敞锛�</text>{{item['琛ㄥご澶囨敞']}}
+					<view class="detail" v-if="item.琛ㄥご澶囨敞">
+						<text>琛ㄥご澶囨敞锛�</text>{{item.琛ㄥご澶囨敞}}
 					</view>
 				</view>
 				<view class="card-detail" v-if="showDetail == index">
-					<view class="detail" v-if="item['閮ㄩ棬鍚嶇О']">
-						<text>閮ㄩ棬鍚嶇О锛�</text>{{item['閮ㄩ棬鍚嶇О']}}
+					<view class="detail" v-if="item.閮ㄩ棬鍚嶇О">
+						<text>閮ㄩ棬鍚嶇О锛�</text>{{item.閮ㄩ棬鍚嶇О}}
 					</view>
-					<view class="detail" v-if="item['閮ㄩ棬浠g爜']">
-						<text>閮ㄩ棬浠g爜锛�</text>{{item['閮ㄩ棬浠g爜']}}
+					<view class="detail" v-if="item.閮ㄩ棬浠g爜">
+						<text>閮ㄩ棬浠g爜锛�</text>{{item.閮ㄩ棬浠g爜}}
 					</view>
-					<view class="detail" v-if="item['鍐呴儴鍗曟嵁鍙�']">
-						<text>鍐呴儴鍗曟嵁鍙凤細</text>{{item['鍐呴儴鍗曟嵁鍙�']}}
+					<view class="detail" v-if="item.鍐呴儴鍗曟嵁鍙�">
+						<text>鍐呴儴鍗曟嵁鍙凤細</text>{{item.鍐呴儴鍗曟嵁鍙穧}
 					</view>
-					<view class="detail" v-if="item['鍒跺崟浜�']">
-						<text>鍒跺崟浜猴細</text>{{item['鍒跺崟浜�']}}
+					<view class="detail" v-if="item.鍒跺崟浜�">
+						<text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
 					</view>
-					<view class="detail" v-if="item['鍒跺崟鏃ユ湡']">
-						<text>鍒跺崟鏃ユ湡锛�</text>{{item['鍒跺崟鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.鍒跺崟鏃ユ湡">
+						<text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['瀹℃牳浜�']">
-						<text>瀹℃牳浜猴細</text>{{item['瀹℃牳浜�']}}
+					<view class="detail" v-if="item.瀹℃牳浜�">
+						<text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
 					</view>
-					<view class="detail" v-if="item['瀹℃牳鏃ユ湡']">
-						<text>瀹℃牳鏃ユ湡锛�</text>{{item['瀹℃牳鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.瀹℃牳鏃ユ湡">
+						<text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['淇敼浜�']">
-						<text>淇敼浜猴細</text>{{item['淇敼浜�']}}
+					<view class="detail" v-if="item.淇敼浜�">
+						<text>淇敼浜猴細</text>{{item.淇敼浜簘}
 					</view>
-					<view class="detail" v-if="item['淇敼鏃ユ湡']">
-						<text>淇敼鏃ユ湡锛�</text>{{item['淇敼鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.淇敼鏃ユ湡">
+						<text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['鍏抽棴浜�']">
-						<text>鍏抽棴浜猴細</text>{{item['鍏抽棴浜�']}}
+					<view class="detail" v-if="item.鍏抽棴浜�">
+						<text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
 					</view>
-					<view class="detail" v-if="item['鍏抽棴鏃ユ湡']">
-						<text>鍏抽棴鏃ユ湡锛�</text>{{item['鍏抽棴鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.鍏抽棴鏃ユ湡">
+						<text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['浣滃簾浜�']">
-						<text>浣滃簾浜猴細</text>{{item['浣滃簾浜�']}}
+					<view class="detail" v-if="item.浣滃簾浜�">
+						<text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
 					</view>
-					<view class="detail" v-if="item['浣滃簾鏃ユ湡']">
-						<text>浣滃簾鏃ユ湡锛�</text>{{item['浣滃簾鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.浣滃簾鏃ユ湡">
+						<text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰鍘熷洜浠g爜']">
-						<text>鏁呴殰鍘熷洜浠g爜锛�</text>{{item['鏁呴殰鍘熷洜浠g爜']}}
+					<view class="detail" v-if="item.鏁呴殰鍘熷洜浠g爜">
+						<text>鏁呴殰鍘熷洜浠g爜锛�</text>{{item.鏁呴殰鍘熷洜浠g爜}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰鍘熷洜鍚嶇О']">
-						<text>鏁呴殰鍘熷洜鍚嶇О锛�</text>{{item['鏁呴殰鍘熷洜鍚嶇О']}}
+					<view class="detail" v-if="item.鏁呴殰鍘熷洜鍚嶇О">
+						<text>鏁呴殰鍘熷洜鍚嶇О锛�</text>{{item.鏁呴殰鍘熷洜鍚嶇О}}
 					</view>
-					<view class="detail" v-if="item['鏁呴殰鍘熷洜鎻忚堪']">
-						<text>鏁呴殰鍘熷洜鎻忚堪锛�</text>{{item['鏁呴殰鍘熷洜鎻忚堪']}}
+					<view class="detail" v-if="item.鏁呴殰鍘熷洜鎻忚堪">
+						<text>鏁呴殰鍘熷洜鎻忚堪锛�</text>{{item.鏁呴殰鍘熷洜鎻忚堪}}
 					</view>
-					<view class="detail" v-if="item['琛ㄤ綋璐熻矗浜�']">
-						<text>琛ㄤ綋璐熻矗浜猴細</text>{{item['琛ㄤ綋璐熻矗浜�']}}
+					<view class="detail" v-if="item.琛ㄤ綋璐熻矗浜�">
+						<text>琛ㄤ綋璐熻矗浜猴細</text>{{item.琛ㄤ綋璐熻矗浜簘}
 					</view>
-					<view class="detail" v-if="item['琛ㄤ綋璐熻矗浜轰唬鐮�']">
-						<text>琛ㄤ綋璐熻矗浜轰唬鐮侊細</text>{{item['琛ㄤ綋璐熻矗浜轰唬鐮�']}}
+					<view class="detail" v-if="item.琛ㄤ綋璐熻矗浜轰唬鐮�">
+						<text>琛ㄤ綋璐熻矗浜轰唬鐮侊細</text>{{item.琛ㄤ綋璐熻矗浜轰唬鐮亇}
 					</view>
-					<view class="detail" v-if="item['琛屽叧闂汉']">
-						<text>琛屽叧闂汉锛�</text>{{item['琛屽叧闂汉']}}
+					<view class="detail" v-if="item.琛屽叧闂汉">
+						<text>琛屽叧闂汉锛�</text>{{item.琛屽叧闂汉}}
 					</view>
-					<view class="detail" v-if="item['鍏抽棴绫诲瀷']">
-						<text>鍏抽棴绫诲瀷锛�</text>{{item['鍏抽棴绫诲瀷']}}
+					<view class="detail" v-if="item.鍏抽棴绫诲瀷">
+						<text>鍏抽棴绫诲瀷锛�</text>{{item.鍏抽棴绫诲瀷}}
 					</view>
-					<view class="detail" v-if="item['鍏宠仈鏁伴噺']">
-						<text>鍏宠仈鏁伴噺锛�</text>{{item['鍏宠仈鏁伴噺']}}
+					<view class="detail" v-if="item.鍏宠仈鏁伴噺">
+						<text>鍏宠仈鏁伴噺锛�</text>{{item.鍏宠仈鏁伴噺}}
 					</view>
-					<view class="detail" v-if="item['婧愬崟鍗曞彿']">
-						<text>婧愬崟鍗曞彿锛�</text>{{item['婧愬崟鍗曞彿']}}
+					<view class="detail" v-if="item.婧愬崟鍗曞彿">
+						<text>婧愬崟鍗曞彿锛�</text>{{item.婧愬崟鍗曞彿}}
 					</view>
-					<view class="detail" v-if="item['婧愬崟绫诲瀷']">
-						<text>婧愬崟绫诲瀷锛�</text>{{item['婧愬崟绫诲瀷']}}
+					<view class="detail" v-if="item.婧愬崟绫诲瀷">
+						<text>婧愬崟绫诲瀷锛�</text>{{item.婧愬崟绫诲瀷}}
 					</view>
-					<view class="detail" v-if="item['琛ㄤ綋澶囨敞']">
-						<text>琛ㄤ綋澶囨敞锛�</text>{{item['琛ㄤ綋澶囨敞']}}
+					<view class="detail" v-if="item.琛ㄤ綋澶囨敞">
+						<text>琛ㄤ綋澶囨敞锛�</text>{{item.琛ㄤ綋澶囨敞}}
 					</view>
 				</view>
-				<!-- #endif -->
-				<!-- #ifndef MP-WEIXIN -->
-				<uni-card :title="item.璁惧鍚嶇О" :extra="item.鍗曟嵁鍙�" style="margin: 10px;"
-					@tap="showDetail = showDetail==index?-1:index">
-					<view class="card-detail">
-						<view class="detail" v-if="item.璁惧浠g爜">
-							<text>璁惧浠g爜锛�</text>{{item.璁惧浠g爜}}
-						</view>
-						<view class="detail" v-if="item.璁惧鍨嬪彿">
-							<text>璁惧鍨嬪彿锛�</text>{{item.璁惧鍨嬪彿}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰绫诲埆浠g爜">
-							<text>鏁呴殰绫诲埆浠g爜锛�</text>{{item.鏁呴殰绫诲埆浠g爜}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰绫诲埆">
-							<text>鏁呴殰绫诲埆锛�</text>{{item.鏁呴殰绫诲埆}}
-						</view>
-						<view class="detail" v-if="item.鍙戠幇浜轰唬鐮�">
-							<text>鍙戠幇浜轰唬鐮侊細</text>{{item.鍙戠幇浜轰唬鐮亇}
-						</view>
-						<view class="detail" v-if="item.鍙戠幇浜�">
-							<text>鍙戠幇浜猴細</text>{{item.鍙戠幇浜簘}
-						</view>
-						<view class="detail" v-if="item.璐熻矗浜轰唬鐮�">
-							<text>璐熻矗浜轰唬鐮侊細</text>{{item.璐熻矗浜轰唬鐮亇}
-						</view>
-						<view class="detail" v-if="item.璐熻矗浜�">
-							<text>璐熻矗浜猴細</text>{{item.璐熻矗浜簘}
-						</view>
-						<view class="detail" v-if="item.鍙戠敓鏃ユ湡">
-							<text>鍙戠敓鏃ユ湡锛�</text>{{item.鍙戠敓鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰鎻忚堪">
-							<text>鏁呴殰鎻忚堪锛�</text>{{item.鏁呴殰鎻忚堪}}
-						</view>
-						<view class="detail" v-if="item.琛ㄥご澶囨敞">
-							<text>琛ㄥご澶囨敞锛�</text>{{item.琛ㄥご澶囨敞}}
-						</view>
+				
+				<view class="more" v-if="showDetail == index">
+					<view class="part" style="border-right: 1px solid #eee;">
+						<uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
 					</view>
-					<view class="card-detail" v-if="showDetail == index">
-						<view class="detail" v-if="item.閮ㄩ棬鍚嶇О">
-							<text>閮ㄩ棬鍚嶇О锛�</text>{{item.閮ㄩ棬鍚嶇О}}
-						</view>
-						<view class="detail" v-if="item.閮ㄩ棬浠g爜">
-							<text>閮ㄩ棬浠g爜锛�</text>{{item.閮ㄩ棬浠g爜}}
-						</view>
-						<view class="detail" v-if="item.鍐呴儴鍗曟嵁鍙�">
-							<text>鍐呴儴鍗曟嵁鍙凤細</text>{{item.鍐呴儴鍗曟嵁鍙穧}
-						</view>
-						<view class="detail" v-if="item.鍒跺崟浜�">
-							<text>鍒跺崟浜猴細</text>{{item.鍒跺崟浜簘}
-						</view>
-						<view class="detail" v-if="item.鍒跺崟鏃ユ湡">
-							<text>鍒跺崟鏃ユ湡锛�</text>{{item.鍒跺崟鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.瀹℃牳浜�">
-							<text>瀹℃牳浜猴細</text>{{item.瀹℃牳浜簘}
-						</view>
-						<view class="detail" v-if="item.瀹℃牳鏃ユ湡">
-							<text>瀹℃牳鏃ユ湡锛�</text>{{item.瀹℃牳鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.淇敼浜�">
-							<text>淇敼浜猴細</text>{{item.淇敼浜簘}
-						</view>
-						<view class="detail" v-if="item.淇敼鏃ユ湡">
-							<text>淇敼鏃ユ湡锛�</text>{{item.淇敼鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.鍏抽棴浜�">
-							<text>鍏抽棴浜猴細</text>{{item.鍏抽棴浜簘}
-						</view>
-						<view class="detail" v-if="item.鍏抽棴鏃ユ湡">
-							<text>鍏抽棴鏃ユ湡锛�</text>{{item.鍏抽棴鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.浣滃簾浜�">
-							<text>浣滃簾浜猴細</text>{{item.浣滃簾浜簘}
-						</view>
-						<view class="detail" v-if="item.浣滃簾鏃ユ湡">
-							<text>浣滃簾鏃ユ湡锛�</text>{{item.浣滃簾鏃ユ湡.substr(0,10)}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰鍘熷洜浠g爜">
-							<text>鏁呴殰鍘熷洜浠g爜锛�</text>{{item.鏁呴殰鍘熷洜浠g爜}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰鍘熷洜鍚嶇О">
-							<text>鏁呴殰鍘熷洜鍚嶇О锛�</text>{{item.鏁呴殰鍘熷洜鍚嶇О}}
-						</view>
-						<view class="detail" v-if="item.鏁呴殰鍘熷洜鎻忚堪">
-							<text>鏁呴殰鍘熷洜鎻忚堪锛�</text>{{item.鏁呴殰鍘熷洜鎻忚堪}}
-						</view>
-						<view class="detail" v-if="item.琛ㄤ綋璐熻矗浜�">
-							<text>琛ㄤ綋璐熻矗浜猴細</text>{{item.琛ㄤ綋璐熻矗浜簘}
-						</view>
-						<view class="detail" v-if="item.琛ㄤ綋璐熻矗浜轰唬鐮�">
-							<text>琛ㄤ綋璐熻矗浜轰唬鐮侊細</text>{{item.琛ㄤ綋璐熻矗浜轰唬鐮亇}
-						</view>
-						<view class="detail" v-if="item.琛屽叧闂汉">
-							<text>琛屽叧闂汉锛�</text>{{item.琛屽叧闂汉}}
-						</view>
-						<view class="detail" v-if="item.鍏抽棴绫诲瀷">
-							<text>鍏抽棴绫诲瀷锛�</text>{{item.鍏抽棴绫诲瀷}}
-						</view>
-						<view class="detail" v-if="item.鍏宠仈鏁伴噺">
-							<text>鍏宠仈鏁伴噺锛�</text>{{item.鍏宠仈鏁伴噺}}
-						</view>
-						<view class="detail" v-if="item.婧愬崟鍗曞彿">
-							<text>婧愬崟鍗曞彿锛�</text>{{item.婧愬崟鍗曞彿}}
-						</view>
-						<view class="detail" v-if="item.婧愬崟绫诲瀷">
-							<text>婧愬崟绫诲瀷锛�</text>{{item.婧愬崟绫诲瀷}}
-						</view>
-						<view class="detail" v-if="item.琛ㄤ綋澶囨敞">
-							<text>琛ㄤ綋澶囨敞锛�</text>{{item.琛ㄤ綋澶囨敞}}
-						</view>
+					<view class="part" @tap.stop="choose(item)">
+						<uni-icons type="checkmarkempty" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>閫夊彇璇ユ暟鎹�
 					</view>
-					<!-- #endif -->
-
-
-					<view class="more" v-if="showDetail == index">
-						<view class="part" style="border-right: 1px solid #eee;">
-							<uni-icons type="top" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏀惰捣
-						</view>
-						<view class="part" @tap.stop="choose(item)">
-							<uni-icons type="checkmarkempty" style="color: #888;margin-right: 10rpx;"
-								size="14"></uni-icons>閫夊彇璇ユ暟鎹�
-						</view>
+				</view>
+				<view class="more" v-if="showDetail != index">
+					<view class="part" style="border-right: 1px solid #eee;">
+						<uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
 					</view>
-					<view class="more" v-if="showDetail != index">
-						<view class="part" style="border-right: 1px solid #eee;">
-							<uni-icons type="bottom" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鏇村淇℃伅
-						</view>
-						<view class="part" @tap.stop="choose(item)">
-							<uni-icons type="checkmarkempty" style="color: #888;margin-right: 10rpx;"
-								size="14"></uni-icons>閫夊彇璇ユ暟鎹�
-						</view>
+					<view class="part" @tap.stop="choose(item)">
+						<uni-icons type="checkmarkempty" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>閫夊彇璇ユ暟鎹�
 					</view>
-				</uni-card>
+				</view>
+			</uni-card>
 		</view>
-
+		
 		<view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
 		<view class="over" v-if="listData.length != 0">宸插埌搴�</view>
 	</view>
 </template>
 
 <script>
-	import {
-		getUserInfo
-	} from "@/utils/auth.js";
+	import { getUserInfo } from "@/utils/auth.js";
 	export default {
-		data() {
-			return {
-				userInfo: getUserInfo(),
-				serverUrl: uni.getStorageSync('serverUrl') || 'http://47.96.97.237/API',
-				hform: {
-					HBillNo: '',
-					HDate: '',
-					HDate1: '',
-
-					ColName: '',
-					Comparator: '',
-					ColContent: '',
+	    data() {
+	        return {
+				userInfo:getUserInfo(),
+				serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
+				hform:{
+					HBillNo:'',
+					HDate:'',
+					HDate1:'',
+					
+					ColName:'',
+					Comparator:'',
+					ColContent:'',
 				},
-				sWhere: '',
-				listData: [],
-				showDetail: -1,
-
-				arrayColName: ['鏃ユ湡', '鍗曟嵁鍙�', '璁惧浠g爜', '璁惧鍚嶇О', '鏁呴殰绫诲埆浠g爜', '鏁呴殰绫诲埆', '鍙戠幇浜轰唬鐮�', '鍙戠幇浜�', '閮ㄩ棬浠g爜', '閮ㄩ棬鍚嶇О', '璐熻矗浜轰唬鐮�',
-					'璐熻矗浜�', '鍙戠敓鏃ユ湡', '鏁呴殰鎻忚堪', '琛ㄥご澶囨敞', '鍐呴儴鍗曟嵁鍙�', '鍒跺崟浜�', '鍒跺崟鏃ユ湡', '瀹℃牳浜�', '瀹℃牳鏃ユ湡', '淇敼浜�', '淇敼鏃ユ湡', '鍏抽棴浜�', '鍏抽棴鏃ユ湡',
-					'浣滃簾浜�', '浣滃簾鏃ユ湡', '鏁呴殰鍘熷洜浠g爜', '鏁呴殰鍘熷洜鍚嶇О', '鏁呴殰鍘熷洜鎻忚堪', '琛ㄤ綋璐熻矗浜轰唬鐮�', '琛ㄤ綋璐熻矗浜�', '琛屽叧闂汉', '鍏抽棴绫诲瀷', '琛ㄤ綋澶囨敞', '婧愬崟鍗曞彿',
-					'婧愬崟绫诲瀷', '鍏宠仈鏁伴噺'
-				],
-				arrayComparator: ['=', '>=', '>', '<=', '<', '<>', '鍖呭惈', '宸﹀寘鍚�', '鍙冲寘鍚�', '涓嶅寘鍚�']
+				sWhere:'',
+				listData:[],
+				showDetail:-1,
+				
+				arrayColName:['鏃ユ湡','鍗曟嵁鍙�','璁惧浠g爜','璁惧鍚嶇О','鏁呴殰绫诲埆浠g爜','鏁呴殰绫诲埆','鍙戠幇浜轰唬鐮�','鍙戠幇浜�','閮ㄩ棬浠g爜','閮ㄩ棬鍚嶇О','璐熻矗浜轰唬鐮�','璐熻矗浜�','鍙戠敓鏃ユ湡','鏁呴殰鎻忚堪','琛ㄥご澶囨敞','鍐呴儴鍗曟嵁鍙�','鍒跺崟浜�','鍒跺崟鏃ユ湡','瀹℃牳浜�','瀹℃牳鏃ユ湡','淇敼浜�','淇敼鏃ユ湡','鍏抽棴浜�','鍏抽棴鏃ユ湡','浣滃簾浜�','浣滃簾鏃ユ湡','鏁呴殰鍘熷洜浠g爜','鏁呴殰鍘熷洜鍚嶇О','鏁呴殰鍘熷洜鎻忚堪','琛ㄤ綋璐熻矗浜轰唬鐮�','琛ㄤ綋璐熻矗浜�','琛屽叧闂汉','鍏抽棴绫诲瀷','琛ㄤ綋澶囨敞','婧愬崟鍗曞彿','婧愬崟绫诲瀷','鍏宠仈鏁伴噺'],
+				arrayComparator:['=','>=','>','<=','<','<>','鍖呭惈','宸﹀寘鍚�','鍙冲寘鍚�','涓嶅寘鍚�']
 			}
-		},
+	    },
 		created() {
 			this.getList()
-			console.log(this.userInfo, uni.getStorageSync('HUserName'))
+			console.log(this.userInfo,uni.getStorageSync('HUserName'))
 		},
-		methods: {
-			getList() {
+	    methods: {
+			getList(){
 				console.log(this.sWhere)
 				uni.showLoading({
-					title: '鍔犺浇涓�...'
+					title:'鍔犺浇涓�...'
 				})
 				uni.request({
-					url: this.serverUrl + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
-					data: {
+				    url: this.serverUrl + '/Sb_EqpRepairWorkBill/GetEqpConkBookBillList',
+					data:{ 
 						sWhere: this.sWhere,
 						user: uni.getStorageSync('HUserName')
 					},
-					success: (res) => {
-						console.log(1, res);
-						if (res.data.count == 1) {
+				    success: (res) => {
+				        console.log(1,res);
+						if(res.data.count == 1){
 							this.listData = res.data.data
 							uni.hideLoading()
-						} else {
+						}else{
 							uni.hideLoading()
 							uni.showToast({
-								title: res.data.Message,
-								icon: 'none'
+								title:res.data.Message,
+								icon:'none'
 							})
 						}
 					},
@@ -366,100 +242,100 @@
 						console.log(res);
 						uni.hideLoading()
 						uni.showToast({
-							title: '鎺ュ彛璇锋眰澶辫触',
-							icon: 'none'
+							title:'鎺ュ彛璇锋眰澶辫触',
+							icon:'none'
 						})
 					},
 				});
 			},
 			//閫夋嫨鍗曟嵁鏃ユ湡
-			BenginHCreateDateChange(e) {
+			BenginHCreateDateChange(e){
 				console.log(e.detail.value)
 				this.hform.BenginHCreateDate = e.detail.value
 			},
 			//閫夋嫨鍗曟嵁鏃ユ湡
-			EndHCreateDateChange(e) {
+			EndHCreateDateChange(e){
 				console.log(e.detail.value)
 				this.hform.EndHCreateDate = e.detail.value
 			},
 			//杩囨护
-			ColNameChange(e) {
+			ColNameChange(e){
 				// console.log(e.detail.value)
 				this.hform.ColName = this.arrayColName[e.detail.value]
 				console.log(this.hform)
 			},
 			//鏉′欢
-			ComparatorChange(e) {
+			ComparatorChange(e){
 				// console.log(e.detail.value)
 				this.hform.Comparator = this.arrayComparator[e.detail.value]
 				console.log(this.hform)
 			},
-
-			search() {
+			
+			search(){
 				this.sWhere = ''
-
+				
 				console.log(this.hform)
 				if (this.hform.HBillNo) {
-					this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
+				    this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
 				}
 				if (this.hform.HDate) {
-					this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HDate + "'";
+				    this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HDate + "'";
 				}
 				if (this.hform.HDate1) {
-					this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HDate1 + "'";
+				    this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.HDate1 + "'";
 				}
 				if (this.hform.ColName && this.hform.Comparator) {
-					var com = "";
-					if (this.hform.Comparator == '鍖呭惈') {
+				    var com = "";
+					if(this.hform.Comparator == '鍖呭惈'){
 						com = "like'%" + this.hform.ColContent + "%'";
-					} else if (this.hform.Comparator == '宸﹀寘鍚�') {
+					}else if(this.hform.Comparator == '宸﹀寘鍚�'){
 						com = "like'%" + this.hform.ColContent + "'";
-					} else if (this.hform.Comparator == '鍙冲寘鍚�') {
+					}else if(this.hform.Comparator == '鍙冲寘鍚�'){
 						com = "like'" + this.hform.ColContent + "%'";
-					} else if (this.hform.Comparator == '涓嶅寘鍚�') {
+					}else if(this.hform.Comparator == '涓嶅寘鍚�'){
 						com = "not like'%" + this.hform.ColContent + "%'";
-					} else {
+					}else{
 						com = "" + this.hform.Comparator + "'" + this.hform.ColContent + "'";
 					}
-
+					
 					this.sWhere += " and " + this.hform.ColName + " " + com;
 				}
-
+				
 				this.getList()
 			},
 			//閲嶇疆
-			clear() {
+			clear(){
 				this.sWhere = ''
 				this.showDetail = -1,
-					this.hform = {
-						HBillNo: '',
-						HDate: '',
-						HDate1: '',
-
-						ColName: '',
-						Comparator: '',
-						ColContent: '',
-					}
+				this.hform = {
+					HBillNo:'',
+					HDate:'',
+					HDate1:'',
+					
+					ColName:'',
+					Comparator:'',
+					ColContent:'',
+				}
 				this.getList()
 			},
-			choose(item) {
+			choose(item){
 				console.log(item)
 				var data = {
-					HMainSourceBillNo: item.鍗曟嵁鍙�,
-					HMainSourceInterID: item.hmainid,
-					HMainSourceEntryID: item.hsubid,
+					HMainSourceBillNo:item.鍗曟嵁鍙�,
+					HMainSourceInterID:item.hmainid,
+					HMainSourceEntryID:item.hsubid,
 				}
 				this.$emit('gzData', data)
 			},
-			close() {
-				this.$emit('close', true)
+			close(){
+				this.$emit('close',true)
 			},
-		}
+	    }
 	}
 </script>
 
 <style lang="scss" scoped>
-	.content {
+	.content{
 		width: 100%;
 		height: 100%;
 		background-color: #fff;
@@ -470,28 +346,23 @@
 		left: 0;
 		z-index: 99;
 	}
-
-	.form {
+	.form{
 		width: 640rpx;
 		margin: 20rpx auto;
 	}
-
-	.form-item {
+    .form-item{
 		display: flex;
 		align-items: center;
 		font-size: 28rpx;
 		padding: 6rpx 0;
-
-		.title {
+		.title{
 			width: 180rpx;
-
-			text {
+			text{
 				color: red;
 				font-weight: bold;
 			}
 		}
-
-		.left {
+		.left{
 			width: 170rpx;
 			padding: 10rpx 0;
 			margin-right: 10rpx;
@@ -500,34 +371,29 @@
 			color: #888;
 			text-align: center;
 		}
-
-		.right {
+		.right{
 			width: 450rpx;
 			border-radius: 22rpx;
 			border: 1px solid #acacac;
 		}
-
-		.righton {
+		.righton{
 			width: 450rpx;
 			border-radius: 22rpx;
 			border: 1px solid #e4e4e4;
 			background-color: #e4e4e4;
 		}
-
-		input {
+		input{
 			width: 100%;
 			padding: 8rpx 20rpx;
 			font-size: 30rpx;
 		}
 	}
-
-	.buttons {
+	.buttons{
 		width: 100%;
 		display: flex;
 		justify-content: center;
 		margin-top: 20rpx;
-
-		button {
+		button{
 			border-radius: 50rpx;
 			width: 180rpx;
 			height: 66rpx;
@@ -536,79 +402,69 @@
 			color: #fff;
 		}
 	}
-
-	.list {
+	
+	.list{
 		width: 100%;
-
-		.card-detail {
+		.card-detail{
 			width: 100%;
 			display: flex;
 			flex-wrap: wrap;
 			justify-content: space-between;
 			line-height: 120%;
-
-			.detail {
+			.detail{
 				// width: 50%;
 				font-size: 26rpx;
 				margin-bottom: 12rpx;
 				color: #555;
 				margin-right: 20rpx;
-
-				text {
+				text{
 					color: #999;
 					font-size: 26rpx;
 				}
 			}
 		}
-
-		.more {
+		.more{
 			color: #888;
 			font-size: 24rpx;
 			display: flex;
 			border-top: 1px solid #eee;
 			padding-top: 20rpx;
-
-			.part {
+			.part{
 				width: 50%;
 				text-align: center;
 			}
 		}
-
-		.op {
+		.op{
 			display: flex;
 			justify-content: space-around;
 			margin-top: 20rpx;
-
-			button {
+			button{
 				padding: 0;
 				width: 150rpx;
 				font-size: 25rpx;
 			}
 		}
 	}
-
-	.op1 {
+	
+	.op1{
 		border: 1px solid #41a863;
 		background-color: #41a863;
 	}
-
-	.op2 {
+	.op2{
 		border: 1px solid #d98d00;
 		background-color: #d98d00;
 	}
-
-	.op3 {
+	.op3{
 		border: 1px solid #3a78ff;
 		background-color: #3a78ff;
 	}
-
-	.op4 {
+	.op4{
 		border: 1px solid #da0000;
 		background-color: #da0000;
 	}
-
-	.op5 {
+	.op5{
 		border: 1px solid #888;
 		background-color: #888;
 	}
-</style>
\ No newline at end of file
+
+</style>

--
Gitblit v1.9.1