gaoluyang
2026-05-06 6f07f6503055e92d74cad79dc93633c3896ef3c2
src/views/inventoryManagement/dispatchLog/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,16 @@
               clearable
               @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/>
        <span class="search_title ml10">来源:</span>
        <el-select v-model="searchForm.recordType"
                   style="width: 240px"
@@ -34,8 +44,6 @@
            >搜索</el-button
            >
            <el-button @click="handleReset">重置</el-button>
         </div>
         <div>
            <el-button @click="handleOut">导出</el-button>
            <el-button type="danger" plain @click="handleDelete">删除</el-button>
            <el-button type="primary" plain @click="handlePrint">打印</el-button>
@@ -168,6 +176,8 @@
const data = reactive({
   searchForm: {
      supplierName: "",
      productName: "",
      model: "",
      timeStr: "",
    recordType: "",
    type: "",
@@ -185,6 +195,8 @@
/** 重置按钮操作 */
const handleReset = () => {
  searchForm.value.supplierName = "";
  searchForm.value.productName = "";
  searchForm.value.model = "";
  searchForm.value.timeStr = "";
  searchForm.value.recordType = "";
  searchForm.value.type = "";