From 36451041afac8c95a057f4bac9b8873122dc0cf3 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Wed, 7 Aug 2024 14:53:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/storagecost/index.js | 57 +++++- src/components/tablecmt/tablecmt.vue | 3 +- src/components/webCameraIMG/webCamera.vue | 2 +- .../Basicconfiguration.vue | 128 ++++++++++--- .../Categorypricingunit.vue | 2 + .../DeliveryCostPricingTemplate.vue | 57 +++++- .../Deliverymaintenancecosts.vue | 177 +++++++++--------- src/views/mail/order/add.vue | 53 +++--- src/views/mail/signfor/list.vue | 1 + 9 files changed, 336 insertions(+), 144 deletions(-) diff --git a/src/api/storagecost/index.js b/src/api/storagecost/index.js index 87336c60..6ac80718 100644 --- a/src/api/storagecost/index.js +++ b/src/api/storagecost/index.js @@ -141,7 +141,7 @@ export const $_WarehousePricingTemplate = params => { params, }); }; -// 新增模板 +// 新增模板 export const $_WarehouseTemplateHome = data => { return request({ url: '/api/logpm-statisticsdata/expenseDispatchPriceTemplate/save', @@ -184,7 +184,6 @@ export const $_expenseDispatchPriceUnitupdate = data => { }); }; - // 配送-模板-品牌品类计价单位-删除 export const $_expenseDispatchPriceUnitremove = params => { return request({ @@ -194,10 +193,62 @@ export const $_expenseDispatchPriceUnitremove = params => { }); }; // 配送-模板-配送成本计价模板-新增 -export const $_expenseDispatchPriceRulesave = params => { +export const $_expenseDispatchPriceRulesave = data => { return request({ url: '/api/logpm-statisticsdata/expenseDispatchPriceRule/save', method: 'post', + data, + }); +}; +// 配送-模板-配送成本计价模板-详情 +export const $_expenseDispatchPriceRuledetail = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPriceRule/detail', + method: 'get', + params, + }); +}; +// 配送-模板-配送成本计价模板-编辑 +export const $_expenseDispatchPriceRuleupdate = data => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPriceRule/update', + method: 'post', + data, + }); +}; + +// 配送-模板-基础配置-详情 +export const $_expenseDispatchPriceTemplatedetail = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPriceTemplate/detail', + method: 'get', params, }); +}; + +// 配送-模板-基础配置-修改 +export const $_expenseDispatchPriceTemplateupdate = data => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPriceTemplate/update', + method: 'post', + data, + }); +}; + +// 配送-模板-车型计费配置-列表 +export const $_expenseDispatchPricepage = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPrice/page', + method: 'get', + params, + }); +}; + +// 配送-模板-车型计费配置-新增 +export const $_expenseDispatchPricesave = data => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchPrice/save', + method: 'post', + data, + }); }; \ No newline at end of file diff --git a/src/components/tablecmt/tablecmt.vue b/src/components/tablecmt/tablecmt.vue index 7c873d85..c3cc44a6 100644 --- a/src/components/tablecmt/tablecmt.vue +++ b/src/components/tablecmt/tablecmt.vue @@ -930,7 +930,8 @@ defineExpose({ handleCheckSelect, handleClearSelect }); .el_placeholder{ width: 100%; position: absolute; - margin-top: -10% !important; + margin-top: -12% !important; z-index: 9999999; + left: 0; } diff --git a/src/components/webCameraIMG/webCamera.vue b/src/components/webCameraIMG/webCamera.vue index 748fb872..ba64c8f3 100644 --- a/src/components/webCameraIMG/webCamera.vue +++ b/src/components/webCameraIMG/webCamera.vue @@ -172,7 +172,7 @@ const Opentrimming = () => { }; request('http://127.0.0.1:38088/dvideo=cameradeskew', 'POST', data) .then(response => { - const message = ''; + let message = ''; if (response.code !== '0') { message = IMG_Trimming_edge.value ? '图像裁边已开启' : '图像裁边已关闭'; ElMessage({ message, type: 'success' }); diff --git a/src/views/cost/Deliverycostmanagement/Basicconfiguration.vue b/src/views/cost/Deliverycostmanagement/Basicconfiguration.vue index 77e32ab1..2e534714 100644 --- a/src/views/cost/Deliverycostmanagement/Basicconfiguration.vue +++ b/src/views/cost/Deliverycostmanagement/Basicconfiguration.vue @@ -1,8 +1,8 @@