|
@@ -220,7 +220,7 @@ class OrderInv extends BaseController{
|
|
|
return error_show(1004,$e->getMessage());
|
|
|
}
|
|
|
}
|
|
|
- // 0 待财务开票/待金税开票 1财务审核通过 2 金税开票中/验票中 3 开票成功 4 财务驳回 5 金税开票失败 6 发票退票/废弃
|
|
|
+ // 0 待财务开票/待金税开票 1财务审核通过 2 金税开票中/验票中 3 开票成功 4 财务驳回 5 开票失败 6 发票退票/废弃
|
|
|
public function status(){
|
|
|
$invNo = isset($this->post['invNo'])&&$this->post['invNo']!=''?trim($this->post['invNo']):"";
|
|
|
if($invNo==""){
|
|
@@ -918,6 +918,7 @@ class OrderInv extends BaseController{
|
|
|
$return['post_company']= $invinfo['post_company']??"";
|
|
|
$poolinfo = Db::name("invoice_pool_info")->where(["invNo"=>$return['invNo']])->find();
|
|
|
$return['buyer_title'] = $poolinfo['buyer_title']??'';
|
|
|
+ $return['buyer_title'] = $poolinfo['buyer_title']??'';
|
|
|
$return['buyer_code'] = $poolinfo['buyer_code']??'';
|
|
|
$return['buyer_addr'] = $poolinfo['buyer_addr']??'';
|
|
|
$return['buyer_mobile'] = $poolinfo['buyer_mobile']??'';
|
|
@@ -936,6 +937,9 @@ class OrderInv extends BaseController{
|
|
|
$return['ownerPlace'] = $poolinfo['ownerPlace']??'';
|
|
|
$orderList =Db::name("invoice_good")->where(["invNo"=>$return['invNo'],"is_del"=>0])->select()->toArray();
|
|
|
$return['goodList']=$orderList;
|
|
|
+ $info =Db::name("invoice_ticket")->where(["invNo"=>$return['invNo'],"type"=>0]) ->field("inv_number,inv_code")->find();
|
|
|
+ $return['inv_number']=$info['inv_number']??"";
|
|
|
+ $return['inv_code']=$info['inv_code']??"";
|
|
|
return app_show(0,"获取成功",$return);
|
|
|
}
|
|
|
/**
|