소스 검색

Merge branch 'five-second-add' of http://120.79.166.78:19005/zhongzheng-edu/saas_entrepot_admin into six

Tang 3 년 전
부모
커밋
1e632f4684
1개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 2
      src/views/Marketing/order/offlineOrder/batchRecord/secondStep/setGoodsList.vue

+ 5 - 2
src/views/Marketing/order/offlineOrder/batchRecord/secondStep/setGoodsList.vue

@@ -289,10 +289,13 @@ export default {
       this.newDatas = JSON.parse(JSON.stringify(datas));
       this.copynewDatas = JSON.parse(JSON.stringify(datas));
       this.oldObj = JSON.parse(JSON.stringify(oldObj));
-      this.active = "";
-      this.goodsList = [];
+      if(this.active){
+        this.searchData()
+      }
+      // this.active = "";
       this.goodsName = "";
       this.goodsPrice = "";
+      this.goodsList = [];
       this.$api
         .inquireCourseSubject({ businessId: Number(oldObj.businessId) })
         .then((res) => {