ปรับ step ออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-10-11 09:52:27 +07:00
parent bf53fbc7d2
commit 126afe97f8
2 changed files with 2 additions and 2 deletions

View file

@ -46,7 +46,7 @@ async function fetchData() {
isDraft.value = data.isDraft;
isSign.value = data.isSign;
isAttachment.value = data.isAttachment;
store.readonly = step.value === 5;
store.readonly = step.value > 2;
})
.catch((err) => {
messageError($q, err);

View file

@ -36,7 +36,7 @@ const props = defineProps({
const commandId = ref<string>(route.params.id.toString()); //ID
//
let formData = reactive<FormDataDetail>({
let formData = reactive({
commandNo: "",
commandYear: null,
detailHeader: "",