|
@@ -915,8 +915,8 @@ class Sale extends Base
|
|
|
if ($zxinfo == false) {
|
|
|
return error_show(1003, "未找到咨询单商品信息");
|
|
|
}
|
|
|
- if ($zxinfo['status'] !=7) {
|
|
|
- return error_show(1003, "咨询单商品财务未审核");
|
|
|
+ if ($zxinfo['tax_status'] !=1) {
|
|
|
+ return error_show(1003, "咨询单商品财务未审核通过");
|
|
|
}
|
|
|
$bargaininfo =Db::name("bargain_order")->where(["bidsNo" => $bidNo,"is_del"=>0,"status"=>0])->findOrEmpty();
|
|
|
$zx = Db::name("consult_info")->where(["infoNo" => $zxinfo['infoNo'], "is_del" => 0])->find();
|
|
@@ -1238,6 +1238,8 @@ class Sale extends Base
|
|
|
'tax'=>$zxinfo['tax'],
|
|
|
"out_tax_id"=>$zxinfo['out_tax_id'],
|
|
|
'out_tax'=>$zxinfo['out_tax'],
|
|
|
+ 'cgd_tax_id'=>$item['cgd_tax_id'],
|
|
|
+ 'cgd_tax'=>$item['cgd_tax'],
|
|
|
'createrid' => $zxinfo['createrid'],
|
|
|
'creater' => $zxinfo['creater'],
|
|
|
];
|