Commit bf3d7c20 authored by huhaiqing's avatar huhaiqing

修改海运缺陷

parent e0c13ead
......@@ -484,6 +484,7 @@ export default {
let params = this.getParams();
// 订单号
params.orderNo = params.toBePreOrderNo;
params.transportType = this.shipmentObj.transportType;
preloadPage({ ...params, ...this.pageParam }).then((res) => {
const { data } = res;
this.toBePreList = data.dataList?.list ?? [];
......@@ -556,7 +557,7 @@ export default {
},
/* 计算总和 */
calcSum(key, data) {
const values = data.map((item) => Number(item[key]));
const values = data?.map((item) => Number(item[key])) ?? [];
if (!values.every((value) => isNaN(value))) {
return values.reduce((prev, curr) => {
const value = Number(curr);
......@@ -822,7 +823,7 @@ export default {
}
.preinstall-card {
min-height: 550px;
min-height: 800px;
.el-card__body {
height: 100%;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment