Merge branch 'main' of http://114.55.169.15:3000/qiushanhe/ss-crm-manage-web into dev-cjl
This commit is contained in:
@@ -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({})
|
||||||
|
|||||||
Reference in New Issue
Block a user