Browse Source

Merge branch 'iteration-20240612'

lex 1 year ago
parent
commit
0f742573db
1 changed files with 5 additions and 1 deletions
  1. 5 1
      src/tenant/music/music-detail/new-index.tsx

+ 5 - 1
src/tenant/music/music-detail/new-index.tsx

@@ -773,7 +773,10 @@ export default defineComponent({
     }
     const partColumns = computed(() => {
       return staffData.partList.map((item: any, index: number) => {
-        const instrumentName = getInstrumentName(item.track)
+        const instrumentName =
+          musicDetail.value?.musicSheetType === 'CONCERT'
+            ? getInstrumentName(item.track)
+            : ''
         return {
           text: item.track + (instrumentName ? `(${instrumentName})` : ''),
           value: index,
@@ -1139,6 +1142,7 @@ export default defineComponent({
                         const item: any = partColumns.value.find(
                           (c: any) => c.value === staffData.partIndex
                         )
+
                         // const index = staffData.tempPartList.findIndex(
                         //   (i: any) => i.track === item?.track
                         // )