ปรับส่งไปออกคำสั่ง วินัย

This commit is contained in:
setthawutttty 2024-10-09 11:02:17 +07:00
parent 605608ff04
commit d714562571
9 changed files with 30 additions and 9 deletions

View file

@ -11,7 +11,7 @@ import { useInvestigateDisStore } from "@/modules/11_discipline/store/Investigat
import { useInvestigateFactStore } from "@/modules/11_discipline/store/InvestigateFactStore";
import { useDisciplineMainStore } from "@/modules/11_discipline/store/Main";
import type { FormData } from "@/modules/11_discipline/interface/request/investigateFact";
import type { FormData } from "@/modules/11_discipline/interface/request/InvestigateFact";
import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
import CalandarDialog from "@/modules/11_discipline/components/2_InvestigateFacts/CalandarDialog.vue";
@ -608,7 +608,7 @@ function filterOptionFnCauseText(val: string, update: Function) {
watch(props.data, async () => {
if (props.data !== null) {
if (countNum.value === 1) {
isReadonly.value = props.data.status != "NEW" ?? true;
isReadonly.value = props.data.status != "NEW" ? true : false;
isSave.value = false;
isUpdate.value = true;