소스 검색

修改逻辑判断

695593266@qq.com 1 년 전
부모
커밋
94bdae7796
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/inspectionPlan/components/new-edit.vue

+ 2 - 2
src/views/inspectionPlan/components/new-edit.vue

@@ -629,7 +629,7 @@
 
       // 分页后的样品列表
       paginatedSampleList() {
-        if (this.rowIds && this.isOrder) {
+        if (this.rowIds && this.isSampleList) {
           console.log(this.sampleList, 'sampleList');
           return this.sampleList;
         }
@@ -2160,7 +2160,7 @@
       },
       async handleSampleCurrentChange(val) {
         this.samplePagination.currentPage = val;
-        if (this.rowIds && this.isOrder) {
+        if (this.rowIds && this.isSampleList) {
           await this.getSampleList(this.rowIds);
         }
       },