zrg
2025-09-05 46cc7a29dc1f9b3dffee5cdcb9b7f9dfdac3b16d
pages/xiaoshouchuku/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 || 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(),
@@ -146,7 +151,15 @@
            uni.stopPullDownRefresh();
         }, 1000);
      },
        components: {
            BarCodePopupVue
        },
       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',