src/views/purchaseManage/purchase/index.vue
@@ -35,7 +35,7 @@
                  <el-button type="text" size="small" @click="editClick(scope.row)" style="margin-right: 5px"
                  >编辑</el-button
                  >
                  <el-button @click="submitClick(scope.row)" type="text" size="small">提交</el-button>
                  <el-button v-if="scope.row.status< 4" @click="submitClick(scope.row)" type="text" size="small">提交</el-button>
                </template>
              </el-table-column>
            </template>
@@ -156,17 +156,9 @@
        })
    },
    // 搜索
    searchClick(val, content) {
      console.log(val, content)
      this.search = content
      this.getData()
    },
    resetClick() {
      this.search = ""
      this.getData()
    },
    onFilterSearch(searchText){
      this.search = searchText ?? ''
      this.pagerOptions.currPage = 1
      this.getData()
    },
    // 新建
@@ -235,8 +227,9 @@
              this.$message.warning("提交失败")
            }
          })
        },(e)=>{
          console.error(e)
        })
        .catch(() => {})
    },
    // 详情