master
Mr.sun 2 years ago
parent 9af39e80b5
commit 6b6e2f6534
  1. 2
      common/config.js
  2. 2
      manifest.json
  3. 16
      pages/AvgCarry/index.vue

@ -8,7 +8,7 @@ const config = {
// 设置后台接口服务的基础地址 // 设置后台接口服务的基础地址
// config.baseUrl = 'http://192.168.1.199:8040'; // config.baseUrl = 'http://192.168.1.199:8040';
// config.baseUrl = 'http://192.168.0.105:8055'; // config.baseUrl = 'http://192.168.0.105:8055';
// config.baseUrl = 'http://192.168.1.199:8030'; // config.baseUrl = 'http://192.168.19.120:8030';
// config.baseUrl = 'http://120.77.94.227:8030' // config.baseUrl = 'http://120.77.94.227:8030'
config.baseUrl = 'http://127.0.0.1:8030'; config.baseUrl = 'http://127.0.0.1:8030';
// config.baseUrl = 'http://192.168.7.24:8030'; // config.baseUrl = 'http://192.168.7.24:8030';

@ -1,5 +1,5 @@
{ {
"name" : "TEST-cy1.01", "name" : "TEST-cy1.02",
"appid" : "__UNI__250D830", "appid" : "__UNI__250D830",
"description" : "", "description" : "",
"versionName" : "1.0.0.2", "versionName" : "1.0.0.2",

@ -4,7 +4,7 @@
<view class="task" > <view class="task" >
<span>扫描托盘条码:</span> <span>扫描托盘条码:</span>
<u-input v-model="dataForm.containerCode" border style="background-color: #ffffff;margin-bottom: 20px;" <u-input v-model="dataForm.containerCode" border style="background-color: #ffffff;margin-bottom: 20px;"
placeholder="请输入或输入要搬运的托盘条码" @confirm="changeCode()"></u-input> placeholder="请输入或输入要搬运的托盘条码" :focus="focusFlag" @confirm="changeCode()"></u-input>
<span>搬运起始点位:</span> <span>搬运起始点位:</span>
<u-input v-model="begin" border type="select" placeholder="请选择起始点位" prop="wareHouse" class="u-input" <u-input v-model="begin" border type="select" placeholder="请选择起始点位" prop="wareHouse" class="u-input"
@ -35,7 +35,9 @@
return { return {
show: false, show: false,
showTwo:false, showTwo:false,
focusFlag:true,
begin:'', begin:'',
endValue:'',
end:'', end:'',
list:[], list:[],
showList:[], showList:[],
@ -74,6 +76,7 @@
methods:{ methods:{
changeCode() { changeCode() {
this.focusFlag=false
// this.query = { // this.query = {
// pageNum: 1, // pageNum: 1,
// pageSize: 10 // pageSize: 10
@ -83,15 +86,15 @@
// console.log(res); // console.log(res);
this.endValue = res.data this.endValue = res.data
this.pointList.forEach(item=>{ this.pointList.forEach(item=>{
if(this.endValue == item.value){ if(res.data == item.value){
this.end = item.label this.end = item.label
} }
}) })
// this.end = res.data // this.end = res.data
this.pointList1 = this.pointList.filter(item=>item.value != this.beginValue && item.value != this.endPoint) this.pointList1 = this.pointList.filter(item=>item.value != this.beginValue&& item.value != this.endValue)
this.dataForm.endPoint = res.data // this.dataForm.endPoint = res.data
this.endValue=res.data // this.endValue=res.data
this.pointList = this.pointList.filter(item=>item.value != this.beginValue && item.value != this.dataForm.endPoint) this.pointList = this.pointList.filter(item=>item.value != this.beginValue && item.value != this.endValue)
} }
) )
}, },
@ -141,6 +144,7 @@
this.dataForm.startPoint='' this.dataForm.startPoint=''
this.dataForm.containerCode='' this.dataForm.containerCode=''
this.dataForm.endPoint='' this.dataForm.endPoint=''
this.focusFlag=true
this.judge() this.judge()
this.$u.api.AvgCarry.getPointList({pageNum: 1, this.$u.api.AvgCarry.getPointList({pageNum: 1,
pageSize: 100}).then(res=>{ pageSize: 100}).then(res=>{

Loading…
Cancel
Save