|
@@ -178,7 +178,7 @@ class OrderInv extends BaseController{
|
|
|
"exam_remark"=>$exam_remark, //审核备注
|
|
|
"ainv_fee"=>0,//已核销金额
|
|
|
"winv_fee"=>$invfee,//未核销金额
|
|
|
- "status"=>0,// 待财务开票/待金税开票 待财务审核 待填写物流 开票完成 开票失败/开票驳回 财务驳回
|
|
|
+ "status"=>1,// 带财务审核
|
|
|
"is_del"=>0,
|
|
|
"email"=>$email,
|
|
|
"addtime"=>date("Y-m-d H:i:s"),
|
|
@@ -220,7 +220,7 @@ class OrderInv extends BaseController{
|
|
|
return error_show(1004,$e->getMessage());
|
|
|
}
|
|
|
}
|
|
|
- // 0 待财务开票/待金税开票 1财务审核通过 2 金税开票中/验票中 3 开票成功 4 财务驳回 5 开票失败 6 发票退票/废弃
|
|
|
+ // 1财务审核通过 2 金税开票中/验票中 3 开票成功 4 财务驳回 5 开票失败 6 发票退票/废弃
|
|
|
public function status(){
|
|
|
$invNo = isset($this->post['invNo'])&&$this->post['invNo']!=''?trim($this->post['invNo']):"";
|
|
|
if($invNo==""){
|
|
@@ -262,7 +262,7 @@ class OrderInv extends BaseController{
|
|
|
"exam_remark"=>$remark,
|
|
|
"updatetime" => date("Y-m-d H:i:s")
|
|
|
];
|
|
|
- if($status==1){
|
|
|
+ if($status==2){
|
|
|
if($open_type==='')return error_show(1004,"参数 open_type 不能为空");
|
|
|
$update['open_type']=$open_type;
|
|
|
if($open_type!=1){
|
|
@@ -274,7 +274,6 @@ class OrderInv extends BaseController{
|
|
|
}
|
|
|
if($subtotal_fee==='') return error_show(1004,"参数 subtotal_fee 不能为空");
|
|
|
}
|
|
|
- $status=2;
|
|
|
//全电子发票 信息需要全填补充切无法接口识别验真
|
|
|
if($invinfo['inv_type']==5){
|
|
|
|