Commit c0774db6 authored by zhanglw's avatar zhanglw

订单到达校验

parent 75885e68
...@@ -136,7 +136,9 @@ export default { ...@@ -136,7 +136,9 @@ export default {
if(res.code===200){ if(res.code===200){
if(res.data>0){ if(res.data>0){
this.navStu = 0; this.navStu = 0;
if (this.$parent.carclass != "铲车") {
this.audioPlayByUrl(ddcd); this.audioPlayByUrl(ddcd);
}
this.queryOrder(); this.queryOrder();
}else{ }else{
this.$notify({ this.$notify({
...@@ -145,8 +147,10 @@ export default { ...@@ -145,8 +147,10 @@ export default {
duration: 5000, duration: 5000,
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
}); });
if (this.$parent.carclass != "铲车") {
this.audioPlayByUrl(qkjwj); this.audioPlayByUrl(qkjwj);
} }
}
} else { } else {
this.$notify({ this.$notify({
title: '网络异常,请稍后再试', title: '网络异常,请稍后再试',
...@@ -229,7 +233,9 @@ export default { ...@@ -229,7 +233,9 @@ export default {
duration: 5000, duration: 5000,
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
}); });
if(res.data){
this.audioPlayByUrl(ddwc); this.audioPlayByUrl(ddwc);
}
this.queryOrder(); this.queryOrder();
} else { } else {
this.$notify({ this.$notify({
......
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
<div class="waitingtrucksView_title">待装卡车列表</div> <div class="waitingtrucksView_title">待装卡车列表</div>
<div class="waitingtrucksView_content"> <div class="waitingtrucksView_content">
<div v-for="(item, index) in daizhangCar" :key="index"> <div v-for="(item, index) in daizhangCar" :key="index">
<div>车牌号:{{ item.kc }}</div> <div>{{ item.kc }}</div>
<button v-show="item.status===1" class="daizhangCarBtn1" @click="wanchengzhuangcheFn(item)"> <button v-show="item.status===1" class="daizhangCarBtn1" @click="wanchengzhuangcheFn(item)">
邀请装车 邀请装车
</button> </button>
......
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