Commit 121041ff authored by 李苏's avatar 李苏 💬

库存调整单新增 调整查询条件

parent c7cdb0db
<template>
<BasePage :handleSourceData='handleSourceData' fePage :toolButtonConfig="{
<BasePage :changeQueryParams='changeQueryParams' :handleSourceData='handleSourceData' fePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
......@@ -95,11 +95,11 @@
],
queryParams: [
[{
label: "检验日期",
prop: "start",
label: '剩余天数',
prop: 'jyts',
span: 6,
type: "date",
value: "",
type: 'inputNumber',
value: 1
},
{
label: '物料批号',
......@@ -110,8 +110,8 @@
},
{
label: '物料编码',
prop: 'wlxxInfo',
span: 6,
prop: 'wlxxInfos',
span: 12,
type: 'input',
value: ''
}
......@@ -130,12 +130,19 @@
},
methods: {
handleSourceData(list){
list.forEach((item,index)=>{
item.id=index
changeQueryParams(queryParams) {
let str = queryParams.wlxxInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
trimmedStr = trimmedStr.replace(/,/s, ',')
let arr = trimmedStr.split(",");
queryParams.wlxxInfos = arr
},
handleSourceData(list) {
list.forEach((item, index) => {
item.id = index
})
},
ckxq(row){
ckxq(row) {
this.$emit('getRow', row)
},
getRow(val) {
......
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