updated
This commit is contained in:
parent
2c64730342
commit
ffa8511138
3 changed files with 5 additions and 126 deletions
|
|
@ -82,7 +82,7 @@ const columns = ref<QTableProps["columns"]>([
|
|||
|
||||
const modalCommand = ref<boolean>(false);
|
||||
|
||||
/** popup ยืนยันส่งัว */
|
||||
/** popup ยืนยันส่งไปออกคำสั่ง */
|
||||
function saveOrder() {
|
||||
dialogConfirm(
|
||||
$q,
|
||||
|
|
@ -111,7 +111,7 @@ function convertText(val: string) {
|
|||
case "PENDING":
|
||||
return "รอดำเนินการ";
|
||||
case "REPORT":
|
||||
return "ส่งไปเเต่งตั้ง";
|
||||
return "ส่งไปออกคำสั่ง";
|
||||
case "DONE":
|
||||
return "เสร็จสิ้น";
|
||||
default:
|
||||
|
|
@ -125,6 +125,7 @@ watchEffect(() => {
|
|||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<q-dialog v-model="props.modal">
|
||||
<q-card style="width: 1200px; max-width: 80vw">
|
||||
|
|
@ -179,7 +180,7 @@ watchEffect(() => {
|
|||
:filter="filterKeyword"
|
||||
row-key="id"
|
||||
:visible-columns="visibleColumns"
|
||||
selection="multiple"
|
||||
selection="single"
|
||||
v-model:selected="selected"
|
||||
>
|
||||
<template v-slot:header-selection="scope">
|
||||
|
|
@ -232,7 +233,6 @@ watchEffect(() => {
|
|||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
|
||||
<DialogCreateCommand
|
||||
v-model:modal="modalCommand"
|
||||
:command-type-code="'C-PM-10'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue