| | |
| | | <view class="sign">装</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' ">{{ item.deptName|| '' }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' ">{{ item.deptName|| '' }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' ">{{ item.customerId?item.customerName:item.customerNameCopy|| '' }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.customerId?item.customerName:item.customerNameCopy|| '' }}</text> |
| | | <text v-else-if="item.orderType == '转出'|| item.orderType == '转入'">{{item.filedName}} |
| | | |
| | | </text> |
| | |
| | | <view class="main-information"> |
| | | <view class="sign">卸</view> |
| | | <view class="filedname exceedHide"> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销' "> |
| | | <text v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' "> |
| | | {{ item.customerNameCopy ? item.customerNameCopy : item.customerName|| '' }} |
| | | </text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' ">{{ item.deptName|| '' }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.deptName|| '' }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '转出'|| item.orderType == '转入'">{{item.toFiledName}} |
| | | |
| | |
| | | <view class="sign">装</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' ">{{ item.deptName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' ">{{ item.deptName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' ">{{ item.customerName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.customerName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '转出'|| item.orderType == '转入'">{{item.filedName}} |
| | | </text> |
| | |
| | | <view class="sign">卸</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' ">{{ item.customerName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' ">{{ item.customerName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' ">{{ item.deptName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.deptName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '转出'|| item.orderType == '转入'">{{item.toFiledName}}</text> |
| | | </view> |
| | |
| | | </view> |
| | | <view class="fifth-line"> |
| | | <view class="button-img" |
| | | v-if="item.isDanger === 1" |
| | | @click.stop="cancelCerifCate(item)"> |
| | | 添加押运员 |
| | | 道路运输证 |
| | | </view> |
| | | <view class="button-img" |
| | | @click.stop="cancelAppoint(item)"> |
| | |
| | | <view class="sign">装</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' ">{{ item.deptName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' ">{{ item.deptName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购' ">{{ item.customerName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.customerName }}</text> |
| | | <text v-else-if="item.orderType == '转出'||item.orderType == '转入'"> |
| | | {{item.filedName}} |
| | | |
| | |
| | | <view class="sign">卸</view> |
| | | <view class="filedname exceedHide"> |
| | | <text |
| | | v-if="item.orderType == '外销' || item.orderType == '内销' ">{{ item.customerName }}</text> |
| | | v-if="item.orderType == '外销' || item.orderType == '内销'||item.orderType == '外销退' ">{{ item.customerName }}</text> |
| | | <text |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'">{{ item.deptName }}</text> |
| | | v-else-if="item.orderType == '外购' || item.orderType == '内购'||item.orderType == '外购退' ">{{ item.deptName }}</text> |
| | | <text v-else-if="item.orderType == '转出'||item.orderType == '转入'"> |
| | | {{item.toFiledName}} |
| | | |
| | |
| | | v-if="item.isDanger === 1"> |
| | | <view class="button-img" |
| | | @click.stop="cancelCerifCate(item)"> |
| | | 添加押运员 押运员 |
| | | 道路运输证 |
| | | </view> |
| | | <view class="button-img" |
| | | @click.stop="cancelAppoint(item)"> |
| | |
| | | mode="center" |
| | | round="10"> |
| | | <view class="receiverPopup"> |
| | | <uni-table border |
| | | stripe |
| | | type="selection" |
| | | @selection-change="selectionChange" |
| | | emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th align="center">押运员</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in inspectData" |
| | | :key="item.id"> |
| | | <uni-td align="center">{{ item.name.split("|")[0] }}</uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | <view class="image"> |
| | | <u--image |
| | | :src="previewImageSrc != null ? BaseUrl + previewImageSrc : ''" |
| | | width="80px" |
| | | height="80px" |
| | | > |
| | | <view slot="error" |
| | | style="font-size: 24rpx;">加载失败</view> |
| | | </u--image> |
| | | </view> |
| | | <view class="tables"> |
| | | <uni-table border |
| | | stripe |
| | | type="selection" |
| | | @selection-change="selectionChange" |
| | | emptyText="暂无更多数据"> |
| | | <uni-tr> |
| | | <uni-th align="center">押运员</uni-th> |
| | | <uni-th align="center">身份证号</uni-th> |
| | | <uni-th align="center">手机号</uni-th> |
| | | </uni-tr> |
| | | <uni-tr v-for="(item, index) in inspectData" |
| | | :key="item.id"> |
| | | <uni-td align="center">{{ item.name.split("|")[0] }}</uni-td> |
| | | <uni-td align="center">{{ item.name.split("|")[1] }}</uni-td> |
| | | <uni-td align="center">{{ item.name.split("|")[2] }}</uni-td> |
| | | </uni-tr> |
| | | </uni-table> |
| | | </view> |
| | | |
| | | <view class="receiverPopup__btn"><u-button text="确定" |
| | | type="primary" |
| | | @click="popClick" |
| | |
| | | data() { |
| | | return { |
| | | show: false, |
| | | BaseUrl, |
| | | yaList:[], |
| | | inspectData:[], |
| | | activeObj:{}, |
| | |
| | | customerId: '', |
| | | xsUserId: '', |
| | | filedId: '', |
| | | previewImageSrc:"", |
| | | }; |
| | | }, |
| | | onShow() { |
| | |
| | | uni.hideLoading() |
| | | if (res.code == 0) { |
| | | this.$u.toast('接单成功'); |
| | | this.enterCode = true; |
| | | //判断是不是集装箱 是否需要输入 |
| | | if(this.activeObj.isContainerNum){ |
| | | this.enterCode = true; |
| | | }else{ |
| | | this.enterCode = false; |
| | | } |
| | | |
| | | } else { |
| | | this.$u.toast(res.msg ? res.msg : '接单失败'); |
| | | } |
| | |
| | | this.$reqGet('getMyEscortList', { customerId: value.customerId }).then(res => { |
| | | this.inspectData=[] |
| | | if (res.code == 0) { |
| | | this.previewImageSrc=res.data.certificateImg |
| | | this.inspectData=res.data.persons.map(item=>{ |
| | | return {name:item,roadTransportId:res.data.id,Id: value.id} |
| | | }) |
| | |
| | | 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}` |
| | | 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}` |
| | | }); |
| | | } else { |
| | | uni.navigateTo({ |
| | |
| | | }, |
| | | cancelCodeEnter(){ |
| | | this.activeObj.containerNumber = this.enterCodeStr; |
| | | this.$reqPut('tmtaskCoalPut',this.activeObj).then(res=>{ |
| | | this.$reqPut('addContainer',{ |
| | | id:this.activeObj.tmId, |
| | | containerNumber:this.activeObj.containerNumber |
| | | }).then(res=>{ |
| | | this.$u.toast('操作成功'); |
| | | this.enterCodeStr = ''; |
| | | this.enterCode = false; |
| | |
| | | } |
| | | } |
| | | .receiverPopup { |
| | | height: vww(110); |
| | | width: 300rpx; |
| | | |
| | | height: vww(220); |
| | | width: 700rpx; |
| | | .image{ |
| | | width: 100%; |
| | | height: vww(110); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | } |
| | | .tables{ |
| | | width: 100%; |
| | | } |
| | | .receiverPopup__title { |
| | | margin: vww(10) auto 0; |
| | | width: 80%; |