From d3feeaa925140522056e1cda19d1e8a280861216 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Sat, 25 Nov 2023 10:04:47 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BD=A6=E8=BE=86?= =?UTF-8?q?=E9=85=8D=E8=BD=BD=E9=A1=B5=E9=9D=A2/=E9=9B=B6=E6=8B=85?= =?UTF-8?q?=E8=A1=A5=E5=BD=95=E9=A1=B5=E9=9D=A2/=E5=B9=B2=E7=BA=BF?= =?UTF-8?q?=E6=8F=90=E8=B4=A7=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/VehicleArrivalManagement.js | 627 ++++++++++ src/option/distribution/VehicleStowage.js | 627 ++++++++++ .../distribution/zeroAdditionalRecording.js | 480 ++++++++ src/router/views/index.js | 51 +- src/styles/common.scss | 14 +- .../artery/TripartiteTransfer.vue | 588 +++++++++ .../artery/VehicleArrivalManagement.vue | 518 ++++++++ .../distribution/artery/VehicleStowage.vue | 588 +++++++++ .../artery/zeroAdditionalRecording.vue | 593 +++++++++ .../distribution/inventory/BookingNote.vue | 1075 +++++++++++++++++ .../arteryDistrilbutionBillLadingList.vue | 2 +- 11 files changed, 5145 insertions(+), 18 deletions(-) create mode 100644 src/option/distribution/VehicleArrivalManagement.js create mode 100644 src/option/distribution/VehicleStowage.js create mode 100644 src/option/distribution/zeroAdditionalRecording.js create mode 100644 src/views/distribution/artery/TripartiteTransfer.vue create mode 100644 src/views/distribution/artery/VehicleArrivalManagement.vue create mode 100644 src/views/distribution/artery/VehicleStowage.vue create mode 100644 src/views/distribution/artery/zeroAdditionalRecording.vue create mode 100644 src/views/distribution/inventory/BookingNote.vue diff --git a/src/option/distribution/VehicleArrivalManagement.js b/src/option/distribution/VehicleArrivalManagement.js new file mode 100644 index 00000000..7c73a22e --- /dev/null +++ b/src/option/distribution/VehicleArrivalManagement.js @@ -0,0 +1,627 @@ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'billladingCode', + label: '批次号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'carNumber', + label: '路线', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划装车', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'driverPhone', + label: '装车件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'warehouseName', + label: '在车件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'lineNameTitle', + label: '卸车件数', + type: 1, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'nodeNub', + label: '满载率', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '滞留扫描', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '直发商家', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '车辆状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '主驾司机', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '主驾司机手机号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '车牌号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '起点仓库', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '终点仓库', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '到车时间', + type: 4, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '实际发车时间', + type: 4, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '总运输费用', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '现付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + isshowSummary: true, + sortable: true, + }, + { + prop: 'totalWeight', + label: '油费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '路桥费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '回付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '整车信息费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '整车保险费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '整车落地费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '发站装车费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '发站其他费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到站卸车费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到站其它费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '经办人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '创建时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车总收入', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '操作', + type: 6, + values: '', + width: '200', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; + +/** 装车详情列表 */ +export const detailsColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '运单号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '合同号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderPackageCode', + label: '包条码', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '装卸状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '订单来源', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '装车仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '扫码时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '装卸仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '卸车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '装车类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '是否补录', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '是否齐套', + type: 3, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '托盘码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '一级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '二级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '三级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '物料名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '装车扫描人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '同步状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; diff --git a/src/option/distribution/VehicleStowage.js b/src/option/distribution/VehicleStowage.js new file mode 100644 index 00000000..2b341805 --- /dev/null +++ b/src/option/distribution/VehicleStowage.js @@ -0,0 +1,627 @@ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'billladingCode', + label: '批次号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'carNumber', + label: '路线', + type: 13, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划装车', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'driverPhone', + label: '装车件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'warehouseName', + label: '在车件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'lineNameTitle', + label: '卸车件数', + type: 1, + values: '', + width: '180', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'nodeNub', + label: '满载率', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '滞留扫描', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '直发商家', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '车辆状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '主驾司机', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '主驾司机手机号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '车牌号', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '起点仓库', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '终点仓库', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '到车时间', + type: 4, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '实际发车时间', + type: 4, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '总运输费用', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '现付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + isshowSummary: true, + sortable: true, + }, + { + prop: 'totalWeight', + label: '油费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '路桥费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '回付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到付运输费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '整车信息费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '整车保险费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '整车落地费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '发站装车费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalVolume', + label: '发站其他费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到站卸车费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '到站其它费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'totalWeight', + label: '经办人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '创建时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车总收入', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + isshowSummary: true, + }, + { + prop: 'createUserName', + label: '操作', + type: 6, + values: '', + width: '400', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; + +/** 装车详情列表 */ +export const detailsColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '运单号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '合同号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderPackageCode', + label: '包条码', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '装卸状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '订单来源', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '装车仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '扫码时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '装卸仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '卸车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '装车类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '是否补录', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '是否齐套', + type: 3, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '托盘码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '一级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '二级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '三级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '物料名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '装车扫描人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '同步状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; diff --git a/src/option/distribution/zeroAdditionalRecording.js b/src/option/distribution/zeroAdditionalRecording.js new file mode 100644 index 00000000..bf33730b --- /dev/null +++ b/src/option/distribution/zeroAdditionalRecording.js @@ -0,0 +1,480 @@ +export const oldColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '运单号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '合同号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderPackageCode', + label: '包条码', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '装卸状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '订单来源', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '装车仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '扫码时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '装卸仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '卸车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '装车类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '是否补录', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '是否齐套', + type: 3, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '托盘码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '一级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '二级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '三级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '物料名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '装车扫描人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '同步状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; + +/** 装车详情列表 */ +export const newColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '运单号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '合同号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderPackageCode', + label: '包条码', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '装卸状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '订单来源', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '装车仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '扫码时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '装卸仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '卸车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '装车类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '是否补录', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '是否齐套', + type: 3, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '托盘码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '一级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '二级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '三级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '物料名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '装车扫描人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '同步状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; diff --git a/src/router/views/index.js b/src/router/views/index.js index bd6c148b..88db215d 100644 --- a/src/router/views/index.js +++ b/src/router/views/index.js @@ -175,6 +175,24 @@ export default [ }, ], }, + { + path: '/distribution/artery', + component: Layout, + redirect: '/distribution/artery/zeroAdditionalRecording', + children: [ + { + path: 'zeroAdditionalRecording', + name: '零担补录', + meta: { + i18n: 'data', + }, + component: () => + import( + /* webpackChunkName: "views" */ '@/views/distribution/artery/zeroAdditionalRecording.vue' + ), + }, + ], + }, // { // path: '/basic/pdarecords/basicPdarecords', // name:'pda维修记录', @@ -226,6 +244,15 @@ export default [ /* webpackChunkName: "views" */ '@/views/distribution/inventory/arteryDistrilbutionBillLadingListDetails.vue' ), }, + { + path: '/distribution/inventory/BookingNote', + name: '货物托运单', + meta: { + data: 'data', + }, + component: () => + import(/* webpackChunkName: "views" */ '@/views/distribution/inventory/BookingNote.vue'), + }, ], }, { @@ -1076,18 +1103,18 @@ export default [ ], }, -{ - path: '/distribution/checkInventoryTask/createTaskTemp', - component: Layout, - redirect: '/distribution/checkInventoryTask/createTaskTemp', - children: [ - { - path: '/distribution/checkInventoryTask/createTaskTemp', - name: '盘点重构', - component: () => import('@/views/distribution/checkInventoryTask/createTaskTemp.vue'), - }, - ], -}, + { + path: '/distribution/checkInventoryTask/createTaskTemp', + component: Layout, + redirect: '/distribution/checkInventoryTask/createTaskTemp', + children: [ + { + path: '/distribution/checkInventoryTask/createTaskTemp', + name: '盘点重构', + component: () => import('@/views/distribution/checkInventoryTask/createTaskTemp.vue'), + }, + ], + }, // { // path: '/distribution/turndelivery/devtmp', diff --git a/src/styles/common.scss b/src/styles/common.scss index e9fb4f3c..ffbdfa16 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -9,17 +9,17 @@ height: 30px !important; } } -.basic-container__card{ +.basic-container__card { .el-card__body { - padding: 5px !important ; -} + padding: 5px !important ; + } } .avue-crud__pagination { padding: 0 0; padding-top: 5px; } -.el-card__body{ - .el-card__body{ +.el-card__body { + .el-card__body { padding: 0px !important; } } @@ -148,6 +148,10 @@ a { justify-content: space-between; } +.mt10 { + margin-top: 10px; +} + // ele样式覆盖 @import './element-ui.scss'; // 顶部右侧显示 diff --git a/src/views/distribution/artery/TripartiteTransfer.vue b/src/views/distribution/artery/TripartiteTransfer.vue new file mode 100644 index 00000000..a5792d6f --- /dev/null +++ b/src/views/distribution/artery/TripartiteTransfer.vue @@ -0,0 +1,588 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜 索 + 清 空 + + + + + + + + + + 新增中转 + 装载清单 + 装载卸车清单(财务) + 发 车 + 取消发车 + 取消装车 + 到 达 + 修 改 + + + + + + + + + + + + + + + + + 123 + + + + + 删除 + + + 文员签收 + + + 结算 + + 装车明细 + + + + + + + + 选择数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + 总计: 总数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + + + + + + 勾选数量: {{ selectionList.length }} + + + + + + + + + + + + + + + + + + + + + + 批量卸车 + 搜 索 + 二维码 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue new file mode 100644 index 00000000..9a84eb32 --- /dev/null +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -0,0 +1,518 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜 索 + 清 空 + + + + + + + + + + + 发车 + 网点取消发车 + 装载清单 + 到达 + + 中途到达卸车 + + + 对比报表 + + + 终点到达卸车 + + + 卸车报告 + + + 欧派TIMS数据关联 + + + + + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + 选择数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + 总计: 总数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + + + + + + 勾选数量: {{ selectionList.length }} + + + + + + + + + + + + + + + + + + + + + + 批量卸车 + 搜 索 + 二维码 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/distribution/artery/VehicleStowage.vue b/src/views/distribution/artery/VehicleStowage.vue new file mode 100644 index 00000000..fe58f3b2 --- /dev/null +++ b/src/views/distribution/artery/VehicleStowage.vue @@ -0,0 +1,588 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜 索 + 清 空 + + + + + + + + + + 新增配载 + + 打 印 + 装载清单 + 装载卸车清单(财务) + 发 车 + 取消发车 + 取消装车 + 对比报表 + 卸车报告 + + + + + + + + + + + + + + + + + 123 + + + + + 零担补录 + + 装车明细 + 编辑 + 数据同步 + 批量装车 + 手动装车 + 节点费用 + + + + + + + + 选择数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + 总计: 总数: , 运单数: , 件数: , 重量: , 体积: , 提货费: , + + + + + + 勾选数量: {{ selectionList.length }} + + + + + + + + + + + + + + + + + + + + + + 批量卸车 + 搜 索 + 二维码 + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/distribution/artery/zeroAdditionalRecording.vue b/src/views/distribution/artery/zeroAdditionalRecording.vue new file mode 100644 index 00000000..e82a8e65 --- /dev/null +++ b/src/views/distribution/artery/zeroAdditionalRecording.vue @@ -0,0 +1,593 @@ + + + + 发车批次: LQGX + + + + + 运单池 + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜 索 + 重置 + + + + + + + + + + + + + + + 加入调度池 + + + + + + + + + + + + + + + + + + + + 调度池 + + + + + + + + + + + + + + + + + + + + + + + + + + + 搜 索 + 重置 + + + + + + + + + 移除调度池 + + + + + + + + + + + + + + + + + + + + + 提 交 + + + + + + + + diff --git a/src/views/distribution/inventory/BookingNote.vue b/src/views/distribution/inventory/BookingNote.vue new file mode 100644 index 00000000..92f4da2b --- /dev/null +++ b/src/views/distribution/inventory/BookingNote.vue @@ -0,0 +1,1075 @@ + + + + + + 货物托运单 + + + + + + 品牌: 欧派 + 运单号: LQ23060003 + + + admin 1997-01-01 12:00:00 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 发货方 + + + + + + + + + + + + + + + + + + + + + + + + + + 收货方 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 方 + 件 + 公斤 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 合计 + + + + + + + + + + + + + + 合计费用 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 合计费用 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 审 核 + 修 改 + + 打 印 + 关 闭 + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + 123 + + + + 装车明细 + 编辑 + + + + + + + + + + + + + + + + + diff --git a/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue b/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue index 6c3812fc..877e8454 100644 --- a/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue +++ b/src/views/distribution/inventory/arteryDistrilbutionBillLadingList.vue @@ -584,7 +584,7 @@ - + Date: Sat, 25 Nov 2023 14:01:52 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E7=BB=86=E8=8A=82?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventory/distributionPrint.vue | 2 +- .../inventory/distributionServiceLog.vue | 2 +- .../inventory/distributionStockListInfo.vue | 2 +- .../inventory/distributionStockListMarket.vue | 40 ++++---- .../reservation/reservationAddFrom.vue | 22 ++--- .../distributionStockArticle.vue | 92 +++++++------------ 6 files changed, 68 insertions(+), 92 deletions(-) diff --git a/src/views/distribution/inventory/distributionPrint.vue b/src/views/distribution/inventory/distributionPrint.vue index 7266e30e..996c7c1d 100644 --- a/src/views/distribution/inventory/distributionPrint.vue +++ b/src/views/distribution/inventory/distributionPrint.vue @@ -48,7 +48,7 @@ - + 查看 编辑 删除 diff --git a/src/views/distribution/inventory/distributionServiceLog.vue b/src/views/distribution/inventory/distributionServiceLog.vue index bfcc47d1..126f6381 100644 --- a/src/views/distribution/inventory/distributionServiceLog.vue +++ b/src/views/distribution/inventory/distributionServiceLog.vue @@ -48,7 +48,7 @@ - + 查看 编辑 删除 diff --git a/src/views/distribution/inventory/distributionStockListInfo.vue b/src/views/distribution/inventory/distributionStockListInfo.vue index 4e951870..9989dac3 100644 --- a/src/views/distribution/inventory/distributionStockListInfo.vue +++ b/src/views/distribution/inventory/distributionStockListInfo.vue @@ -48,7 +48,7 @@ - + 查看 编辑 删除 diff --git a/src/views/distribution/inventory/distributionStockListMarket.vue b/src/views/distribution/inventory/distributionStockListMarket.vue index 502cac94..30d3c21b 100644 --- a/src/views/distribution/inventory/distributionStockListMarket.vue +++ b/src/views/distribution/inventory/distributionStockListMarket.vue @@ -381,17 +381,17 @@ export default { label: '货物名称', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, }, { prop: 'cargoNumber', - label: '货物编号', + label: '物料编码', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -401,7 +401,7 @@ export default { // label: '物流车次', // type: 2, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -411,7 +411,7 @@ export default { label: '入库批次', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -421,7 +421,7 @@ export default { // label: '商城名称', // type: 2, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -431,7 +431,7 @@ export default { label: '库存数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -441,7 +441,7 @@ export default { label: '冻结数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -451,7 +451,7 @@ export default { label: '出库数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -461,7 +461,7 @@ export default { label: '物流发运车次', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -471,7 +471,7 @@ export default { // label: '品分类', // type: 2, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -481,7 +481,7 @@ export default { label: '品牌', type: 2, values: '', - width: '130', + width: '120', checkarr: [], fixed: false, sortable: true, @@ -491,7 +491,7 @@ export default { label: '商场/客户', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -501,7 +501,7 @@ export default { label: '门店名称', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -531,7 +531,7 @@ export default { label: '所在托盘', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -541,7 +541,7 @@ export default { label: '仓库名称', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -551,7 +551,7 @@ export default { label: '物料单位', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -561,7 +561,7 @@ export default { label: '包装数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -571,7 +571,7 @@ export default { label: '拆包数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -581,7 +581,7 @@ export default { label: '拆包状态', type: 1, values: '', - width: '130', + width: '140', checkarr: [ { value: `true`, diff --git a/src/views/distribution/reservation/reservationAddFrom.vue b/src/views/distribution/reservation/reservationAddFrom.vue index b8949ba3..117ae82b 100644 --- a/src/views/distribution/reservation/reservationAddFrom.vue +++ b/src/views/distribution/reservation/reservationAddFrom.vue @@ -885,17 +885,17 @@ export default { sortable: true, head: false, }, - { - prop: 'materialId', - label: '物料ID', - type: 2, - values: '', - width: '150', - checkarr: [], - fixed: false, - sortable: true, - head: false, - }, + // { + // prop: 'materialId', + // label: '物料ID', + // type: 2, + // values: '', + // width: '150', + // checkarr: [], + // fixed: false, + // sortable: true, + // head: false, + // }, { prop: 'descriptionGoods', label: '物料名称', diff --git a/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue b/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue index 3f6263f7..0abbf54c 100644 --- a/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue +++ b/src/views/warehouse/warehousesignedorder/distributionStockArticle.vue @@ -115,7 +115,7 @@ export default { label: '服务号', type: 2, values: '', - width: '130', + width: '160', checkarr: [], fixed: true, sortable: true, @@ -126,7 +126,7 @@ export default { label: '运单号', type: 2, values: '', - width: '130', + width: '160', checkarr: [], fixed: true, sortable: true, @@ -137,7 +137,7 @@ export default { label: '订单自编号', type: 2, values: '', - width: '130', + width: '180', checkarr: [], fixed: false, sortable: true, @@ -147,7 +147,7 @@ export default { label: '商场名称', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -157,7 +157,7 @@ export default { label: '货物名称', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -167,7 +167,7 @@ export default { label: '所在仓库', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -177,7 +177,7 @@ export default { label: '入库时间', type: 4, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -187,7 +187,7 @@ export default { label: '在库时间', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -197,7 +197,7 @@ export default { label: '订单总件数', type: 1, values: '', - width: '130', + width: '160', checkarr: [], fixed: false, sortable: true, @@ -207,7 +207,7 @@ export default { label: '收货单位', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -227,7 +227,7 @@ export default { label: '在库件数', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -237,7 +237,7 @@ export default { label: '可用数量', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -247,7 +247,7 @@ export default { label: '未入库数量', type: 1, values: '', - width: '130', + width: '160', checkarr: [], fixed: false, sortable: true, @@ -257,7 +257,7 @@ export default { label: '分拣数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -267,7 +267,7 @@ export default { label: '配送数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -277,7 +277,7 @@ export default { label: '中转数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -287,7 +287,7 @@ export default { label: '签收数量', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -297,7 +297,7 @@ export default { label: '上架状态', type: 3, values: '', - width: '130', + width: '140', checkarr: [ // { // value: '0', @@ -323,7 +323,7 @@ export default { // label: '货区-货位-货架', // type: 1, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -333,7 +333,7 @@ export default { label: '订单来源', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -343,7 +343,7 @@ export default { // label: '所在托盘', // type: 1, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -353,7 +353,7 @@ export default { // label: '冻结状态', // type: 3, // values: '', - // width: '130', + // width: '140', // checkarr: [ // // { // // value: '1', @@ -372,7 +372,7 @@ export default { label: '订单状态', type: 3, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -382,7 +382,7 @@ export default { label: '预约状态', type: 3, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -392,7 +392,7 @@ export default { // label: '备货状态', // type: 3, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -402,7 +402,7 @@ export default { label: '是否齐套', type: 3, values: '', - width: '130', + width: '140', checkarr: [ { value: '2', @@ -421,7 +421,7 @@ export default { // label: '品牌', // type: 2, // values: '', - // width: '130', + // width: '140', // checkarr: [], // fixed: false, // sortable: true, @@ -431,7 +431,7 @@ export default { label: '服务类型', type: 3, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -441,7 +441,7 @@ export default { label: '顾客名字', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -451,7 +451,7 @@ export default { label: '顾客电话', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -461,7 +461,7 @@ export default { label: '顾客地址', type: 2, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -471,7 +471,7 @@ export default { label: '配送司机', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -481,7 +481,7 @@ export default { label: '增值服务', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -501,7 +501,7 @@ export default { label: '创建时间', type: 1, values: '', - width: '130', + width: '140', checkarr: [], fixed: false, sortable: true, @@ -756,7 +756,6 @@ export default { } let st = false; this.selectionList.forEach(i => { - console.log('yuyuyuuyu', i); if (i.reservationStatusName === '已预约') { st = true; this.$message.warning(i.orderCode + ' - 已预约,请勿重复预约!!!'); @@ -841,28 +840,6 @@ export default { } } - /*else if (this.selectionList.length > 1){ - this.getSock(); - }else if (this.selectionList.length < 2){ - //判断有没有包件 - let params ={ - stockArticleId : this.selectionList[0].id - } - - let a = await getListOwn(this.page.currentPage,this.page.pageSize,params); - // console.log("aaaaaaa===",a.data.data); - if(a.data.data.records.length > 0){ - this.$router.push({ - path: '/distribution/inventory/distributionStockArticleFrom', - query: { - id : this.ids, - name : "转库存单" - } - }); - }else{ - this.getSock(); - } - }*/ }, getSock() { this.$confirm('确定将选择的订单转为库存品吗?', { @@ -1248,7 +1225,6 @@ export default { (this.query.orderStatus = 80), getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { const data = res.data.data; - console.log('>>>>>>>', data.records); this.page.total = data.total; this.data = data.records; this.data = this.data.map(i => { From 4c9b285ee7985e842c13e5828eb3d22f5f863daa Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Sat, 25 Nov 2023 17:13:51 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E7=AD=BE=E6=94=B6=E5=9B=BE=E7=89=87zip?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/distribution/distributionSignfor.js | 1 + .../signfor/distributionSignfor.vue | 97 +++++++++++++++++-- 2 files changed, 90 insertions(+), 8 deletions(-) diff --git a/src/api/distribution/distributionSignfor.js b/src/api/distribution/distributionSignfor.js index 2cbb6b70..b4dd09ec 100644 --- a/src/api/distribution/distributionSignfor.js +++ b/src/api/distribution/distributionSignfor.js @@ -66,6 +66,7 @@ export const handlePicture = ids => { params: { ids }, + responseType: 'blob', }) }; diff --git a/src/views/distribution/signfor/distributionSignfor.vue b/src/views/distribution/signfor/distributionSignfor.vue index afa0d120..cd7dfd54 100644 --- a/src/views/distribution/signfor/distributionSignfor.vue +++ b/src/views/distribution/signfor/distributionSignfor.vue @@ -115,6 +115,7 @@ 导出 + 导出图片 @@ -215,9 +216,29 @@ + + + + + + + + + 取 消 + 确 定 + + + + + + >>>>>>>>>",this.selectionList); if (this.selectionList.length < 1){ this.$message({ @@ -729,16 +756,69 @@ export default { message: '请选择签收记录!', }); } - const idList= this.selectionList.map(item=>{ - return item.id - }) - console.log(idList); - const ids = idList.join(','); - console.log("ids>>>>>>>>>>>>",ids); - handlePicture(ids).then(res=>{ - console.log("res><>>>>>>>>>>>>>",res); + + const idList= this.selectionList.map(item=>{ + console.log('>>>>>>>>>',item); + return{id:item.id,reservationCode:item.reservationCode,client:item.consignee} }) + const _arr = []; + console.log(idList); + if (idList.length > 0){ + // this.fullscreenLoading = true; + // this.dialogVisible = true; + + idList.forEach(item=>{ + return _arr.push(handlePicture(item.id)); + }) + + + console.log('arr>>>>>>>>>>>>>>>>>>>>',_arr); + function delayedTimer() { + console.log('Delayed timer executed!'); + } + const timerId = setTimeout(delayedTimer, 500); + Promise.all(_arr).then((response)=>{ + + console.log('response>>>>>>>>>>>>>>>>>>>>>',response); + response.forEach((res, index) =>{ + console.log('res>>>>>>>>>>>>>>>>>>>>>',res.data); + if (res.data.size > 0){ + const _item = idList[index]; + const blob = new Blob([res.data], {type: 'application/zip'}); + let a = document.createElement("a"); + a.href = window.URL.createObjectURL(blob); + // a.href = 'http://192.168.10.25:2888/D:/Test'; + a.download = _item.client +'-'+_item.reservationCode +".zip"; + // a.download = 'aaa' + ".zip"; + a.style.display = "none"; + document.body.appendChild(a); + a.click(); // 模拟点击了a标签,会触发a标签的href的读取,浏览器就会自动下载了 + a.remove(); + } + }) + for (let i = 0; i < 100; i++) { + this.fileSize = i; + } + // this.dialogVisible = false; + setTimeout(() => { + clearTimeout(timerId); + console.log('延迟执行完成'); + this.fullscreenLoading = false; + + this.$notify({ + title: '提示', + message: ('i', { style: 'color: teal'}, '开始下载...') + }); + }, 3000); + }) + + + // 在 3 秒之后,自动清除定时器 + + } + + // row.signingStatus = '2'; // row = { ...row, ...this.query }; @@ -748,6 +828,7 @@ export default { // downloadXls(res.data, '签收数据.xlsx'); // }); }, + showdrawer(value) { this.drawerShow = value; }, From 1f47338162b4d74fafa0c5439b66553a79d7a1f8 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Sat, 25 Nov 2023 19:08:27 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BC=B9=E7=AA=97?= =?UTF-8?q?=E5=85=A8=E5=B1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/option/distribution/TripartiteTransfer.js | 872 ++++++++++++++++++ src/styles/common.scss | 4 + src/utils/util.js | 51 +- .../artery/TripartiteTransfer.vue | 339 ++++++- .../distribution/artery/VehicleStowage.vue | 61 +- .../carry/distributionStockCarry.vue | 522 ++++++----- 6 files changed, 1571 insertions(+), 278 deletions(-) create mode 100644 src/option/distribution/TripartiteTransfer.js diff --git a/src/option/distribution/TripartiteTransfer.js b/src/option/distribution/TripartiteTransfer.js new file mode 100644 index 00000000..e4cd659b --- /dev/null +++ b/src/option/distribution/TripartiteTransfer.js @@ -0,0 +1,872 @@ +/** 三方中转列表 */ +export const columnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'billladingCode', + label: '中转批次号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'carNumber', + label: '承运商', + type: 2, + values: '', + width: '180', + checkarr: [], + fixed: true, + sortable: true, + }, + { + prop: 'driverName', + label: '承运日期', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: true, + sortable: true, + }, + { + prop: 'driverPhone', + label: '付款方式', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '运费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '代收贷款', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '承运单号', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '发站仓库', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '是否结算', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '客户类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '发车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '计划出库', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '实际装车', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '送货方式', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '经办人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '创建时间', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '结算金额', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '结算人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '签收时间', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '操作', + type: 6, + values: '', + width: '300', + checkarr: [], + fixed: 'right', + sortable: false, + }, +]; + +/** 装车详情列表 */ +export const detailsColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '运单号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderCode', + label: '合同号', + type: 13, + values: '', + width: '150', + checkarr: [], + fixed: true, + sortable: true, + head: false, + }, + { + prop: 'orderPackageCode', + label: '包条码', + type: 13, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '计划目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的地', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '装卸状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '订单来源', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '装车仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '扫码时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '装卸仓库', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '卸车时间', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '装车类型', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '是否补录', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '是否齐套', + type: 3, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '托盘码', + type: 2, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '一级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '二级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '三级品类', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '物料名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalVolume', + label: '装车扫描人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'createUserName', + label: '卸车人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalWeight', + label: '同步状态', + type: 3, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; + +/** 运单池列表 */ +export const oldColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '开单日期', + type: 1, + 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: 'orderPackageCode', + label: '运单号', + type: 2, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '到站', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的网点', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '发货单位', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '收货单位', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '收货人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '托盘码', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '品类名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '在库数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '单价', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '重量(kg)', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '体积', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '运费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '客户车次', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '运单备注', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; + +/** 调度池列表 */ +export const newColumnList = [ + { + prop: '', + label: '复选框', + type: 0, + width: 55, + fixed: true, + }, + { + prop: '', + label: '序号', + type: 12, + values: '', + width: 55, + fixed: true, + }, + { + prop: 'orderCode', + label: '开单日期', + type: 1, + 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: 'orderPackageCode', + label: '运单号', + type: 2, + values: '', + width: '200', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverName', + label: '到站', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'driverPhone', + label: '目的网点', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'warehouseName', + label: '发货单位', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'lineNameTitle', + label: '收货单位', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'nodeNub', + label: '收货人', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'startTime', + label: '托盘码', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'endTime', + label: '品类名称', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'planVolume', + label: '件数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'billladingStatus', + label: '在库数', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'chargeType', + label: '单价', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalFee', + label: '重量(kg)', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'remark', + label: '体积', + type: 1, + values: '', + width: '150', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'carrierName', + label: '运费', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'waybillCount', + label: '客户车次', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, + { + prop: 'totalNum', + label: '运单备注', + type: 2, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + }, +]; diff --git a/src/styles/common.scss b/src/styles/common.scss index ffbdfa16..3260ddc5 100644 --- a/src/styles/common.scss +++ b/src/styles/common.scss @@ -152,6 +152,10 @@ a { margin-top: 10px; } +.pointer { + cursor: pointer; +} + // ele样式覆盖 @import './element-ui.scss'; // 顶部右侧显示 diff --git a/src/utils/util.js b/src/utils/util.js index 6aa7f33e..4df593cf 100644 --- a/src/utils/util.js +++ b/src/utils/util.js @@ -277,13 +277,13 @@ export const openWindow = (url, title, w, h) => { const width = window.innerWidth ? window.innerWidth : document.documentElement.clientWidth - ? document.documentElement.clientWidth - : screen.width; + ? document.documentElement.clientWidth + : screen.width; const height = window.innerHeight ? window.innerHeight : document.documentElement.clientHeight - ? document.documentElement.clientHeight - : screen.height; + ? document.documentElement.clientHeight + : screen.height; const left = width / 2 - w / 2 + dualScreenLeft; const top = height / 2 - h / 2 + dualScreenTop; @@ -291,13 +291,13 @@ export const openWindow = (url, title, w, h) => { url, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width=' + - w + - ', height=' + - h + - ', top=' + - top + - ', left=' + - left + w + + ', height=' + + h + + ', top=' + + top + + ', left=' + + left ); // Puts focus on the newWindow @@ -315,18 +315,18 @@ export const getScreen = isCollapse => { }; export const getHtmls = (arrs, htmldemo) => { - let html = '' + let html = ''; arrs.map(item => { let strhtml = JSON.parse(JSON.stringify(htmldemo)); for (let key in item) { let str = '\\$\\{' + key + '\\}'; - let reg=new RegExp(str,"g") + let reg = new RegExp(str, 'g'); strhtml = strhtml.replace(reg, item[key]); } html += strhtml; }); - return html -} + return html; +}; /** * 获取顶部地址栏地址 */ @@ -424,3 +424,24 @@ export const downloadXls = (fileArrayBuffer, filename) => { window.open(URL.createObjectURL(file)); } }; + +/** + * 设置元素节点高度 + * @param {node} node 元素 type: element || array + * @param {string} height 高度 (非必填) type: string + */ +export const setNodeHeight = (_node, _height) => { + // 判断是否传入的是数组 + const _type = Object.prototype.toString.call(_node); + console.log('_type :>> ', _type); + // 传入数组时 + if (_type === '[object Array]') { + console.log('333 :>> ', 333); + } + // 传入单一节点时 + else if (_type === '[object HTMLDivElement]') { + console.log('222 :>> ', 222); + if (_height) _node.style.height = _height; + console.log('_node :>> ', _node); + } +}; diff --git a/src/views/distribution/artery/TripartiteTransfer.vue b/src/views/distribution/artery/TripartiteTransfer.vue index a5792d6f..cc4c7cee 100644 --- a/src/views/distribution/artery/TripartiteTransfer.vue +++ b/src/views/distribution/artery/TripartiteTransfer.vue @@ -78,7 +78,9 @@ - 新增中转 + 新增中转 + 装载清单 装载卸车清单(财务) - + - + - 批量卸车 + 中转批量签收 搜 索 二维码 + @@ -232,16 +239,195 @@ :total="trickleLoadingPage.total" > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 运单池 + + + + + + + + + + + + + + + + 搜 索 + 重置 + + + + + + + + + + + + + + + 加入调度池 + + + + + + + + + - - + + + + + + + + 调度池 + + + + + + + + + + + + + + + 搜 索 + 重置 + + + + + + + + + 移除调度池 + + + + + + + + + + - 取 消 + + + + - --> + + + @@ -249,7 +435,7 @@ @setcolum="setnewcolum" @closce="showdrawer" :drawerShow="drawerShow" - :columnList="columnList" + :columnList="details.editColumnList" > @@ -261,7 +447,12 @@ import { mapGetters } from 'vuex'; /** 获取字典 */ import { getDictionaryBiz } from '@/api/system/dict'; import { downloadXls } from '@/utils/util'; -import { columnList, detailsColumnList } from '@/option/distribution/VehicleStowage'; +import { + columnList, + detailsColumnList, + oldColumnList, + newColumnList, +} from '@/option/distribution/TripartiteTransfer'; import { useRouter } from 'vue-router'; // 获取路由实例 @@ -306,9 +497,18 @@ const details = reactive({ stockupDate: [], /** 列表 */ columnList, + /** 装车明细表头信息 */ detailsColumnList, + /** 修改的列表信息 */ + editColumnList: [], + /** 运单池 */ + oldColumnList, + /** 调度池 */ + newColumnList, /** 列表数据 */ data: [{}], + newData: [], + oldData: [], /** 页面loading */ loadingObj: { /** 列表加载loading */ @@ -336,7 +536,7 @@ const details = reactive({ /** 装车详情 */ truckLoadingDetailVisited: false, /** 零担补录 */ - zeroAdditionalRecordingVisited: false, + transferVisited: false, }, /** 列表Dom节点 */ listNode: '', @@ -396,7 +596,18 @@ const searchReset = () => { }; /** 展开列表控件 */ -const showdrawer = (_flag?: boolean) => { +const showdrawer = (_flag?: boolean, _type?: string) => { + switch (_type) { + case 'truckLoadingDetail': + details.editColumnList = details.detailsColumnList; + break; + + default: + console.log('123 :>> ', 123); + details.editColumnList = details.columnList; + break; + // details. + } details.drawerShow = _flag; }; @@ -459,6 +670,44 @@ const selectionChange = (list: any) => { details.selectionList = list; }; +/** 表格表头输入框搜索 */ +const newInputsc = (index, row) => { + details.newQuery[row.prop] = index; + onLoad(details.page); +}; + +/** 表格表头时间选择 */ +const newTimesc = (index, row) => { + console.log(index, row); + if (!!index) { + index = dayjs(index).format('YYYY-MM-DD'); + } + details.newQuery[row.prop] = index; + if (!index) { + delete details.newQuery[row.prop]; + } + onLoad(details.page); +}; + +/** 表格表头输入框搜索 */ +const newBtnsc = () => {}; + +/** 表格表头下拉框选择 */ +const newSelectsc = (index, row) => { + details.newQuery[row.prop] = index; + if (!index) delete details.newQuery[row.prop]; + if (row.prop === 'certificateTypeName') { + details.newQuery['certificateType'] = index; + if (!index) delete details.newQuery['certificateType']; + } + onLoad(details.page); +}; + +/** 表格表头复选框选择 */ +const newSelectionChange = (list: any) => { + details.newSelectionList = list; +}; + /** 每页数量改变执行的回调 */ const sizeChange = (pageSize: number) => { details.page.pageSize = pageSize; @@ -475,13 +724,13 @@ const currentChange = () => {}; * */ const setnewcolum = (newarr, headarr, type) => { if (type == 1) { - details.columnList = newarr; + details.editColumnList = newarr; functions.setStorage(window.location.pathname + 'checkList', headarr); } else if (type == 2) { - details.columnList = newarr; + details.editColumnList = newarr; functions.setStorage(window.location.pathname + 'flexList', headarr); } else if (type == 3) { - details.columnList = newarr; + details.editColumnList = newarr; functions.setStorage(window.location.pathname + 'sortlist', headarr); } }; @@ -505,11 +754,59 @@ const handleShowTruckLoadingDetails = ({ row }) => { }); }; -/** 显示零担补录 */ +/** 跳转零担补录 */ const handleShowzeroAdditionalRecording = ({ row }) => { // 跳转到零担补录页面 $router.push('/distribution/artery/zeroAdditionalRecording'); }; + +/** 新增中转 */ +const addTransfer = async () => { + return null; +}; + +/** 修改中转 */ +const editTransfer = async () => { + return null; +}; + +/** 显示新增或修改中转弹窗 */ +const handleShowTransfer = async (_type: string) => { + switch (_type) { + // 新增 + case 'add': + await addTransfer(); + break; + + // 修改 + case 'edit': + await editTransfer(); + break; + + default: + break; + } + details.popUpShow.transferVisited = true; + + nextTick(() => { + // 获取弹窗内表格元素节点, 并设置高度 + const _nodeList = document.querySelectorAll('.transferPopUp .maboxhi'); + _nodeList.forEach(val => (val.style.height = '300px')); + }); +}; + +/** 添加运单 */ +const handleAddWaybill = () => { + // if (this.addInfo.oldSelectionList.length === 0) return this.$message.warning('最少选择一条运单'); + // this.addInfo.newData = [...this.addInfo.newData, ...this.addInfo.oldSelectionList]; + // this.addInfo.haveIds = this.addInfo.map(val => val.id); +}; +/** 移除运单 */ +const handleRemoveWaybill = () => { + // if (this.addInfo.newSelectionList.length === 0) return this.$message.warning('最少选择一条运单'); + // this.addInfo.newData = [...this.addInfo.newData, ...this.addInfo.oldSelectionList]; + // this.addInfo.haveIds = this.addInfo.map(val => val.id); +}; diff --git a/src/views/distribution/artery/VehicleStowage.vue b/src/views/distribution/artery/VehicleStowage.vue index fe58f3b2..5105d357 100644 --- a/src/views/distribution/artery/VehicleStowage.vue +++ b/src/views/distribution/artery/VehicleStowage.vue @@ -169,8 +169,33 @@ width="80%" :before-close="beforeClose" append-to-body + :fullscreen="details.fullscreenObj.truckLoadingDetailPopUp" + :show-close="false" class="truckLoadingDetailPopUp" > + + + 装车明细 + + + + + + + + + + + + + + + + @@ -260,7 +285,7 @@ import dayjs from 'dayjs'; import { mapGetters } from 'vuex'; /** 获取字典 */ import { getDictionaryBiz } from '@/api/system/dict'; -import { downloadXls } from '@/utils/util'; +import { downloadXls, setNodeHeight } from '@/utils/util'; import { columnList, detailsColumnList } from '@/option/distribution/VehicleStowage'; import { useRouter } from 'vue-router'; @@ -349,6 +374,11 @@ const details = reactive({ total: 0, }, }, + /** 全屏 */ + fullscreenObj: { + /** 装车明细 */ + truckLoadingDetailPopUp: false, + }, }); const { @@ -510,6 +540,31 @@ const handleShowzeroAdditionalRecording = ({ row }) => { // 跳转到零担补录页面 $router.push('/distribution/artery/zeroAdditionalRecording'); }; + +/** + * 是否开启床车明细全屏 + * @params(_type) 开启或关闭 + */ +const handleFullScrean = (_type: 'open' | 'close', _name: string) => { + const _node = document.querySelector('.truckLoadingDetailPopUp .maboxhi'); + + switch (_name) { + case 'truckLoadingDetailPopUp': + details.fullscreenObj.truckLoadingDetailPopUp = + !details.fullscreenObj.truckLoadingDetailPopUp; + + const _node = document.querySelector('.truckLoadingDetailPopUp .maboxhi'); + if (_type === 'close') { + setNodeHeight(_node, '500px'); + } else { + setNodeHeight(_node, '1000px'); + } + break; + + default: + break; + } +}; diff --git a/src/views/distribution/inventory/carry/distributionStockCarry.vue b/src/views/distribution/inventory/carry/distributionStockCarry.vue index 55c4d39d..780a17a2 100644 --- a/src/views/distribution/inventory/carry/distributionStockCarry.vue +++ b/src/views/distribution/inventory/carry/distributionStockCarry.vue @@ -1,7 +1,7 @@ - + @@ -22,12 +22,12 @@ - - - - - - + + + + + + 搜 索 @@ -39,89 +39,123 @@ - 商配 - 市配 - 自提 + 商配 + 市配 + 自提 全部 未通知 已通知 - - - - + + + + 创建异常 - 转预约单 - 批量加配转库存品 - 修改客户信息 - 修改服务类型 - + 转预约单 + 批量加配转库存品 + 修改客户信息 + 修改服务类型 创建提货单 - 再次通知 - 通知提货 + 再次通知 + 通知提货 - - - - + + + + - - - - + + - + - + - - 查看 - 编辑 - + + 查看 + 编辑 + - + - + + @@ -141,29 +175,29 @@ placeholder="请填写内容" /> - - - - + - - 取消 - - 确定 - + + 取消 + + 确定 + + + - + + v-for="item in distributionType" + :key="item.dictKey" + :label="item.dictValue" + :value="item.dictKey" + > @@ -180,13 +214,15 @@ - - 取消 - - 确定 - + + 取消 + + 确定 + + + @@ -205,38 +241,41 @@ - - 取消 - - 确定 - + + 取消 + + 确定 + + - + - + - + - + - + - + - + - + - + - + - - - - - - + + + + + + 是 否 - + - - - - - - + + + + + + 干 仓 配 - + - + - + - - - - - - + + + + + + 库存单 预约单 - - - - - - + + + + + + 待配送 配送 @@ -319,7 +358,9 @@ - 提 交 + 提 交 取 消 @@ -329,16 +370,23 @@