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

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

parents 3e3e00ea 0a943437
...@@ -484,6 +484,7 @@ export default { ...@@ -484,6 +484,7 @@ export default {
let params = this.getParams(); let params = this.getParams();
// 订单号 // 订单号
params.orderNo = params.toBePreOrderNo; params.orderNo = params.toBePreOrderNo;
params.transportType = this.shipmentObj.transportType;
preloadPage({ ...params, ...this.pageParam }).then((res) => { preloadPage({ ...params, ...this.pageParam }).then((res) => {
const { data } = res; const { data } = res;
this.toBePreList = data.dataList?.list ?? []; this.toBePreList = data.dataList?.list ?? [];
...@@ -556,7 +557,7 @@ export default { ...@@ -556,7 +557,7 @@ export default {
}, },
/* 计算总和 */ /* 计算总和 */
calcSum(key, data) { 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))) { if (!values.every((value) => isNaN(value))) {
return values.reduce((prev, curr) => { return values.reduce((prev, curr) => {
const value = Number(curr); const value = Number(curr);
...@@ -822,7 +823,7 @@ export default { ...@@ -822,7 +823,7 @@ export default {
} }
.preinstall-card { .preinstall-card {
min-height: 550px; min-height: 800px;
.el-card__body { .el-card__body {
height: 100%; height: 100%;
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
<el-table-column :label="$t('品牌')"> <el-table-column :label="$t('品牌')">
<template slot-scope="{row}"> <template slot-scope="{row}">
<template v-if="row.brandName">{{row.brandName}}</template> <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> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('体积')"> <el-table-column :label="$t('体积')">
......
...@@ -629,7 +629,7 @@ export default { ...@@ -629,7 +629,7 @@ export default {
}, },
// 是否已完成入仓 // 是否已完成入仓
inWarehouse(){ inWarehouse(){
return !!this.form.inWarehouseState && this.form.inWarehouseState > 201 return (!!this.form.inWarehouseState && this.form.inWarehouseState > 201) || this.form.shipmentState > 0
}, },
exportCityList(){ exportCityList(){
return this.tradeCityList.filter(item => item.type == 2 || item.type == 3) 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