提交 16d86b0b authored 作者: fengzy's avatar fengzy

'项目付款测试'

上级 898ffa2c
...@@ -70,12 +70,12 @@ class flow_projectfkClassModel extends flowModel ...@@ -70,12 +70,12 @@ class flow_projectfkClassModel extends flowModel
if($flowid['nowcheckid']==$checkid){ if($flowid['nowcheckid']==$checkid){
$data = m('c_projectfk_details')->getall('mid='.$this->rs['id'], 'id,cbzxid,amount'); $data = m('c_projectfk_details')->getall('mid='.$this->rs['id'], 'id,cbzxid,amount');
var_dump($data);
foreach ($data as $key => $vo) { foreach ($data as $key => $vo) {
// $project=self::project($vo['cbzxid']); // $project=self::project($vo['cbzxid']);
$project=self::project('WHDF-1-03999'); $project=self::project('WHDF-1-03999');
var_dump($project);
$cbzx_code= self::dept($project['data'][0]['jz_cur_dept']); $cbzx_code= self::dept($project['data'][0]['jz_cur_dept']);
$sql = " cost_id='$cbzx_code' and status = 1 and is_default=1"; $sql = " cost_id='$cbzx_code' and status = 1 and is_default=1";
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论