From a548896aaf121abb9396d26dad054993dab3a00f Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Mon, 24 Jun 2024 23:18:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=83=A8=E5=88=86=E5=B9=B2?= =?UTF-8?q?=E7=BA=BF=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../artery/VehicleArrivalManagement.vue | 153 ++++++++++++++--- .../distribution/artery/VehicleStowage.vue | 142 ++++++++++++++-- .../artery/VehicleStowageDetails.vue | 27 ++- .../artery/directGoMarketDetails.vue | 58 ++++++- .../artery/truckLoadingDetails.vue | 156 +++++++++++++++--- .../arteryDistrilbutionBillLadingList.vue | 96 ++++++++++- ...teryDistrilbutionBillLadingListDetails.vue | 22 ++- src/views/waybill/TemporaryStorageList.vue | 2 +- src/views/waybill/orderPackageList.vue | 49 +++++- src/views/waybill/orderPackageListDetails.vue | 68 +++++++- src/views/wel/index1.vue | 56 ++++++- 11 files changed, 738 insertions(+), 91 deletions(-) diff --git a/src/views/distribution/artery/VehicleArrivalManagement.vue b/src/views/distribution/artery/VehicleArrivalManagement.vue index 138341be..ce21d4a5 100644 --- a/src/views/distribution/artery/VehicleArrivalManagement.vue +++ b/src/views/distribution/artery/VehicleArrivalManagement.vue @@ -73,28 +73,85 @@
- 发车 - 网点取消发车 + 发车 + + + + 网点取消发车 + + + + - 装载清单 + + + 到达 + + + + - 到达 - 取消到达 + + + - 中途到达卸车 + - + + + 终点到达卸车 - + + + 卸车报告 + 装车明细 + + + 编辑 + >编辑 + { const permission = computed(() => mapGetters(['permission', 'tagWel', 'tagList'])); console.log('permission :>> ', permission); +/** 权限按钮 */ +const permissionObj = reactive({ + /** 发车 */ + VehicleArrivalManagement_startCar: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_startCar; + }), + /** 网点取消发车 */ + VehicleArrivalManagement_nodeCancelStartCar: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_nodeCancelStartCar; + }), + /** 装载清单 */ + VehicleArrivalManagement_listOfLoadedWagons: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_listOfLoadedWagons; + }), + /** 到达 */ + VehicleArrivalManagement_arrive: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_arrive; + }), + /** 取消到达 */ + VehicleArrivalManagement_cancelArrive: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_cancelArrive; + }), + /** 中途到达卸车 */ + VehicleArrivalManagement_HalfwayToUnloadTheCar: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_HalfwayToUnloadTheCar; + }), + /** 终点到达卸车 */ + VehicleArrivalManagement_UnloadAtTheEnd: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_UnloadAtTheEnd; + }), + /** 卸车报告 */ + VehicleArrivalManagement_UnloadReport: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_UnloadReport; + }), + /** 装车明细 */ + VehicleArrivalManagement_shippingSpecification: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_shippingSpecification; + }), + /** 编辑 */ + VehicleArrivalManagement_edit: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_edit; + }), + /** 手动装车 */ + VehicleArrivalManagement_ManualLoading: computed(() => { + return $store.getters.permission.VehicleArrivalManagement_ManualLoading; + }), +}); + /** 请求页面数据 */ const onLoad = debounce(async (params = {}) => { try { diff --git a/src/views/distribution/artery/VehicleStowage.vue b/src/views/distribution/artery/VehicleStowage.vue index ceb45bf1..f95f1c8a 100644 --- a/src/views/distribution/artery/VehicleStowage.vue +++ b/src/views/distribution/artery/VehicleStowage.vue @@ -62,21 +62,60 @@
- 新增配载 + + 新增配载 + - + + + 装载清单 + - 发 车 - 取消发车 + + 发 车 + + + + - 取消配载 + + + + 取消配载 + + 零担补录 - 装车明细 + + + 装车明细 + + + + 编辑 + @@ -205,24 +259,36 @@ @@ -567,6 +576,15 @@ export default { options: [], /** 提货日志 */ loadLogsList: [], + /** 权限按钮 */ + permissionObj: { + /** 添加 */ + arteryDistrilbutionBillLadingListDetails_confirmEdit: + this.$store.getters.permission.arteryDistrilbutionBillLadingListDetails_confirmEdit, + /** 修改 */ + arteryDistrilbutionBillLadingListDetails_edit: + this.$store.getters.permission.arteryDistrilbutionBillLadingListDetails_edit, + }, }; }, watch: { diff --git a/src/views/waybill/TemporaryStorageList.vue b/src/views/waybill/TemporaryStorageList.vue index 99e326bf..126a0fc3 100644 --- a/src/views/waybill/TemporaryStorageList.vue +++ b/src/views/waybill/TemporaryStorageList.vue @@ -49,7 +49,7 @@ type="primary" icon="el-icon-plus" v-if="permissionObj.TemporaryStorageList_orderTransitionWaybill" - click="handleCreateOrder" + @click="handleCreateOrder" >订单转运单 diff --git a/src/views/waybill/orderPackageList.vue b/src/views/waybill/orderPackageList.vue index 8b59dfec..87ea0e82 100644 --- a/src/views/waybill/orderPackageList.vue +++ b/src/views/waybill/orderPackageList.vue @@ -78,7 +78,12 @@ - + 批量入库
@@ -105,10 +110,23 @@ >