Commit fc5ac9b9 authored by 邓春圆's avatar 邓春圆

Merge remote-tracking branch 'origin/dev' into dev

parents 3e3e00ea 0a943437
......@@ -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%;
......
......@@ -43,7 +43,7 @@
<el-table-column :label="$t('品牌')">
<template slot-scope="{row}">
<template v-if="row.brandName">{{row.brandName}}</template>
<dict-tag :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" />
<dict-tag v-else :type="DICT_TYPE.ECW_IS_BRAND" :value="row.feeType" />
</template>
</el-table-column>
<el-table-column :label="$t('体积')">
......
......@@ -629,7 +629,7 @@ export default {
},
// 是否已完成入仓
inWarehouse(){
return !!this.form.inWarehouseState && this.form.inWarehouseState > 201
return (!!this.form.inWarehouseState && this.form.inWarehouseState > 201) || this.form.shipmentState > 0
},
exportCityList(){
return this.tradeCityList.filter(item => item.type == 2 || item.type == 3)
......
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