ปรับ step ออกคำสั่ง
This commit is contained in:
parent
bf53fbc7d2
commit
126afe97f8
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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: "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue