From e6819b2d13a8842d55a61fb44352c55ae746bf04 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Tue, 31 Dec 2024 17:02:27 +0800 Subject: [PATCH 1/8] =?UTF-8?q?=E6=99=9A=E4=B8=8A=E6=8A=A5=E8=A1=A8?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/WaybillAudit.vue | 7 + .../reportformsOption/AllTrunklineConfig.vue | 184 +++++++++++++----- .../reportformsOption/OrderAllConfig.vue | 179 +++++++++++++---- 3 files changed, 278 insertions(+), 92 deletions(-) diff --git a/src/views/finance/WaybillAudit.vue b/src/views/finance/WaybillAudit.vue index 7d255a27..f8863338 100644 --- a/src/views/finance/WaybillAudit.vue +++ b/src/views/finance/WaybillAudit.vue @@ -442,6 +442,13 @@ const onLoad = async () => { !value.payStatus && (value.payStatus = '10'); !value.settlementStatus && (value.settlementStatus = '10'); + + for (let j = 0; j < details.columnList.length; j++) { + const item = details.columnList[j]; + + if (!item.isshowSummary) continue; + value[item.prop] = Number(value[item.prop]); + } } details.page.total = data.total; diff --git a/src/views/reportformsOption/AllTrunklineConfig.vue b/src/views/reportformsOption/AllTrunklineConfig.vue index f09e68f7..27e045f1 100644 --- a/src/views/reportformsOption/AllTrunklineConfig.vue +++ b/src/views/reportformsOption/AllTrunklineConfig.vue @@ -63,13 +63,15 @@ - +
- + @@ -207,7 +208,7 @@ :show-close="false" v-model="details.popUpShow.checkVisted" > -
+
@@ -227,6 +228,38 @@
+ + +
+ + +
+ + + + + + + + +
+ 关 闭 + + 提 交 + +
+
+ ({ view: false, /** 审核 */ checkVisted: false, + /** 切换服务类型 */ + changeServiceTypeVisted: false, }, /** 列表复选框选中的数据 */ selectionList: [], @@ -395,6 +434,8 @@ const details = reactive({ }), /** 是否为批量操作 */ isBatch: false, + changeServiceTypeInfo: {}, + serviceOption: [], }); const tableNodeRef = ref(); @@ -827,6 +868,40 @@ const handlePictureCardPreview: UploadProps['onPreview'] = uploadFile => { details.dialogImageUrl = uploadFile.url!; details.popUpShow.dialogVisible = true; }; + +/** 切换服务类型 */ +const handleServiceType = ({ row }) => { + details.popUpShow.changeServiceTypeVisted = true; + details.changeServiceTypeInfo = { ...row }; + for (let i = 0; i < details.columnList.length; i++) { + const value = details.columnList[i]; + + if (value.label !== '服务类型') continue; + details.serviceOption = [...value.checkarr]; + break; + } +}; + +const handleSubmitChangeServiceType = async () => { + try { + if (!details.changeServiceTypeInfo.serviceType) return ElMessage.warning('请选择服务类型'); + details.popUpShow.changeServiceTypeVisted = false; + details.loadingObj.pageLoading = true; + const res = await postUpdateWaybillTypeService({ + id: details.changeServiceTypeInfo.id, + serviceType: details.changeServiceTypeInfo.serviceType, + }); + + const { code, msg } = res.data; + if (code !== 200) return; + ElMessage.success(msg); + onLoad(); + } catch (error) { + console.log('error :>> ', error); + } finally { + details.loadingObj.pageLoading = false; + } +}; diff --git a/src/option/distribution/VehicleArrivalManagement.js b/src/option/distribution/VehicleArrivalManagement.js index da8e6c13..0983e1d5 100644 --- a/src/option/distribution/VehicleArrivalManagement.js +++ b/src/option/distribution/VehicleArrivalManagement.js @@ -40,7 +40,7 @@ export const columnList = [ label: '计划装车', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -51,7 +51,7 @@ export const columnList = [ label: '装车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -62,7 +62,7 @@ export const columnList = [ label: '在车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -73,7 +73,7 @@ export const columnList = [ label: '卸车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -84,7 +84,7 @@ export const columnList = [ label: '满载率', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -104,13 +104,13 @@ export const columnList = [ label: '是否直发商家', type: 6, values: '', - width: '130', + width: '90', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '2' }, ], fixed: false, - sortable: true, + sortable: false, }, // { // prop: 'planVolume', @@ -127,7 +127,7 @@ export const columnList = [ label: '车辆状态', type: 3, values: '', - width: '130', + width: '90', checkarr: [ { label: '未发车', value: 0 }, { label: '已发车', value: 10 }, @@ -167,7 +167,7 @@ export const columnList = [ label: '车牌号', type: 2, values: '', - width: '150', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -217,7 +217,7 @@ export const columnList = [ label: '总费用', type: 1, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -228,7 +228,7 @@ export const columnList = [ label: '现付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, isshowSummary: true, @@ -239,7 +239,7 @@ export const columnList = [ label: '油费', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -250,7 +250,7 @@ export const columnList = [ label: '路桥费', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -261,7 +261,7 @@ export const columnList = [ label: '回付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -272,7 +272,7 @@ export const columnList = [ label: '到付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -283,7 +283,7 @@ export const columnList = [ label: '整车信息费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -294,7 +294,7 @@ export const columnList = [ label: '整车保险费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -305,7 +305,7 @@ export const columnList = [ label: '整车落地费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -316,7 +316,7 @@ export const columnList = [ label: '发站装车费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -327,7 +327,7 @@ export const columnList = [ label: '发站其他费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -338,7 +338,7 @@ export const columnList = [ label: '到站卸车费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -349,7 +349,7 @@ export const columnList = [ label: '到站其它费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -360,7 +360,7 @@ export const columnList = [ label: '经办人', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, diff --git a/src/option/distribution/VehicleStowage.js b/src/option/distribution/VehicleStowage.js index 1896d0d9..c1fcc0fb 100644 --- a/src/option/distribution/VehicleStowage.js +++ b/src/option/distribution/VehicleStowage.js @@ -40,7 +40,7 @@ export const columnList = [ label: '计划装车', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -51,7 +51,7 @@ export const columnList = [ label: '装车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -62,7 +62,7 @@ export const columnList = [ label: '在车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -73,7 +73,7 @@ export const columnList = [ label: '卸车件数', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -84,7 +84,7 @@ export const columnList = [ label: '满载率', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -104,13 +104,13 @@ export const columnList = [ label: '是否直发商家', type: 6, values: '', - width: '130', + width: '90', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '2' }, ], fixed: false, - sortable: true, + sortable: false, }, // { // prop: 'planVolume', @@ -127,7 +127,7 @@ export const columnList = [ label: '车辆状态', type: 3, values: '', - width: '130', + width: '90', checkarr: [ { label: '未发车', value: 0 }, { label: '已发车', value: 10 }, @@ -157,7 +157,7 @@ export const columnList = [ label: '主驾司机手机号', type: 1, values: '', - width: '150', + width: '130', checkarr: [], fixed: false, sortable: true, @@ -167,7 +167,7 @@ export const columnList = [ label: '车牌号', type: 2, values: '', - width: '150', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -217,7 +217,7 @@ export const columnList = [ label: '总费用', type: 1, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -228,7 +228,7 @@ export const columnList = [ label: '现付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, isshowSummary: true, @@ -239,7 +239,7 @@ export const columnList = [ label: '到付油卡费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -250,7 +250,7 @@ export const columnList = [ label: '路桥费', type: 1, values: '', - width: '120', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -261,7 +261,7 @@ export const columnList = [ label: '回付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -272,7 +272,7 @@ export const columnList = [ label: '到付运输费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -283,7 +283,7 @@ export const columnList = [ label: '整车信息费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -294,7 +294,7 @@ export const columnList = [ label: '整车保险费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -305,7 +305,7 @@ export const columnList = [ label: '整车落地费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -316,7 +316,7 @@ export const columnList = [ label: '发站装车费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -327,7 +327,7 @@ export const columnList = [ label: '发站其他费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -338,7 +338,7 @@ export const columnList = [ label: '到站卸车费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -349,7 +349,7 @@ export const columnList = [ label: '到站其它费', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, @@ -360,7 +360,7 @@ export const columnList = [ label: '经办人', type: 1, values: '', - width: '130', + width: '100', checkarr: [], fixed: false, sortable: true, diff --git a/src/option/waybill/WaybillOrderList.js b/src/option/waybill/WaybillOrderList.js index ea7af6bf..d5b92628 100644 --- a/src/option/waybill/WaybillOrderList.js +++ b/src/option/waybill/WaybillOrderList.js @@ -273,7 +273,7 @@ export const columnList = [ label: '总数', type: 2, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -284,7 +284,7 @@ export const columnList = [ label: '总重量', type: 2, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -295,7 +295,7 @@ export const columnList = [ label: '总体积', type: 2, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -306,7 +306,7 @@ export const columnList = [ label: '运费', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -317,7 +317,7 @@ export const columnList = [ label: '送货费', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -328,7 +328,7 @@ export const columnList = [ label: '提货费', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -350,7 +350,7 @@ export const columnList = [ label: '仓储费', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -405,7 +405,7 @@ export const columnList = [ label: '申明价值', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -416,7 +416,7 @@ export const columnList = [ label: '回扣', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -427,7 +427,7 @@ export const columnList = [ label: '支付方式', type: 3, values: '', - width: '100', + width: '90', checkarr: [ { label: '现金', value: 1 }, { label: '银行卡', value: 2 }, @@ -444,7 +444,7 @@ export const columnList = [ label: '付款方式', type: 3, values: '', - width: '100', + width: '90', checkarr: [ { label: '现付', value: 1 }, { label: '到付', value: 2 }, @@ -460,7 +460,7 @@ export const columnList = [ label: '现付', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -471,7 +471,7 @@ export const columnList = [ label: '到付', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -482,7 +482,7 @@ export const columnList = [ label: '月付', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -493,7 +493,7 @@ export const columnList = [ label: '回付', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -522,7 +522,7 @@ export const columnList = [ label: '紧急度', type: 3, values: '', - width: '100', + width: '90', checkarr: [ { label: '正常', value: 1 }, { label: '急', value: 2 }, @@ -538,7 +538,7 @@ export const columnList = [ label: '回单数', type: 1, values: '', - width: '100', + width: '90', checkarr: [], fixed: false, isshowSummary: true, @@ -571,7 +571,7 @@ export const columnList = [ label: '运输方式', type: 3, values: '', - width: '100', + width: '90', checkarr: [ { label: '公路快运', value: 1 }, { label: '海运', value: 2 }, @@ -641,35 +641,35 @@ export const columnList = [ label: '提货是否整车', type: 3, values: '', - width: '150', + width: '100', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '0' }, ], fixed: false, isshowSummary: false, - sortable: true, + sortable: false, }, { prop: 'trunklineCompleteOrNotName', label: '干线是否整车', type: 3, values: '', - width: '150', + width: '100', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '0' }, ], fixed: false, isshowSummary: false, - sortable: true, + sortable: false, }, { prop: 'freezeStatusName', label: '是否冻结', type: 3, values: '', - width: '150', + width: '100', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '0' }, @@ -705,7 +705,7 @@ export const columnList = [ label: '是否作废', type: 3, values: '', - width: '150', + width: '100', checkarr: [ { label: '是', value: '1' }, { label: '否', value: '0' }, @@ -741,7 +741,7 @@ export const columnList = [ label: '签收数量', type: 1, values: '', - width: '130', + width: '90', checkarr: [], fixed: false, sortable: true, @@ -899,7 +899,7 @@ export const columnList = [ ], fixed: false, isshowSummary: false, - sortable: true, + sortable: false, }, { prop: 'checkReson', diff --git a/src/views/Pricesystem/ListOfPriceSystems.vue b/src/views/Pricesystem/ListOfPriceSystems.vue index fabe98ca..9d021271 100644 --- a/src/views/Pricesystem/ListOfPriceSystems.vue +++ b/src/views/Pricesystem/ListOfPriceSystems.vue @@ -192,6 +192,7 @@ { }; // 页面初始化数据 const IndexTable = (val, Refresh) => { - console.log(page.value,'page.value'); + console.log(page.value, 'page.value'); console.log('初始化接口'); - + console.log( !TabList.value.find(res => res.name == TabPermissions.value).request, Refresh, @@ -1819,7 +1913,7 @@ const IndexTable = (val, Refresh) => { } else { TabList.value.find(res => res.name == '9').state = false; } - }else{ + } else { TabList.value.find(res => res.name == '9').state = false; } console.log(UserPermissions.value, '当前角色权限'); @@ -1852,7 +1946,8 @@ const IndexTable = (val, Refresh) => { TabList.value.find(res => res.name == TabPermissions.value).DataList = res.data.data.records; TabList.value.find(res => res.name == TabPermissions.value).total = res.data.data.total; - TabList.value.find(res => res.name == TabPermissions.value).currentPage = res.data.data.current; + TabList.value.find(res => res.name == TabPermissions.value).currentPage = + res.data.data.current; TabList.value.find(res => res.name == TabPermissions.value).request = false; console.log(TabList.value, '当前存储的值'); details.data = TabList.value.find(res => res.name == TabPermissions.value).DataList; @@ -1860,8 +1955,9 @@ const IndexTable = (val, Refresh) => { console.log(TabList.value, 'TabList.value===>'); } else { TabList.value.find(res => res.name == TabPermissions.value).DataList = []; - TabList.value.find(res => res.name == TabPermissions.value).total = res.data.data.total; - TabList.value.find(res => res.name == TabPermissions.value).currentPage = res.data.data.current; + TabList.value.find(res => res.name == TabPermissions.value).total = res.data.data.total; + TabList.value.find(res => res.name == TabPermissions.value).currentPage = + res.data.data.current; TabList.value.find(res => res.name == TabPermissions.value).request = true; // details.data = res.data.data.records; details.data = res.data.data.records; @@ -2524,8 +2620,8 @@ const DetermineClaims = val => { }) .catch(res => { details.loadingObj.list = false; //关闭动画加载 - - }).finally(()=>{ + }) + .finally(() => { pageLoad.value = false; }); }) @@ -2839,8 +2935,8 @@ const currentChange = async val => { // page.value.pageSize= _row.pageSize // page.value.currentPage= _row.currentPage TabList.value.find(res => res.name == TabPermissions.value).request = true; - let _row= TabList.value.find(res=>res.name==TabPermissions.value) - _row.currentPage = val + let _row = TabList.value.find(res => res.name == TabPermissions.value); + _row.currentPage = val; page.value.currentPage = val; await DataRendering(TabPermissions.value, details.query, true); TabList.value.find(res => res.name == TabPermissions.value).request = false; @@ -3316,12 +3412,12 @@ const DataRendering = (val, input, Refresh) => { const tabChenge = async (val, input, Refresh = false) => { console.log(TabList.value, 'TabList.value'); console.log(val, 'val'); - let _row= TabList.value.find(res=>res.name==val) - page.value.pageSize= _row.pageSize - page.value.currentPage= _row.currentPage - page.value.total= _row.total - console.log(_row,'当前点击的菜单'); - + let _row = TabList.value.find(res => res.name == val); + page.value.pageSize = _row.pageSize; + page.value.currentPage = _row.currentPage; + page.value.total = _row.total; + console.log(_row, '当前点击的菜单'); + TabPermissions.value = val; //记录当前点击的菜单 if (val != 6) { diff --git a/src/views/basicdata/brand/basicClient.vue b/src/views/basicdata/brand/basicClient.vue index 3694a4f7..39d00e43 100644 --- a/src/views/basicdata/brand/basicClient.vue +++ b/src/views/basicdata/brand/basicClient.vue @@ -567,6 +567,7 @@ width="70%" :align-center="true" v-model="popUpShow.logVisted" + isNotSave > diff --git a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue index 756c10f6..61c71fc8 100644 --- a/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue +++ b/src/views/basicdata/warehouse/goodsAllocation/BasicdataGoodsAllocationDetails.vue @@ -79,6 +79,7 @@ @timeCheck="timesc" @selectCheck="selectsc" @selection="selectionChange" + isNotSave > Date: Mon, 6 Jan 2025 16:08:34 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/reportforms/PackageAllTrunklineTimePageReport.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/reportforms/PackageAllTrunklineTimePageReport.vue b/src/views/reportforms/PackageAllTrunklineTimePageReport.vue index 45c46979..385ac0bd 100644 --- a/src/views/reportforms/PackageAllTrunklineTimePageReport.vue +++ b/src/views/reportforms/PackageAllTrunklineTimePageReport.vue @@ -24,7 +24,7 @@
- + Date: Mon, 6 Jan 2025 17:25:13 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E7=AD=BE=E6=94=B6=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=95=86=E5=9C=BA=E5=90=8D=E7=A7=B0=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distribution/signfor/distributionSignfor.vue | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/views/distribution/signfor/distributionSignfor.vue b/src/views/distribution/signfor/distributionSignfor.vue index e0ed85c2..a3d740a5 100644 --- a/src/views/distribution/signfor/distributionSignfor.vue +++ b/src/views/distribution/signfor/distributionSignfor.vue @@ -399,6 +399,17 @@ export default { sortable: true, head: false, }, + { + prop: 'mallName', + label: '商场名称', + type: 1, + values: '', + width: '130', + checkarr: [], + fixed: false, + sortable: true, + head: false, + }, { prop: 'consignee', label: '客户名称',