From 46cc7a29dc1f9b3dffee5cdcb9b7f9dfdac3b16d Mon Sep 17 00:00:00 2001
From: zrg <z1873@LAPTOP-EAVL132E>
Date: 星期五, 05 九月 2025 20:44:14 +0800
Subject: [PATCH] Merge branch 'Dev' of http://101.37.171.70:10101/r/~jhz/STUWMS into Dev

---
 pages/qitachuku_v2/table.vue |   22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/pages/qitachuku_v2/table.vue b/pages/qitachuku_v2/table.vue
index d400de8..963c489 100644
--- a/pages/qitachuku_v2/table.vue
+++ b/pages/qitachuku_v2/table.vue
@@ -2,7 +2,7 @@
 	<view class="content">
 		<view class="tabs">
 			<view :class="tabs == 0 ? 'on':''" @tap="changeTab(0)">缂撳瓨鍒楄〃</view>
-			<view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">宸叉牎楠屽垪琛�</view>
+			<view :class="tabs == 1 ? 'on':''" @tap="changeTab(1)">宸蹭笂浼犲垪琛�</view>
 		</view>
 
 		<view style="width: 100%;height: 16rpx;background-color: #e5e5e5;"></view>
@@ -68,6 +68,9 @@
 			<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>
@@ -92,6 +95,9 @@
 				</view>
 
 				<view class="more">
+                    <view class="part" style="color: #3a78ff;width: 100%;" @tap.stop="qrCodeDisplay(item)">
+                        <uni-icons type="scan" style="color: #3a78ff;margin-right: 10rpx;" size="18"></uni-icons>鏄剧ず浜岀淮鐮�
+                    </view>
 					<view class="part" style="color: #d98d00;width: 100%;" @tap.stop="revoke(item)">
 						<uni-icons type="undo" style="color: #d98d00;margin-right: 10rpx;" size="18"></uni-icons>鎾ら攢
 					</view>
@@ -102,14 +108,16 @@
 		<view class="over" v-if="!listData || 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>
-	</view>
+        <BarCodePopupVue ref="barcodePopup"></BarCodePopupVue>
+    </view>
 </template>
 
 <script>
 	import {
 		getUserInfo
 	} from "@/utils/auth.js";
-	export default {
+	import BarCodePopupVue from "../../components/BarCodePopup/BarCodePopup.vue";
+    export default {
 		data() {
 			return {
 				userInfo: getUserInfo(),
@@ -138,6 +146,9 @@
 			this.changeTab(0)
 			console.log(this.userInfo, uni.getStorageSync('HUserName'))
 		},
+        components: {
+            BarCodePopupVue
+        },
 		onReachBottom: function() {
 			this.page++
 			setTimeout(() => {
@@ -151,6 +162,11 @@
 			}, 1000);
 		},
 		methods: {
+            async qrCodeDisplay(item) {
+                this.$refs.barcodePopup.setCodeInfo(item.HBillNo)
+                await this.$nextTick()
+                this.$refs.barcodePopup.open()
+            },
 			CheckModRight() {
 				uni.request({
 					url: this.serverUrl + '/WEBSController/CheckModRight_Json',

--
Gitblit v1.9.1