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 @@