gaoluyang
2025-04-02 15d62c82d29d8fcca20923f1a90011b759b13d2b
src/views/business/productOrder/index.vue
@@ -39,6 +39,7 @@
        </el-form-item>
      </el-form>
    </div>
    <div class="container" v-loading="isLoading">
    <div class="table-tab">
      <div>
        <ul class="tab">
@@ -63,6 +64,7 @@
      <lims-table :tableData="tableData" :column="column" :isSelection="true" :handleSelectionChange="selectMethod"
        @pagination="pagination" :height="'calc(100vh - 280px)'" :key="upIndex" :page="page"
        :tableLoading="tableLoading"></lims-table>
      </div>
    </div>
    <div>
      <!-- 审核 -->
@@ -345,6 +347,7 @@
  },
  data() {
    return {
      isLoading: false, // 控制加载状态
      entity: {
        orderType: '',
        state: '',
@@ -800,8 +803,9 @@
        }
      }
      const params = { ...this.entity, state: this.tabList[this.tabIndex].value }
      this.tableLoading = true
      this.isLoading = true; // 开始加载
      selectInsOrderParameter({...this.page,...params}).then(res => {
        this.isLoading = false; // 结束加载
        this.upIndex++
        this.tableLoading = false
        if (res.code === 200) {
@@ -809,7 +813,7 @@
          this.page.total = res.data.total
        }
      }).catch(err => {
        this.tableLoading = false
        this.isLoading = false; // 结束加载
      })
    },
    refresh() {