From 24459dc6250e8d09a210c87af480796117cc728f Mon Sep 17 00:00:00 2001 From: wuteng <419274783@qq.com> Date: Mon, 14 Jul 2025 14:13:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=89=B9=E9=87=8F=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E6=8A=A5=E4=BB=B7=E5=BC=80=E5=A7=8B=E7=BB=93=E6=9D=9F=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E3=80=81=E5=91=98=E5=B7=A5=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/emis/emisCommissionQuote.js | 9 + .../batchCommissionQuotePriceUpdateForm.vue | 247 ++++++++++++++++++ src/views/emis/emisCommissionQuote/index.vue | 36 ++- 3 files changed, 290 insertions(+), 2 deletions(-) create mode 100644 src/views/emis/emisCommissionQuote/batchCommissionQuotePriceUpdateForm.vue diff --git a/src/api/emis/emisCommissionQuote.js b/src/api/emis/emisCommissionQuote.js index b09430b3..d05aa68f 100644 --- a/src/api/emis/emisCommissionQuote.js +++ b/src/api/emis/emisCommissionQuote.js @@ -42,3 +42,12 @@ export function delEmisCommissionQuote(quoteId) { method: 'delete' }) } + +//批量修改开始时间、结束时间 +export function batchUpdate(data) { + return request({ + url: '/emis/emisCommissionQuote/batchUpdate', + method: 'put', + data: data + }) +} \ No newline at end of file diff --git a/src/views/emis/emisCommissionQuote/batchCommissionQuotePriceUpdateForm.vue b/src/views/emis/emisCommissionQuote/batchCommissionQuotePriceUpdateForm.vue new file mode 100644 index 00000000..da72e177 --- /dev/null +++ b/src/views/emis/emisCommissionQuote/batchCommissionQuotePriceUpdateForm.vue @@ -0,0 +1,247 @@ + + + + + diff --git a/src/views/emis/emisCommissionQuote/index.vue b/src/views/emis/emisCommissionQuote/index.vue index 7bebc68c..8478a8b6 100644 --- a/src/views/emis/emisCommissionQuote/index.vue +++ b/src/views/emis/emisCommissionQuote/index.vue @@ -153,6 +153,17 @@ v-hasPermi="['emis:emisCommissionQuote:remove']" >删除 + + 批量修改报价时间 + @@ -266,7 +277,10 @@ - + + + + @@ -274,10 +288,13 @@ import { listEmisCommissionQuote, getEmisCommissionQuote, delEmisCommissionQuote, addEmisCommissionQuote, updateEmisCommissionQuote } from "@/api/emis/emisCommissionQuote"; import elDateSimplePicker from '@/components/DatePickerAdv/elDateSimplePicker'; import emisCommissionQuoteForm from '@/views/emis/emisCommissionQuote/emisCommissionQuoteForm'; +import batchCommissionQuotePriceUpdateForm from '@/views/emis/emisCommissionQuote/batchCommissionQuotePriceUpdateForm'; + export default { name: "EmisCommissionQuote", - components: { elDateSimplePicker,emisCommissionQuoteForm }, + components: { elDateSimplePicker,emisCommissionQuoteForm,batchCommissionQuotePriceUpdateForm }, + dicts: ['emis_price_type','emis_fee_type','sys_currency_type', 'emis_commission_post','emis_biz_shipping_method','emis_commission_fee_type'], data() { @@ -317,6 +334,8 @@ export default { daterangeCreateTime: [], // 更新网点时间范围 daterangeUpdateTime: [], + openBatchUpdateForm:false, + titleBatchForm: "", // 查询参数 queryParams: { pageNum: 1, @@ -478,6 +497,19 @@ export default { dateTimeChange(value){ this.dateTimeRange=value; }, + /** 修改按钮操作 */ + handleBatchUpdate(row) { + // this.currentId= row.id; + this.openBatchUpdateForm = true; + this.titleBatchForm = "批量修改"; + }, + handleBatchFormChanged(){ + this.openBatchUpdateForm = false; + this.getList(); + }, + cancelBatchForm(){ + this.openBatchUpdateForm = false; + }, } }; From 3e6b8087f869fd962784ed316b8872888b58db8a Mon Sep 17 00:00:00 2001 From: wuteng <419274783@qq.com> Date: Mon, 14 Jul 2025 14:38:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E5=9B=BD=E3=80=81?= =?UTF-8?q?=E7=9B=AE=E7=9A=84=E5=9B=BD=E5=8A=A0=E5=85=A5=E9=9D=9E=E4=B8=9C?= =?UTF-8?q?=E5=8D=97=E4=BA=9A=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/emis/EmisBaseTools/CountryMutiSelectPicker.vue | 2 ++ src/views/emis/emisCommissionQuote/index.vue | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/views/emis/EmisBaseTools/CountryMutiSelectPicker.vue b/src/views/emis/EmisBaseTools/CountryMutiSelectPicker.vue index fac935a1..6a89062e 100644 --- a/src/views/emis/EmisBaseTools/CountryMutiSelectPicker.vue +++ b/src/views/emis/EmisBaseTools/CountryMutiSelectPicker.vue @@ -161,7 +161,9 @@ listSimpleEmisCountry(queryParams).then(response => { let allCountry={code:'-1',name:'全部',nameEn:'all'}; let allNoChinaCountry={code:'-2',name:'非中国',nameEn:'No China'}; + let allNoSoutheastAsia ={code:'-3',name:'非东南亚',nameEn:'No Southeast Asia'}; this.optionItems =response.rows; + this.optionItems.unshift(allNoSoutheastAsia); this.optionItems.unshift(allNoChinaCountry); this.optionItems.unshift(allCountry); // 初始值存储 diff --git a/src/views/emis/emisCommissionQuote/index.vue b/src/views/emis/emisCommissionQuote/index.vue index 8478a8b6..a43e342a 100644 --- a/src/views/emis/emisCommissionQuote/index.vue +++ b/src/views/emis/emisCommissionQuote/index.vue @@ -204,6 +204,7 @@ @@ -212,6 +213,7 @@