Merge branch 'develop' into devTee

This commit is contained in:
setthawutttty 2024-10-29 09:35:11 +07:00
commit d35a4b757f
3 changed files with 17 additions and 11 deletions

View file

@ -747,7 +747,7 @@ onMounted(() => {
<q-td v-for="col in props.cols" :key="col.id">
<div
v-if="col.name == 'refCommandNo'"
v-if="col.name == 'refCommandNo' && props.row.commandId"
@click="col.value ? onRefCommand(props.row) : null"
:class="
col.value
@ -756,6 +756,10 @@ onMounted(() => {
"
>
{{ col.value ? col.value : "-" }}
<q-tooltip v-if="col.value">ดูคำสั่ง</q-tooltip>
</div>
<div v-else-if="col.name == 'refCommandNo' && !props.row.commandId">
-
</div>
<div v-else class="table_ellipsis">
{{ col.value ? col.value : "-" }}

View file

@ -742,6 +742,7 @@ function openModalOrder(val: boolean) {
// object #e.draft == "" &&
rowsOrder.value = rows.value.filter(
(e: any) =>
e.draft == "ส่งตัวแล้ว" &&
e.nodeName !== null &&
e.reportingDate !== null &&
e.statusId !== "REPORT" &&

View file

@ -194,16 +194,6 @@ function onUpdateNewRows() {
@update:model-value="onUpdateNewRows"
>
</q-select>
<q-btn
flat
round
color="add"
icon="mdi-account-arrow-right"
@click="openModalOrder()"
>
<q-tooltip>งไปออกคำส</q-tooltip>
</q-btn>
<div>
<q-btn
flat
@ -216,6 +206,17 @@ function onUpdateNewRows() {
<q-tooltip>งรายชอไปยงหนวยงาน</q-tooltip>
</q-btn>
</div>
<q-btn
flat
round
color="add"
icon="mdi-account-arrow-right"
@click="openModalOrder()"
>
<q-tooltip>งไปออกคำส</q-tooltip>
</q-btn>
<q-space />
<div class="items-center" style="display: flex">