From e3dd4bdc542202a90db373ff91babffb7c7575a2 Mon Sep 17 00:00:00 2001 From: xzg <4727863@qq.com> Date: Tue, 30 Jul 2024 17:51:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=B7=B2=E7=9F=A5bug?= =?UTF-8?q?=EF=BC=8C=E5=95=86=E5=AE=B6=E7=AB=AF=E6=96=B0=E5=A2=9E=E5=AF=BC?= =?UTF-8?q?=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/distributionStockArticle.js | 11 +- src/api/storagecost/index.js | 52 +- src/option/storagecost/Financialreview.js | 72 +- .../storagecost/OrderTotalCostDetail.js | 890 +++++++++--------- .../storagecost/WarehouseDeliveryCost.js | 48 +- src/views/basicdata/brand/basicClient.vue | 62 +- .../Financialreview.vue | 601 ++++++------ .../OrderTotalCostDetail.vue | 61 +- .../WarehouseDeliveryCost.vue | 81 +- .../cost/storagecost/WarehouseMonthly.vue | 2 +- .../distributionDeliveryListmar.vue | 6 +- src/views/mail/order/list.vue | 65 +- 12 files changed, 1119 insertions(+), 832 deletions(-) diff --git a/src/api/distribution/distributionStockArticle.js b/src/api/distribution/distributionStockArticle.js index a8b6dd82..2a1534f4 100644 --- a/src/api/distribution/distributionStockArticle.js +++ b/src/api/distribution/distributionStockArticle.js @@ -56,7 +56,7 @@ export const stockArticExport = row => { */ export const getClientList = (current, size, params) => { return request({ - url: '/api/logpm-distribution/distributionStockArticle/clientList', + url: '/api/logpm-distribution/maill/clientList', method: 'get', params: { ...params, @@ -65,6 +65,15 @@ export const getClientList = (current, size, params) => { }, }); }; +// 导出 +export const $_exportmaillOrder = (params) => { + return request({ + url: '/api/logpm-distribution/maill/export-maillOrder', + method: 'get', + params, + responseType: 'blob', + }); +}; export const getListOne = (current, size, params) => { //查询订单数据 diff --git a/src/api/storagecost/index.js b/src/api/storagecost/index.js index 43fc6f3b..85488cae 100644 --- a/src/api/storagecost/index.js +++ b/src/api/storagecost/index.js @@ -2,7 +2,7 @@ import request from '@/axios'; // 月度仓储成本统计表接口 export const $_Getlist = params => { return request({ - url: '/api/logpm-statisticsdata/expenseWarehouseMonth/list', + url: '/api/logpm-statisticsdata/expenseWarehouseMonth/page', method: 'get', params, }); @@ -30,7 +30,7 @@ export const $_expenseWarehouseMonth = params => { // 月度订单仓储成本明细列表 export const $_Monthlyorderwarehousing = params => { return request({ - url: '/api/logpm-statisticsdata/expenseOrderWarehouseMonth/list', + url: '/api/logpm-statisticsdata/expenseOrderWarehouseMonth/page', method: 'get', params, }); @@ -47,7 +47,7 @@ export const $_expenseOrderWarehouseMonth = params => { // 订单总仓储成本明细列表 export const $_OrderTotalWarehouse = params => { return request({ - url: '/api/logpm-statisticsdata/expenseOrderWarehouseTotal/list', + url: '/api/logpm-statisticsdata/expenseOrderWarehouseTotal/page', method: 'get', params, }); @@ -61,3 +61,49 @@ export const $_expenseOrderWarehouseTotal = params => { responseType: 'blob', }); }; + +// 配送-仓库月度配送成本表 +export const $_WarehouseDeliveryCost = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchWarehouseMonth/page', + method: 'get', + params, + }); +}; +// 配送-仓库月度配送成本表-导出 +export const $_expenseDispatchWarehouseMonth = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchWarehouseMonth/export-expenseDispatchWarehouseMonth', + method: 'get', + params, + responseType: 'blob', + }); +}; + +// 配送-订单总成本明细表 +export const $_OrderTotalCostDetail = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchOrderDetail/page', + method: 'get', + params, + }); +}; + +// 配送-订单总成本明细表-导出 +export const $_expenseDispatchOrderDetail= params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchOrderDetail/export-expenseDispatchOrderDetail', + method: 'get', + params, + responseType: 'blob', + }); +}; + +// 配送-财务审单 +export const $_Financialreview = params => { + return request({ + url: '/api/logpm-statisticsdata/expenseDispatchFinancialReview/page', + method: 'get', + params, + }); +}; diff --git a/src/option/storagecost/Financialreview.js b/src/option/storagecost/Financialreview.js index ce3f22f9..1553c7d4 100644 --- a/src/option/storagecost/Financialreview.js +++ b/src/option/storagecost/Financialreview.js @@ -15,7 +15,7 @@ export const columnList = [ fixed: true, }, { - prop: 'a1', + prop: 'bookingReferenceNumber', label: '预约计划编号', type: 2, values: '', @@ -26,7 +26,7 @@ export const columnList = [ head: false, }, { - prop: 'a2', + prop: 'trainNumber', label: '车次号', type: 1, values: '', @@ -37,7 +37,7 @@ export const columnList = [ head: false, }, { - prop: 'a3', + prop: 'deliveryDate', label: '配送日期', type: 1, values: '', @@ -48,7 +48,7 @@ export const columnList = [ head: false, }, { - prop: 'a4', + prop: 'destinationWarehouse', label: '目的仓', type: 3, values: '', @@ -59,7 +59,7 @@ export const columnList = [ head: false, }, { - prop: 'a5', + prop: 'customerName', label: '客户名称', type: 1, values: '', @@ -70,7 +70,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'orderCode', label: '订单自编号', type: 1, values: '', @@ -81,7 +81,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'distributionType', label: '配送类型', type: 1, values: '', @@ -101,7 +101,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'financialAuditStatus', label: '财务审核状态', type: 1, values: '', @@ -112,7 +112,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'deliveryVehicle', label: '配送车辆', type: 1, values: '', @@ -123,7 +123,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'distributionModel', label: '配送车型', type: 1, values: '', @@ -134,7 +134,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'carrierName', label: '承运方名称', type: 1, values: '', @@ -145,7 +145,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'carrierType', label: '承运方类型', type: 1, values: '', @@ -156,7 +156,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'deliveryDriver', label: '配送司机', type: 1, values: '', @@ -167,7 +167,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'plannedTotalQuantity', label: '计划总件数', type: 1, values: '', @@ -178,7 +178,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'totalOrderQuantity', label: '订单总数', type: 1, values: '', @@ -189,7 +189,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'inventoryItemCount', label: '库存品件数', type: 1, values: '', @@ -200,7 +200,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'totalLoadedPieces', label: '装车总件数', type: 1, values: '', @@ -211,7 +211,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'totalReceiptCost', label: '签收总件数', type: 1, values: '', @@ -222,7 +222,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'totalDistributionCost', label: '配送总成本', type: 1, values: '', @@ -233,7 +233,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'distributionCost', label: '配送成本', type: 1, values: '', @@ -244,7 +244,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'inventoryDistributionCost', label: '库存品配送成本', type: 1, values: '', @@ -255,7 +255,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'tagRemovalCost', label: '撕标签成本', type: 1, values: '', @@ -266,7 +266,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'stairCarryingFee', label: '上楼费成本', type: 1, values: '', @@ -277,7 +277,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'goodsAllocationCost ', label: '分货费成本', type: 1, values: '', @@ -288,7 +288,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'repositioningCost', label: '平移费成本', type: 1, values: '', @@ -299,7 +299,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'handlingCost', label: '装卸费成本', type: 1, values: '', @@ -310,7 +310,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'mileageCost', label: '公里数成本', type: 1, values: '', @@ -321,7 +321,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'subsidizedKilometerCost', label: '补贴公里数成本', type: 1, values: '', @@ -332,7 +332,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'excessZoneMileageCost', label: '超区公里费成本', type: 1, values: '', @@ -343,7 +343,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'locationSubsidyCost', label: '点位补贴费成本', type: 1, values: '', @@ -354,7 +354,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'minimumGuaranteeCost', label: '保底费成本', type: 1, values: '', @@ -365,7 +365,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'fuelCost', label: '油费成本', type: 1, values: '', @@ -376,7 +376,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'otherCosts ', label: '其他成本', type: 1, values: '', @@ -387,7 +387,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'remarks', label: '备注', type: 1, values: '', @@ -398,7 +398,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'financialAuditTime', label: '财务审核时间', type: 1, values: '', @@ -409,7 +409,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'financialAuditor', label: '财务审核人', type: 1, values: '', diff --git a/src/option/storagecost/OrderTotalCostDetail.js b/src/option/storagecost/OrderTotalCostDetail.js index 34fcbde7..9995b9a7 100644 --- a/src/option/storagecost/OrderTotalCostDetail.js +++ b/src/option/storagecost/OrderTotalCostDetail.js @@ -1,457 +1,446 @@ export const columnList = [ - { - prop: 'checkbox', - label: '复选框', - type: 0, - width: 55, - fixed: true, - }, - { - prop: 'xh', - label: '序号', - type: 12, - values: '', - width: 55, - fixed: true, - }, - { - prop: 'a1', - label: '品牌', - type: 2, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a2', - label: '订单编号', - type: 2, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a3', - label: '运单号', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a4', - label: '目的仓', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a5', - label: '发货单位', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a6', - label: '收货单位', - type: 3, - values: '', - width: '150', - checkarr: [ ], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a7', - label: '运单类型', - type: 1, - values: '', - width: '150', - checkarr: [ - { - label: '商配', - value: '商配', - }, - { - label: '市配', - value: '市配', - }, - ], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a8', - label: '开单时间', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a9', - label: '货物品类', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a11', - label: '品类件数', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a12', - label: '品类数', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a13', - label: '总件数', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a14', - label: '总重量', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a15', - label: '总体积', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a16', - label: '配送总成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a17', - label: '配送成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a17', - label: '撕标签成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a17', - label: '上楼费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '分货费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '平移费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '装卸费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '公里数成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '补贴公里数成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '超区公里费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '点位补贴费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '保底费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '油费成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '其他成本', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '配送公里数', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '超区公里费', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '发货人', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '发货人手机号', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '发货地址', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '到站', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '发站仓', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '收货人', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, - { - prop: 'a18', - label: '收货人手机号', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, + { + prop: 'checkbox', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: 'xh', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'brand', + label: '品牌', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '订单编号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'waybillNumber', + label: '运单号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'destinationWarehouse', + label: '目的仓', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'shippingOrg', + label: '发货单位', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'consigneeOrg', + label: '收货单位', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'waybillType', + label: '运单类型', + type: 3, + values: '', + width: '150', + checkarr: [ { - prop: 'a18', - label: '收货地址', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, + label: '商配', + value: '商配', }, { - prop: 'a18', - label: '客户车次', - type: 1, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, + label: '市配', + value: '市配', }, + ], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'documentCreationTime', + label: '开单时间', + type: 4, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'goodsCategories ', + label: '货物品类', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'categoryPieceCount', + label: '品类件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'categoryCount', + label: '品类数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalQuantity', + label: '总件数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalWeight', + label: '总重量', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalVolume', + label: '总体积', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'totalDistributionCost', + label: '配送总成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'distributionCost', + label: '配送成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'inventoryDistributionCost', + label: '撕标签成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'stairCarryingFee', + label: '上楼费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'goodsAllocationCost', + label: '分货费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'repositioningCost', + label: '平移费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'handlingCost', + label: '装卸费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'mileageCost', + label: '公里数成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'subsidizedKilometerCost', + label: '补贴公里数成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'excessZoneMileageCost', + label: '超区公里费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'locationSubsidyCost', + label: '点位补贴费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'minimumGuaranteeCost', + label: '保底费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'fuelCost', + label: '油费成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'otherCosts', + label: '其他成本', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'deliveryKilometers', + label: '配送公里数', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'shipper', + label: '发货人', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'shippingPhone', + label: '发货人手机号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'shippingAddress', + label: '发货地址', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'arrivalStation', + label: '到站', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'departureWarehouse', + label: '发站仓', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'consignee', + label: '收货人', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'consigneePhone', + label: '收货人手机号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'consigneeAddress', + label: '收货地址', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, + { + prop: 'customerTrip', + label: '客户车次', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, // { // prop: 'createUserName', // label: '操作', @@ -462,5 +451,4 @@ export const columnList = [ // fixed: 'right', // sortable: false, // }, - ]; - \ No newline at end of file +]; diff --git a/src/option/storagecost/WarehouseDeliveryCost.js b/src/option/storagecost/WarehouseDeliveryCost.js index 2d026a0e..b1e65801 100644 --- a/src/option/storagecost/WarehouseDeliveryCost.js +++ b/src/option/storagecost/WarehouseDeliveryCost.js @@ -15,7 +15,7 @@ export const columnList = [ fixed: true, }, { - prop: 'a1', + prop: 'destinationWarehouse', label: '目的仓', type: 2, values: '', @@ -26,9 +26,9 @@ export const columnList = [ head: false, }, { - prop: 'a2', + prop: 'costSettlementTime', label: '成本结算时间', - type: 1, + type: 4, values: '', width: '150', checkarr: [], @@ -37,7 +37,7 @@ export const columnList = [ head: false, }, { - prop: 'a3', + prop: 'totalTrainService', label: '车次总数', type: 1, values: '', @@ -48,7 +48,7 @@ export const columnList = [ head: false, }, { - prop: 'a4', + prop: 'distributionPlanQuantity', label: '计划总数', type: 1, values: '', @@ -59,7 +59,7 @@ export const columnList = [ head: false, }, { - prop: 'a5', + prop: 'totalOrderQuantity', label: '订单总数', type: 1, values: '', @@ -70,7 +70,7 @@ export const columnList = [ head: false, }, { - prop: 'a6', + prop: 'plannedTotalQuantity', label: '计划总件数', type: 1, values: '', @@ -81,7 +81,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'inventoryItemCount', label: '库存品件数', type: 1, values: '', @@ -92,7 +92,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'totalLoadedPieces', label: '装车总件数', type: 1, values: '', @@ -103,7 +103,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'totalReceiptCost', label: '签收总件数', type: 1, values: '', @@ -114,7 +114,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'totalDistributionCost', label: '配送总成本', type: 1, values: '', @@ -125,7 +125,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'distributionCost', label: '配送成本', type: 1, values: '', @@ -136,7 +136,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'inventoryDistributionCost', label: '库存品配送成本', type: 1, values: '', @@ -147,7 +147,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'stairCarryingFee', label: '上楼费成本', type: 1, values: '', @@ -158,7 +158,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'goodsAllocationCost', label: '分货费成本', type: 1, values: '', @@ -169,7 +169,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'repositioningCost', label: '平移费成本', type: 1, values: '', @@ -180,7 +180,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'handlingCost', label: '装卸费成本', type: 1, values: '', @@ -191,7 +191,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'mileageCost', label: '公里数成本', type: 1, values: '', @@ -202,7 +202,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'subsidizedKilometerCost', label: '补贴公里数成本', type: 1, values: '', @@ -213,7 +213,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'excessZoneMileageCost', label: '超区公里费成本', type: 1, values: '', @@ -224,7 +224,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'locationSubsidyCost', label: '点位补贴费成本', type: 1, values: '', @@ -235,7 +235,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'minimumGuaranteeCost', label: '保底费成本', type: 1, values: '', @@ -246,7 +246,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'fuelCost', label: '油费成本', type: 1, values: '', @@ -257,7 +257,7 @@ export const columnList = [ head: false, }, { - prop: 'a7', + prop: 'otherCosts', label: '其他成本', type: 1, values: '', diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index bbe82547..4abc18b9 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -192,6 +192,7 @@ > 点击下载 + 文件校验
@@ -210,6 +211,31 @@
+ + + + +
+ 文件校验 +
+ +
+ + +
拖拽文件或 点击上传
+
+
+
+ > ', file); - this.loadingObj.UploadLoadong = true; + if(this.Fileverification){ + this.FileverificationLoadong=true + // 文件校验 + }else{ + this.loadingObj.UploadLoadong = true; + } // 获取文件类型 const _fileNameArr = file.name.split('.'); @@ -1705,22 +1742,39 @@ export default { if (whiteArr.indexOf(_fileType) !== -1) return true; this.$message.warning('请传入xls或xlsx格式的文件'); + if(this.Fileverification){ + this.FileverificationLoadong=false + // 文件校验 + }else{ this.loadingObj.UploadLoadong = false; + } return false; }, /** 长传成功 */ handleSuccess(res) { console.log('res :>> ', res); - this.loadingObj.UploadLoadong = false; + if(this.Fileverification){ + this.FileverificationLoadong=true + // 文件校验 + }else{ + this.loadingObj.UploadLoadong = true; + } if (res.code !== 200) return this.$message.warning('上传失败'); this.$message.success('上传成功'); - onLoad(this.page); + if(this.loadingObj.submitLoading){ + onLoad(this.page); + } }, /** 上传失败 */ handleClose(res) { - this.loadingObj.UploadLoadong = false; + if(this.Fileverification){ + this.FileverificationLoadong=false + // 文件校验 + }else{ + this.loadingObj.UploadLoadong = false; + } // UploadAjaxError let msgData = JSON.parse(res['message']); console.log(msgData, 'msgData'); diff --git a/src/views/cost/Deliverycostmanagement/Financialreview.vue b/src/views/cost/Deliverycostmanagement/Financialreview.vue index fb145b90..095df84f 100644 --- a/src/views/cost/Deliverycostmanagement/Financialreview.vue +++ b/src/views/cost/Deliverycostmanagement/Financialreview.vue @@ -1,303 +1,326 @@ - - - - - \ No newline at end of file + + + diff --git a/src/views/cost/Deliverycostmanagement/OrderTotalCostDetail.vue b/src/views/cost/Deliverycostmanagement/OrderTotalCostDetail.vue index 0c6ca9b5..1d3ab02f 100644 --- a/src/views/cost/Deliverycostmanagement/OrderTotalCostDetail.vue +++ b/src/views/cost/Deliverycostmanagement/OrderTotalCostDetail.vue @@ -36,7 +36,7 @@
- 导出
@@ -104,6 +104,8 @@