Commit 0d54bc50 authored by 李苏's avatar 李苏 💬

空托补充参数查询,mkid权限

parent 23397ec8
......@@ -12,7 +12,7 @@
</view> -->
<view class="bg-white">
<cu-custom bgColor="bg-gradual-blue" :isBack="true">
<block slot="content">选择配盘单号</block>
<block slot="content">配盘单号</block>
</cu-custom>
</view>
<!-- <view class="cu-bar bg-white solid-bottom">
......
......@@ -8,11 +8,28 @@
<view class="cu-form-group" style="background: #eee;">
<view class="title ">选择库位</view>
<view class="title " style="width: 30%" >选择库位:</view>
<picker mode="selector" range-key="name" :value="selectedIndex" :range="pickerArray" @change="onPickerChange">
<view style="font-size: 15px;" class="uni-input">{{pickerArray[selectedIndex].name}}</view>
</picker>
</view>
<!-- 新增查询条件 -->
<view class="cu-form-group" style="background: #eee;">
<view class="title " style="width: 30%" >容器类别</view>
<input v-model="rqlb" class="uni-input" focus placeholder="请输入容器类别" />
</view>
<view class="cu-form-group" style="background: #eee;">
<view class="title " style="width: 30%" >供应商代码</view>
<input v-model="gyscode" class="uni-input" focus placeholder="请输入供应商代码" />
</view>
<!-- 查询按钮 -->
<view style="height: 40px;">
<button @click="apiQueryEmptyTpKw(pickerArray[selectedIndex].id)" class="cu-btn bg-blue lg" style="height: 30px;float: right;margin-right: 10px;margin-top: 5px;">查询</button>
</view>
<!-- -->
<view v-if="wlinfor.length==0" style="height: 60px;color: #666;text-align: center;line-height: 60px;">
没有查询到信息
</view>
<view v-for="(item,index) in wlinfor" :key="index" @click="item.isSelect=!item.isSelect" >
<view class="flex flex-wrap padding bg-grey white radio" style="position: relative;">
<view v-show="item.isSelect" style="position: absolute;right: 10px;top: 45px;color: #fff;font-size: 20px;" class="checkBody">
......@@ -49,6 +66,8 @@
export default {
data() {
return {
rqlb:'',
gyscode:'',
app:this,
selected: "",
ystpcode: "",
......@@ -66,7 +85,7 @@
methods: {
// 查询
apiQueryEmptyTpKw(id){
queryEmptyTpKw({rqflid:id}).then(data=>{
queryEmptyTpKw({rqflid:id,rqlb:this.rqlb,gyscode:this.gyscode}).then(data=>{
let record=data.records
this.wlinfor=record.map(item=>{
item.isSelect=false
......
......@@ -120,7 +120,8 @@
title: "入库登记",
icon: "/static/icon/work.png",
useCount: 1000,
page: "putin_storage"
page: "putin_storage",
mkid:993000200
},
/* {
title: "出库登记",
......@@ -134,13 +135,15 @@
title: "工位叫料",
icon: "/static/icon/wl2.png",
useCount: 1000,
page: "cmaterial"
page: "cmaterial",
mkid:993000600
},
{
"title": "空托出库",
"icon": "/static/icon/off.png",
"useCount": 1000,
"page": "trayOutbound"
"page": "trayOutbound",
mkid:993001400
}
],
newgwjlList: [],
......@@ -148,19 +151,22 @@
title: "托盘调整",
icon: "/static/icon/work5.png",
useCount: 1000,
page: "trayAdjust"
page: "trayAdjust",
mkid:993000800
},
{
title: "清空托盘",
icon: "/static/icon/work6.png",
useCount: 1000,
page: "trayClear"
page: "trayClear",
mkid:993001000
},
{
title: "清空库位",
icon: "/static/icon/adjust.png",
useCount: 1000,
page: "kwAdjust"
page: "kwAdjust",
mkid:993001100
}
],
newtpglList: [],
......@@ -169,7 +175,8 @@
title: "移库",
icon: "/static/icon/work5.png",
useCount: 1000,
page: "outIn"
page: "outIn",
mkid:993001200
}, ],
newyrycList: [],
// icon:"/wcs/apps/static/icon/work.png",pc端图标路径
......@@ -203,7 +210,7 @@
this[newlist] = []
menu.forEach(e => {
this[oldlist].forEach(a => {
if (a.title == e.mkmc) {
if (a.mkid == e.mkid) {
this[newlist].push(a)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment