Compare commits

..

No commits in common. "c4fe629cd202f8fd7c657dfd8495eab63f2d3a19" and "f28758de8dd9e5916b8dd1a67233ea308f0c8b9a" have entirely different histories.

View file

@ -122,7 +122,8 @@ async function onSubmit() {
if (
store.isIdofficer &&
formData.isBangkok !== "BANGKOK" &&
formData.isBangkok !== "OFFICE"
formData.isBangkok !== "OFFICE" &&
commandCode.value !== "C-PM-47"
) {
dialogMessageNotify($q, "กรุณาเลือกคำสั่ง");
return;
@ -223,8 +224,6 @@ onMounted(async () => {
formData.commandExcecuteDate = props.formCommandList.commandExcecuteDate;
formData.isBangkok = !store.isIdofficer
? null
: props.formCommandList.commandCode === "C-PM-47"
? "OFFICE"
: props.formCommandList.isBangkok;
commandCode.value = props.formCommandList.commandCode;
const [volume, chapter] = props.formCommandList.commandNo.split("/");
@ -486,9 +485,12 @@ onMounted(async () => {
/>
</div>
<div class="col-12 q-gutter-sm" v-if="store.isIdofficer">
<div
class="col-12 q-gutter-sm"
v-if="store.isIdofficer && commandCode !== 'C-PM-47'"
>
<q-radio
:disable="store.readonly || commandCode === 'C-PM-47'"
:disable="store.readonly"
keep-color
color="primary"
dense
@ -498,7 +500,7 @@ onMounted(async () => {
/>
<q-radio
:disable="store.readonly || commandCode === 'C-PM-47'"
:disable="store.readonly"
keep-color
color="primary"
dense