refactor(command): default isBangkok to true when commandCode is 'C-PM-47'
This commit is contained in:
parent
2dfe617284
commit
8a9a14a1a0
1 changed files with 1 additions and 1 deletions
|
|
@ -224,7 +224,7 @@ onMounted(async () => {
|
||||||
formData.isBangkok = !store.isIdofficer
|
formData.isBangkok = !store.isIdofficer
|
||||||
? null
|
? null
|
||||||
: props.formCommandList.commandCode === "C-PM-47"
|
: props.formCommandList.commandCode === "C-PM-47"
|
||||||
? "OFFICE"
|
? "BANGKOK"
|
||||||
: props.formCommandList.isBangkok;
|
: props.formCommandList.isBangkok;
|
||||||
commandCode.value = props.formCommandList.commandCode;
|
commandCode.value = props.formCommandList.commandCode;
|
||||||
const [volume, chapter] = props.formCommandList.commandNo.split("/");
|
const [volume, chapter] = props.formCommandList.commandNo.split("/");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue