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/caigoutuiliao/table.vue | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/pages/caigoutuiliao/table.vue b/pages/caigoutuiliao/table.vue
index 6e2ca57..996baa9 100644
--- a/pages/caigoutuiliao/table.vue
+++ b/pages/caigoutuiliao/table.vue
@@ -90,6 +90,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>
@@ -100,12 +103,14 @@
<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>
- </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(),
@@ -128,6 +133,7 @@
page:1,
}
},
+ components: {BarCodePopupVue},
onLoad() {
//鐢ㄦ埛妯″潡鏉冮檺鍒ゆ柇
this.CheckModRight()
@@ -147,6 +153,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