Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 2m22s

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-11-24 11:33:59 +07:00
commit 1e8eea707e

View file

@ -769,6 +769,8 @@ function onSubmitDate() {
*/ */
function openModalOrder(val: boolean) { function openModalOrder(val: boolean) {
// object #e.draft == "" && // object #e.draft == "" &&
console.log(rowsOrder.value);
rowsOrder.value = rows.value.filter( rowsOrder.value = rows.value.filter(
(e: any) => (e: any) =>
(DataStore.isStaff && (DataStore.isStaff &&
@ -779,7 +781,15 @@ function openModalOrder(val: boolean) {
e.statusId !== "REPORT" && e.statusId !== "REPORT" &&
e.statusId !== "DONE") || e.statusId !== "DONE") ||
(DataStore.isOfficer && (DataStore.isOfficer &&
// e.bmaOfficer != "" && e.bmaOfficer != "บุคคลภายนอก" &&
e.rootId != e.rootIdOld &&
e.draft == "ส่งตัวแล้ว" &&
e.nodeName !== null &&
e.reportingDate !== null &&
e.statusId !== "REPORT" &&
e.statusId !== "DONE") ||
(DataStore.isOfficer &&
e.root === "สำนักปลัดกรุงเทพมหานคร" &&
e.rootId != e.rootIdOld && e.rootId != e.rootIdOld &&
e.draft == "ส่งตัวแล้ว" && e.draft == "ส่งตัวแล้ว" &&
e.nodeName !== null && e.nodeName !== null &&