This commit is contained in:
qsh
2024-07-11 15:25:00 +08:00
parent d31f4b4f8b
commit 72accc0ab2
16 changed files with 117 additions and 153 deletions

View File

@@ -157,6 +157,12 @@ const orderSchema = ref([])
function getFields() {
getClueFieldList().then((data) => {
const arr = useCrudSchemas(data).allSchemas.detailSchema
arr.forEach((it) => {
if (it.label.includes('日期')) {
it.dateFormat = 'YYYY-MM-DD'
}
})
if (arr.length % 2 != 0) {
arr.push({})
}
@@ -178,6 +184,11 @@ function getFields() {
getOrderFieldList().then((data) => {
const arr = useCrudSchemas(data).allSchemas.detailSchema
arr.forEach((it) => {
if (it.label.includes('日期')) {
it.dateFormat = 'YYYY-MM-DD'
}
})
if (arr.length % 2 != 0) {
arr.push({})
}