作者 小范

清空表单

... ... @@ -2293,62 +2293,63 @@ Handling Information
return this.$message.error('新增分运单,失败');
}
this.$message.success('新增分运单,成功');
this.addForm = {
fhl:{
waybillNum:'',
quantity_weight_code:'',
quantity_weight:'',
quantity_picecs:'',
origin:'',
destination:'',
},
shp:{
shp_detail_identifier:'TE',
shp_nam_name:'',
shp_loc_place:'',
shp_location_post:'',
shp_location_iso:'',
shp_detail_number:'',
shp_adr_street:''
},
cne:{
cne_detail_identifier:'TE',
cne_nam_name:'',
cne_loc_place:'',
cne_location_post:'',
cne_location_iso:'',
cne_detail_number:'',
cne_adr_street:'',
cne_loc_province:'',
shp_loc_province:'',
shp_detail_identifier:''
},
cvd:{
cvd_value_for_carriage:'NVD',
cvd_value_for_customs:'NCV',
cvd_amount_of_insurance:'XXX',
cvd_charge_prepaid:'PP',
cvd_charge_code:'',
cvd_currency_code:'',
},
hbs:{
hbs_origin:'',
hbs_destination:'',
hbs_manifest_description:'',
hbs_pieces:'',
hbs_serial_number:'',
hbs_weight:'',
hbs_weight_code:'',
hbs_slac:''
},
txt:{
txt_free_text:''
},
hts:{
hts_commodity_code:''
},
oci:[],
};
Object.assign(this.$data, this.$options.data());
// this.addForm = {
// fhl:{
// waybillNum:'',
// quantity_weight_code:'',
// quantity_weight:'',
// quantity_picecs:'',
// origin:'',
// destination:'',
// },
// shp:{
// shp_detail_identifier:'TE',
// shp_nam_name:'',
// shp_loc_place:'',
// shp_location_post:'',
// shp_location_iso:'',
// shp_detail_number:'',
// shp_adr_street:''
// },
// cne:{
// cne_detail_identifier:'TE',
// cne_nam_name:'',
// cne_loc_place:'',
// cne_location_post:'',
// cne_location_iso:'',
// cne_detail_number:'',
// cne_adr_street:'',
// cne_loc_province:'',
// shp_loc_province:'',
// shp_detail_identifier:''
// },
// cvd:{
// cvd_value_for_carriage:'NVD',
// cvd_value_for_customs:'NCV',
// cvd_amount_of_insurance:'XXX',
// cvd_charge_prepaid:'PP',
// cvd_charge_code:'',
// cvd_currency_code:'',
// },
// hbs:{
// hbs_origin:'',
// hbs_destination:'',
// hbs_manifest_description:'',
// hbs_pieces:'',
// hbs_serial_number:'',
// hbs_weight:'',
// hbs_weight_code:'',
// hbs_slac:''
// },
// txt:{
// txt_free_text:''
// },
// hts:{
// hts_commodity_code:''
// },
// oci:[],
// };
}).catch(error => {
this.$message.error(error.toString());
});
... ... @@ -2384,137 +2385,138 @@ Handling Information
return this.$message.error('新增主运单,失败');
}
this.$message.success(res.msg);
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:''
}
};
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.$message.error(error.toString());
});
... ...