qingyiay
2023-03-24 09c2ac7911db8993b6b435cb5af23fcf69c0fbe2
pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details.vue
@@ -2,23 +2,23 @@
   <view class="bill-of-lading-details">
      <view class="bangDanMessage">
         <view class="">
            <text>客户:{{ coalDetailsData.customerName }}</text>
            <text>矿厂:{{ coalDetailsData.deptName }}</text>
            <text>客户:{{ coalDetailsData.customerName || '' }}</text>
            <text>矿厂:{{ coalDetailsData.deptName || '' }}</text>
         </view>
         <view class="">
            <text>皮重:{{ coalDetailsData.skin }}</text>
            <text>毛重:{{ coalDetailsData.hair }}</text>
            <text>净重:{{ coalDetailsData.clean }}</text>
            <text>皮重:{{ coalDetailsData.skin || '' }}</text>
            <text>毛重:{{ coalDetailsData.hair || '' }}</text>
            <text>净重:{{ coalDetailsData.clean || '' }}</text>
         </view>
         <view class="">
            <text>磅单类型:{{ coalDetailsData.orderTye }}</text>
            <text>磅单类型:{{ coalDetailsData.orderTye || '' }}</text>
            <text>状态:{{ coalStatus[coalDetailsData.status] }}</text>
         </view>
         <view class="">
            <text>煤场:{{ coalDetailsData.filedName }}</text>
            <text>发运时间:{{ coalDetailsData.sendDate }}</text>
            <text>提煤单编号:{{ coalDetailsData.code }}</text>
            <text>订单编号:{{ coalDetailsData.orderCode }}</text>
            <text>煤场:{{ coalDetailsData.filedName || '' }}</text>
            <text>发运时间:{{ coalDetailsData.sendDate || '' }}</text>
            <text>提煤单编号:{{ coalDetailsData.code || '' }}</text>
            <text>订单编号:{{ coalDetailsData.orderCode || '' }}</text>
         </view>
      </view>
      <view class="timeLine" style="font-size: 16rpx;">
@@ -52,6 +52,7 @@
         yyId: null,
         dayRZ: [],
         coalDetailsData: {}, // 提煤单详情
         currentPageCoalStatus:0,// 当前页面提煤单状态
         // 获取所在磅房参数
         getWeightHouseObj: {
            deptId: '',
@@ -76,7 +77,8 @@
            openId: null,
            openName: ''
         },
         coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤场', '出煤仓'] // 状态
         coalStatus: ['领取', '预约', '签到', '入场', '称皮', '称毛', '离场', '入磅房', '出磅房', '入煤场', '出煤仓'] ,// 状态
      };
   },
   onShow() {
@@ -128,6 +130,8 @@
               // 获取客服openId参数赋值
               this.getServiceOpenid.deptId = this.coalDetailsData.deptId;
               this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
               // 获取提煤单状态
               this.currentPageCoalStatus = this.coalDetailsData.status
            }
         });
      },
@@ -148,7 +152,7 @@
      // 签到
      arriveClick() {
         uni.navigateTo({
            url: `/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock?orderPlanId=${this.orderPlanId}`
            url: `/pages/driver-page/driver-index/bill-of-lading-details/punchTheClock/punchTheClock?orderPlanId=${this.orderPlanId}&coalStatus=${this.currentPageCoalStatus}`
         });
      },
      // 入场申请
@@ -238,35 +242,39 @@
      margin: vww(20);
      margin-bottom: vww(10);
      height: 40%;
      font-size:vww(16);
      font-weight: 500;
      .u-text {
         margin-bottom: vww(5) !important;
      }
      font-size: vww(18);
      font-weight: 600;
      view {
         margin-bottom: vww(5);
         margin-bottom: vww(10);
      }
      view:nth-of-type(1) {
         display: flex;
         text{
            width:50%;
         text {
            width: 50%;
            text-align: center;
         }
      }
      view:nth-of-type(2) {
         display: flex;
         text{
            width:33%;
         text {
            width: 33%;
            text-align: center;
         }
      }
      view:nth-of-type(3) {
         display: flex;
         text{
            width:50%;
         text {
            width: 50%;
            text-align: center;
         }
      }
      view:nth-of-type(4){
         display:flex;
      view:nth-of-type(4) {
         display: flex;
         flex-direction: column;
         text {
            margin-bottom: vww(10);
            text-align: center;
         }
      }
   }
   .timeLine {
@@ -284,7 +292,7 @@
      }
   }
   .utilsBox {
      padding: vww(20);
      padding: vww(10) vww(20);
      flex: 1;
      display: flex;
      flex-direction: column;