周宾
2025-12-11 80590568377604a54db5e742622d1d47e59f4951
src/views/inventoryManagement/stockManagement/index.vue
@@ -17,6 +17,13 @@
              clearable
              @change="handleQuery"
            />
                  <span class="search_title ml10">产品大类:</span>
                  <el-input
                     v-model="searchForm.productCategory"
                     style="width: 240px"
                     placeholder="请输入"
                     clearable
                  />
            <el-button type="primary" @click="handleQuery" style="margin-left: 10px">搜索</el-button>
          </div>
          <div>
@@ -71,6 +78,13 @@
              clearable
              @change="handleQuery"
            />
                  <span class="search_title ml10">产品大类:</span>
                  <el-input
                     v-model="searchForm.productCategory"
                     style="width: 240px"
                     placeholder="请输入"
                     clearable
                  />
            <el-button type="primary" @click="handleQuery" style="margin-left: 10px">搜索</el-button>
          </div>
          <div>
@@ -309,6 +323,7 @@
  searchForm: {
    supplierName: '',
    customerName: '',
    productCategory:'',
    timeStr: getCurrentDate(),
  },
  form: {
@@ -372,6 +387,7 @@
  } else {
    params.supplierName = searchForm.value.supplierName
  }
  params.productCategory = searchForm.value.productCategory
  return params
}