From 6ce0d7be73f491fcda424ac815006a82e0d871c4 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 30 三月 2026 10:18:29 +0800
Subject: [PATCH] fix: 添加规格型号搜索
---
src/views/basicData/product/index.vue | 2 +-
src/views/consumablesLogistics/stockManagement/Qualified.vue | 6 ++++++
src/views/inventoryManagement/stockManagement/Qualified.vue | 6 ++++++
3 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/src/views/basicData/product/index.vue b/src/views/basicData/product/index.vue
index f9cc6a2..27905f8 100644
--- a/src/views/basicData/product/index.vue
+++ b/src/views/basicData/product/index.vue
@@ -280,7 +280,7 @@
/** 鍗曚綅涓嬫媺锛氳�楁潗鍒嗘敮鍚欢銆佷釜鏁颁笖鍙墜鍔ㄦ柊澧烇紱鍏朵粬鍒嗘敮浠呭惃銆佸叕鏂� */
const unitSelectOptions = computed(() => {
if (isConsumablesBranch.value) {
- return ["鍚�", "鍏枻", "浠�", "涓暟"];
+ return ["鍚�", "鍏枻", "浠�", "涓暟",'妗�'];
}
return ["鍚�", "鍏枻"];
});
diff --git a/src/views/consumablesLogistics/stockManagement/Qualified.vue b/src/views/consumablesLogistics/stockManagement/Qualified.vue
index 6f17ffc..db1c6ce 100644
--- a/src/views/consumablesLogistics/stockManagement/Qualified.vue
+++ b/src/views/consumablesLogistics/stockManagement/Qualified.vue
@@ -7,6 +7,11 @@
style="width: 240px"
placeholder="璇疯緭鍏�"
clearable/>
+ <span class="search_title ml10">瑙勬牸鍨嬪彿锛�</span>
+ <el-input v-model="searchForm.model"
+ style="width: 240px"
+ placeholder="璇疯緭鍏�"
+ clearable/>
<el-button type="primary" @click="handleQuery" style="margin-left: 10px">鎼滅储</el-button>
</div>
<div>
@@ -99,6 +104,7 @@
const data = reactive({
searchForm: {
productName: '',
+ model: '',
}
})
const { searchForm } = toRefs(data)
diff --git a/src/views/inventoryManagement/stockManagement/Qualified.vue b/src/views/inventoryManagement/stockManagement/Qualified.vue
index 81c5c56..da7d2bb 100644
--- a/src/views/inventoryManagement/stockManagement/Qualified.vue
+++ b/src/views/inventoryManagement/stockManagement/Qualified.vue
@@ -7,6 +7,11 @@
style="width: 240px"
placeholder="璇疯緭鍏�"
clearable/>
+ <span class="search_title ml10">瑙勬牸鍨嬪彿锛�</span>
+ <el-input v-model="searchForm.model"
+ style="width: 240px"
+ placeholder="璇疯緭鍏�"
+ clearable/>
<el-button type="primary" @click="handleQuery" style="margin-left: 10px">鎼滅储</el-button>
</div>
<div>
@@ -101,6 +106,7 @@
const data = reactive({
searchForm: {
productName: '',
+ model: '',
}
})
const { searchForm } = toRefs(data)
--
Gitblit v1.9.3