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

调拨出库按库存开 前端分页 外加参数调整

parent 3dc9bc9a
<template>
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<BasePage :changeQueryParams='changeQueryParams' :toolButtonConfig="{
<BasePage fePage :changeQueryParams='changeQueryParams' :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
......@@ -139,17 +139,27 @@
],
queryParams: [
[{
[
{
label: '物料信息',
prop: 'condition',
span: 6,
prop: 'wlxxInfos',
span: 12,
type: 'input',
value: ''
},
{
label: "容器",
prop: 'rqInfos',
span: 12,
type: 'input',
value: ''
}
],
[
{
"label": "仓库",
"prop": "ckid",
"span": 6,
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
......@@ -159,13 +169,6 @@
"label": "name"
}
}
},
{
label: "容器",
prop: 'rqInfos',
span: 12,
type: 'input',
value: ''
}
]
],
......@@ -178,13 +181,20 @@
}
},
methods: {
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)
/* */
let str2=queryParams.wlxxInfos
let trimmedStr2 = str2.replace(/\s/g, ''); // 使用正则表达式去除空格
trimmedStr2=trimmedStr2.replace(/,/s, ',')
let arr2 = trimmedStr2.split(",");
queryParams.wlxxInfos=arr2
},
save(){
let list=this.$refs.basePage.$refs.TablePager.selectedList||[]
......
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