fixing sit 25

This commit is contained in:
Warunee Tamkoo 2024-12-25 18:50:41 +07:00
parent 9768e6e38e
commit 8d9ff789c0
4 changed files with 19 additions and 2 deletions

View file

@ -752,6 +752,7 @@ function onSubmitDate() {
*/
function openModalOrder(val: boolean) {
// object #e.draft == "" &&
rowsOrder.value = rows.value.filter(
(e: any) =>
(DataStore.isStaff &&
@ -762,6 +763,7 @@ function openModalOrder(val: boolean) {
e.statusId !== "REPORT" &&
e.statusId !== "DONE") ||
(DataStore.isOfficer &&
e.bmaOfficer != "บุคคลภายนอก" &&
e.rootId != e.rootIdOld &&
e.draft == "ส่งตัวแล้ว" &&
e.nodeName !== null &&

View file

@ -491,7 +491,14 @@ onMounted(async () => {
</q-card>
</div>
<div class="col-6" v-if="isAttachment">
<div
class="col-6"
v-if="
isAttachment ||
(store.dataCommand &&
store.dataCommand.commandCode == 'C-PM-38')
"
>
<q-card
bordered
class="row col-12"

View file

@ -392,7 +392,14 @@ onMounted(async () => {
</q-card>
</div>
<div class="col-6" v-if="isAttachment">
<div
class="col-6"
v-if="
isAttachment ||
(store.dataCommand &&
store.dataCommand.commandCode == 'C-PM-38')
"
>
<q-card
bordered
class="row col-12"

View file

@ -22,6 +22,7 @@ interface FormDataDetail {
commandAffectDate: Date | null; //วันที่ลงนาม
commandExcecuteDate: Date | null; //วันที่คำสั่งมีผล
isBangkok: string | null; //คำสั่งสำนักปลัดกรุงเทพมหานคร
commandCode?: string; //รหัสคำสั่ง
}
interface FormCommandList {