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/weiwaigxOut/table.vue |  620 +++++++++++++++++++++----------------------------------
 1 files changed, 236 insertions(+), 384 deletions(-)

diff --git a/pages/weiwaigxOut/table.vue b/pages/weiwaigxOut/table.vue
index cc99a60..93014cc 100644
--- a/pages/weiwaigxOut/table.vue
+++ b/pages/weiwaigxOut/table.vue
@@ -65,281 +65,159 @@
 					鎶樺彔鍏朵粬鏉′欢<uni-icons color="#1890FF" style="margin-left: 8rpx;" type="top"></uni-icons>
 				</view>
 			</view>
-
+			
 			<view class="buttons">
 				<button class="btn-a" size="mini" type="default" @tap="clear">閲嶇疆</button>
 				<button class="btn-b" size="mini" type="default" @tap="creat">鏂板</button>
 				<button class="btn-c" size="mini" type="default" @tap="search">鏌ヨ</button>
 			</view>
 		</view>
-
+		
 		<view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
-
+		
 		<view class="list" v-for="(item,index) in showList" :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['閫佽揣鍗曞彿']">
-						<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['浜у搧浠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['鏃ユ湡'].substr(0,10)}}
+					<view class="detail" v-if="item.鏃ユ湡">
+						<text>鏃ユ湡锛�</text>{{item.鏃ユ湡.substr(0,10)}}
 					</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['璁¢噺鍗曚綅']">
-						<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['鎺ユ敹鏃堕棿'].substr(0,19)}}
+					<view class="detail" v-if="item.鎺ユ敹鏃堕棿">
+						<text>鎺ユ敹鏃堕棿锛�</text>{{item.鎺ユ敹鏃堕棿.substr(0,19)}}
 					</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['鍒跺崟鏃ユ湡'].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>
-				<!-- #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.閫佽揣鍗曞彿">
-							<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.浜у搧浠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.鏃ユ湡.substr(0,10)}}
-						</view>
+				
+				<view class="more" v-if="showDetail == index && operations != 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.璁¢噺鍗曚綅">
-							<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.鎺ユ敹鏃堕棿.substr(0,19)}}
-						</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.鍒跺崟鏃ユ湡.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="part" @tap.stop="operations = operations==index?-1:index">
+						<uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鎿嶄綔
 					</view>
-					<!-- #endif -->
-
-
-					<view class="more" v-if="showDetail == index && operations != 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="operations = operations==index?-1:index">
-							<uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
-								size="14"></uni-icons>鎿嶄綔
-						</view>
+				</view>
+				<view class="more" v-if="showDetail != index && operations != 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 && operations != 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="operations = operations==index?-1:index">
-							<uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;"
-								size="14"></uni-icons>鎿嶄綔
-						</view>
+					<view class="part" @tap.stop="operations = operations==index?-1:index">
+						<uni-icons type="more-filled" style="color: #888;margin-right: 10rpx;" size="14"></uni-icons>鎿嶄綔
 					</view>
-
-					<view class="op" v-if="operations == index">
-						<!-- 					<button class="op1" size="mini" plain @tap.stop="check(item)">瀹℃牳</button>
+				</view>
+				
+				<view class="op" v-if="operations == index">
+<!-- 					<button class="op1" size="mini" plain @tap.stop="check(item)">瀹℃牳</button>
 					<button class="op2" size="mini" plain @tap.stop="antiCheck(item)">鍙嶅鏍�</button> -->
-						<button class="op1" size="mini" plain @tap.stop="firstCheck(item)">棣栨</button>
-						<button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
-						<button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
-						<button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
-					</view>
-				</uni-card>
+					<button class="op1" size="mini" plain @tap.stop="firstCheck(item)">棣栨</button>
+					<button class="op3" size="mini" plain @tap.stop="edit(item)">缂栬緫</button>
+					<button class="op4" size="mini" plain @tap.stop="del(item)">鍒犻櫎</button>
+					<button class="op5" size="mini" plain @tap.stop="operations = -1">鍙栨秷鎿嶄綔</button>
+				</view>
+			</uni-card>
 		</view>
-
+		
 		<view class="over" v-if="listData.length == 0">鏆傛棤鏁版嵁</view>
 		<view class="over" v-if="listData.length != 0 && listData.length != showList.length">鍔犺浇涓�...</view>
 		<view class="over" v-if="listData.length != 0 && listData.length == showList.length">宸插埌搴�</view>
