gaoluyang
2026-05-06 6f07f6503055e92d74cad79dc93633c3896ef3c2
src/views/inventoryManagement/receiptManagement/Record.vue
@@ -1,5 +1,5 @@
<template>
  <div class="app-container">
  <div>
    <div class="search_form">
      <div>
        <span class="search_title ml10">入库日期:</span>
@@ -12,6 +12,11 @@
                        @change="handleQuery"/>
        <span class="search_title ml10">产品大类:</span>
        <el-input v-model="searchForm.productName"
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
        <span class="search_title ml10">图纸编号:</span>
        <el-input v-model="searchForm.model"
                  style="width: 240px"
                  placeholder="请输入"
                  clearable/>
@@ -38,8 +43,6 @@
                   style="margin-left: 10px">搜索
        </el-button>
        <el-button @click="handleReset">重置</el-button>
      </div>
      <div>
        <el-button @click="handleOut">导出</el-button>
        <el-button type="danger"
                   plain
@@ -159,6 +162,7 @@
const data = reactive({
  searchForm: {
    productName: "",
    model: "",
    timeStr: "",
    recordType: "",
    type: "",
@@ -176,6 +180,7 @@
/** 重置按钮操作 */
const handleReset = () => {
  searchForm.value.productName = "";
  searchForm.value.model = "";
  searchForm.value.timeStr = "";
  searchForm.value.recordType = "";
  searchForm.value.type = "";
@@ -200,6 +205,7 @@
  }
  params.timeStr = searchForm.value.timeStr;
  params.productName = searchForm.value.productName;
  params.model = searchForm.value.model;
  params.recordType = searchForm.value.recordType;
  if (searchForm.value.type !== "") {
    params.type = searchForm.value.type;