wolyshaw vor 4 Jahren
Ursprung
Commit
735ea50bfd

Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/index.html


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/static/css/chunk-0c0b6366.12713ad4.css


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/static/js/app.98a701f4.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/static/js/chunk-0c0b6366.bcb20fd2.js


Datei-Diff unterdrückt, da er zu groß ist
+ 0 - 0
dist/static/js/chunk-736aba9f.761fad42.js


+ 0 - 0
dist/static/js/chunk-c6e235ce.b962d568.js → dist/static/js/chunk-c6e235ce.ac062823.js


+ 14 - 2
src/views/teamBuild/modals/change-voice.vue

@@ -29,7 +29,7 @@
             :value="item.subjectId">
           </el-option>
         </el-select>
-        <span v-else>{{detail.subjectName}}</span>
+        <span v-else>{{changeSubjectName}}</span>
       </el-form-item>
       <el-form-item
         label="更改乐器"
@@ -239,7 +239,7 @@ export default {
   watch: {
     detail() {
       if (this.detail) {
-        // console.log(this.detail, this.voiceList)
+        console.log(this.detail, this.voiceList)
         this.fetchDetail()
       }
     },
@@ -258,6 +258,18 @@ export default {
       const { musicalGoods } = this.form
       return musicalGoods ? this.accessoriesByGoods[musicalGoods] || [] : []
     },
+    changeSubjectName() {
+      let name = ''
+      if (this.item.changeSubjectId) {
+        for (const item of this.voiceList) {
+          if (item.subjectId === this.item.changeSubjectId) {
+            name = item.subjectName
+            break
+          }
+        }
+      }
+      return name
+    },
     changeAccessoriesGoods() {
       const subjectChange = this.item
       return (subjectChange.changeAccessoriesGoods || []).map(item => item.name).join(',')

Einige Dateien werden nicht angezeigt, da zu viele Dateien in diesem Diff geändert wurden.