Commit ab18faf9 authored by 周毅's avatar 周毅

库位详情支持查询多个托盘逗号隔开

parent bf3bb1e5
<template>
<BasePage ref="basePage" :power='power' class="min_full" :config="config">
<BasePage :changeQueryParams='changeQueryParams' ref="basePage" :power='power' class="min_full" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template>
......@@ -184,21 +184,23 @@
type: 'input',
},
{
label: '容器',
prop: 'rqCode',
label: "存储状态",
prop: "kczt",
span: 6,
type: 'input',
type: "RelSelect",
value: "",
typeConfig: {
src: "wms/jcsj/kw/init/kczt",
}
},
],
[{
"label": "存储状态",
"prop": "kczt",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "wms/jcsj/kw/init/kczt",
}
[
{
label: '容器信息',
prop: 'rqInfos',
span: 12,
type: 'input',
value: ''
},
{
label: '物料信息',
......@@ -213,7 +215,6 @@
type: 'input',
}
]
],
/* 默认启停用 */
showqt: false,
......@@ -240,9 +241,14 @@
},
methods: {
/* 示例*/
// demo(basePage){
// }
changeQueryParams(queryParams){
let str=queryParams.rqInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
trimmedStr=trimmedStr.replace(/,/s, ',')
let arr = trimmedStr.split(",");
queryParams.rqInfos=arr
console.log(queryParams.rqInfos)
},
},
components: {
......
......@@ -10,10 +10,10 @@
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="6" class="search-col">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">托盘编号:</span>
<el-input v-model="queryParams.rqCode"></el-input>
<el-input v-model="queryParams.rqInfos"></el-input>
</div>
</el-col>
<el-col :span="6" class="search-col">
......@@ -30,7 +30,7 @@
:match="{value:'id',label:'name'}" v-model='queryParams.kczt'></RelSelect>
</div>
</el-col>
<el-col :span="6" class="search-col">
<!-- <el-col :span="6" class="search-col">
<div class="search-item">
<span class="search-span">停用:</span>
<RelSelect style="width: 100%;" :optionsData="[
......@@ -44,7 +44,7 @@
}
]" filterable clearable :match="{value:'id',label:'name'}" v-model='queryParams.tybz'></RelSelect>
</div>
</el-col>
</el-col> -->
</el-row>
</div>
<!-- 按钮操作-->
......
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