<view v-if="item.orderSource == 'WECHAT' && item.orderStep=='WAITING_RECEIVE' && item.shippingStatus=='WAIT_RECEIVING'" | <view v-if="item.orderSource == 'WECHAT' && item.orderStep=='WAITING_RECEIVE' && item.shippingStatus=='WAIT_RECEIVING'" | ||||
class="btn btn-primary" @click.stop="gotoConfirmReceipt(item)">确认收货</view> | class="btn btn-primary" @click.stop="gotoConfirmReceipt(item)">确认收货</view> | ||||
<view v-if="item.orderSource == 'WECHAT' && (item.orderStep=='WAITING_AUDIT' || item.orderStep=='WAITING_SEND') && item.shippingStatus=='WAIT_SHIPPING'" class="btn btn-primary" @click.stop="gotoEditAddressNew(item)">修改地址</view> | <view v-if="item.orderSource == 'WECHAT' && (item.orderStep=='WAITING_AUDIT' || item.orderStep=='WAITING_SEND') && item.shippingStatus=='WAIT_SHIPPING'" class="btn btn-primary" @click.stop="gotoEditAddressNew(item)">修改地址</view> | ||||
<view v-if="item.orderSource == 'WECHAT' && item.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(item)">去评价产品</view> | |||||
<!--评价暂不上线 | |||||
<view v-if="item.orderSource == 'WECHAT' && item.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(item)">去评价产品</view>--> | |||||
<view v-if="item.orderStep=='ORDER_PAID'" class="btn btn-primary" @click.stop="gotoOrderSign(item)">签约 | <view v-if="item.orderStep=='ORDER_PAID'" class="btn btn-primary" @click.stop="gotoOrderSign(item)">签约 | ||||
</view> | </view> | ||||
<view | <view |
<text class="label">车辆所有人电话</text> | <text class="label">车辆所有人电话</text> | ||||
<text class="value">{{ vehicleInfo.ownerTel }}</text> | <text class="value">{{ vehicleInfo.ownerTel }}</text> | ||||
</view> | </view> | ||||
<view class="info-item"> | |||||
<!-- <view class="info-item"> | |||||
<text class="label">车辆号码</text> | <text class="label">车辆号码</text> | ||||
<text class="value">{{ vehicleInfo.vehicleId }}</text> | <text class="value">{{ vehicleInfo.vehicleId }}</text> | ||||
</view> | |||||
</view> --> | |||||
<view class="info-item"> | <view class="info-item"> | ||||
<text class="label">行驶证车辆类型</text> | <text class="label">行驶证车辆类型</text> | ||||
<text class="value">{{ vehicleInfo.vehicleType }}</text> | <text class="value">{{ vehicleInfo.vehicleType }}</text> | ||||
.label { | .label { | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
color: #666; | color: #666; | ||||
flex: 1; | |||||
// flex: 0; | |||||
} | } | ||||
.value { | .value { | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
color: #333; | color: #333; | ||||
flex: 2; | |||||
// flex: 1; | |||||
text-align: right; | text-align: right; | ||||
} | } | ||||
} | } |
:style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png`}"></image> | :style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png`}"></image> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="picture-wrapper" @click="cardFileImageUpdate(10)"> | |||||
<view class="picture-wrapper" v-if="state.userType == 'PERSONAL_USER'" @click="cardFileImageUpdate(10)"> | |||||
<view class="bg"> | <view class="bg"> | ||||
<view class=""> | <view class=""> | ||||
<view class="name"> 委托书 </view> | <view class="name"> 委托书 </view> | ||||
:style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png)`}"></image> | :style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png)`}"></image> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="picture-wrapper" v-if="state.userType == 'PERSONAL_USER'" @click="cardFileImageUpdate(10)"> | |||||
<view class="bg"> | |||||
<view class=""> | |||||
<view class="name"> 委托书 </view> | |||||
<view class="value"> 上传文字清晰的委托书 </view> | |||||
<view class="tip"> | |||||
<view class="tip-value"> 拍摄规范 </view> | |||||
</view> | |||||
</view> | |||||
<image v-if="!state.form.proxyUrl" class="icon" :src="`${$imgUrl}issuance/weituo.png`" | |||||
:style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png`}"> | |||||
</image> | |||||
<image v-else class="icon" :src="imgPathMontage(state.form.proxyUrlName)" | |||||
:style="{'--bgimg':`url(${$imgUrl}issuance/bg-border.png`}"></image> | |||||
</view> | |||||
</view> | |||||
</view> | </view> | ||||
<view class="shibie-wrapper"> | <view class="shibie-wrapper"> | ||||
<view class="title"> 识别内容如下 </view> | <view class="title"> 识别内容如下 </view> | ||||
if (resIn.flag == 1) { | if (resIn.flag == 1) { | ||||
// 车辆信息与用户信息不符,上传车主信息 | // 车辆信息与用户信息不符,上传车主信息 | ||||
state.showOwner = true; | state.showOwner = true; | ||||
state.userType = resIn.userType; | |||||
state.form.ownerIdType = "101"; | state.form.ownerIdType = "101"; | ||||
} else if (resIn.flag == 2) { | } else if (resIn.flag == 2) { | ||||
if (resIn.approvalStatus == 2) { | if (resIn.approvalStatus == 2) { | ||||
showImg: true, | showImg: true, | ||||
images: '', | images: '', | ||||
showOwner: false, | showOwner: false, | ||||
userType: null, | |||||
data: { | data: { | ||||
transferLogs: [], | transferLogs: [], | ||||
}, | }, |
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.orderStep=='WAITING_RECEIVE' && state.orderInfo.shippingStatus=='WAIT_RECEIVING'" | <view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.orderStep=='WAITING_RECEIVE' && state.orderInfo.shippingStatus=='WAIT_RECEIVING'" | ||||
class="btn btn-primary" @click.stop="gotoConfirmReceipt(state.orderInfo)">确认收货</view> | class="btn btn-primary" @click.stop="gotoConfirmReceipt(state.orderInfo)">确认收货</view> | ||||
<view v-if="state.orderInfo.orderSource == 'WECHAT' && (state.orderInfo.orderStep=='WAITING_AUDIT' || state.orderInfo.orderStep=='WAITING_SEND') && state.orderInfo.shippingStatus=='WAIT_SHIPPING'" class="btn btn-primary" @click.stop="gotoEditAddressNew(state.orderInfo)">修改地址</view> | <view v-if="state.orderInfo.orderSource == 'WECHAT' && (state.orderInfo.orderStep=='WAITING_AUDIT' || state.orderInfo.orderStep=='WAITING_SEND') && state.orderInfo.shippingStatus=='WAIT_SHIPPING'" class="btn btn-primary" @click.stop="gotoEditAddressNew(state.orderInfo)">修改地址</view> | ||||
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(state.orderInfo)">去评价产品</view> | |||||
<!--//评价暂不上线 | |||||
<view v-if="state.orderInfo.orderSource == 'WECHAT' && state.orderInfo.canEvaluate== true" class="btn btn-primary" @click.stop="gotoEvaluateProduct(state.orderInfo)">去评价产品</view>--> | |||||
<view v-if="state.orderInfo.orderStep=='ORDER_PAID'" class="btn btn-primary" @click.stop="gotoOrderSign(state.orderInfo)">签约 | <view v-if="state.orderInfo.orderStep=='ORDER_PAID'" class="btn btn-primary" @click.stop="gotoOrderSign(state.orderInfo)">签约 | ||||
</view> | </view> | ||||
<view | <view |
// const params = encodeURIComponent(JSON.stringify(res.qdSignUrl)) | // const params = encodeURIComponent(JSON.stringify(res.qdSignUrl)) | ||||
// tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | // tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | ||||
// } | // } | ||||
}else{ | |||||
uni.showModal({ | |||||
content: "订单待审核,可在ETC订单查看", | |||||
showCancel: false, | |||||
confirmText: "我知道了", | |||||
success() { | |||||
uni.redirectTo({ | |||||
url: `/pages/order/order` | |||||
}); | |||||
} | |||||
}); | |||||
} | } | ||||
}); | }); | ||||
import { | import { | ||||
msg, navTo | msg, navTo | ||||
} from "@/utils/utils"; | } from "@/utils/utils"; | ||||
let signFlag = "NO";//触发按钮标识 | |||||
const savaHandle = () => { | const savaHandle = () => { | ||||
console.log("state.productId.length", state.productId.length, "111", state.typeScanCode) | console.log("state.productId.length", state.productId.length, "111", state.typeScanCode) | ||||
}); | }); | ||||
// 查协议 | // 查协议 | ||||
const queryAgreement = () => { | const queryAgreement = () => { | ||||
if(signFlag === "NO") return; | |||||
const options = { | const options = { | ||||
type: 2, | type: 2, | ||||
data: { | data: { | ||||
} else { | } else { | ||||
state.isSign = false | state.isSign = false | ||||
} | } | ||||
signFlag = "YES" | |||||
console.log("查询是否签署协议", res) | console.log("查询是否签署协议", res) | ||||
let data = res; | let data = res; |
const params = encodeURIComponent(JSON.stringify(res.qdSignUrl)) | const params = encodeURIComponent(JSON.stringify(res.qdSignUrl)) | ||||
tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | tools.toUrl(`/subpackage/personal-center/webview?url=` + params); | ||||
} | } | ||||
}else{ | |||||
uni.showModal({ | |||||
content: "订单待审核,可在ETC订单查看", | |||||
showCancel: false, | |||||
confirmText: "我知道了", | |||||
success() { | |||||
uni.redirectTo({ | |||||
url: `/pages/order/order` | |||||
}); | |||||
} | |||||
}); | |||||
} | } | ||||
}); | }); | ||||
} | } |