|
@@ -166,7 +166,7 @@
|
|
|
/>
|
|
|
<el-table-column
|
|
|
label-class-name="red-font"
|
|
|
- prop="CBM_Or_Chargable_Weight"
|
|
|
+ prop="CBM_or_Chargable_Weight"
|
|
|
label="CBM Or Chargable Weight"
|
|
|
align="center"
|
|
|
width="220"
|
|
@@ -221,7 +221,7 @@
|
|
|
<ElTableColumn prop="Total"></ElTableColumn>
|
|
|
<ElTableColumn prop="Tracking_Number"></ElTableColumn>
|
|
|
<ElTableColumn prop="Reference"></ElTableColumn>
|
|
|
- <ElTableColumn prop="CBM_Or_Chargable_Weight"></ElTableColumn>
|
|
|
+ <ElTableColumn prop="CBM_or_Chargable_Weight"></ElTableColumn>
|
|
|
<ElTableColumn prop="Description"></ElTableColumn>
|
|
|
</el-table> -->
|
|
|
|
|
@@ -304,7 +304,7 @@ const onDelete = function () {
|
|
|
const sheetData = [
|
|
|
{
|
|
|
Reference: '',
|
|
|
- CBM_Or_Chargable_Weight: '',
|
|
|
+ CBM_or_Chargable_Weight: '',
|
|
|
Tracking_Number: '',
|
|
|
},
|
|
|
]
|
|
@@ -319,7 +319,7 @@ const downloadSample = function () {
|
|
|
const tableData = ref([
|
|
|
// {
|
|
|
// Reference: '',
|
|
|
- // CBM_Or_Chargable_Weight: '2',
|
|
|
+ // CBM_or_Chargable_Weight: '2',
|
|
|
// Tracking_Number: '12345',
|
|
|
// Currency: 'AUD',
|
|
|
// statement_name: '华信强0319测试上传月结单',
|
|
@@ -349,7 +349,7 @@ const generateFinTable = function () {
|
|
|
)
|
|
|
|
|
|
const sum = temp.reduce((total, current) => {
|
|
|
- total += Number(current.CBM_Or_Chargable_Weight)
|
|
|
+ total += Number(current.CBM_or_Chargable_Weight)
|
|
|
return total
|
|
|
}, 0)
|
|
|
|
|
@@ -359,7 +359,7 @@ const generateFinTable = function () {
|
|
|
Total: savePrecision(
|
|
|
mathjs
|
|
|
.chain(i.Total)
|
|
|
- .multiply(Number(j.CBM_Or_Chargable_Weight))
|
|
|
+ .multiply(Number(j.CBM_or_Chargable_Weight))
|
|
|
.divide(sum)
|
|
|
.done(),
|
|
|
3,
|