Commit d0c6e011 authored by Smile's avatar Smile Committed by wux

bug312 APP/WEB控货订单下载提单添加限制条件

parent ce028df4
......@@ -316,7 +316,7 @@
<image src="../../static/img/see.png"></image>
<text>{{$lang.lang.orderInfo.seeLevite}}</text>
</view>
<view v-if="orderData.status>=3&&orderData.ladingState" class="see_item" @click="seeBillLading">
<view v-if="orderShowLadingStateStatus&&orderData.status>=3&&orderData.ladingState" class="see_item" @click="seeBillLading">
<image src="../../static/img/see.png"></image>
<text>{{$lang.lang.orderInfo.seeBall}}</text>
</view>
......@@ -394,6 +394,7 @@
},
data() {
return {
orderShowLadingStateStatus:false,
orderData:[],
config: {
transport:[],
......@@ -473,7 +474,15 @@
//#endif
},
},
methods: {
methods: {
getOrderShowLadingStateStatus(id){
let that = this
this.$request.get('/app-api/my/order/getOrderShowLadingStateStatus/'+id).then(res => {
if (res.code==0){
that.orderShowLadingStateStatus=res.data;
}
})
},
// 关闭在浏览器打开提示
closeBg(){
this.$refs.bg.close()
......@@ -505,6 +514,11 @@
that.$request.get('/app-api/my/order/info/'+id).then(res => {
if(res.code==0&&res.data){
that.orderData = res.data
if (that.orderData.isCargoControl){
that.getOrderShowLadingStateStatus(that.orderData.orderId);
}else {
that.orderShowLadingStateStatus=true;
}
if(res.data.orderItemVOList&&res.data.orderItemVOList.length>0&&res.data.orderItemVOList.length<5){
that.tdWidth = that.widowsWidth/res.data.orderItemVOList.length
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment