更新bug

master
chenzhi 4 years ago
parent ff9ab580c9
commit 4e5f6a664d

@ -358,7 +358,7 @@ class PaymentController extends BaseController
//获取自身
$remark = ($oldInfo['remark'] .'该打款由线上转为线下付款,原支付宝用户:'. $company_info['ali_user'].',支付宝账号为:'.$company_info['ali_account']);
//修改自身
$res = M("company_statement_info","tab_")->where("id = {$id}")->save(['verify_status' => 2, 'pay_check' => 0, 'pay_check_member_id' => 0, 'pay_check_time' => 0, 'remark' => $remark]);
$res = M("company_statement_info","tab_")->where("id = {$id}")->save(['verify_status' => 2,'pay_status'=>0,'pay_time'=>0,'pay_info'=>'','pay_check' => 0, 'pay_check_member_id' => 0, 'pay_check_time' => 0, 'remark' => $remark]);
if(empty($res)){
$this->ajaxReturn(['status' =>0 ,'msg'=>'转换失败','data'=>[]]);
}

@ -282,11 +282,10 @@
</if>
<if condition="$data['pay_status'] eq -1">
<a class='confirm changeCompanyInfo' data-id="{$data['id']}">更新打款信息</a>
</if>
<if condition="$data['pay_status'] neq 1">
<a class='confirm changePayTapy' data-id="{$data['id']}">转线下打款</a>
</if>
<!-- <if condition="$data['pay_check'] eq 0">-->
<!-- <a class='confirm setPayment' data-id='{$data.id}'>打款信息确认</a>-->
<!-- </if>-->
</td>
</tr>
<volist name="data.son_info" id="s_data">

Loading…
Cancel
Save