...
|
...
|
@@ -2168,7 +2168,7 @@ Handling Information |
|
|
quantity_density:'',
|
|
|
quantity_picecs:'',
|
|
|
//体积
|
|
|
quantity_volume:'0',
|
|
|
quantity_volume:'0.0',
|
|
|
quantity_volume_code:'MC',
|
|
|
quantity_weight:'',
|
|
|
quantity_weight_code:'K',
|
...
|
...
|
@@ -2987,7 +2987,7 @@ Handling Information |
|
|
if (totalVolume>0){
|
|
|
totalVolume = Math.floor(totalVolume * 100) / 100;
|
|
|
}
|
|
|
|
|
|
this.form.bill.quantity_volume=totalVolume;
|
|
|
return {
|
|
|
converted: output.trim(),
|
|
|
totalVolume: totalVolume
|
...
|
...
|
@@ -3110,7 +3110,7 @@ Handling Information |
|
|
this.form.cer.cer_signature=this.fileContent.O34;
|
|
|
this.form.isu.isu_signature=this.fileContent.AF38;
|
|
|
this.dimension_textarea=this.fileContent.AF23;
|
|
|
this.convertAndCalculateVolume();
|
|
|
//this.convertAndCalculateVolume();
|
|
|
|
|
|
this.form.isu.isu_day_mounth_year=this.formattedDate();
|
|
|
}else{
|
...
|
...
|
@@ -3144,7 +3144,7 @@ Handling Information |
|
|
X38: X38,
|
|
|
AF38: cleanString(AF38),
|
|
|
};
|
|
|
this.convertAndCalculateVolume();
|
|
|
//this.convertAndCalculateVolume();
|
|
|
this.form.bill.waybillNum=this.fileContent.AF1;
|
|
|
this.form.cvd.cvd_currency_code=this.fileContent.S16;
|
|
|
this.form.rtg.destinationAirport=this.fileContent.A16;
|
...
|
...
|
@@ -3165,7 +3165,6 @@ Handling Information |
|
|
this.dimension_textarea=this.fileContent.AF23;
|
|
|
|
|
|
this.form.isu.isu_day_mounth_year=this.formattedDate();
|
|
|
|
|
|
}
|
|
|
|
|
|
} else {
|
...
|
...
|
@@ -3173,6 +3172,7 @@ Handling Information |
|
|
}
|
|
|
};
|
|
|
reader.readAsArrayBuffer(files);
|
|
|
this.convertAndCalculateVolume();
|
|
|
},
|
|
|
formattedDate() {
|
|
|
// 格式化日期为 yyyy-MM-dd
|
...
|
...
|
|