update SearchForm

This commit is contained in:
lb
2023-02-27 15:24:37 +08:00
parent d906ac949a
commit c012bf7675
4 changed files with 21 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ export default function () {
const headFormFields = [
{
prop: 'materialID',
prop: 'materialId',
label: "物料",
// default: { value: "" },
select: [],
@@ -59,7 +59,10 @@ export default function () {
prop: 'timerange', // 应该是个数组,在提交数据时需单独处理
label: '时间段',
bind: {
placeholder: '选择日期时间'
placeholder: '选择日期时间',
type: 'datetimerange',
"start-placeholder": "开始时间",
"end-placeholder": "结束时间",
}
},
{

View File

@@ -1,5 +1,5 @@
<template>
<ListViewWithHead :table-config="tableConfig" :head-config="headFormConfigs" :dialog-configs="dialogConfigs" :listQueryExtra="['name']" />
<ListViewWithHead :table-config="tableConfig" :head-config="headFormConfigs" :dialog-configs="dialogConfigs" :listQueryExtra="[]" />
</template>
<script>