yangan
2023-11-09 81062e5937779fd4ee4004412ca89942b67017b4
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -67,12 +67,12 @@
                  @click="arriveClick"
                  shape="circle"
                  :disabled="coalDetailsData.status >= 2"></u-button>
               <u-button text="入场申请"
               <u-button text="打印磅单"
                  type="primary"
                  plain
                  @click="rcsqClick"
                  @click="printOrder"
                  shape="circle"
                  :disabled="coalDetailsData.status >= 3"></u-button>
                  :disabled="currentPageCoalStatus !== 4"></u-button>
            </view>
            <view class="bottom-button">
               <u-button text="放空"
@@ -91,10 +91,10 @@
         </view>
      </view>
      <view class="weigh-ability" v-if="!isReservation">
         <view class="weigh-button"><u-button text="展示通知单"
         <!-- <view class="weigh-button"><u-button text="展示通知单"
               @click="showCaolPickUpBill"
               type="primary"
               shape="circle"></u-button></view>
               shape="circle"></u-button></view> -->
         <view class="weigh-button"><u-button 
                :disabled="!isapproach"
                text="上磅计量"
@@ -503,6 +503,18 @@
            uni.navigateTo({
               url: `/pages/driver-page/driver-index/bill-of-lading-details/weighDetail/weighDetail?orderPlanId=${this.orderPlanId}&flag=${true}`
            })
         },
         //打印磅单
         printOrder(){
            this.$reqGet('printerHandler',{tmId:this.orderPlanId}).then(res => {
               if (res.data) {
                  uni.hideLoading();
                  // this.orderPlanData = res.data
               } else {
                  uni.hideLoading();
                  this.$u.toast('加载失败')
               }
            })
         }
      }
   };