qingyiay
2023-10-30 0978691dc9047c7090dca64406f5d0ac027e8df4
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -169,12 +169,17 @@
                  @click="arriveClick"
                  shape="circle"
                  :disabled="coalDetailsData.status >= 2"></u-button>
               <u-button text="入场申请"
               <!-- <u-button text="入场申请"
                  type="primary"
                  plain
                  @click="rcsqClick"
                  shape="circle"
                  :disabled="correctStatus>= 3"></u-button>
                  :disabled="correctStatus>= 3"></u-button> -->
               <u-button text="呼叫客服"
                  type="primary"
                  plain
                  @click="callCustomerService"
                  shape="circle"></u-button>
            </view>
            <view class="bottom-button">
               <!-- <u-button text="放空"
@@ -184,11 +189,7 @@
                  throttleTime="500"
                  shape="circle"
                  :disabled="isEvacuation || isapproach"></u-button> -->
               <u-button text="呼叫客服"
                  type="primary"
                  plain
                  @click="callCustomerService"
                  shape="circle"></u-button>
            </view>
         </view>
      </view>
@@ -298,6 +299,9 @@
         }
      },
      onHide() {
         clearInterval(this.interval);
      },
      onUnload() {
         clearInterval(this.interval);
      },
      onReady() {
@@ -582,7 +586,7 @@
                     .coalDetailsData
                     .yuYueSection.slice(-5);
                  if (dayjs(this.currentTime).isAfter(endTime) && this.coalDetailsData.status <= 1) {
                     this.$u.toast('已超出预约时间,可点击入场申请重新入场')
                     // this.$u.toast('已超出预约时间,可点击入场申请重新入场')
                     this.timeout = '1'
                  }
               }, 1000)
@@ -619,18 +623,20 @@
         arriveClick() {
            uni.navigateTo({
               url: `/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock?orderPlanId=${this.orderPlanId}&coalStatus=${
               this.currentPageCoalStatus
            }&tmId=${this.getWeightHouseObj.tmId}`
               this.correctStatus
            }&tmId=${this.getWeightHouseObj.tmId}&timeout=${this.timeout}&yyId=${this.yyId}&filedId=${this.getYuYueDataParams.filedId}&deptId=${
               this.getYuYueDataParams.deptId
            }&sendDate=${this.getYuYueDataParams.sendDate}&yuYueSection=${this.coalDetailsData.yuYueSection}`
            });
         },
         // 入场申请
         rcsqClick() {
            uni.navigateTo({
               url: `/pages/driver-page/appointment/appointment?type=入场申请&takeCoalId=${this.orderPlanId}&yyId=${this.yyId}&filedId=${this.getYuYueDataParams.filedId}&deptId=${
               this.getYuYueDataParams.deptId
            }&sendDate=${this.getYuYueDataParams.sendDate}`
            });
         },
         // rcsqClick() {
         //    uni.navigateTo({
         //       url: `/pages/driver-page/appointment/appointment?type=入场申请&takeCoalId=${this.orderPlanId}&yyId=${this.yyId}&filedId=${this.getYuYueDataParams.filedId}&deptId=${
         //       this.getYuYueDataParams.deptId
         //    }&sendDate=${this.getYuYueDataParams.sendDate}`
         //    });
         // },
         callCustomerService() {
            this.servieceShow = true
         },
@@ -794,7 +800,8 @@
               tmId: this.getWeightHouseObj.tmId,
               carNo: uni.getStorageSync('carNo'),
               type: 2,
               weighingNumber: 1
               weighingNumber: 1,
               printing: uni.getStorageSync('selectedPrintStyle')
            }
            let form1 = uni.getStorageSync('WeighHouseForm') ? uni.getStorageSync('WeighHouseForm') : '{}'
            this.$reqPost('printer', Object.assign(form, JSON.parse(form1)),
@@ -824,7 +831,8 @@
               tmId: this.getWeightHouseObj.tmId,
               carNo: uni.getStorageSync('carNo'),
               type: 3,
               weighingNumber: 2
               weighingNumber: 2,
               printing: uni.getStorageSync('selectedPrintStyle')
            }
            let form1 = uni.getStorageSync('WeighHouseForm') ? uni.getStorageSync('WeighHouseForm') : '{}'
            this.outLoading = true
@@ -1048,6 +1056,10 @@
               position: absolute;
               right: vww(10);
               color: #fff;
               white-space: nowrap;
               text-overflow: ellipsis;
               -o-text-overflow: ellipsis;
               overflow: hidden;
            }
            .basic {