update SearchForm
This commit is contained in:
@@ -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": "结束时间",
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user