瀏覽代碼

Merge branch '03/03Lebao' into test

lex-xin 4 年之前
父節點
當前提交
26e0bdd227
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/views/studentManager/modals/addMusic.vue

+ 1 - 1
src/views/studentManager/modals/addMusic.vue

@@ -125,12 +125,12 @@ export default {
 
 
       musicForm.date = [(operationData.startTime), (operationData.endTime)]
       musicForm.date = [(operationData.startTime), (operationData.endTime)]
       musicForm.id = operationData.id
       musicForm.id = operationData.id
-      console.log(musicForm)
     }
     }
   },
   },
   methods: {
   methods: {
     changeCategory(val) {
     changeCategory(val) {
       this.musicForm.goodsName = "";
       this.musicForm.goodsName = "";
+      this.musicForm.goodsId = null;
       if (val) {
       if (val) {
         goodsQuery({ goodsCategoryId: val, rows: 99999, type: 'INSTRUMENT' }).then((res) => {
         goodsQuery({ goodsCategoryId: val, rows: 99999, type: 'INSTRUMENT' }).then((res) => {
           if (res.code == 200 && res.data) {
           if (res.code == 200 && res.data) {