From 3bd488d3c9a8096c365e0794e2471ba44b6da991 Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Thu, 23 May 2024 18:05:40 +0800 Subject: [PATCH] uu --- common/api/order.js | 14 ++++++++++++++ common/api/url.js | 12 +++--------- .../buns-post-edit-templates/bpe-goodsize-tmp.vue | 14 +++++++------- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/common/api/order.js b/common/api/order.js index ea16506..667d90f 100644 --- a/common/api/order.js +++ b/common/api/order.js @@ -126,4 +126,18 @@ export const queryPrintListSimple = (data = {})=> { return coreRequest(url.queryPrintListSimple, data, {}, "GET") } +// 问题件列表 +export const queryProblemTypeList = (data = {})=> { + return coreRequest(url.queryProblemTypeList, data, {}, "GET") +} +// 登记问题件 +export const registerProblemInfo = (data = {})=> { + return coreRequest(url.registerProblemInfo, data, {}, "GET") +} + +// 1-发件清单 2-到件清单 3-派件清单 +export const queryScanWaybillList = (data = {})=> { + return coreRequest(url.queryScanWaybillList, data, {}, "GET") +} + \ No newline at end of file diff --git a/common/api/url.js b/common/api/url.js index 17dc163..5ea5009 100644 --- a/common/api/url.js +++ b/common/api/url.js @@ -6,14 +6,11 @@ export default { loginByApp: `/loginByApp`, // 登录 getInfoByApp: `/getInfoByApp`,// 获取用户基本信息 getStaffQRCodePng: `/emis/emisStaff/getStaffQRCodePng`,// 获取用户基本信息 - getEmisCountry: `/emis/emisCountry/list`, // 获取国家列表 getEmisRegion: `/emis/emisRegion/list`,// 获取省市区列表 getDicDataJson: `/common/getDicDataJson`, // 获取枚举字段 - getAppHomeStatData: `/emis/commonTools/getAppHomeStatData`,// 首页统计数据 getLatestNotices: `/emis/commonTools/getLatestNotices`,// 首页统计数据 - getCustomerUserAddressList: `/emis/emisCustomerAddress/listSimple`, // 获取客户地址列表 setDefaultAddressById: `/emis/emisCustomerAddress/setDefaultAddressById`, // 设置默认地址 deleteAddressById: `/emis/emisCustomerAddress/deleteAddressById`, // 删除地址 @@ -21,7 +18,6 @@ export default { editAddress: `/emis/emisCustomerAddress/editAddress`, // 编辑地址 getAddressById: `/emis/emisCustomerAddress/getAddressById`, // 查看地址 parseAddress: `/emis/common/parseAddress`, // 智能地址解析(仅中国) - getTransLineList: `/emis/emisTransLine/listSimple`, // 获取路线列表 getTransProductList: `/emis/emisTransProduct/listSimple`, // 获取产品列表 createOrderNo: `/emis/common/realMatchWaybill`, // 创建运单号 @@ -37,20 +33,18 @@ export default { calcSetteldWeight: `/emis/emisWaybill/calcSetteldWeight`, // 计算结算重量 calcVolumeWeight: `/emis/emisWaybill/calcVolumeWeight`, // 体积重量计算 warehouseInList: `/emis/emisWarehouseIn/listSimple`, // 下单-进仓单列表 - getOrderList: `/emis/emisWaybill/listSimple`, // 订单列表 getOrderDetail: `/emis/emisWaybill/getWaybillDetail`, // 订单详情 - scanRecord: `/emis/emisTmsScanRecord/scan`, // 扫描- 揽收 getRealGetWaybillPrintData: `/emis/emisWaybill/realGetPrintList`, // 运单 打印数据 queryPrintListSimple: `/emis/emisWaybill/queryPrintListSimple`, // 运单 打印数据-列表 - getNextStationList: `/emis/emisTmsScanRecord/getNextStationList`, // 获取-扫描下一网点 - getPayeeList: `/emis/emisStaff/getPayeeList`, // 回款人联系列表 getSalemanList: `/emis/emisStaff/getSalemanList`, // 销售人联系列表 preCalcWaybillFee: `/emis/emisWaybill/preCalcWaybillFee`, // 报价试算 queryWaybillTraceInfo: `/emis/emisTmsScanRecord/queryWaybillTraceInfo`, // 物流轨迹 - + queryProblemTypeList: `/emis/emisProblemType/listSimple`, // 问题件类型列表 + registerProblemInfo: `/emis/emisWaybillProblemInfo/registerProblemInfo`, // 问题件登记 + queryScanWaybillList: `/emis/emisWaybill/queryScanWaybillList`, // 1-发件清单 2-到件清单 3-派件清单 } diff --git a/components/buns-post-edit-templates/bpe-goodsize-tmp.vue b/components/buns-post-edit-templates/bpe-goodsize-tmp.vue index 4d38d72..0f3e02f 100644 --- a/components/buns-post-edit-templates/bpe-goodsize-tmp.vue +++ b/components/buns-post-edit-templates/bpe-goodsize-tmp.vue @@ -23,13 +23,13 @@ - + - + - + @@ -51,12 +51,12 @@ }, totalVolume() { let totalVolume = this.modelInfo.totalVolume - const { chang, kuan, gao } = this.modelInfo - if(chang && kuan && gao){ - totalVolume = chang/100 * kuan/100 * gao/100 + const { length, width, height } = this.modelInfo + if(length && width && height){ + totalVolume = length/100 * width/100 * height/100 } if(totalVolume && totalVolume.toFixed) { - totalVolume = totalVolume.toFixed(2) + totalVolume = totalVolume.toFixed(5) this.modelInfo.totalVolume = totalVolume } return totalVolume