diff --git a/src/modules/18_command/views/detail.vue b/src/modules/18_command/views/detail.vue index e1f421f75..518a6a8cf 100644 --- a/src/modules/18_command/views/detail.vue +++ b/src/modules/18_command/views/detail.vue @@ -79,7 +79,7 @@ async function fetchDataCommandList() { .then(async (res) => { const data = await res.data.result; formCommandList = data; - statusCheck.value = data.commandSysId == 'PROBATION'? true:false; + statusCheck.value = data.commandCode == 'C-PM-10'? true:false; store.dataCommand = data; isChangeData.value = false; //จำลอง }) @@ -132,7 +132,7 @@ onMounted(async () => { >