联调
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// import { CrudSchema } from '@/hooks/web/useCrudSchemas'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
|
||||
const statusOptions = [
|
||||
@@ -7,11 +6,10 @@ const statusOptions = [
|
||||
{ label: '已驳回', value: 3 }
|
||||
]
|
||||
|
||||
// CrudSchema:https://doc.iocoder.cn/vue3/crud-schema/
|
||||
const crudSchemas = reactive([
|
||||
{
|
||||
label: '产品名称',
|
||||
field: 'name',
|
||||
field: 'productName',
|
||||
isSearch: true,
|
||||
isTable: true
|
||||
},
|
||||
@@ -29,7 +27,7 @@ const crudSchemas = reactive([
|
||||
},
|
||||
{
|
||||
label: '采购数量',
|
||||
field: 'purchaseCount',
|
||||
field: 'num',
|
||||
isSearch: false,
|
||||
isTable: true
|
||||
},
|
||||
@@ -47,7 +45,7 @@ const crudSchemas = reactive([
|
||||
},
|
||||
{
|
||||
label: '仓库',
|
||||
field: 'warehouse',
|
||||
field: 'warehouseName',
|
||||
isSearch: false,
|
||||
isTable: true
|
||||
},
|
||||
@@ -79,13 +77,13 @@ const crudSchemas = reactive([
|
||||
},
|
||||
{
|
||||
label: '审核人',
|
||||
field: 'auditUserName',
|
||||
field: 'checkUserName',
|
||||
isSearch: true,
|
||||
isTable: true
|
||||
},
|
||||
{
|
||||
label: '审核时间',
|
||||
field: 'auditTime',
|
||||
field: 'checkTime',
|
||||
isSearch: true,
|
||||
isTable: true,
|
||||
formatter: dateFormatter,
|
||||
@@ -105,7 +103,7 @@ const crudSchemas = reactive([
|
||||
},
|
||||
{
|
||||
label: '采购状态',
|
||||
field: 'status',
|
||||
field: 'auditStatus',
|
||||
isSearch: true,
|
||||
isTable: true,
|
||||
search: {
|
||||
@@ -119,7 +117,7 @@ const crudSchemas = reactive([
|
||||
}
|
||||
},
|
||||
table: {
|
||||
field: 'statusName',
|
||||
field: 'auditStatusName',
|
||||
fixed: 'right'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user