提交 982802b1 authored 作者: fengzy's avatar fengzy

项目付款单

上级 b3c0f98c
...@@ -126,7 +126,7 @@ class flow_finfybxClassModel extends flowModel ...@@ -126,7 +126,7 @@ class flow_finfybxClassModel extends flowModel
"FSETTLEMAINBOOKID": { "FSETTLEMAINBOOKID": {
"FNUMBER": "PRE001" "FNUMBER": "PRE001"
}, },
"F_PAEZ_OADJBH": "222222" "F_PAEZ_OADJBH": ""
} }
}'; }';
...@@ -180,8 +180,6 @@ class flow_finfybxClassModel extends flowModel ...@@ -180,8 +180,6 @@ class flow_finfybxClassModel extends flowModel
return $data['number']; return $data['number'];
} }
public function fybx_submit($cloudUrl,$cookie_jar,$id,$number){ public function fybx_submit($cloudUrl,$cookie_jar,$id,$number){
$start_time = microtime(true);
$data_model ="{ $data_model ="{
'CreateOrgId': 0, 'CreateOrgId': 0,
'Numbers': [], 'Numbers': [],
......
...@@ -291,7 +291,7 @@ protected function flowcheckafter($zt, $sm){ ...@@ -291,7 +291,7 @@ protected function flowcheckafter($zt, $sm){
foreach ($data as $key => $vo) { foreach ($data as $key => $vo) {
$cbzx_code=$vo['cbzx_code']; $cbzx_code=$vo['cbzx_code'];
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1"; $sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
$cost = m('c_fund_account')->getone($sql, 'id,type,freeze_amount,account_balance');//查询账户表成本中心id $cost = m('c_fund_account')->getone($sql, 'id,name,type,freeze_amount,account_balance');//查询账户表成本中心id
if(($cost['account_balance']-$cost['freeze_amount'])<$vo['charge_amount']){ if(($cost['account_balance']-$cost['freeze_amount'])<$vo['charge_amount']){
return $cost['name']."余额不足";die; return $cost['name']."余额不足";die;
} }
......
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论