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; + }, } };