fix edit registry excel & org

This commit is contained in:
Warunee Tamkoo 2025-06-19 14:23:31 +07:00
parent 152ea8aa38
commit aec36b1b6a
2 changed files with 173 additions and 79 deletions

View file

@ -447,10 +447,8 @@ function exportToExcel() {
? e.posNumCodeSit
: "",
commandNo:
e.posNumCodeSitAbb && e.posNumCodeSit
? `${e.posNumCodeSit} (${e.posNumCodeSitAbb})`
: e.posNumCodeSit
? e.posNumCodeSit
e.commandNo && e.commandYear
? `${e.commandNo}/${Number(e.commandYear) + 543}`
: "",
commandDateSign: date2Thai(e.commandDateSign),
commandCode: store.convertCommandCodeName(e.commandCode),