| | |
| | | |
| | | <u-form-item prop='contactPicture'> |
| | | <view class="label-text"> |
| | | <text style="color: #f56c6c;">*</text>原发磅单 |
| | | <text style="color: #f56c6c;">*</text>原发单据 |
| | | </view> |
| | | <u-upload :fileList="fileList1" |
| | | @afterRead="afterRead" |
| | | @delete="deletePic" |
| | | name="1" |
| | | multiple |
| | | :maxCount="2" |
| | | :maxCount="deletable ? fileList1.length : 2" |
| | | width="250" |
| | | height="150" |
| | | :previewFullImage="true" |
| | |
| | | <!-- <view class="completeOutSale"> |
| | | <u-modal :show="completeOutSaleShow" |
| | | title="确认" |
| | | content="是否完成外销提煤单" |
| | | content="是否完成外销收发单" |
| | | :showCancelButton="true" |
| | | @confirm="completeOutSaleConfirm" |
| | | @cancel="completeOutSaleCancel"></u-modal> |
| | |
| | | printerStyle |
| | | }, |
| | | onPullDownRefresh() { |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | uni.stopPullDownRefresh(); |
| | | }, |
| | | onLoad(value) { |
| | |
| | | this.changeglobalIsFirstWeighing(1) |
| | | if (this.globalIsFirstWeighing === 1) { |
| | | console.log('获取详情 onload'); |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | } |
| | | this.init(); //获取日志 |
| | | this.getgetService(); //获取客服 |
| | |
| | | this.coalDayPage(); //获取日志 定时任务 |
| | | if (this.globalIsFirstWeighing === 2) { |
| | | console.log('获取详情 onShow'); |
| | | this.getTakeCoal(); //获取提煤单详情 |
| | | this.getTakeCoal(); //获取收发单详情 |
| | | } |
| | | }, |
| | | onHide() { |
| | |
| | | wareList:[], |
| | | coalDetailsData: { |
| | | tmTaskCoalList:[] |
| | | }, // 提煤单详情 |
| | | currentPageCoalStatus: 0, // 当前页面提煤单状态 |
| | | }, // 收发单详情 |
| | | currentPageCoalStatus: 0, // 当前页面收发单状态 |
| | | // 获取所在磅房参数 |
| | | getWeightHouseObj: { |
| | | deptId: '', |
| | |
| | | }, |
| | | completeOutSaleShow: false, |
| | | overTmWaixiao: null, |
| | | list: [{ name: '手机号', subname: '1213456', id: 1 }, { name: '微信语音', id: 2 }], //呼叫客服选项 |
| | | servieceShow: false, |
| | | list: [{ name: '手机号', subname: '', id: 1 }], //呼叫客服选项 { name: '微信语音', id: 2 } |
| | | servieceShow: false, |
| | | ablePrintInduction: false, //入门证是否显示 |
| | | ablePrintOut: false, //出门证是否显示 |
| | | enterLoading: false, //入门按钮loading |
| | |
| | | } |
| | | }) |
| | | }, |
| | | // 获取提煤单详情 |
| | | // 获取收发单详情 |
| | | getTakeCoal() { |
| | | uni.showLoading({ |
| | | title: '加载中' |
| | |
| | | this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => { |
| | | if (res.code == 0) { |
| | | uni.hideLoading(); |
| | | console.log(res, '提煤单详情'); |
| | | console.log(res, '收发单详情'); |
| | | this.coalDetailsData = res.data; |
| | | this.orderType = this.coalDetailsData.orderType; |
| | | // |
| | |
| | | // 获取客服openId参数赋值 |
| | | this.getServiceOpenid.deptId = this.coalDetailsData.deptId; |
| | | this.getServiceOpenid.filedId = this.coalDetailsData.filedId; |
| | | // 获取提煤单状态 |
| | | // 获取收发单状态 |
| | | this.currentPageCoalStatus = this.coalDetailsData.status; |
| | | // 获取原发信息 |
| | | this.primarySkin = this.coalDetailsData.skinTwo; |
| | |
| | | }); |
| | | }, 5000); |
| | | }, |
| | | // 展示提煤单详情 |
| | | // 展示收发单详情 |
| | | showCaolPickUpBill() { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/coal-pick-up-bill/coal-pick-up-bill?orderPlanId=${this.orderPlanId}` |
| | |
| | | .sub-table{ |
| | | width: 690rpx; |
| | | min-height: 300rpx; |
| | | margin: vww(20) vww(15) vww(13); |
| | | margin: vww(40) vww(15) vww(13); |
| | | background: #ffffff; |
| | | box-shadow: 0rpx 0rpx 14rpx 0rpx rgba(73, 120, 240, 0.14), 0rpx 7rpx 45rpx 0rpx rgba(73, 120, 240, 0.12); |
| | | border-radius: 20rpx; |
| | |
| | | align-items: flex-start; |
| | | /deep/ .uni-table{ |
| | | min-width: 0!important; |
| | | } |
| | | |
| | | |
| | | } |
| | | .uni-table::-webkit-scrollbar { |
| | | display: none; |
| | | } |
| | | } |
| | | |
| | | .origin-info { |
| | | width: 690rpx; |