正在显示
2 个修改的文件
包含
11 行增加
和
11 行删除
@@ -2168,7 +2168,7 @@ Handling Information | @@ -2168,7 +2168,7 @@ Handling Information | ||
2168 | quantity_density:'', | 2168 | quantity_density:'', |
2169 | quantity_picecs:'', | 2169 | quantity_picecs:'', |
2170 | //体积 | 2170 | //体积 |
2171 | - quantity_volume:'0', | 2171 | + quantity_volume:'0.0', |
2172 | quantity_volume_code:'MC', | 2172 | quantity_volume_code:'MC', |
2173 | quantity_weight:'', | 2173 | quantity_weight:'', |
2174 | quantity_weight_code:'K', | 2174 | quantity_weight_code:'K', |
@@ -2987,7 +2987,7 @@ Handling Information | @@ -2987,7 +2987,7 @@ Handling Information | ||
2987 | if (totalVolume>0){ | 2987 | if (totalVolume>0){ |
2988 | totalVolume = Math.floor(totalVolume * 100) / 100; | 2988 | totalVolume = Math.floor(totalVolume * 100) / 100; |
2989 | } | 2989 | } |
2990 | - | 2990 | + this.form.bill.quantity_volume=totalVolume; |
2991 | return { | 2991 | return { |
2992 | converted: output.trim(), | 2992 | converted: output.trim(), |
2993 | totalVolume: totalVolume | 2993 | totalVolume: totalVolume |
@@ -3110,7 +3110,7 @@ Handling Information | @@ -3110,7 +3110,7 @@ Handling Information | ||
3110 | this.form.cer.cer_signature=this.fileContent.O34; | 3110 | this.form.cer.cer_signature=this.fileContent.O34; |
3111 | this.form.isu.isu_signature=this.fileContent.AF38; | 3111 | this.form.isu.isu_signature=this.fileContent.AF38; |
3112 | this.dimension_textarea=this.fileContent.AF23; | 3112 | this.dimension_textarea=this.fileContent.AF23; |
3113 | - this.convertAndCalculateVolume(); | 3113 | + //this.convertAndCalculateVolume(); |
3114 | 3114 | ||
3115 | this.form.isu.isu_day_mounth_year=this.formattedDate(); | 3115 | this.form.isu.isu_day_mounth_year=this.formattedDate(); |
3116 | }else{ | 3116 | }else{ |
@@ -3144,7 +3144,7 @@ Handling Information | @@ -3144,7 +3144,7 @@ Handling Information | ||
3144 | X38: X38, | 3144 | X38: X38, |
3145 | AF38: cleanString(AF38), | 3145 | AF38: cleanString(AF38), |
3146 | }; | 3146 | }; |
3147 | - this.convertAndCalculateVolume(); | 3147 | + //this.convertAndCalculateVolume(); |
3148 | this.form.bill.waybillNum=this.fileContent.AF1; | 3148 | this.form.bill.waybillNum=this.fileContent.AF1; |
3149 | this.form.cvd.cvd_currency_code=this.fileContent.S16; | 3149 | this.form.cvd.cvd_currency_code=this.fileContent.S16; |
3150 | this.form.rtg.destinationAirport=this.fileContent.A16; | 3150 | this.form.rtg.destinationAirport=this.fileContent.A16; |
@@ -3165,7 +3165,6 @@ Handling Information | @@ -3165,7 +3165,6 @@ Handling Information | ||
3165 | this.dimension_textarea=this.fileContent.AF23; | 3165 | this.dimension_textarea=this.fileContent.AF23; |
3166 | 3166 | ||
3167 | this.form.isu.isu_day_mounth_year=this.formattedDate(); | 3167 | this.form.isu.isu_day_mounth_year=this.formattedDate(); |
3168 | - | ||
3169 | } | 3168 | } |
3170 | 3169 | ||
3171 | } else { | 3170 | } else { |
@@ -3173,6 +3172,7 @@ Handling Information | @@ -3173,6 +3172,7 @@ Handling Information | ||
3173 | } | 3172 | } |
3174 | }; | 3173 | }; |
3175 | reader.readAsArrayBuffer(files); | 3174 | reader.readAsArrayBuffer(files); |
3175 | + this.convertAndCalculateVolume(); | ||
3176 | }, | 3176 | }, |
3177 | formattedDate() { | 3177 | formattedDate() { |
3178 | // 格式化日期为 yyyy-MM-dd | 3178 | // 格式化日期为 yyyy-MM-dd |
@@ -2194,17 +2194,17 @@ Handling Information | @@ -2194,17 +2194,17 @@ Handling Information | ||
2194 | }, | 2194 | }, |
2195 | flt:{ | 2195 | flt:{ |
2196 | cariier:"HQ", | 2196 | cariier:"HQ", |
2197 | - day:'13', | 2197 | + day:'04', |
2198 | flightNumber:'405', | 2198 | flightNumber:'405', |
2199 | cariier2:"HQ", | 2199 | cariier2:"HQ", |
2200 | - day2:'13', | 2200 | + day2:'04', |
2201 | flightNumber2:'4055', | 2201 | flightNumber2:'4055', |
2202 | cariier3:"", | 2202 | cariier3:"", |
2203 | day3:'', | 2203 | day3:'', |
2204 | flightNumber3:'', | 2204 | flightNumber3:'', |
2205 | }, | 2205 | }, |
2206 | isu:{ | 2206 | isu:{ |
2207 | - isu_day_mounth_year:'2024-11-11', | 2207 | + isu_day_mounth_year:'2024-12-03', |
2208 | isu_place_or_airport_code:'ZHENGZHOU', | 2208 | isu_place_or_airport_code:'ZHENGZHOU', |
2209 | isu_signature:'CHINA', | 2209 | isu_signature:'CHINA', |
2210 | }, | 2210 | }, |
@@ -2404,9 +2404,9 @@ Handling Information | @@ -2404,9 +2404,9 @@ Handling Information | ||
2404 | cvd_value_for_carriage:'NVD', | 2404 | cvd_value_for_carriage:'NVD', |
2405 | cvd_value_for_customs:'NCV', | 2405 | cvd_value_for_customs:'NCV', |
2406 | cvd_amount_of_insurance:'XXX', | 2406 | cvd_amount_of_insurance:'XXX', |
2407 | - cvd_charge_prepaid:'PP', | 2407 | + cvd_charge_prepaid:'CC', |
2408 | cvd_charge_code:'', | 2408 | cvd_charge_code:'', |
2409 | - cvd_currency_code:'USD', | 2409 | + cvd_currency_code:'CNY', |
2410 | }, | 2410 | }, |
2411 | hbs:{ | 2411 | hbs:{ |
2412 | hbs_origin:'CGO', | 2412 | hbs_origin:'CGO', |
@@ -2987,7 +2987,7 @@ Handling Information | @@ -2987,7 +2987,7 @@ Handling Information | ||
2987 | if (totalVolume>0){ | 2987 | if (totalVolume>0){ |
2988 | totalVolume = Math.floor(totalVolume * 100) / 100; | 2988 | totalVolume = Math.floor(totalVolume * 100) / 100; |
2989 | } | 2989 | } |
2990 | - | 2990 | + this.form.bill.quantity_volume=totalVolume; |
2991 | return { | 2991 | return { |
2992 | converted: output.trim(), | 2992 | converted: output.trim(), |
2993 | totalVolume: totalVolume | 2993 | totalVolume: totalVolume |
-
请 注册 或 登录 后发表评论