update code

This commit is contained in:
kamoa457 2023-11-05 18:56:23 +07:00
parent 0f49752428
commit f9aebcee2e
2 changed files with 14 additions and 14 deletions

View File

@ -204,16 +204,16 @@
"value": "ฝสสน.1"
},
{
"label": "ฝสสน.1",
"value": "ฝสสน.1"
"label": "ฝสสน.2",
"value": "ฝสสน.2"
},
{
"label": "ฝสสน.1",
"value": "ฝสสน.1"
"label": "ฝสสน.3",
"value": "ฝสสน.3"
},
{
"label": "ฝสสน.1",
"value": "ฝสสน.1"
"label": "ฝสสน.4",
"value": "ฝสสน.4"
},
{
"label": "ฝสสน.5",
@ -328,8 +328,8 @@
],
"typeranks": [
{
"label": "ทั่วไป",
"value": "ทั่วไป"
"label": "ลูกจ้าง",
"value": "ลูกจ้าง"
},
{
"label": "ประทวน",

View File

@ -90,11 +90,11 @@ export default {
rank: "", //
idcard: "134044411441178",
phone: "0325647845",
selectedRanks: "ส.ต.ต.",
selectedAffiliation: "ฝอ.2",
selectedRanks: "",
selectedAffiliation: "",
birthday: "14/07/2534",
typeAffiliation: "ทั่วไป",
typeRanks: "ประทวน",
typeAffiliation: "",
typeRanks: "",
};
},
created() {
@ -323,10 +323,10 @@ export default {
></v-select>
</div>
<div class="mb-1">
<label>ยศ</label>
<label>ลำดยศ</label>
<v-select :options="masterData?.typeranks" v-model="typeRanks"></v-select>
</div>
<div class="mb-3" v-if="typeRanks.label == 'ทั่วไป'">
<div class="mb-3" v-if="typeRanks.label == 'ลูกจ้าง'">
<label> {{ typeRanks.label }}</label>
<v-select :options="masterData?.ranks" v-model="selectedRanks"></v-select>
</div>