Commit ab18faf9 authored by 周毅's avatar 周毅

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

parent bf3bb1e5
<template> <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"> <template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 --> <!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</template> </template>
...@@ -184,21 +184,23 @@ ...@@ -184,21 +184,23 @@
type: 'input', type: 'input',
}, },
{ {
label: '容器', label: "存储状态",
prop: 'rqCode', prop: "kczt",
span: 6, span: 6,
type: 'input', type: "RelSelect",
value: "",
typeConfig: {
src: "wms/jcsj/kw/init/kczt",
}
}, },
], ],
[{ [
"label": "存储状态", {
"prop": "kczt", label: '容器信息',
"span": 6, prop: 'rqInfos',
"type": "RelSelect", span: 12,
"value": "", type: 'input',
"typeConfig": { value: ''
"src": "wms/jcsj/kw/init/kczt",
}
}, },
{ {
label: '物料信息', label: '物料信息',
...@@ -213,7 +215,6 @@ ...@@ -213,7 +215,6 @@
type: 'input', type: 'input',
} }
] ]
], ],
/* 默认启停用 */ /* 默认启停用 */
showqt: false, showqt: false,
...@@ -240,9 +241,14 @@ ...@@ -240,9 +241,14 @@
}, },
methods: { 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: { components: {
......
...@@ -10,10 +10,10 @@ ...@@ -10,10 +10,10 @@
<div class="search" v-condition> <div class="search" v-condition>
<SearchButton :app='app'></SearchButton> <SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1"> <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"> <div class="search-item">
<span class="search-span">托盘编号:</span> <span class="search-span">托盘编号:</span>
<el-input v-model="queryParams.rqCode"></el-input> <el-input v-model="queryParams.rqInfos"></el-input>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <el-col :span="6" class="search-col">
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
:match="{value:'id',label:'name'}" v-model='queryParams.kczt'></RelSelect> :match="{value:'id',label:'name'}" v-model='queryParams.kczt'></RelSelect>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="search-col"> <!-- <el-col :span="6" class="search-col">
<div class="search-item"> <div class="search-item">
<span class="search-span">停用:</span> <span class="search-span">停用:</span>
<RelSelect style="width: 100%;" :optionsData="[ <RelSelect style="width: 100%;" :optionsData="[
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
} }
]" filterable clearable :match="{value:'id',label:'name'}" v-model='queryParams.tybz'></RelSelect> ]" filterable clearable :match="{value:'id',label:'name'}" v-model='queryParams.tybz'></RelSelect>
</div> </div>
</el-col> </el-col> -->
</el-row> </el-row>
</div> </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