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,35 +139,38 @@
],
queryParams: [
[{
[
{
label: '物料信息',
prop: 'condition',
span: 6,
type: 'input',
value: ''
},
{
"label": "仓库",
"prop": "ckid",
"span": 6,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
},
{
label: "容器",
prop: 'rqInfos',
prop: 'wlxxInfos',
span: 12,
type: 'input',
value: ''
}
]
},
{
label: "容器",
prop: 'rqInfos',
span: 12,
type: 'input',
value: ''
}
],
[
{
"label": "仓库",
"prop": "ckid",
"span": 12,
"type": "RelSelect",
"value": "",
"typeConfig": {
"src": "jcsj/common/ck/queryCkid",
"match": {
"value": "id",
"label": "name"
}
}
}
]
],
/* 默认启停用 */
showqt: false,
......@@ -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