agv搬运传参用value

master
judy 2 years ago
parent 5864ddfec4
commit a73ccf7b89
  1. 6
      pages/AvgCarry/index.vue

@ -54,7 +54,7 @@
let dataArry = res.rows; let dataArry = res.rows;
for (var i = 0; i < dataArry.length; i++) { for (var i = 0; i < dataArry.length; i++) {
var obj = { var obj = {
value: dataArry[i].pointName, value: dataArry[i].pointNo,
label: dataArry[i].pointName, label: dataArry[i].pointName,
}; };
this.pointList.push(obj); this.pointList.push(obj);
@ -91,7 +91,7 @@
// this.judge() // this.judge()
// } // }
// }).catch(err=>console.log(err)) // }).catch(err=>console.log(err))
this.$u.api.AvgCarry.agvCarry({startPoint:this.begin,toLocation:this.dataForm.endPoint,containerCode:this.dataForm.containerCode}).then(res=>{ this.$u.api.AvgCarry.agvCarry({startPoint:this.beginValue,toLocation:this.endValue,containerCode:this.dataForm.containerCode}).then(res=>{
this.$u.toast(res.msg) this.$u.toast(res.msg)
if(res.code==200){ if(res.code==200){
this.begin='' this.begin=''
@ -107,7 +107,7 @@
let dataArry = res.rows; let dataArry = res.rows;
for (var i = 0; i < dataArry.length; i++) { for (var i = 0; i < dataArry.length; i++) {
var obj = { var obj = {
value: dataArry[i].pointName, value: dataArry[i].pointNo,
label: dataArry[i].pointName, label: dataArry[i].pointName,
}; };
this.pointList.push(obj); this.pointList.push(obj);

Loading…
Cancel
Save