| | |
| | | </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" |
| | |
| | | <view class="fourth-line" |
| | | @click="qiangDanBtn(item)" |
| | | v-if="item.carNum - item.taskNum !== 0"> |
| | | <view class="button-img">立即接单</view> |
| | | <!-- <view class="button-img">立即接单</view> --> |
| | | <u-button type="primary" |
| | | class="button-img">立即接单</u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | |
| | | @confirm="qiangDanConfirm" |
| | | @cancel="qiangDanCancel"></u-modal> |
| | | </view> |
| | | |
| | | <!-- 待预约提煤单 --> |
| | | <view class="wait-appointment"> |
| | | <combined-title title="待预约提煤单"></combined-title> |
| | |
| | | .then(() => { |
| | | setTimeout(() => { |
| | | this.qiangDanList(); |
| | | }, 1000); |
| | | }, 1500); |
| | | }).catch(e => { |
| | | uni.hideLoading() |
| | | }) |
| | |
| | | }, |
| | | // 去预约 |
| | | 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> |
| | |
| | | .button-img { |
| | | width: vww(122); |
| | | height: vww(41); |
| | | |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/button.png') no-repeat; |
| | | background-size: cover; |
| | | font-size: 28rpx; |
| | |
| | | line-height: vww(40); |
| | | |
| | | } |
| | | } |
| | | |
| | | /deep/.u-button { |
| | | width: 100%; |
| | | height: 28px !important; |
| | | line-height: 40px; |
| | | padding: 0 12px; |
| | | font-size: 28rpx; |
| | | font-weight: 300; |
| | | color: #ffffff; |
| | | background: #497bfb !important; |
| | | letter-spacing: 4rpx; |
| | | border-radius: 37rpx 37rpx 37rpx 37rpx !important; |
| | | box-shadow: 2rpx 3rpx 13rpx 0rpx rgba(43, 98, 239, 0.5), 0rpx 0rpx 9rpx 0rpx rgba(247, 250, 253, 0.29); |
| | | } |
| | | |
| | | .exceedHide { |
| | |
| | | .wait-collection { |
| | | width: 100%; |
| | | 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 { |
| | |
| | | } |
| | | } |
| | | |
| | | // 待预约 |
| | | .fourth-line { |
| | | width: 30%; |
| | | height: vww(68); |
| | | margin-left: vww(15); |
| | | margin-top: vww(5); |
| | | display: flex; |
| | | justify-content: flex-end; |
| | | position: relative; |
| | | left: vww(203); |
| | | bottom: vww(3); |
| | | |
| | | .button-img { |
| | | width: 100%; |
| | | height: 100%; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/button.png') no-repeat; |
| | | background-size: cover; |
| | | font-size: 28rpx; |
| | | font-weight: 300; |
| | | color: #ffffff; |
| | | text-align: center; |
| | | line-height: vww(33); |
| | | } |
| | | } |
| | | } |
| | | } |