|
|
@ -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({}) |
|
|
|