| | |
| | | <view class="driver-index-body"> |
| | | <!-- 待领取收发单 --> |
| | | <view class="wait-collection" |
| | | style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/diverbanner.png') no-repeat;background-size:contain"> |
| | | style="background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/diverbanner.png') no-repeat;background-size:contain"> |
| | | </view> |
| | | <!-- 引导页 --> |
| | | <noob-tour></noob-tour> |
| | |
| | | </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> |
| | |
| | | import { customerId } from '@/utils/status'; |
| | | import combinedTitle from '@/components/combined-title/combined-title.vue'; |
| | | import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue'; |
| | | import noobTour from '@/components/noobTour/noobTour.vue' |
| | | import { mapState } from 'vuex' |
| | | import { BaseUrl } from '@/api/publicInterface.js' |
| | | export default { |
| | | components: { |
| | | combinedTitle, |
| | | previewImage, |
| | | noobTour |
| | | |
| | | }, |
| | | props: { |
| | | indexdriverBillOfLoadingData: { |
| | |
| | | .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({ |
| | |
| | | align-items: center; |
| | | |
| | | .send-date { |
| | | width: 148rpx; |
| | | min-width: 170rpx; |
| | | height: 24rpx; |
| | | line-height: 24rpx; |
| | | font-size: 28rpx; |
| | |
| | | } |
| | | |
| | | .havedclock { |
| | | width: 58% !important; |
| | | width: 70% !important; |
| | | margin-right: 0 !important; |
| | | |
| | | .send-date { |
| | |
| | | .button-img { |
| | | width: vww(122); |
| | | height: vww(41); |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/button.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/button.png') no-repeat; |
| | | background-size: cover; |
| | | font-size: 28rpx; |
| | | font-weight: 300; |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/blueblock.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/blueblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/redblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | align-items: center; |
| | | |
| | | .send-date { |
| | | width: 148rpx; |
| | | min-width: 146rpx; |
| | | height: 24rpx; |
| | | margin-left: vww(14); |
| | | margin-right: vww(56); |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/blueblock.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/blueblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/redblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | height: vww(28); |
| | | line-height: vww(28); |
| | | text-align: center; |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/redblock.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/redblock.png') no-repeat; |
| | | background-size: contain; |
| | | font-size: 30rpx; |
| | | font-weight: 400; |
| | |
| | | .button-img { |
| | | width: vww(122); |
| | | height: vww(41); |
| | | background: url('https://mx.jzeg.cn:9096/appimg/image/banner/button.png') no-repeat; |
| | | background: url('https://wrzs.czjlchem.com:9090/appimg/image/banner/button.png') no-repeat; |
| | | background-size: cover; |
| | | font-size: 28rpx; |
| | | font-weight: 300; |