From dbf9a0040466b6ba0d22bb63e51021c4938656f0 Mon Sep 17 00:00:00 2001
From: fengyuan_yang <1976974459@qq.com>
Date: Thu, 12 Mar 2026 15:47:05 +0800
Subject: [PATCH] =?UTF-8?q?2026-03-12=20=E9=94=80=E5=94=AE=E6=8A=A5?=
=?UTF-8?q?=E4=BB=B7=E5=A2=9E=E5=8A=A0=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6?=
=?UTF-8?q?=EF=BC=9A=E2=80=9C=E5=BD=93=E5=89=8D=E5=AE=A1=E6=89=B9=E4=BA=BA?=
=?UTF-8?q?=E2=80=9D=E3=80=81=E2=80=9C=E5=BD=93=E5=89=8D=E8=8A=82=E7=82=B9?=
=?UTF-8?q?=E2=80=9D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/modules/quote/index.vue | 21 ++++++++++++++++++-
.../modules/quote/primary/quoteSearch.vue | 21 +++++++++++++++++++
2 files changed, 41 insertions(+), 1 deletion(-)
diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue
index 4356bd3..49ec094 100644
--- a/src/views/modules/quote/index.vue
+++ b/src/views/modules/quote/index.vue
@@ -34,6 +34,7 @@ import {queryQuoteDetail} from "../../../api/quote/quoteDetail";
import FilterSearch from "../../common/filterSearch.vue";
import {queryQuoteGroupDetail} from "../../../api/quote/quoteGroupDetail";
import {checkZeroUnitPrice} from "../../../api/quote/quoteDetailBom";
+import {getNodeList} from "@/api/sampleManagement/technicalSpecificationList.js";
export default {
name: "quote",
@@ -100,9 +101,12 @@ export default {
costModel: "UFIDA",
markup:0,
chipPrice:'',
+ approvalUsername: '',
+ nodeId: '',
},
quoteForm:{
},
+ nodeOptions: [],
saveQuote:{
},
dataList:[],
@@ -645,6 +649,20 @@ export default {
}
},
methods:{
+ fetchNodeOptions() {
+ getNodeList({
+ site: this.$store.state.user.site,
+ menuId: this.$route.meta.menuId
+ }).then(({ data }) => {
+ if (data && data.code === 0) {
+ this.nodeOptions = data.rows.map(item => ({
+ id: item.nodeId,
+ name: item.nodeName
+ }))
+ }
+ }).catch(() => {})
+ },
+
handleSearch(index){
let params = {
...this.quoteForm,
@@ -1453,6 +1471,7 @@ export default {
},
created() {
this.checkSuperAdmin() // 校验超级管理员
+ this.fetchNodeOptions()
// 如果是从OA系统跳转来的(tokenLogin),不在created中查询,由activated处理
if (this.isMenu && this.searchIndex === 0 && this.$route.params.type !== 'tokenLogin'){
this.quoteForm = {
@@ -1584,7 +1603,7 @@ export default {
{{ '导出' }}
-
+
[]
}
}
}
@@ -57,6 +61,23 @@ export default {
+
+
+
+
+
+
+
+
+
+
+
+
+