From db38a9ee85404adb17745a341157f66e5d746d53 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 07 七月 2026 17:06:48 +0800
Subject: [PATCH] pro 1.去掉logo
---
src/views/productionManagement/productStructure/index.vue | 43 ++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 42 insertions(+), 1 deletions(-)
diff --git a/src/views/productionManagement/productStructure/index.vue b/src/views/productionManagement/productStructure/index.vue
index 284921a..269f098 100644
--- a/src/views/productionManagement/productStructure/index.vue
+++ b/src/views/productionManagement/productStructure/index.vue
@@ -1,6 +1,30 @@
<template>
<div class="app-container">
<div class="table_list">
+ <el-form :inline="true" :model="queryParams" class="search-bar" @submit.prevent>
+ <el-form-item label="浜у搧鍚嶇О">
+ <el-input
+ v-model="queryParams.productName"
+ placeholder="璇疯緭鍏ヤ骇鍝佸悕绉�"
+ clearable
+ style="width: 220px"
+ @keyup.enter="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item label="瑙勬牸鍨嬪彿">
+ <el-input
+ v-model="queryParams.productModelName"
+ placeholder="璇疯緭鍏ヨ鏍煎瀷鍙�"
+ clearable
+ style="width: 220px"
+ @keyup.enter="handleQuery"
+ />
+ </el-form-item>
+ <el-form-item>
+ <el-button type="primary" @click="handleQuery">鏌ヨ</el-button>
+ <el-button @click="resetQuery">閲嶇疆</el-button>
+ </el-form-item>
+ </el-form>
<div style="text-align: right; margin-bottom: 10px;">
<el-button type="primary"
@click="handleAdd">鏂板</el-button>
@@ -160,7 +184,7 @@
label: "鎿嶄綔",
align: "center",
fixed: "right",
- width: 150,
+ width: 250,
operation: [
{
name: "澶嶅埗",
@@ -197,6 +221,10 @@
const operationType = ref("add"); // add | edit
const formRef = ref(null);
const showProductSelectDialog = ref(false);
+ const queryParams = reactive({
+ productName: "",
+ productModelName: "",
+ });
// BOM瀵煎叆鍙傛暟
const upload = reactive({
@@ -249,12 +277,25 @@
getList();
};
+ const handleQuery = () => {
+ page.current = 1;
+ getList();
+ };
+
+ const resetQuery = () => {
+ queryParams.productName = "";
+ queryParams.productModelName = "";
+ handleQuery();
+ };
+
// 鏌ヨ鍒楄〃
const getList = () => {
tableLoading.value = true;
listPage({
current: page.current,
size: page.size,
+ productName: queryParams.productName || undefined,
+ productModelName: queryParams.productModelName || undefined,
})
.then(res => {
const records = res?.data?.records || [];
--
Gitblit v1.9.3