|
@@ -192,7 +192,7 @@ class Company extends BaseController
|
|
|
$reviewer = isset($post['reviewer'])&&$post['reviewer']!="" ? trim($post['reviewer']) :"";
|
|
|
$ownerPlace = isset($post['ownerPlace'])&&$post['ownerPlace']!="" ? trim($post['ownerPlace']) :"";
|
|
|
$denomination = isset($post['denomination'])&&$post['denomination']!="" ? trim($post['denomination']) :"";
|
|
|
- $invoiceType = isset($post['invoiceType'])&&!empty($post['invoiceType']) ? implode(",", $post['invoiceType']):[];
|
|
|
+ $invoiceType = isset($post['invoiceType'])&&!empty($post['invoiceType']) ? $post['invoiceType']:[];
|
|
|
if(($invoiceType!=''|| !empty($invoiceType))&& !empty(array_diff($invoiceType,$this->invoiceType)))
|
|
|
return error_show(1004,"存在无效发票类型");
|
|
|
$data = [
|