diff --git a/src/api/18_command/api.command.ts b/src/api/18_command/api.command.ts index d986ff9b2..9bf159f39 100644 --- a/src/api/18_command/api.command.ts +++ b/src/api/18_command/api.command.ts @@ -25,6 +25,4 @@ export default { //Digital Signature commandDirector: `${env.API_URI}/org/profile/commander-director`, - - commandEditSalary: `${command}/tab2/edit-salary`, }; diff --git a/src/components/CurruncyInput.vue b/src/components/CurruncyInput.vue index e2b2f3ae0..9386d093e 100644 --- a/src/components/CurruncyInput.vue +++ b/src/components/CurruncyInput.vue @@ -44,7 +44,7 @@ const { inputRef, formattedValue, setValue } = useCurrencyInput({ currency: "THB", currencyDisplay: "hidden" as any, hideCurrencySymbolOnFocus: true, - hideGroupingSeparatorOnFocus: false, + hideGroupingSeparatorOnFocus: true, hideNegligibleDecimalDigitsOnFocus: true, autoDecimalDigits: false, useGrouping: true, diff --git a/src/modules/05_placement/components/PersonalList/DialogOrders.vue b/src/modules/05_placement/components/PersonalList/DialogOrders.vue index 8ac613a5f..253a7cf7f 100644 --- a/src/modules/05_placement/components/PersonalList/DialogOrders.vue +++ b/src/modules/05_placement/components/PersonalList/DialogOrders.vue @@ -346,7 +346,7 @@ watch( keep-color color="primary" dense - :disable="commandType ? false : true" + :disable="commandType" v-model="scope.selected" /> @@ -357,7 +357,7 @@ watch( keep-color color="primary" dense - :disable="commandType ? false : true" + :disable="commandType" v-model="props.selected" /> diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index 0d7776b28..931a67feb 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -774,6 +774,7 @@ function onSubmitDate() { */ function openModalOrder(val: boolean) { // ยังไม่ได้ดัก ส่ง ไป ทั้ง object #e.draft == "รอส่งตัว" && + console.log(rowsOrder.value); rowsOrder.value = rows.value.filter( (e: any) => diff --git a/src/modules/15_development/components/ProjectDetail.vue b/src/modules/15_development/components/ProjectDetail.vue index 8ed60030f..4847fa233 100644 --- a/src/modules/15_development/components/ProjectDetail.vue +++ b/src/modules/15_development/components/ProjectDetail.vue @@ -1015,7 +1015,6 @@ defineExpose({ v-model="formData.projectModalPlanned" label="จำนวน (รุ่น)" mask="#" - maxlength="5" reverse-fill-mask class="inputgreen" @update:model-value="props.onCheckChangeData()" @@ -1199,7 +1198,6 @@ defineExpose({ v-model="formData.projectModalActual" label="จำนวน (รุ่น)" mask="#" - maxlength="5" reverse-fill-mask @update:model-value="props.onCheckChangeData()" /> diff --git a/src/modules/15_development/components/Target.vue b/src/modules/15_development/components/Target.vue index 360cd4b26..73085fc29 100644 --- a/src/modules/15_development/components/Target.vue +++ b/src/modules/15_development/components/Target.vue @@ -222,7 +222,6 @@ const columnsPlannedGoals = ref([ align: "left", label: "จำนวน(คน)", sortable: true, - format: (val) => Number(val).toLocaleString("th-TH"), field: "amount", headerStyle: "font-size: 14px", style: "font-size: 14px", @@ -265,9 +264,9 @@ const columnsActualGoals = ref([ label: "จำนวน(คน)", sortable: true, field: "amount", - format: (val) => Number(val).toLocaleString("th-TH"), headerStyle: "font-size: 14px", style: "font-size: 14px", + format: (val) => Number(val), }, ]); @@ -291,7 +290,7 @@ const columnsRelated = ref([ field: "amount", headerStyle: "font-size: 14px", style: "font-size: 14px", - format: (val) => Number(val).toLocaleString("th-TH"), + format: (val) => Number(val), }, ]); @@ -1204,7 +1203,6 @@ onMounted(() => { v-model="formGroupTarget.amount" label="จำนวน(คน)" mask="#" - maxlength="5" reverse-fill-mask :rules="[ (val:string) => @@ -1354,7 +1352,6 @@ onMounted(() => { v-model="formGroupTarget.amount" label="จำนวน(คน)" mask="#" - maxlength="5" reverse-fill-mask :rules="[ (val:string) => @@ -1549,7 +1546,6 @@ onMounted(() => { v-model="formGroupRelate.amount" label="จำนวน(คน)" mask="#" - maxlength="5" reverse-fill-mask :rules="[ (val:string) => diff --git a/src/modules/18_command/components/DialogCreateCommand.vue b/src/modules/18_command/components/DialogCreateCommand.vue index c2928197c..d29ce53f6 100644 --- a/src/modules/18_command/components/DialogCreateCommand.vue +++ b/src/modules/18_command/components/DialogCreateCommand.vue @@ -1,5 +1,5 @@ - - - - diff --git a/src/modules/18_command/components/Step/Dialog2_Salary.vue b/src/modules/18_command/components/Step/Dialog2_Salary.vue index 68995a783..77a3efceb 100644 --- a/src/modules/18_command/components/Step/Dialog2_Salary.vue +++ b/src/modules/18_command/components/Step/Dialog2_Salary.vue @@ -8,7 +8,6 @@ import { useCounterMixin } from "@/stores/mixin"; import { useCommandMainStore } from "@/modules/18_command/store/Main"; import { useCommandDetail } from "@/modules/18_command/store/DetailStore"; import DialogHeader from "@/components/DialogHeader.vue"; -import CurruncyInput from "@/components/CurruncyInput.vue"; const $q = useQuasar(); const { showLoader, hideLoader, dialogConfirm, messageError, success } = @@ -141,30 +140,25 @@ watch( v-if="store.isShowSalary(type)" class="col-xs-6 col-sm-6 col-md-6" > -
-
-
@@ -209,7 +193,7 @@ watch( v-if="store.isShowSalary(type)" class="col-xs-6 col-sm-6 col-md-6" > - diff --git a/src/modules/18_command/interface/index/Main.ts b/src/modules/18_command/interface/index/Main.ts index 1ee537587..98e1b78a7 100644 --- a/src/modules/18_command/interface/index/Main.ts +++ b/src/modules/18_command/interface/index/Main.ts @@ -60,7 +60,6 @@ interface ListCommand { name: string; subtitle?: string; commandSysId: string; - isSalary?: boolean; } interface DataOrder {