UI ส่งไปออกคำสั่งโครงสร้างอัตรากำลัง
This commit is contained in:
parent
d5e49b474a
commit
af90e36918
4 changed files with 314 additions and 12 deletions
|
|
@ -83,11 +83,11 @@ const columns = ref<QTableProps["columns"]>([
|
|||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "commandExcecuteDate",
|
||||
name: "commandAffectDate",
|
||||
align: "left",
|
||||
label: "วันที่ลงนาม",
|
||||
sortable: false,
|
||||
field: "commandExcecuteDate",
|
||||
field: "commandAffectDate",
|
||||
format(val) {
|
||||
return val ? date2Thai(val) : "-";
|
||||
},
|
||||
|
|
@ -95,11 +95,11 @@ const columns = ref<QTableProps["columns"]>([
|
|||
style: "font-size: 14px",
|
||||
},
|
||||
{
|
||||
name: "commandAffectDate",
|
||||
name: "commandExcecuteDate",
|
||||
align: "left",
|
||||
label: "วันที่คำสั่งมีผล",
|
||||
sortable: false,
|
||||
field: "commandAffectDate",
|
||||
field: "commandExcecuteDate",
|
||||
format(val) {
|
||||
return val ? date2Thai(val) : "-";
|
||||
},
|
||||
|
|
@ -523,7 +523,9 @@ watch(
|
|||
<q-btn
|
||||
label="บันทึกและเลือกรายชื่อต่อ"
|
||||
@click="() => onSubmit(false)"
|
||||
:disable="selected.length == 0 && commandType == ''"
|
||||
:disable="
|
||||
selectCreate == 'NEW' ? commandType == '' : selected.length == 0
|
||||
"
|
||||
color="blue"
|
||||
>
|
||||
<q-tooltip>บันทึกและเลือกรายชื่อต่อ</q-tooltip>
|
||||
|
|
@ -531,7 +533,9 @@ watch(
|
|||
<q-btn
|
||||
label="บันทึกและไปยังหน้าคำสั่ง"
|
||||
@click="() => onSubmit(true)"
|
||||
:disable="selected.length == 0 && commandType == ''"
|
||||
:disable="
|
||||
selectCreate == 'NEW' ? commandType == '' : selected.length == 0
|
||||
"
|
||||
color="public"
|
||||
>
|
||||
<q-tooltip>บันทึกและไปยังหน้าคำสั่ง</q-tooltip>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue