浏览代码

提交测试

1
mo 4 年之前
父节点
当前提交
ad56858170
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/views/teamBuild/modals/change-voice.vue

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

@@ -513,6 +513,7 @@ export default {
     },
     submit() {
       this.$refs["form"].validate((valid) => {
+        this.detail.subjectId
         if (valid) {
           subjectChangeAdd({
             changeCourseFee: this.numFormat(
@@ -538,7 +539,7 @@ export default {
               this.form.musicalGoods === "OWNED" ? 0 : this.form.musicalGoods,
             originalCost: this.item.originalCost,
             organId: this.item.organId,
-            originalSubjectId: this.detail.subjectId,
+            originalSubjectId: this.detail?.subjectId,
             changeSubjectId: this.form.subjectId,
           }).then((res) => {
             this.$listeners.close();