@@ -347,35 +225,33 @@
 </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',
-				showmore: false,
-				arrayStatus: ['鍏ㄩ儴', '鏈鏍�', '宸插鏍�', '宸插叧闂�'],
-				hform: {
-					HStatus: '鍏ㄩ儴',
-					HBeginDate: '',
-					HEndDate: '',
-					HICMOBillNo: '',
-					HBillNo: '',
-					HProcExchBillNo: '',
-					HNumber: '',
-					HName: '',
+	    data() {
+	        return {
+				userInfo:getUserInfo(),
+				serverUrl: uni.getStorageSync('serverUrl')||'http://47.96.97.237/API',
+				showmore:false,
+				arrayStatus:['鍏ㄩ儴','鏈鏍�','宸插鏍�','宸插叧闂�'],
+				hform:{
+					HStatus:'鍏ㄩ儴',
+					HBeginDate:'',
+					HEndDate:'',
+					HICMOBillNo:'',
+					HBillNo:'',
+					HProcExchBillNo:'',
+					HNumber:'',
+					HName:'',
 				},
-				sWhere: '',
-				listData: [],
-				showList: [],
-				showDetail: -1,
-				operations: -1,
-
-				page: 1,
-			}
-		},
+				sWhere:'',
+				listData:[],
+				showList:[],
+				showDetail:-1,
+				operations:-1,
+				
+				page:1,
+	        }
+	    },
 		onLoad() {
 			this.getList()
 			// console.log(this.userInfo,uni.getStorageSync('HUserName'))
@@ -383,46 +259,46 @@
 		onReachBottom: function() {
 			this.page++
 			setTimeout(() => {
-				this.showList = this.showList.concat(this.getPage(this.page, this.listData))
+				this.showList = this.showList.concat(this.getPage(this.page,this.listData))
 			}, 100)
 		},
 		onPullDownRefresh: function() {
 			this.clear()
-			setTimeout(() => {
+			setTimeout(()=>{
 				uni.stopPullDownRefresh();
 			}, 1000);
 		},
-		methods: {
-			getPage(page, list) {
+	    methods: {
+			getPage(page,list){
 				let sindex = (parseInt(page) - 1) * 20
 				let eindex = parseInt(page) * 20
-				let newList = list.slice(sindex, eindex)
+				let newList = list.slice(sindex,eindex)
 				return newList
 			},
-			getList() {
+			getList(){
 				// console.log(this.sWhere)
 				uni.showLoading({
-					title: '鍔犺浇涓�...'
+					title:'鍔犺浇涓�...'
 				})
 				uni.request({
-					url: this.serverUrl + '/Cj_StationEntrustOutBill/list',
-					data: {
+				    url: this.serverUrl + '/Cj_StationEntrustOutBill/list',
+					data:{ 
 						sWhere: this.sWhere,
 						user: uni.getStorageSync('HUserName')
 					},
-					success: (res) => {
+				    success: (res) => {
 						// console.log(1,res);
-						if (res.data.count == 1) {
+						if(res.data.count == 1){
 							this.listData = res.data.data
-							this.showList = this.getPage(this.page, this.listData)
-							setTimeout(() => {
-								uni.hideLoading()
+							this.showList = this.getPage(this.page,this.listData)
+							setTimeout(()=>{
+							     uni.hideLoading()
 							}, 1000)
-						} else {
+						}else{
 							uni.hideLoading()
 							uni.showToast({
-								title: res.data.Message,
-								icon: 'none'
+								title:res.data.Message,
+								icon:'none'
 							})
 						}
 					},
@@ -430,156 +306,155 @@
 						console.log(res);
 						uni.hideLoading()
 						uni.showToast({
-							title: '鎺ュ彛璇锋眰澶辫触',
-							icon: 'none'
+							title:'鎺ュ彛璇锋眰澶辫触',
+							icon:'none'
 						})
 					},
 				});
 			},
 			//鐘舵��
-			HStatusChange(e) {
+			HStatusChange(e){
 				console.log(e.detail.value)
 				this.hform.HStatus = this.arrayStatus[e.detail.value]
 			},
 			//閫夋嫨鍗曟嵁鏃ユ湡
-			HBeginDateChange(e) {
+			HBeginDateChange(e){
 				console.log(e.detail.value)
 				this.hform.HBeginDate = e.detail.value
 			},
 			//閫夋嫨鍗曟嵁鏃ユ湡
-			HEndDateChange(e) {
+			HEndDateChange(e){
 				console.log(e.detail.value)
 				this.hform.HEndDate = e.detail.value
 			},
 			//鎼滅储
-			search() {
+			search(){
 				this.sWhere = ''
 				this.listData = []
 				this.page = 1
 				this.showList = []
-
+				
 				console.log(this.hform)
 
 				if (this.hform.HStatus) {
-					if (this.hform.HStatus == '鍏ㄩ儴') {
-						this.sWhere += "";
-					} else if (this.hform.HStatus == '鏈鏍�') {
-						this.sWhere += " and 瀹℃牳浜�=''";
-					} else if (this.hform.HStatus == '宸插鏍�') {
-						this.sWhere += " and 瀹℃牳浜�<>''";
-					} else if (this.hform.HStatus == '宸插叧闂�') {
-						this.sWhere += " and 鍏抽棴浜�<>''";
-					}
+				    if(this.hform.HStatus == '鍏ㄩ儴'){
+				    	this.sWhere += "";
+				    }else if(this.hform.HStatus == '鏈鏍�'){
+				    	this.sWhere += " and 瀹℃牳浜�=''";
+				    }else if(this.hform.HStatus == '宸插鏍�'){
+				    	this.sWhere += " and 瀹℃牳浜�<>''";
+				    }else if(this.hform.HStatus == '宸插叧闂�'){
+				    	this.sWhere += " and 鍏抽棴浜�<>''";
+				    }
 				}
 				if (this.hform.BenginHCreateDate) {
-					this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.BenginHCreateDate + "'";
+				    this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.BenginHCreateDate + "'";
 				}
 				if (this.hform.EndHCreateDate) {
-					this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.EndHCreateDate + "'";
+				    this.sWhere += " and CONVERT(varchar(100),鏃ユ湡, 23) >= '" + this.hform.EndHCreateDate + "'";
 				}
 				if (this.hform.HBillNo) {
-					this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
+				    this.sWhere += " and 鍗曟嵁鍙� like '%" + this.hform.HBillNo + "%'";
 				}
 				if (this.hform.HNumber) {
-					this.sWhere += " and 浜у搧浠g爜 like '%" + this.hform.HNumber + "%'";
+				    this.sWhere += " and 浜у搧浠g爜 like '%" + this.hform.HNumber + "%'";
 				}
 				if (this.hform.HName) {
-					this.sWhere += " and 宸ュ簭 like '%" + this.hform.HName + "%'";
+				    this.sWhere += " and 宸ュ簭 like '%" + this.hform.HName + "%'";
 				}
 				if (this.hform.HICMOBillNo) {
-					this.sWhere += " and 鐢熶骇璁㈠崟鍙� like '%" + this.hform.HICMOBillNo + "%'";
+				    this.sWhere += " and 鐢熶骇璁㈠崟鍙� like '%" + this.hform.HICMOBillNo + "%'";
 				}
 				if (this.hform.HProcExchBillNo) {
-					this.sWhere += " and 娴佽浆鍗″彿 like '%" + this.hform.HProcExchBillNo + "%'";
+				    this.sWhere += " and 娴佽浆鍗″彿 like '%" + this.hform.HProcExchBillNo + "%'";
 				}
-
+				
 				this.getList()
 			},
 			//鏂板
-			creat() {
+			creat(){
 				uni.navigateTo({
-					url: '/pages/weiwaigxOut/form'
+					url:'/pages/weiwaigxOut/form'
 				})
 			},
 			//閲嶇疆
-			clear() {
+			clear(){
 				this.listData = []
 				this.page = 1
 				this.showList = []
-
+				
 				this.showmore = false
 				this.sWhere = ''
 				this.showDetail = -1,
-					this.operations = -1,
-					this.hform = {
-						HStatus: '鍏ㄩ儴',
-						HBeginDate: '',
-						HEndDate: '',
-						HICMOBillNo: '',
-						HBillNo: '',
-						HProcExchBillNo: '',
-						HNumber: '',
-						HName: '',
-					}
+				this.operations = -1,
+				this.hform = {
+					HStatus:'鍏ㄩ儴',
+					HBeginDate:'',
+					HEndDate:'',
+					HICMOBillNo:'',
+					HBillNo:'',
+					HProcExchBillNo:'',
+					HNumber:'',
+					HName:'',
+				}
 				this.getList()
 			},
-
+			
 			//棣栨
-			firstCheck(item) {
+			firstCheck(item){
 				console.log(item)
 				uni.showToast({
-					title: '鏆傛棤璧勬簮',
-					icon: "none"
+					title:'鏆傛棤璧勬簮',
+					icon:"none"
 				})
 				// uni.navigateTo({
 				// 	url:'/pages/weiwaigxOut/firstCheck?HSouceBillType=3793&HICMOEntryID=0&linterid=' + item.HInterID
 				// })
 			},
 			//缂栬緫
-			edit(item) {
+			edit(item){
 				console.log(item)
 				uni.navigateTo({
-					url: '/pages/weiwaigxOut/form?linterid=' + item.HInterID + '&HBillNo=' + item.鍗曟嵁鍙�
+					url:'/pages/weiwaigxOut/form?linterid=' + item.HInterID + '&HBillNo=' + item.鍗曟嵁鍙�
 				})
 			},
 			//鍒犻櫎
-			del(item) {
+			del(item){
 				console.log(item)
 				uni.showModal({
-					title: '鎻愮ず',
-					content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
-					success: (res) => {
-						if (res.confirm) {
-							console.log('鐢ㄦ埛鐐瑰嚮纭畾');
+				    title: '鎻愮ず',
+				    content: '纭瑕佸垹闄ゅ悧锛屽垹闄ゅ悗涓嶈兘鎭㈠',
+				    success: (res) => {
+				        if (res.confirm) {
+				            console.log('鐢ㄦ埛鐐瑰嚮纭畾');
 							uni.request({
-								url: this.serverUrl +
-									'/Cj_StationEntrustOutBill/del_StationEntrustOutBill',
-								data: {
+							    url: this.serverUrl + '/Cj_StationEntrustOutBill/del_StationEntrustOutBill',
+								data:{ 
 									HInterID: item.HInterID,
 									HDeleteMan: 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.clear()
 									}
 									uni.showToast({
-										title: res.data.Message,
-										icon: 'none'
+										title:res.data.Message,
+										icon:'none'
 									})
 								},
 								fail: (res) => {
 									console.log(res);
 									uni.showToast({
-										title: '鎺ュ彛璇锋眰澶辫触',
-										icon: 'none'
+										title:'鎺ュ彛璇锋眰澶辫触',
+										icon:'none'
 									})
 								},
 							});
-						} else if (res.cancel) {
-							console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
-						}
-					}
+				        } else if (res.cancel) {
+				            console.log('鐢ㄦ埛鐐瑰嚮鍙栨秷');
+				        }
+				    }
 				});
 			},
 			// //瀹℃牳
@@ -593,163 +468,140 @@
 			// },
 			// //鍙嶅鏍�
 			// antiCheck(item){
-
+				
 			// },
-		}
+	    }
 	}
 </script>
 
 <style lang="scss" scoped>
-	.form {
+	.form{
 		width: 640rpx;
 		margin: 20rpx auto;
 	}
-
-	.other {
+	.other{
 		margin-top: 8rpx;
 		text-align: center;
 		font-size: 28rpx;
 		padding: 4rpx 18rpx;
 		color: #1890FF;
 	}
-
-	.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;
 			}
 		}
-
-		.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;
 			line-height: 66rpx;
 			font-size: 28rpx;
 		}
-
-		.btn-a {
+		.btn-a{
 			background-color: #acacac;
 			color: #fff;
 		}
-
-		.btn-b {
+		.btn-b{
 			background-color: #41a863;
 			color: #fff;
 		}
-
-		.btn-c {
+		.btn-c{
 			background-color: #3a78ff;
 			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: 130rpx;
 				font-size: 25rpx;
 			}
-
-			.op1 {
+			.op1{
 				border: 1px solid #41a863;
 				color: #41a863;
 			}
-
-			.op2 {
+			.op2{
 				border: 1px solid #d98d00;
 				color: #d98d00;
 			}
-
-			.op3 {
+			.op3{
 				border: 1px solid #3a78ff;
 				color: #3a78ff;
 			}
-
-			.op4 {
+			.op4{
 				border: 1px solid #da0000;
 				color: #da0000;
 			}
-
-			.op5 {
+			.op5{
 				border: 1px solid #888;
 				color: #888;
 			}
 		}
 	}
-</style>
\ No newline at end of file
+
+</style>

--
Gitblit v1.9.1