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

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

parent 23397ec8
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</view> --> </view> -->
<view class="bg-white"> <view class="bg-white">
<cu-custom bgColor="bg-gradual-blue" :isBack="true"> <cu-custom bgColor="bg-gradual-blue" :isBack="true">
<block slot="content">选择配盘单号</block> <block slot="content">配盘单号</block>
</cu-custom> </cu-custom>
</view> </view>
<!-- <view class="cu-bar bg-white solid-bottom"> <!-- <view class="cu-bar bg-white solid-bottom">
......
...@@ -8,11 +8,28 @@ ...@@ -8,11 +8,28 @@
<view class="cu-form-group" style="background: #eee;"> <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"> <picker mode="selector" range-key="name" :value="selectedIndex" :range="pickerArray" @change="onPickerChange">
<view style="font-size: 15px;" class="uni-input">{{pickerArray[selectedIndex].name}}</view> <view style="font-size: 15px;" class="uni-input">{{pickerArray[selectedIndex].name}}</view>
</picker> </picker>
</view> </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 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 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"> <view v-show="item.isSelect" style="position: absolute;right: 10px;top: 45px;color: #fff;font-size: 20px;" class="checkBody">
...@@ -49,6 +66,8 @@ ...@@ -49,6 +66,8 @@
export default { export default {
data() { data() {
return { return {
rqlb:'',
gyscode:'',
app:this, app:this,
selected: "", selected: "",
ystpcode: "", ystpcode: "",
...@@ -66,7 +85,7 @@ ...@@ -66,7 +85,7 @@
methods: { methods: {
// 查询 // 查询
apiQueryEmptyTpKw(id){ apiQueryEmptyTpKw(id){
queryEmptyTpKw({rqflid:id}).then(data=>{ queryEmptyTpKw({rqflid:id,rqlb:this.rqlb,gyscode:this.gyscode}).then(data=>{
let record=data.records let record=data.records
this.wlinfor=record.map(item=>{ this.wlinfor=record.map(item=>{
item.isSelect=false item.isSelect=false
......
...@@ -120,7 +120,8 @@ ...@@ -120,7 +120,8 @@
title: "入库登记", title: "入库登记",
icon: "/static/icon/work.png", icon: "/static/icon/work.png",
useCount: 1000, useCount: 1000,
page: "putin_storage" page: "putin_storage",
mkid:993000200
}, },
/* { /* {
title: "出库登记", title: "出库登记",
...@@ -134,13 +135,15 @@ ...@@ -134,13 +135,15 @@
title: "工位叫料", title: "工位叫料",
icon: "/static/icon/wl2.png", icon: "/static/icon/wl2.png",
useCount: 1000, useCount: 1000,
page: "cmaterial" page: "cmaterial",
mkid:993000600
}, },
{ {
"title": "空托出库", "title": "空托出库",
"icon": "/static/icon/off.png", "icon": "/static/icon/off.png",
"useCount": 1000, "useCount": 1000,
"page": "trayOutbound" "page": "trayOutbound",
mkid:993001400
} }
], ],
newgwjlList: [], newgwjlList: [],
...@@ -148,19 +151,22 @@ ...@@ -148,19 +151,22 @@
title: "托盘调整", title: "托盘调整",
icon: "/static/icon/work5.png", icon: "/static/icon/work5.png",
useCount: 1000, useCount: 1000,
page: "trayAdjust" page: "trayAdjust",
mkid:993000800
}, },
{ {
title: "清空托盘", title: "清空托盘",
icon: "/static/icon/work6.png", icon: "/static/icon/work6.png",
useCount: 1000, useCount: 1000,
page: "trayClear" page: "trayClear",
mkid:993001000
}, },
{ {
title: "清空库位", title: "清空库位",
icon: "/static/icon/adjust.png", icon: "/static/icon/adjust.png",
useCount: 1000, useCount: 1000,
page: "kwAdjust" page: "kwAdjust",
mkid:993001100
} }
], ],
newtpglList: [], newtpglList: [],
...@@ -169,7 +175,8 @@ ...@@ -169,7 +175,8 @@
title: "移库", title: "移库",
icon: "/static/icon/work5.png", icon: "/static/icon/work5.png",
useCount: 1000, useCount: 1000,
page: "outIn" page: "outIn",
mkid:993001200
}, ], }, ],
newyrycList: [], newyrycList: [],
// icon:"/wcs/apps/static/icon/work.png",pc端图标路径 // icon:"/wcs/apps/static/icon/work.png",pc端图标路径
...@@ -203,7 +210,7 @@ ...@@ -203,7 +210,7 @@
this[newlist] = [] this[newlist] = []
menu.forEach(e => { menu.forEach(e => {
this[oldlist].forEach(a => { this[oldlist].forEach(a => {
if (a.title == e.mkmc) { if (a.mkid == e.mkid) {
this[newlist].push(a) 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