This commit is contained in:
qsh
2025-08-01 14:50:24 +08:00
parent e3ccfd9721
commit 240224823e
3 changed files with 7 additions and 4 deletions

View File

@@ -198,13 +198,14 @@ function getFields() {
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) {
if (arr.filter((item) => item.span != 2).length % 2 != 0) {
arr.push({})
}
orderSchema.value = [