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 {
+
+
+
+
+
+
+
+
+
+
+
+
+