From 1757ce0a21b85dc664d0f24a694df06991c8606a Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Tue, 24 Sep 2024 10:59:47 +0800 Subject: [PATCH] 20240924 --- src/views/modules/quote/index.vue | 5 ++++- src/views/modules/quote/quotes.vue | 6 +++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/views/modules/quote/index.vue b/src/views/modules/quote/index.vue index 4995086..85d4e91 100644 --- a/src/views/modules/quote/index.vue +++ b/src/views/modules/quote/index.vue @@ -512,7 +512,7 @@ export default { }else { this.$message.warning(data.msg) } - this.handleSearch(); + this.handleSearch(0); this.saveLoading = false }).catch((error)=>{ this.$message.error(error) @@ -784,6 +784,9 @@ export default { this.detailFlag = false; } }, + 'saveQuote.currency'(newVal, oldVal){ + this.saveQuote.currency = newVal.toUpperCase() + } }, activated() { if (this.$route.params.ids){ diff --git a/src/views/modules/quote/quotes.vue b/src/views/modules/quote/quotes.vue index 6875d2d..2a970c7 100644 --- a/src/views/modules/quote/quotes.vue +++ b/src/views/modules/quote/quotes.vue @@ -385,6 +385,7 @@ export default { columnWidth: 80 } ], + quoteLoading:false, } }, methods:{ @@ -434,7 +435,9 @@ export default { item.createBy = this.$store.state.user.name return item }) + this.quoteLoading = true batchSaveQuote(params).then(({data})=>{ + this.quoteLoading = false if (data && data.code === 0){ this.$message.success(data.msg); this.handleQuery(); @@ -448,6 +451,7 @@ export default { this.$message.warning(data.msg); } }).catch((error)=>{ + this.quoteLoading = false this.$message.error(error); }) }, @@ -541,7 +545,7 @@ export default { 查询 - 报价 + 报价