xbx #124

Merged
theluyuan merged 5 commits from xbx into master 2020-11-11 02:52:42 +00:00
Showing only changes of commit 00a4dee4ec - Show all commits

View File

@ -28,12 +28,14 @@
@change="getquhao"
class="getcode"
style="width: 50%"
option-label-prop="label"
show-search
>
<a-select-option
v-for="(i, j) in quhaolist"
:key="j"
:value="i.name + '+' + i.code"
:label="'+' + i.code"
>
{{ i.name }}+{{ i.code }}
</a-select-option>
@ -394,6 +396,13 @@ export default defineComponent({
function navto(url: string) {
router.push(url);
}
function getquhao(e?: any){
console.log(e)
phone.value.quhao = e.toString()
phone.value.quhao = phone.value.quhao.split("+")[1];
}
return {
formLayout,
getcode,
@ -408,6 +417,7 @@ export default defineComponent({
navto,
lan,
quhaolist,
getquhao
};
},
});