qsh 3 months ago
commit f7980cf66a
  1. 10
      src/views/Clue/Order/Comp/DialogOrder.vue

@ -191,11 +191,17 @@ function getFields() {
})
getOrderFieldList().then((data) => {
const arr = useCrudSchemas(data).allSchemas.detailSchema
arr.forEach((it) => {
const list = useCrudSchemas(data).allSchemas.detailSchema
const arr = []
list.forEach((it) => {
if (it.label.includes('日期')) {
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) {
arr.push({})

Loading…
Cancel
Save