| | |
| | | </view> |
| | | <!-- 引导页 --> |
| | | <noob-tour></noob-tour> |
| | | <!-- 自主配送界面 --> |
| | | <view class="self-deliver"> |
| | | <view class="self-deliver_text"> |
| | | 创建自主配送单 |
| | | </view> |
| | | <view class="self-deliver_btn"> |
| | | <u-button text="去创建" |
| | | type="primary" |
| | | shape="cirle" |
| | | @click="selfDeliver"></u-button> |
| | | </view> |
| | | </view> |
| | | <view class="collection-form"> |
| | | <view class="collection-form-item" |
| | | v-for="(item, index) in driverBillOfLoadingData.list1" |
| | |
| | | @confirm="qiangDanConfirm" |
| | | @cancel="qiangDanCancel"></u-modal> |
| | | </view> |
| | | |
| | | <!-- 待预约提煤单 --> |
| | | <view class="wait-appointment"> |
| | | <combined-title title="待预约提煤单"></combined-title> |
| | |
| | | }, |
| | | // 去预约 |
| | | toAppointmentClick(value) { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/appointment/appointment?takeCoalId=${value.id}&filedId=${value.filedId}&deptId=${value.deptId}&sendDate=${value.sendDate}` |
| | | }); |
| | | // 由于自主配送单 是外购单 但是不需要填写原发为1不需要填写原发 |
| | | uni.setStorageSync('isNeedOrigin', value.orderType === '外购' && value.isSpecial === 1 ? 1 : 0) |
| | | if (value.orderType === '外购') { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/originInfo/originInfo?orderPlanId=${value.id}&filedId=${value.filedId}&deptId=${value.deptId}&sendDate=${value.sendDate}&isSpecial=${value.isSpecial}` |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/appointment/appointment?takeCoalId=${value.id}&filedId=${value.filedId}&deptId=${value.deptId}&sendDate=${value.sendDate}` |
| | | }); |
| | | } |
| | | }, |
| | | // 自主配送 |
| | | selfDeliver() { |
| | | uni.navigateTo({ |
| | | url: '/pages/driver-page/driver-index/SelfDelivery/SelfDelivery' |
| | | }) |
| | | } |
| | | } |
| | | }; |
| | | </script> |
| | |
| | | height: 600rpx; |
| | | } |
| | | |
| | | // 自主配送 |
| | | .self-deliver { |
| | | position: relative; |
| | | top: vww(-120); |
| | | width: 88%; |
| | | height: vww(50); |
| | | margin: vww(8) auto; |
| | | padding: 0 vww(8); |
| | | 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; |
| | | @include flex; |
| | | } |
| | | |
| | | .collection-form { |
| | | width: vww(345); |
| | | margin: 0 vww(15); |