This commit is contained in:
xman 2025-06-02 20:48:01 +08:00
parent 1e13c81f16
commit 25adfb36fc
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ class Aftersale2 extends Backend
$row->validateFailException()->validate($validate);
}
$params['refund_admin_id'] = $this->auth->id;
if($params['type'] == 1){
if($row->type == 1){
$params['refund_amount'] = bcadd($params['company_refund_amount'],$params['worker_refund_amount'],2);
}else{
unset($params['company_refund_amount']);

View File

@ -187,7 +187,7 @@
{if condition='$row.status eq 1'}
{if condition='$row.status eq 3'}
<div class="form-group layer-footer">
<label class="control-label col-xs-12 col-sm-2"></label>
<div class="col-xs-12 col-sm-8">