拣货出库 完成清空列表 入库收货添加按钮

master
Mr.sun 2 years ago
parent c05745b568
commit 3e2bb7814a
  1. 12
      pages/AvgOrderPkg/index.vue
  2. 25
      pages/inventory/index.vue
  3. 8
      pages/receive/index.vue
  4. 12
      pages/receive/receiveHomeWorks/receiveHomeWork.vue
  5. 4
      pages/release/index.vue

@ -354,10 +354,14 @@
// console.log(obj);
this.$u.api.pickBy.pickAGV(obj).then(res=>{
obj={}
this.dataList=[]
this.$u.toast(res.msg);
this.dataForm.containerCode=''
if (res.code == 200) {
obj={}
this.dataList=[]
this.$u.toast(res.msg);
this.dataForm.containerCode=''
}else{
this.$u.toast(res.msg);
}
})
},
//

@ -81,7 +81,7 @@
</view>
<view style="width: 100%; display: flex;margin-top: 40px;font-size: 14px;">
<button style="width: 30%; font-size: 16px;line-height: 44px;" class="btn1" type="default" @click="noEnter()">取消</button>
</view>
</view>
</u-popup>
</view>
@ -157,18 +157,16 @@
// this.dataList=res.rows
// // console.log(res);
// })
this.$u.api.getLockstockBatch({ pageSize: 999, pageNum: 1 }).then((response) => {
// console.log(response);
this.lockstockBatch=response.data.map((item,index)=>{
return {
label:item,
value:item,
}
})
// console.log(response.data);
// this.lockstockBatch = response.data
// this.$u.api.getLockstockBatch({ pageSize: 999, pageNum: 1 }).then((response) => {
// // console.log(response);
// this.lockstockBatch=response.data.map((item,index)=>{
// return {
// label:item,
// value:item,
// }
// })
})
// })
},
//(100pages.json)
// onReachBottom() {
@ -191,7 +189,6 @@
},
filters: {
formatType(value) {
console.log(value);
switch (Number(value)) {
case 0:
return "type1";
@ -248,14 +245,12 @@
// }, 500)
},
onNavigationBarButtonTap(e){
console.log(e);
},
//
delBtn(index){
// console.log(JSON.stringify(this.pickUpObj));
this.dataList.splice(index,1)
this.pickUpObj.moldBarcodeList.splice(index,1)
console.log(JSON.stringify(this.pickUpObj));
},
loadList() {

@ -184,6 +184,14 @@ import { nextTick } from "vue";
this.k = 0
}
},
//
onNavigationBarButtonTap(e){
console.log(e);
this.$u.route({
url: 'pages/checkAccept/index',
type: 'navigateTo',
})
},
//
handleData(item,index){
let _ = this;

@ -195,6 +195,13 @@
});
},
onNavigationBarButtonTap(e){
console.log(e);
this.$u.route({
url: 'pages/checkAccept/index',
type: 'navigateTo',
})
},
loadPackage() {
this.$u.api.recevie.queryBasPackageByGoodId({
goodId: this.goodId
@ -290,10 +297,7 @@
url: 'pages/receive/index',
type: 'navigateTo'
})
},1000)
setTimeout()
},500)
} else {
this.$u.toast(res.msg);
}

@ -6,7 +6,7 @@
<!-- <u-input v-model="dataForm.containerCode" border input-align="left" height="70" style="background-color: #ffffff;height: 38px;line-height: 38px;" placeholder="请扫描台车编号"
@confirm="inputQuery()" :focus="firstFocus">
</u-input> -->
<select-lay @transfer="reomveValue" :options="pointList" @itemclick="cpnclick" style="width: 92%;margin-left: 2vh; margin-top: 4vh;"
<select-lay @transfer="reomveValue" :pointNoChild="dataForm.pointNo" :options="pointList" @itemclick="cpnclick" style="width: 92%;margin-left: 2vh; margin-top: 4vh;"
smoldName="ptName" slabel="label" smodel="ptName" name="name3" svalue="value" @selectitem="queryList"
:value="dataForm.ptName" placeholder="扫描或选择要释放位置编码"> </select-lay>
</u-form-item>
@ -160,7 +160,7 @@
methods: {
pickUp(){
this.$u.api.release.releasePoint({pointNo:this.dataForm.pointNo}).then(res=>{
this.$u.toast(res.msg);
this.$u.toast(res.msg);
this.dataForm.pointNo = ''
})
},

Loading…
Cancel
Save