...
|
...
|
@@ -51,7 +51,7 @@ class Invoice extends Api |
|
|
$param = $this->request->param();
|
|
|
$selectedOptionszero = input('data');
|
|
|
$arr = json_decode(htmlspecialchars_decode($selectedOptionszero), true);
|
|
|
$str = implode($arr,',');
|
|
|
$str = implode($arr, ',');
|
|
|
// if ($param['type'] == 1) {
|
|
|
// $is_company = Db::name('company')->where(['company_holder' => $user_id])->find();
|
|
|
// if (empty($is_company)) {
|
...
|
...
|
@@ -158,13 +158,14 @@ class Invoice extends Api |
|
|
if (empty($ziliao)) {
|
|
|
$user_list = '';
|
|
|
} else {
|
|
|
$data_arr = explode(',', $ziliao['selectedOptionszero']);
|
|
|
$user_list = [
|
|
|
'shou' => $ziliao['shou'],
|
|
|
'mobile' => $ziliao['mobile'],
|
|
|
'address' => $ziliao['address'],
|
|
|
'address_con' => $ziliao['address_con'],
|
|
|
'invoice_head' => $ziliao['invoice_head'],
|
|
|
'selectedOptionszero' => $ziliao['selectedOptionszero']
|
|
|
'selectedOptionszero' => $data_arr
|
|
|
];
|
|
|
}
|
|
|
$return['company_list'] = $company_list;
|
...
|
...
|
|