| | |
| | | </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)"> |
| | |
| | | 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} |
| | | }) |
| | |
| | | }, |
| | | 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%; |