Commit 41eb1724 authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 147be88a
...@@ -166,7 +166,7 @@ class InvoiceService ...@@ -166,7 +166,7 @@ class InvoiceService
$applyInvoiceParams['gmfDh'] = $invoiceParams['invoice_customer']['cust_phone']; // 购买方电话 $applyInvoiceParams['gmfDh'] = $invoiceParams['invoice_customer']['cust_phone']; // 购买方电话
$applyInvoiceParams['gmfYh'] = $invoiceParams['invoice_customer']['cust_bankname']; // 购买方银行名称 $applyInvoiceParams['gmfYh'] = $invoiceParams['invoice_customer']['cust_bankname']; // 购买方银行名称
$applyInvoiceParams['gmfZh'] = $invoiceParams['invoice_customer']['cust_bankaccount']; // 购买方银行账户 $applyInvoiceParams['gmfZh'] = $invoiceParams['invoice_customer']['cust_bankaccount']; // 购买方银行账户
$applyInvoiceParams['gmfMobile'] = $invoiceParams['invoice_customer']['cust_mobile']; // 购买方银行账户 $applyInvoiceParams['gmfMobile'] = '';//$invoiceParams['invoice_customer']['cust_mobile']; // 购买方银行账户
$applyInvoiceParams['gmfEmail'] = ''; // 购买方邮箱 $applyInvoiceParams['gmfEmail'] = ''; // 购买方邮箱
$applyInvoiceParams['sqr'] = $invoiceParams['invoice_creater_by']; $applyInvoiceParams['sqr'] = $invoiceParams['invoice_creater_by'];
...@@ -188,9 +188,9 @@ class InvoiceService ...@@ -188,9 +188,9 @@ class InvoiceService
$applyInvoiceItems = []; $applyInvoiceItems = [];
$applyInvoiceItems['fphxz'] = 0; $applyInvoiceItems['fphxz'] = 0;
$applyInvoiceItems['hsbz'] = 1; //默认含税 $applyInvoiceItems['hsbz'] = 1; //默认含税
$applyInvoiceItems['spmc'] = $item['p_cn_name']; $applyInvoiceItems['spmc'] = $invoiceParams['item_name'];
$applyInvoiceItems['spbm'] = $item['p_code']; $applyInvoiceItems['spbm'] = '1070214010000000000';//$item['p_code'];
$applyInvoiceItems['ggxh'] = $item['p_code']; $applyInvoiceItems['ggxh'] = $invoiceParams['item_spec'];
$applyInvoiceItems['dw'] = 'EA'; $applyInvoiceItems['dw'] = 'EA';
$applyInvoiceItems['je'] = bcmul($invoiceItemsParams[$item['soid_id']]['item_price'],1,2); $applyInvoiceItems['je'] = bcmul($invoiceItemsParams[$item['soid_id']]['item_price'],1,2);
$applyInvoiceItems['sl'] = $invoiceItemsParams[$item['soid_id']]['item_nums']; $applyInvoiceItems['sl'] = $invoiceItemsParams[$item['soid_id']]['item_nums'];
......
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