| | |
| | | <!-- 引导页 --> |
| | | <noob-tour></noob-tour> |
| | | <!-- 自主配送界面 --> |
| | | <view class="self-deliver"> |
| | | <!-- <view class="self-deliver"> |
| | | <view class="self-deliver_text"> |
| | | 创建自主配送单 |
| | | </view> |
| | |
| | | shape="cirle" |
| | | @click="selfDeliver"></u-button> |
| | | </view> |
| | | </view> |
| | | </view> --> |
| | | <view class="collection-form"> |
| | | <view class="collection-form-item" |
| | | v-for="(item, index) in driverBillOfLoadingData.list1" |
| | |
| | | </view> |
| | | <view class="fifth-line"> |
| | | <view class="button-img" |
| | | v-if="item.isDanger === 1" |
| | | v-if="item.isDanger === 1 && !item.idCardEscort" |
| | | @click.stop="cancelCerifCate(item)"> |
| | | 道路运输证 |
| | | </view> |
| | |
| | | .then(res => { |
| | | if (res.code == 0) { |
| | | this.$u.toast('添加成功'); |
| | | this.qiangDanList(); |
| | | this.show=false |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '添加失败'); |
| | |
| | | }, |
| | | list3CardIconClick(value) { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${value.id}&yyId=${value.yyId}&orderType=${value.orderType}` |
| | | url: `/subPages/bill-of-lading-details/bill-of-lading-details?orderPlanId=${value.id}&yyId=${value.yyId}&orderType=${value.orderType}` |
| | | }); |
| | | }, |
| | | // 收发单详情 |
| | | cardBodyClick(name) { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/bill-of-lading-details?orderPlanId=${name}` |
| | | url: `/subPages/bill-of-lading-details/bill-of-lading-details?orderPlanId=${name}` |
| | | }); |
| | | }, |
| | | // 请求退单 |
| | |
| | | uni.setStorageSync('isNeedOrigin', value.orderType === '外购' && value.isSpecial === 1 ? 1 : 0); |
| | | //判断是不是集装箱 是否需要输入 |
| | | this.activeObj = value; |
| | | console.log(value,'123') |
| | | if(value.isDanger === 1){ |
| | | if(!value.idCardEscort){ |
| | | this.$u.toast('请选择道路运输证司机!'); |
| | | this.cancelCerifCate(value); |
| | | return |
| | | } |
| | | } |
| | | if(value.isContainerNum){ |
| | | this.enterCode = true; |
| | | }else{ |
| | | this.enterCode = false; |
| | | 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}&isWeight=${value.isWeight}` |
| | | url: `/subPages/bill-of-lading-details/originInfo/originInfo?orderPlanId=${value.id}&filedId=${value.filedId}&deptId=${value.deptId}&sendDate=${value.sendDate}&isSpecial=${value.isSpecial}&isWeight=${value.isWeight}` |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |
| | |
| | | }).finally(() => { |
| | | if (this.activeObj.orderType === '外购') { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/originInfo/originInfo?orderPlanId=${this.activeObj.id}&filedId=${this.activeObj.filedId}&deptId=${this.activeObj.deptId}&sendDate=${this.activeObj.sendDate}&isSpecial=${this.activeObj.isSpecial}&isWeight=${this.activeObj.isWeight}` |
| | | url: `/subPages/bill-of-lading-details/originInfo/originInfo?orderPlanId=${this.activeObj.id}&filedId=${this.activeObj.filedId}&deptId=${this.activeObj.deptId}&sendDate=${this.activeObj.sendDate}&isSpecial=${this.activeObj.isSpecial}&isWeight=${this.activeObj.isWeight}` |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |
| | |
| | | this.enterCodeStr = ''; |
| | | if (this.activeObj.orderType === '外购') { |
| | | uni.navigateTo({ |
| | | url: `/pages/driver-page/driver-index/bill-of-lading-details/originInfo/originInfo?orderPlanId=${this.activeObj.id}&filedId=${this.activeObj.filedId}&deptId=${this.activeObj.deptId}&sendDate=${this.activeObj.sendDate}&isSpecial=${this.activeObj.isSpecial}&isWeight=${this.activeObj.isWeight}` |
| | | url: `/subPages/bill-of-lading-details/originInfo/originInfo?orderPlanId=${this.activeObj.id}&filedId=${this.activeObj.filedId}&deptId=${this.activeObj.deptId}&sendDate=${this.activeObj.sendDate}&isSpecial=${this.activeObj.isSpecial}&isWeight=${this.activeObj.isWeight}` |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |