From fe95a2614c014be311a0f71aa46adcb5cb5b0925 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Tue, 20 Aug 2024 13:50:39 +0800 Subject: [PATCH] =?UTF-8?q?20240820=20=E6=8A=A5=E4=BB=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/quote/index.vue | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue index 3b5e87a..e36b66c 100644 --- a/src/views/modules/quote/index.vue +++ b/src/views/modules/quote/index.vue @@ -9,10 +9,11 @@ import ProjectTable from "../../../components/selector/table/projectTable.vue"; import {queryCustomerList} from "../../../api/customer/customer"; import {queryProjectList} from "../../../api/project/project"; import QuoteDetail from "./detail/quoteDetail.vue"; +import ChooseListEam from "../common/Chooselist_eam.vue"; export default { name: "quote", - components: {QuoteDetail, ProjectTable, BuSelect, CustomerTable, QuoteTable, QuoteSearch}, + components: {ChooseListEam,QuoteDetail, ProjectTable, BuSelect, CustomerTable, QuoteTable, QuoteSearch}, menuId:5011, data(){ return{ @@ -407,6 +408,7 @@ export default { roleNo:'', }, userDataList:[], + tagNo:undefined, } }, methods:{ @@ -667,6 +669,21 @@ export default { }).catch((error)=>{ this.$message.error(error) }) + }, + getBaseList(val){ + this.tagNo = val + this.$nextTick(()=>{ + let strVal = '' + if (val === 512){ + strVal = this.saveQuote.currency; + this.$refs.baseList.init(val,strVal) + } + }) + }, + getBaseData(val){ + if (this.tagNo === 512){ + this.saveQuote.currency = val.Currency + } } }, created() { @@ -769,6 +786,9 @@ export default { + + 币种 + @@ -869,6 +889,7 @@ export default { +