...
|
...
|
@@ -2384,7 +2384,7 @@ Handling Information |
|
|
/*进行表单的预验证*/
|
|
|
this.$refs.apply_addFormRef.validate(valid => {
|
|
|
// 未通过,表单预校验
|
|
|
if (!valid) return;
|
|
|
if (valid) {
|
|
|
fhl(this.addForm).then((response) => {
|
|
|
let res = response.data;
|
|
|
//添加调度记录信息,失败
|
...
|
...
|
@@ -2453,6 +2453,11 @@ Handling Information |
|
|
this.addForm.oci=[];
|
|
|
this.$message.error(error.toString());
|
|
|
});
|
|
|
}else{
|
|
|
this.addForm.oci=[];
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
})
|
|
|
},
|
|
|
//新增主运单
|
...
|
...
|
@@ -2477,7 +2482,7 @@ Handling Information |
|
|
/*进行表单的预验证*/
|
|
|
this.$refs.apply_formRef.validate(valid => {
|
|
|
// 未通过,表单预校验
|
|
|
if (!valid) return;
|
|
|
if (valid) {
|
|
|
fwb(this.form).then((response) => {
|
|
|
let res = response.data;
|
|
|
//添加调度记录信息,失败
|
...
|
...
|
@@ -2486,141 +2491,15 @@ Handling Information |
|
|
}
|
|
|
this.$message.success(res.msg);
|
|
|
Object.assign(this.$data, this.$options.data());
|
|
|
// this.form = {
|
|
|
// acc:[],
|
|
|
// agt:{
|
|
|
// agt_ADR:'',
|
|
|
// agt_IATA_number:'',
|
|
|
// agt_account_number:'',
|
|
|
// agt_name:'',
|
|
|
// agt_participant_id:'',
|
|
|
// },
|
|
|
// bill:{
|
|
|
// destination:'',
|
|
|
// origin:'',
|
|
|
// quantity_density:'',
|
|
|
// quantity_picecs:'',
|
|
|
// //体积
|
|
|
// quantity_volume:'',
|
|
|
// quantity_volume_code:'MC',
|
|
|
// quantity_weight:'',
|
|
|
// quantity_weight_code:'K',
|
|
|
// waybillNum:'',
|
|
|
// },
|
|
|
// cne:{
|
|
|
// cne_contacts:[],
|
|
|
// cne_account_number:'',
|
|
|
// cne_adr:'',
|
|
|
// cne_country:'',
|
|
|
// cne_loc_place:'',
|
|
|
// cne_loc_province:'',
|
|
|
// cne_name:'',
|
|
|
// cne_postcode:'',
|
|
|
// },
|
|
|
// cvd:{
|
|
|
// cvd_amount_of_insurance:'XXX',
|
|
|
// cvd_charge_code:'',
|
|
|
// cvd_charge_prepaid:'PP',
|
|
|
// cvd_currency_code:'',
|
|
|
// cvd_value_for_carriage:'NVD',
|
|
|
// cvd_value_for_customs:'NCV',
|
|
|
// },
|
|
|
// flt:{
|
|
|
// cariier:'',
|
|
|
// day:'',
|
|
|
// flightNumber:'',
|
|
|
// },
|
|
|
// isu:{
|
|
|
// isu_day_mounth_year:'',
|
|
|
// isu_place_or_airport_code:'',
|
|
|
// isu_signature:'',
|
|
|
// },
|
|
|
// nfy:{
|
|
|
// nfy_contacts:[],
|
|
|
// nfy_ADR:'',
|
|
|
// nfy_LOC_city:'',
|
|
|
// nfy_LOC_province:'',
|
|
|
// nfy_country:'',
|
|
|
// nfy_name:'',
|
|
|
// nfy_postcode:''
|
|
|
// },
|
|
|
// oci:[
|
|
|
// // {
|
|
|
// // oci_country_code:'',
|
|
|
// // oci_csrc_id:'',
|
|
|
// // oci_csrc_info:'',
|
|
|
// // oci_information_id:''
|
|
|
// // }
|
|
|
// ],
|
|
|
// osi:[{
|
|
|
// osi_text:[],
|
|
|
// }],
|
|
|
// oth:{
|
|
|
// oth_amount:'',
|
|
|
// oth_charge_code:'',
|
|
|
// oth_charges:'',
|
|
|
// oth_entitlement_code:''
|
|
|
// },
|
|
|
// ppd:{
|
|
|
// ppd_charge_summary_total:'',
|
|
|
// ppd_other_charges_due_agent:'',
|
|
|
// ppd_other_charges_due_carrier:'',
|
|
|
// ppd_taxes_amount:'',
|
|
|
// ppd_valuation_amount:'',
|
|
|
// ppd_weight_amount:'',
|
|
|
// },
|
|
|
// ref:{
|
|
|
// ref_address:'CGOFDEE',
|
|
|
// ref_file_reference:'',
|
|
|
// ref_participant_airport:'',
|
|
|
// ref_participant_code:'',
|
|
|
// ref_participant_id:'',
|
|
|
// },
|
|
|
// rtd:
|
|
|
// {
|
|
|
// dimensions:[],
|
|
|
// rtd_charge_weight:'',
|
|
|
// rtd_combination_point:'',
|
|
|
// rtd_commodity_NUM:'',
|
|
|
// rtd_goods_DES:'',
|
|
|
// rtd_goods_consol_DES:'',
|
|
|
// rtd_gross_weight:'',
|
|
|
// rtd_number_pieces:'',
|
|
|
// rtd_rate_charge:'',
|
|
|
// rtd_rate_class:'Q',
|
|
|
// rtd_total:'',
|
|
|
// //体积
|
|
|
// rtd_volume:'',
|
|
|
// rtd_volume_code:'MC',
|
|
|
// }
|
|
|
// ,
|
|
|
// rtg:{
|
|
|
// destinationAirport:'',
|
|
|
// destinationCarrier:'',
|
|
|
// onwardAirport:'',
|
|
|
// onwardCarrier:'',
|
|
|
// },
|
|
|
// shp:{
|
|
|
// shp_contacts:[],
|
|
|
// shp_account_number:'',
|
|
|
// shp_adr:'',
|
|
|
// shp_country:'',
|
|
|
// shp_loc_place:'',
|
|
|
// shp_loc_province:'',
|
|
|
// shp_name:'',
|
|
|
// shp_postcode:'',
|
|
|
// },
|
|
|
// ssr:{
|
|
|
// ssr_request_content:[],
|
|
|
// },
|
|
|
// cer:{
|
|
|
// cer_signature:''
|
|
|
// }
|
|
|
// };
|
|
|
|
|
|
}).catch(error => {
|
|
|
this.form.oci=[];
|
|
|
this.$message.error(error.toString());
|
|
|
});
|
|
|
}else{
|
|
|
this.form.oci=[];
|
|
|
return false;
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
//获取主运单信息
|
...
|
...
|
|