소스 검색

去掉乱码

mxx 3 년 전
부모
커밋
9026e1adc4
2개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      src/views/houseSelfCollect/acquisitionManagement.vue
  2. 3 1
      src/views/houseSelfCollect/acquisitionManagementAdd.vue

+ 1 - 0
src/views/houseSelfCollect/acquisitionManagement.vue

@@ -191,6 +191,7 @@
       },
       //获取列表数据
       getList() {
+        this.goodsNameList=[]
         getPurchasePrice({
           currentPage: this.currentPage,
           pageSize: this.pageSize,

+ 3 - 1
src/views/houseSelfCollect/acquisitionManagementAdd.vue

@@ -68,7 +68,6 @@
             </div>
             <el-button @click="delSetPrice(item,index)" :disabled="!isEdit">删除</el-button>
           </div>
-          {{item}}
           <div class="level">
             <el-checkbox-group v-model="item.checkList" @change="changeLevel($event,index)">
               <el-checkbox label="一等" :disabled="!isEdit"></el-checkbox>
@@ -268,7 +267,10 @@
             this.selectVal = response[0].constValue
           }else{
             this.goodnameList = _list
+            this.goodnameList = _list
+            if(_list.length!=0){
             this.selectVal = _list[0].constValue
+            }
           }
         })
       switch (this.$route.query.type) {