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

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); // console.log(obj);
this.$u.api.pickBy.pickAGV(obj).then(res=>{ this.$u.api.pickBy.pickAGV(obj).then(res=>{
obj={} if (res.code == 200) {
this.dataList=[] obj={}
this.$u.toast(res.msg); this.dataList=[]
this.dataForm.containerCode='' this.$u.toast(res.msg);
this.dataForm.containerCode=''
}else{
this.$u.toast(res.msg);
}
}) })
}, },
// //

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

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

@ -195,6 +195,13 @@
}); });
}, },
onNavigationBarButtonTap(e){
console.log(e);
this.$u.route({
url: 'pages/checkAccept/index',
type: 'navigateTo',
})
},
loadPackage() { loadPackage() {
this.$u.api.recevie.queryBasPackageByGoodId({ this.$u.api.recevie.queryBasPackageByGoodId({
goodId: this.goodId goodId: this.goodId
@ -290,10 +297,7 @@
url: 'pages/receive/index', url: 'pages/receive/index',
type: 'navigateTo' type: 'navigateTo'
}) })
},1000) },500)
setTimeout()
} else { } else {
this.$u.toast(res.msg); 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="请扫描台车编号" <!-- <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"> @confirm="inputQuery()" :focus="firstFocus">
</u-input> --> </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" smoldName="ptName" slabel="label" smodel="ptName" name="name3" svalue="value" @selectitem="queryList"
:value="dataForm.ptName" placeholder="扫描或选择要释放位置编码"> </select-lay> :value="dataForm.ptName" placeholder="扫描或选择要释放位置编码"> </select-lay>
</u-form-item> </u-form-item>
@ -160,7 +160,7 @@
methods: { methods: {
pickUp(){ pickUp(){
this.$u.api.release.releasePoint({pointNo:this.dataForm.pointNo}).then(res=>{ this.$u.api.release.releasePoint({pointNo:this.dataForm.pointNo}).then(res=>{
this.$u.toast(res.msg); this.$u.toast(res.msg);
this.dataForm.pointNo = '' this.dataForm.pointNo = ''
}) })
}, },

Loading…
Cancel
Save