uView Select +input

u-input style="display: none;" placeholder="Please enter object/field ID" v-model="iform.findingCode" />
u-input type="select" :select-open="selectFindingCode" v-model="iform.findingCodeDesc" placeholder="Please enter finding code" @click="selectFindingCode = true">

u-select mode="single-column" :list="findingCodeList" v-model="selectFindingCode"
@confirm="selectConfirm" confirm-text="OK" cancel-text="Cancel">

selectConfirm(e) {
me.iform.findingCode = '';
e.map((val, index) => {
me.iform.findingCode = val.value;
me.iform.findingCodeDesc = val.label;
})
},

show:false,
findingCodeList: [],

posted @ 2020-11-12 17:35  gsfs  阅读(4572)  评论(0编辑  收藏  举报