fix ระบบเครื่องราชฯ >> บันทึกผลการเสนอขอ (กรองข้อมูลใบกำกับที่ค้างจ่าย)
This commit is contained in:
parent
38b0a2e548
commit
3d34a8d3ff
1 changed files with 2 additions and 1 deletions
|
|
@ -193,7 +193,8 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
|
|||
* @returns "haveDate" | "noDate"
|
||||
*/
|
||||
function convertDatepay(val: string | null, status: string) {
|
||||
return val !== null && status === "DONE" ? "haveDate" : "noDate";
|
||||
if (status !== "DONE") return "";
|
||||
return val === null ? "noDate" : "haveDate";
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue