容器查询未改完

master
Mr.sun 2 years ago
parent 221a9c0300
commit 23b28f8321
  1. 8
      common/http.api.js
  2. 7
      pages.json
  3. 9
      pages/index/index.vue
  4. 53
      pages/inventory/index.vue
  5. 14
      pages/payInto/index.vue
  6. 4
      pages/user/user.vue

@ -23,32 +23,30 @@ const install = (Vue, vm) => {
//货位调整确认 //货位调整确认
pdaAdjustConfirm: (params = {}) => vm.$u.post('/wms/stock/adjust/pdaAdjustConfirm', params), pdaAdjustConfirm: (params = {}) => vm.$u.post('/wms/stock/adjust/pdaAdjustConfirm', params),
//容器查询
getContainerList: (params = {}) =>vm.$u.get('/wms/container/queryBaseContainerList', params),
//收货管理 //收货管理
recevie: { recevie: {
//分页查询带订单明细汇总 //分页查询带订单明细汇总
pageOrder: (params = {}) => vm.$u.get('/wms/receiving/pda/pageOrder', params), pageOrder: (params = {}) => vm.$u.get('/wms/receiving/pda/pageOrder', params),
//获取汇总以及详情信息 //获取汇总以及详情信息
getOrder: (params = {}) => vm.$u.get('/wms/receiving/pda/getOrder', params), getOrder: (params = {}) => vm.$u.get('/wms/receiving/pda/getOrder', params),
//查询商品对应的包装信息 //查询商品对应的包装信息
queryBasPackageByGoodId: (params = {}) => vm.$u.get('/wms/receiving/pda/queryBasPackageByGoodId', queryBasPackageByGoodId: (params = {}) => vm.$u.get('/wms/receiving/pda/queryBasPackageByGoodId',
params), params),
//确认收货22 //确认收货22
confirmReceiving: (params = {}) => vm.$u.post('/wms/receiving/pda/confirmReceiving', params), confirmReceiving: (params = {}) => vm.$u.post('/wms/receiving/pda/confirmReceiving', params),
//确认收货(多选) //确认收货(多选)
multipleConfirmReceiving: (params = {}) => vm.$u.post('/wms/receiving/pda/multipleConfirmReceiving', params), multipleConfirmReceiving: (params = {}) => vm.$u.post('/wms/receiving/pda/multipleConfirmReceiving', params),
//确认收货(多选)改 //确认收货(多选)改
multipleConfirmReceivingList: (params = {}) => vm.$u.post('/wms/receiving/pda/multipleConfirmReceivingList', params), multipleConfirmReceivingList: (params = {}) => vm.$u.post('/wms/receiving/pda/multipleConfirmReceivingList', params),
}, },
//出库拣货 //出库拣货
pickBy:{ pickBy:{
//根据托盘编号获取需要拣货的明细 //根据托盘编号获取需要拣货的明细
pickByContainerCode: (params = {}) => vm.$u.post('/wms/pick/pda/pickByContainerCode', pickByContainerCode: (params = {}) => vm.$u.post('/wms/pick/pda/pickByContainerCode',
params), params),
// 出库拣货拣货页面 -- 完成出库 // 出库拣货拣货页面 -- 完成出库
pickAGV: (params = {}) => vm.$u.post('/wms/pick/pda/v2/pickAGV', pickAGV: (params = {}) => vm.$u.post('/wms/pick/pda/v2/pickAGV',
params), params),

@ -340,6 +340,13 @@
"navigationBarTitleText": "点位释放", "navigationBarTitleText": "点位释放",
"navigationBarBackgroundColor": "rgb(18, 150, 219,0.8)" "navigationBarBackgroundColor": "rgb(18, 150, 219,0.8)"
} }
},
{
"path": "pages/queryContainer/index",
"style": {
"navigationBarTitleText": "容器查询",
"navigationBarBackgroundColor": "rgb(18, 150, 219,0.8)"
}
} }
], ],

@ -38,6 +38,10 @@
<u-grid-item @click="PagerJump(10016)"> <u-grid-item @click="PagerJump(10016)">
<image class="in-img" src="../../static/icon/shifang.png" alt=""> <image class="in-img" src="../../static/icon/shifang.png" alt="">
<view class="wk-text">点位释放</view> <view class="wk-text">点位释放</view>
</u-grid-item>
<u-grid-item @click="PagerJump(10017)">
<image class="in-img" src="../../static/icon/shifang.png" alt="">
<view class="wk-text">查询容器</view>
</u-grid-item> </u-grid-item>
<!-- <u-grid-item @click="PagerJump(10076)"> <!-- <u-grid-item @click="PagerJump(10076)">
<image class="in-img" src="../../static/icon/icon_94vo0bbzuhq/ruku.png" alt=""> <image class="in-img" src="../../static/icon/icon_94vo0bbzuhq/ruku.png" alt="">
@ -285,6 +289,11 @@
url: 'pages/release/index', url: 'pages/release/index',
type: 'navigateTo', type: 'navigateTo',
}) })
}else if(this.PagerJumpType === 10017){//
this.$u.route({
url: 'pages/queryContainer/index',
type: 'navigateTo',
})
} }
}, },
} }

