公司绑定参数错误修正

master
zhengyongxing 4 years ago
parent 71826be2cc
commit 0d13b05dc0

@ -543,7 +543,7 @@ class AggregateRelationController extends AdminController
$p['second_company_info']['type'] = 'second_party_info'; $p['second_company_info']['type'] = 'second_party_info';
$p['second_company_info'] = json_encode($p['second_company_info']); $p['second_company_info'] = json_encode($p['second_company_info']);
if ($y['collection'] == 1) { if ($p['collection'] == 1) {
$company_info = json_decode($p['first_company_info'],true); $company_info = json_decode($p['first_company_info'],true);
$company_info['invoice_item'] = $p['invoice_content']; $company_info['invoice_item'] = $p['invoice_content'];
@ -556,7 +556,7 @@ class AggregateRelationController extends AdminController
$p['first_company_info'] = json_encode($company_info); $p['first_company_info'] = json_encode($company_info);
}else if ($y['collection'] == 2) { }else if ($p['collection'] == 2) {
$company_info = json_decode($p['second_company_info'],true); $company_info = json_decode($p['second_company_info'],true);
$company_info['invoice_item'] = $p['invoice_content']; $company_info['invoice_item'] = $p['invoice_content'];

Loading…
Cancel
Save