ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-10 15:03:24 +07:00
parent 45f77014da
commit 7aab234030
6 changed files with 15 additions and 11 deletions

View file

@ -744,7 +744,8 @@ function onSubmitDate() {
function openModalOrder(val: boolean) {
// object #e.draft == "" &&
rowsOrder.value = rows.value.filter(
(e: any) => e.nodeName !== null && e.reportingDate !== null
(e: any) =>
e.nodeName !== null && e.reportingDate !== null && e.statusId !== "REPORT"
);
modalOrder.value = val;
}
@ -808,6 +809,7 @@ onMounted(async () => {
<q-btn
v-if="
props.row.statusId !== 'DONE' &&
props.row.statusId !== 'REPORT' &&
(checkPermission($route)?.attrIsGet ||
checkPermission($route)?.attrIsUpdate)
"