Commit d1599ae4 authored by xxx's avatar xxx

1

parent e4ee906e
......@@ -61,7 +61,7 @@
<div class="waitingtrucksView_content">
<div v-for="(item,index) in daizhangCar" :key="index">
<div>车牌号:{{item.number}}</div>
<button class="daizhangCarBtn1" :disabled="item.weightStatus != 2" @click="wanchengzhuangcheFn(item.number,item.id)">完成装车</button>
<button class="daizhangCarBtn1" :disabled="interdictBtn || (item.weightStatus != 2)" @click="wanchengzhuangcheFn(item.number,item.id)">完成装车</button>
</div>
</div>
</div>
......@@ -144,6 +144,8 @@ export default {
jsession:'',
//摄像头车辆设备号
devices:'',
//禁用完成装车
interdictBtn:false,
}
},
mounted(){
......@@ -305,6 +307,7 @@ export default {
httpGet(waitingtrucksQuery,{carno:this.carnumber}).then((res) => {
if(res.code == 200){
this.daizhangCar = res.data;
this.interdictBtn = false;
}
});
},
......@@ -504,6 +507,7 @@ export default {
},
//完成装车
wanchengzhuangcheFn(number,id){
this.interdictBtn = true;
//改订单状态
httpGet(manualSchedulingQuery,{sort:'createTime,desc',size:1,carNo:number}).then((res) => {
if(res.code == 200){
......
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