Commit 07269986 authored by huhaiqing's avatar huhaiqing

修改缺陷单

parent 8289eb3b
......@@ -73,7 +73,7 @@
<template slot-scope="scope">
<el-row style="text-align:left;">
<el-row>
<span>{{$t('规格')}}{{scope.row.boxGauge}}</span>
<span>{{$t('规格')}}{{scope.row.warehouseInInfoVO ? scope.row.warehouseInInfoVO.boxGauge : ''}}</span>
</el-row>
<el-row>
<span>{{$t('品牌')}}
......@@ -84,7 +84,7 @@
<span style="margin-left: 10px;">{{$t('重量')}}{{scope.row.warehouseInInfoVO ? scope.row.warehouseInInfoVO.weight : 0 }}kg</span>
</el-row>
<el-row>
<span>{{$t('计划装柜:无返回')}}</span>
<span>{{$t('计划装柜')}}{{planCabinet}}</span>
</el-row>
</el-row>
</template>
......@@ -237,6 +237,7 @@ import { getOrder } from "@/api/ecw/order";
import { serviceMsg, toReviewDetail } from "../../utils";
import { createApproval, approvalCancel, splitList } from "@/api/ecw/boxSea";
import Decimal from "decimal.js";
import { getUnitList } from "@/api/ecw/unit";
export default {
name: "splitOrder",
......@@ -281,15 +282,21 @@ export default {
orderId: 0,
lang: 0,
},
units: [],
};
},
created() {
const { shipmentObj } = this.$attrs;
this.planCabinet =`${shipmentObj.selfNo}-${this.currRow.sectionName}`
this.planCabinet = `${shipmentObj.selfNo}-${this.currRow.sectionName}`;
getTradeCityList().then((res) => (this.tradeCityList = res.data));
this.queryParams.orderId = this.currRow.orderId;
this.getOrderDetail();
this.getSplit();
// 获取单位
getUnitList().then((res) => {
const { data } = res;
this.units = data ?? [];
});
},
watch: {
//监听table这个对象
......@@ -408,7 +415,7 @@ export default {
).toFixed(2);
});
sums[1] = this.$t(
"下单统计:{orderSum} 箱 {orderV)m³ {orderW}kg 入仓统计:{leviteSum} 箱 {leviteV)m³ {leviteW}kg",
"下单统计:{orderSum} 箱 {orderV} m³ {orderW} kg 入仓统计:{leviteSum} 箱 {leviteV} m³ {leviteW} kg",
{
orderSum,
orderV,
......@@ -418,7 +425,6 @@ export default {
leviteW,
}
);
return sums;
},
importCityName(id) {
......
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