添加了注册的搜索和档案的我还会说禁止选择
This commit is contained in:
parent
82d7a69123
commit
e7b3f694b0
@ -23,16 +23,17 @@
|
||||
>
|
||||
<a-input-group compact>
|
||||
<a-select
|
||||
:default-value="quhaolist[0].code"
|
||||
:default-value="quhaolist[0].name + '+' + quhaolist[0].code"
|
||||
size="small"
|
||||
@change="getquhao"
|
||||
class="getcode"
|
||||
style="width: 50%"
|
||||
show-search
|
||||
>
|
||||
<a-select-option
|
||||
v-for="(i, j) in quhaolist"
|
||||
:key="j"
|
||||
:value="i.code"
|
||||
:value="i.name + '+' + i.code"
|
||||
>
|
||||
{{ i.name }}+{{ i.code }}
|
||||
</a-select-option>
|
||||
|
@ -119,6 +119,7 @@
|
||||
index) in chiveslist[1]"
|
||||
:key="index"
|
||||
:value="item.name"
|
||||
:disabled="isdisabled(item.name)"
|
||||
>
|
||||
{{ item.name }}
|
||||
</a-select-option>
|
||||
@ -929,9 +930,20 @@ export default defineComponent({
|
||||
|
||||
function choosewillsay(e?: any) {
|
||||
console.log(formData.value.willsayValue);
|
||||
|
||||
console.log(e);
|
||||
}
|
||||
|
||||
function isdisabled(name: string){
|
||||
for(const i in formData.value.willsay){
|
||||
if(formData.value.willsay[i].name == name){
|
||||
return true;
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function currencychange(e?: any) {
|
||||
console.log(e);
|
||||
userinfo.value.currencyValue = e;
|
||||
@ -994,7 +1006,8 @@ export default defineComponent({
|
||||
showname,
|
||||
uploadspic,
|
||||
lan,
|
||||
interestslist
|
||||
interestslist,
|
||||
isdisabled
|
||||
};
|
||||
},
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user