|
|
@ -305,6 +305,7 @@ $(function(){
|
|
|
|
} else if (get_collection == 2) {
|
|
|
|
} else if (get_collection == 2) {
|
|
|
|
companyinfo = second_company;
|
|
|
|
companyinfo = second_company;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
console.log(companyinfo)
|
|
|
|
setAggregateInfo(companyinfo.invoice_item,companyinfo.withdraw_type,companyinfo.invoice_type,get_collection);
|
|
|
|
setAggregateInfo(companyinfo.invoice_item,companyinfo.withdraw_type,companyinfo.invoice_type,get_collection);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
function setAggregateInfo(invoice_content,settlement_type,invoice_type,collection) {
|
|
|
|
function setAggregateInfo(invoice_content,settlement_type,invoice_type,collection) {
|
|
|
@ -333,7 +334,7 @@ $(function(){
|
|
|
|
// $('#invoice_type').prop("disabled",true);
|
|
|
|
// $('#invoice_type').prop("disabled",true);
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
$("#settlement_type").find("option[value="+settlement_type+"]").prop("selected",true);
|
|
|
|
$("#settlement_type").find("option[value="+settlement_type+"]").prop("selected",true);
|
|
|
|
|
|
|
|
console.log(invoice_type);
|
|
|
|
$("#invoice_type").find("option[value="+invoice_type+"]").prop("selected",true);
|
|
|
|
$("#invoice_type").find("option[value="+invoice_type+"]").prop("selected",true);
|
|
|
|
$("#settlement_type").change();
|
|
|
|
$("#settlement_type").change();
|
|
|
|
$("#invoice_type").change();
|
|
|
|
$("#invoice_type").change();
|
|
|
|