Commit 39996a5c authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 5d77782e
...@@ -767,6 +767,11 @@ class InvoiceService ...@@ -767,6 +767,11 @@ class InvoiceService
$this->apiService->setInvoicePlatform($invoice['invoice_platform']); $this->apiService->setInvoicePlatform($invoice['invoice_platform']);
$values = $this->apiService->getPlatformDataEntries('invoice_apply_'.$invoiceNumber,'data_values'); $values = $this->apiService->getPlatformDataEntries('invoice_apply_'.$invoiceNumber,'data_values');
if($values){
foreach($values['detailParam'] as &$detail){
$detail['spmc'] = $this->charsetToGBK($detail['spmc']);
}
}
$this->apiService->applyElecInvoice($values); $this->apiService->applyElecInvoice($values);
return true; return true;
}catch(\Throwable $exception){ }catch(\Throwable $exception){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment