| | |
| | | <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;"> |
| | |
| | | yyId: null, |
| | | dayRZ: [], |
| | | coalDetailsData: {}, // 提煤单详情 |
| | | currentPageCoalStatus: 0, // 当前页面提煤单状态 |
| | | // 获取所在磅房参数 |
| | | getWeightHouseObj: { |
| | | deptId: '', |
| | |
| | | if (res.data.length > 0) { |
| | | this.serviceInfoObj.openId = res.data[0].openId; |
| | | this.serviceInfoObj.openName = res.data[0].openName; |
| | | uni.setStorageSync('customeropenId', this.serviceInfoObj.openId); |
| | | uni.setStorageSync('customerName', this.serviceInfoObj.openName); |
| | | } |
| | | } |
| | | }); |
| | |
| | | // 获取客服openId参数赋值 |
| | | this.getServiceOpenid.deptId = this.coalDetailsData.deptId; |
| | | this.getServiceOpenid.filedId = this.coalDetailsData.filedId; |
| | | // 获取提煤单状态 |
| | | this.currentPageCoalStatus = this.coalDetailsData.status; |
| | | } |
| | | }); |
| | | }, |
| | |
| | | // 签到 |
| | | 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 |
| | | }&tmId=${this.getWeightHouseObj.tmId}` |
| | | }); |
| | | }, |
| | | // 入场申请 |
| | |
| | | } else { |
| | | wx.join1v1Chat({ |
| | | caller: { nickname: uni.getStorageSync('name'), openid: uni.getStorageSync('openid') }, |
| | | listener: { nickname: '付延余', openid: 'oZjXk5e7G9uIvOzaTO6nFV51ALwk' }, // 这里的openid是fyy的,充当固定的客服openid |
| | | listener: { nickname: uni.getStorageSync('customerName'), openid: uni.getStorageSync('customeropenId') }, // 这里的openid是fyy的,充当固定的客服openid |
| | | backgroundType: 2, |
| | | roomType: 'voice', |
| | | success() { |
| | |
| | | console.log(res, '获取磅房'); |
| | | if (res.code == 0) { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice?takeCoalId=${this.orderPlanId}&sceneId=${res.data.id}&gateCameraId=${ |
| | | res.data.lastEquipmentId |
| | | }&gateCameraCode=${res.data.lastEquipmentCode}&weighHouseCode=${res.data.code}` |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/weighingDevice/weighingDevice?takeCoalId=${this.orderPlanId}&sceneId=${ |
| | | res.data.id |
| | | }&gateCameraId=${res.data.lastEquipmentId}&gateCameraCode=${res.data.lastEquipmentCode}&weighHouseCode=${res.data.code}` |
| | | }); |
| | | } else { |
| | | this.$u.toast('未在磅房,请前往磅房后再试!!'); |
| | |
| | | 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 { |
| | |
| | | } |
| | | } |
| | | .utilsBox { |
| | | padding: vww(20); |
| | | padding: vww(10) vww(20); |
| | | flex: 1; |
| | | display: flex; |
| | | flex-direction: column; |