diff --git a/common/http.api.js b/common/http.api.js index fabb0f6..23b046e 100644 --- a/common/http.api.js +++ b/common/http.api.js @@ -53,6 +53,11 @@ const install = (Vue, vm) => { pickAGV: (params = {}) => vm.$u.post('/wms/pick/pda/v2/pickAGV', params), }, + //释放 + release:{ + releasePoint: (params = {}) => vm.$u.post('/wcs/base/point/releasePoint', + params), + }, //补货上架 replenishment: { //查询列表中区域分组查询对应的任务数 diff --git a/pages/release/index.vue b/pages/release/index.vue index b1e06f1..031af39 100644 --- a/pages/release/index.vue +++ b/pages/release/index.vue @@ -120,10 +120,10 @@ dtlAddBos:[] }, dataList: [ - { - ttPart:'你好', - ptName:'N96' - } + // { + // ttPart:'你好', + // ptName:'N96' + // } ], query: { current: 1, @@ -194,7 +194,11 @@ }, methods: { pickUp(){ - console.log('释放点位了'); + // console.log('释放点位了'); + this.$u.api.release.releasePoint({pointNo:this.dataForm.pointNo}).then(res=>{ + // this.dataList=res.rows + // console.log(res); + }) }, getData(){ this.$u.api.waitOutPlan(this.dataForm).then(res=>{ @@ -202,7 +206,7 @@ }) }, cpnclick(item){ - console.log('cpnclick', item) + // console.log('cpnclick', item) }, //点击变色 btn(index,item){ @@ -217,20 +221,20 @@ }, confirmChange(){ - console.log(11111111+"你好,念天琊"); + // console.log(11111111+"你好,念天琊"); }, editBtn(){ this.show=true }, queryList(index,item){ - console.log(index,item); + // console.log(index,item); this.dataForm.pointNo=item.value }, enterUp(item){ console.log(item); this.$u.api.replaceCar.upateBusinItemInDataForQty(item).then(res=>{ - console.log(res); + // console.log(res); }) }, /**搜索框查询*/