diff --git a/src/App.vue b/src/App.vue index 6155ef5d..545c4771 100644 --- a/src/App.vue +++ b/src/App.vue @@ -308,5 +308,11 @@ export default { left: 50%; color: #cccccc; } +.el-select-dropdown__item{ + height:auto!important; +} +.el-select-dropdown__item div{ + margin-left:15px!important; +} //排放系统 diff --git a/src/views/wpm_gx/mlog_form.vue b/src/views/wpm_gx/mlog_form.vue index af70a6ed..6bcb02e6 100644 --- a/src/views/wpm_gx/mlog_form.vue +++ b/src/views/wpm_gx/mlog_form.vue @@ -97,7 +97,7 @@ {{item.name}} @@ -314,7 +314,12 @@ export default { getEquipment() { let that = this; this.$API.em.equipment.list.req({ page: 0, type: 10,mgroup:that.mgroup}).then((res) => { - this.options = res; + res.forEach((item) => { + let obj = {}; + Object.assign(obj, item); + obj.label = item.name+'-'+item.number; + that.options.push(obj); + }); }); }, getSupplier() {