@ -253,9 +253,12 @@
if(!res.rows || res.rows.length == 0){ if(!res.rows || res.rows.length == 0){
this.$u.toast("当前托盘内商品不存在"); this.$u.toast("当前托盘内商品不存在");
}else if(res.code == '200'){ }else if(res.code == '200'){
// res.rows.forEach(item=>{ res.rows.forEach(item=>{
// item.invQty=item.quantity if(item.invWay == 'close'){
// }) item.quantity=0
}
})
this.dataList=res.rows this.dataList=res.rows
setTimeout(()=>{ setTimeout(()=>{
this.dataForm.containerCode='' this.dataForm.containerCode=''
@ -305,27 +308,29 @@
} }
setTimeout(()=>{ setTimeout(()=>{
this.$u.api.invPlan.pdaInvByContainerCode({containerCode:this.form.containerCode}).then(res=>{ this.$u.api.invPlan.pdaInvByContainerCode({containerCode:this.form.containerCode}).then(res=>{
if(!res.rows || res.rows.length == 0){ if(!res.rows || res.rows.length == 0){
this.$u.toast("当前托盘内商品不存在"); this.$u.toast("当前托盘内商品不存在");
this.dataList=[] this.dataList=[]
}else if(res.code == '200'){ }else if(res.code == '200'){
if(res.msg){ if(res.msg){
this.$u.toast(res.msg); this.$u.toast(res.msg);
} }
res.rows.forEach(item=>{ res.rows.forEach(item=>{
if(item.invQty && item.invQty!=0 && ){ if(item.invQty && item.invQty!=0 ){
item.invQty=item.quantity item.invQty=item.quantity
} }
if(item.invWay == 'close'){
}) item.quantity=0
this.dataList=res.rows }
setTimeout(()=>{ })
this.dataForm.containerCode='' this.dataList=res.rows
},0) setTimeout(()=>{
this.$nextTick(()=>{ this.dataForm.containerCode=''
this.firstFocus = true },0)
}) this.$nextTick(()=>{
} this.firstFocus = true
})
}
}) })
this.form={} this.form={}
this.show=false this.show=false

@ -11,21 +11,17 @@
type="text" placeholder="请扫描台车编号" :border="true" /> type="text" placeholder="请扫描台车编号" :border="true" />
</view> </view>
<view style="display: flex;line-height: 65rpx;"> <view style="display: flex;line-height: 65rpx;">
<text style="font-size: 34rpx;margin-top: 3px;width:78px;">选择物料:</text> <text style="font-size: 34rpx;margin-top: 3px;width:78px;">选择物料:</text>
<select-lay :options="datalist1" style="width: 78%;padding-left: 0.5vh; " smoldName="ptName" <select-lay :options="datalist1" style="width: 78%;padding-left: 0.5vh; " smoldName="ptName"
slabel="ptDesc" smodel="ptName" name="name3" svalue="id" @selectitem="queryList" slabel="ptDesc" smodel="ptName" name="name3" svalue="id" @selectitem="queryList"
:value="dataForm.ptName" placeholder="请选择物料编码"> </select-lay> :value="dataForm.ptName" placeholder="请选择物料编码"> </select-lay>
</view> </view>
<view style="display: flex;line-height: 5vh; margin-top: 2.5vh;"> <view style="display: flex;line-height: 5vh; margin-top: 2.5vh;">
<text style="font-size: 34rpx;">入库数量:</text><input <text style="font-size: 34rpx;">入库数量:</text><input
style="width: 72%; text-align: left;padding-left: 15rpx;" v-model="dataForm.rerpQty" style="width: 72%; text-align: left;padding-left: 15rpx;" v-model="dataForm.rerpQty"
class="barNo" type="text" placeholder="请输入入库数量" :border="true" /> class="barNo" type="text" placeholder="请输入入库数量" :border="true" />
</view> </view>
<u-button @click="handleAdd()" class="golists"><text>加入列表</text> </u-button> <u-button @click="handleAdd()" class="golists"><text>加入列表</text> </u-button>
</u-form> </u-form>
<!-- @input="inputQuery()" --> <!-- @input="inputQuery()" -->
@ -247,7 +243,6 @@
methods: { methods: {
// //
queryList(index, item) { queryList(index, item) {
// console.log(item.ptPart);
this.dataForm.ptPart = item.ptPart this.dataForm.ptPart = item.ptPart
this.dataForm.ptName = item.ptName this.dataForm.ptName = item.ptName
this.dataForm.ptDesc = item.ptDesc this.dataForm.ptDesc = item.ptDesc
@ -365,20 +360,17 @@
}, 500) }, 500)
}, 400) }, 400)
// console.log(this.$refs);
// this.$refs.input=''
}, },
// //
confirm() { confirm() {
// this.pickUpObj.containerCode=this.containerCode
console.log(JSON.stringify(this.dataList)); console.log(JSON.stringify(this.dataList));
setTimeout(() => { setTimeout(() => {
this.$u.api.saveInPlanAndItemIn(this.dataList).then(res => { this.$u.api.saveInPlanAndItemIn(this.dataList).then(res => {
if (res.code == '200') { if (res.code == '200') {
// this.$u.toast("");
this.$u.toast("入库已完成,请重新扫描"); this.$u.toast("入库已完成,请重新扫描");
this.dataForm = {}, this.dataForm = {},
this.dataList = [], this.dataList = [],
@ -388,10 +380,6 @@
}, 500) }, 500)
} }
}) })
// setTimeout(()=>{
// this.$router.go(0)
// },800)
// 3 // 3
this.show = false; this.show = false;

@ -14,10 +14,10 @@
</view> </view>
<u-row> <u-row>
<u-col> <u-col>
<view class="us-item"> <!-- <view class="us-item">
<text>系统设置</text> <text>系统设置</text>
<u-icon name="arrow-right" color="#CCCCCC" size="35rpx"></u-icon> <u-icon name="arrow-right" color="#CCCCCC" size="35rpx"></u-icon>
</view> </view> -->
<view class="us-item"> <view class="us-item">
<text>版本信息</text> <text>版本信息</text>
<text>{{vuex_code}}</text> <text>{{vuex_code}}</text>

Loading…
Cancel
Save