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