|
@@ -1020,7 +1020,7 @@ export default defineComponent({
|
|
|
tempList.forEach((item: any) => {
|
|
|
item.label = item.name
|
|
|
item.value = item.id + ''
|
|
|
- item.disabled = !item.enableFlag
|
|
|
+ // item.disabled = !item.enableFlag
|
|
|
|
|
|
state.instrumentIdNameMap.set(item.id + '', item.name)
|
|
|
|
|
@@ -1162,7 +1162,7 @@ export default defineComponent({
|
|
|
forms.musicalInstrumentIdList = data.musicalInstrumentIds ? data.musicalInstrumentIds.split(',') : []
|
|
|
// 乐器下拉格式化,停用的过滤
|
|
|
state.instrumentList = state.instrumentList.filter((next: any) => {
|
|
|
- return (next.enableFlag || forms.musicalInstrumentIdList.includes(next.id));
|
|
|
+ return (next.enableFlag || forms.musicalInstrumentIdList.includes(next.id + ''));
|
|
|
})
|
|
|
|
|
|
|