master
Mr.sun 2 years ago
commit 04ae640af4
  1. 10
      pages/AvgCarry/index.vue

@ -11,6 +11,7 @@
placeholder-style="color:#000000" @click="show = true" />
<u-select v-model="show" :list="pointList1" @confirm="confirm" mode="single-column" ></u-select>
</view>
<view class="img1" style="text-align: center;">
<!-- <img src="@/static/icon/down.png" alt="" style="width: 300rpx;"> -->
@ -88,6 +89,9 @@
})
// this.end = res.data
this.pointList1 = this.pointList.filter(item=>item.value != this.beginValue && item.value != this.endPoint)
this.dataForm.endPoint = res.data
this.endValue=res.data
this.pointList = this.pointList.filter(item=>item.value != this.beginValue && item.value != this.dataForm.endPoint)
}
)
},
@ -124,12 +128,14 @@
this.$u.toast("请选择目标位置");
return;
}
this.$u.api.AvgCarry.agvCarry({startPoint:this.beginValue,toLocation:this.endValue,
containerCode:this.dataForm.containerCode}).then(res=>{
// }).catch(err=>console.log(err))
this.$u.api.AvgCarry.agvCarry({startPoint:this.beginValue,toLocation:this.endValue,containerCode:this.dataForm.containerCode}).then(res=>{
this.$u.toast(res.msg)
if(res.code==200){
this.begin=''
this.end=''
this.beginValue=''
this.endValue=''
this.dataForm.startPoint=''
this.dataForm.containerCode=''
this.dataForm.endPoint=''

Loading…
Cancel
Save