|
@@ -156,7 +156,7 @@
|
|
<view class='row-between'>
|
|
<view class='row-between'>
|
|
<view class=" gray">装车照片</view>
|
|
<view class=" gray">装车照片</view>
|
|
<view class="flex">
|
|
<view class="flex">
|
|
- <u--image :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in zcPhoneList"></u--image>
|
|
|
|
|
|
+ <u--image @click='ylImg(zcPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in zcPhoneList"></u--image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="运输中"&&dataObj.orderStatus!="已终止"'>
|
|
<view v-if='dataObj.orderStatus!="待货主确认"&&dataObj.orderStatus!="未装车"&&dataObj.orderStatus!="待货主确认装车"&&dataObj.orderStatus!="货主驳回装车信息"&&dataObj.orderStatus!="待平台确认装车"&&dataObj.orderStatus!="平台驳回装车信息"&&dataObj.orderStatus!="运输中"&&dataObj.orderStatus!="已终止"'>
|
|
@@ -171,7 +171,13 @@
|
|
<view class='row-between'>
|
|
<view class='row-between'>
|
|
<view class=" gray">卸车照片</view>
|
|
<view class=" gray">卸车照片</view>
|
|
<view class="flex">
|
|
<view class="flex">
|
|
- <u--image :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in xcPhoneList"></u--image>
|
|
|
|
|
|
+ <u--image @click='ylImg(xcPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in xcPhoneList"></u--image>
|
|
|
|
+ </view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class='row-between'>
|
|
|
|
+ <view class=" gray">回单照片</view>
|
|
|
|
+ <view class="flex">
|
|
|
|
+ <u--image @click='ylImg(hdPhoneList)' :showLoading="true" :src='item' width="40px" height="40px" v-for="(item,index) in hdPhoneList"></u--image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -210,7 +216,10 @@
|
|
</u-modal>
|
|
</u-modal>
|
|
<u-popup :show="show" mode="bottom" @close="close" @open="open">
|
|
<u-popup :show="show" mode="bottom" @close="close" @open="open">
|
|
<view class="">
|
|
<view class="">
|
|
- <view ><u-icon @click="closepopup" class='close' name="close" size="20"></u-icon></view>
|
|
|
|
|
|
+ <view>
|
|
|
|
+ <image style='width:12px;height:12px;' @click='closepopup' class='close' src="../../static/images/order/guanbi@3x.png" mode=""></image>
|
|
|
|
+ <!-- <u-icon @click="closepopup" class='close' name="close" size="20"></u-icon> -->
|
|
|
|
+ </view>
|
|
|
|
|
|
<view style='fon-size:34rpx;margin-bottom:20px;text-align:center;font-weight: 600;'>确认终止订单</view>
|
|
<view style='fon-size:34rpx;margin-bottom:20px;text-align:center;font-weight: 600;'>确认终止订单</view>
|
|
<view style="margin: 0 auto;">
|
|
<view style="margin: 0 auto;">
|
|
@@ -243,6 +252,7 @@
|
|
return {
|
|
return {
|
|
zcPhoneList:[],
|
|
zcPhoneList:[],
|
|
xcPhoneList:[],
|
|
xcPhoneList:[],
|
|
|
|
+ hdPhoneList:[],
|
|
show:false,
|
|
show:false,
|
|
carrierInfo:{},
|
|
carrierInfo:{},
|
|
freightInfo:{},
|
|
freightInfo:{},
|
|
@@ -284,6 +294,23 @@
|
|
this.getList()
|
|
this.getList()
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ ylImg(src) {
|
|
|
|
+ uni.previewImage({
|
|
|
|
+ urls: src,
|
|
|
|
+ longPressActions: {
|
|
|
|
+ itemList: ['发送给朋友', '保存图片', '收藏'],
|
|
|
|
+ success: function(data) {
|
|
|
|
+ console.log('选中了第' + (data.tapIndex + 1) + '个按钮,第' + (data.index + 1) + '张图片');
|
|
|
|
+ },
|
|
|
|
+ fail: function(err) {
|
|
|
|
+ console.log(err.errMsg);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+ },
|
|
|
|
+ closepopup(){
|
|
|
|
+ this.show=false
|
|
|
|
+ },
|
|
lookContract(){
|
|
lookContract(){
|
|
uni.downloadFile({
|
|
uni.downloadFile({
|
|
url: this.dataObj.driverContractUrl,
|
|
url: this.dataObj.driverContractUrl,
|
|
@@ -450,7 +477,12 @@
|
|
if(this.carrierInfo.loadingImg&&this.carrierInfo.loadingImg.length>0){
|
|
if(this.carrierInfo.loadingImg&&this.carrierInfo.loadingImg.length>0){
|
|
this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
|
|
this.zcPhoneList = this.carrierInfo.loadingImg.split(',')
|
|
}
|
|
}
|
|
-
|
|
|
|
|
|
+ if(this.carrierInfo.unloadingImg&&this.carrierInfo.unloadingImg.length>0){
|
|
|
|
+ this.xcPhoneList = this.carrierInfo.unloadingImg.split(',')
|
|
|
|
+ }
|
|
|
|
+ if(this.carrierInfo.receiptImg&&this.carrierInfo.receiptImg.length>0){
|
|
|
|
+ this.hdPhoneList = this.carrierInfo.receiptImg.split(',')
|
|
|
|
+ }
|
|
// if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
|
|
// if(res.data.orderStatus!="待货主确认"&&res.data.orderStatus!="未装车"&&res.data.orderStatus!="已终止"){
|
|
// this.status1 = true
|
|
// this.status1 = true
|
|
// }
|
|
// }
|
|
@@ -668,6 +700,7 @@
|
|
.close{
|
|
.close{
|
|
position:absolute;
|
|
position:absolute;
|
|
right:20px;
|
|
right:20px;
|
|
|
|
+ top:26px;
|
|
}
|
|
}
|
|
.termination{
|
|
.termination{
|
|
background:#F1F3F6;
|
|
background:#F1F3F6;
|