qingyiay
2023-09-18 e96eb325b42b25ecd83c065c4abd8ce9999cd468
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -154,6 +154,13 @@
            :show="servieceShow"
            cancelText="取消"></u-action-sheet>
      </view>
      <!-- 磅房忙碌提示弹窗 -->
      <view class="">
         <u-modal :show="wsgVisiable"
            title="提示"
            :content="wsgContent"
            @confirm="wsgContentConfirm"></u-modal>
      </view>
   </view>
</template>
@@ -252,7 +259,7 @@
         clearInterval(this.interval);
      },
      computed: {
         ...mapState(['globalweigh', 'globalinfraredStatus']),
         ...mapState(['globalweigh', 'globalinfraredStatus', 'wsgVisiable', 'wsgContent']),
         name() {
            return uni.getStorageSync('name');
         },
@@ -278,6 +285,7 @@
         }
      },
      methods: {
         ...mapMutations(['changewsgVisiable']),
         init() {
            this.$reqGet('coalDayPage', { id: this.orderPlanId }).then(res => {
               if (res.code == 0) {
@@ -548,6 +556,7 @@
            this.$reqGet('printer', { type: 2, tmId: this.coalDetailsData.id }).then(res => {
               uni.hideLoading()
               this.enterLoading = false
               console.log(res);
               if (res.code === 0) {
                  this.$u.toast('打印成功')
               } else {
@@ -571,6 +580,9 @@
               }
            })
         },
         wsgContentConfirm() {
            this.changewsgVisiable(false)
         }
      }
   };
</script>