refactor(command): default isBangkok to true when commandCode is 'C-PM-47'

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2026-06-22 10:45:45 +07:00
parent 2dfe617284
commit 8a9a14a1a0

View file

@ -224,7 +224,7 @@ onMounted(async () => {
formData.isBangkok = !store.isIdofficer
? null
: props.formCommandList.commandCode === "C-PM-47"
? "OFFICE"
? "BANGKOK"
: props.formCommandList.isBangkok;
commandCode.value = props.formCommandList.commandCode;
const [volume, chapter] = props.formCommandList.commandNo.split("/");