gaoluyang
2025-02-28 ff8a17a69ea020baf2317c46c5ffe37e3dae0ed4
原材料报检分页
已修改3个文件
11 ■■■■ 文件已修改
src/views/business/inspectionTask/index.vue 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/inspectionTask/inspection.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/rawMaterialInspection/index.vue 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/business/inspectionTask/index.vue
@@ -572,10 +572,11 @@
    this.getDicts("inspection_task_state").then((response) => {
      this.inspectionTaskState = this.dictToValue(response.data);
    });
    this.refreshTable();
  },
  mounted() {
    this.queryParams.userId = this.userId;
    this.refreshTable();
  },
  methods: {
    getList() {
src/views/business/inspectionTask/inspection.vue
@@ -2899,7 +2899,7 @@
      }
    },
    goback() {
      this.$tab.closeOpenPage({ path: "/business/inspectionTask" });
      this.$router.go(-1)
    }
  },
};
src/views/business/rawMaterialInspection/index.vue
@@ -549,7 +549,7 @@
    // 待报检、待下单查询
    getWarehouseSubmitApi () {
      this.tableLoading = true
      const params = {...this.componentData, isInspect: this.tabIndex, state: this.tabIndex === 0 ? null : 0}
      const params = {...this.componentData, isInspect: this.tabIndex, state: this.tabIndex === 0 ? null : 0, ...this.page}
      getWarehouseSubmit(params).then(res => {
        this.tableLoading = false
        if (res.code === 200) {
@@ -563,7 +563,7 @@
    // 已完成部查询
    getIfsByFinishList () {
      this.tableLoading1 = true
      getIfsByFinish({...this.componentData}).then(res => {
      getIfsByFinish({...this.componentData, ...this.page1}).then(res => {
        this.tableLoading1 = false
        if (res.code === 200) {
          this.tableData1 = res.data.records
@@ -576,7 +576,7 @@
    // 全部查询
    getIfsByAllList () {
      this.tableLoading1 = true
      getIfsByAll({...this.componentData}).then(res => {
      getIfsByAll({...this.componentData, ...this.page1}).then(res => {
        this.tableLoading1 = false
        if (res.code === 200) {
          this.tableData1 = res.data.records