dev-cjl #3

Merged
qiushanhe merged 23 commits from dev-cjl into main 2024-09-18 11:51:01 +08:00
Showing only changes of commit f7980cf66a - Show all commits

View File

@@ -191,11 +191,17 @@ function getFields() {
}) })
getOrderFieldList().then((data) => { getOrderFieldList().then((data) => {
const arr = useCrudSchemas(data).allSchemas.detailSchema const list = useCrudSchemas(data).allSchemas.detailSchema
arr.forEach((it) => { const arr = []
list.forEach((it) => {
if (it.label.includes('日期')) { if (it.label.includes('日期')) {
it.dateFormat = 'YYYY-MM-DD' it.dateFormat = 'YYYY-MM-DD'
} }
if (it.field == 'receivedMoney') {
checkPermi(['clue:order:return-list']) && arr.push(it)
} else {
arr.push(it)
}
}) })
if (arr.length % 2 != 0) { if (arr.length % 2 != 0) {
arr.push({}) arr.push({})