This commit is contained in:
aihe 2024-05-23 18:05:40 +08:00
parent 572eb61c9e
commit 3bd488d3c9
3 changed files with 24 additions and 16 deletions

View File

@ -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")
}

View File

@ -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-派件清单
}

View File

@ -23,13 +23,13 @@
<view style="width: 70%;">
<u-row justify="between">
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.chang" :isWhite="true" placeholder="长" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.length" :isWhite="true" placeholder="长" inputAlign="right" suffix="cm" type="number"></tpx-input>
</u-col>
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.kuan" :isWhite="true" placeholder="宽" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.width" :isWhite="true" placeholder="宽" inputAlign="right" suffix="cm" type="number"></tpx-input>
</u-col>
<u-col span="3.7">
<tpx-input v-model:value="modelInfo.gao" :isWhite="true" placeholder="高" inputAlign="right" suffix="cm" type="number"></tpx-input>
<tpx-input v-model:value="modelInfo.height" :isWhite="true" placeholder="高" inputAlign="right" suffix="cm" type="number"></tpx-input>
</u-col>
</u-row>
@ -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