文件
yjyf/server/application/admin/view/settle/edit.html
MiAn 6b83afb750 feat: 新增充值订单独立管理模块及退款安全拦截
- 新增充值订单菜单及独立路由
- 禁用通用退款入口处理充值订单
- 完善支付场景类型及状态显示
- 补充充值退款测试用例
- 优化各模块未知状态显示提示
- 升级版本号至1.0.94
2026-11-20 13:40:54 +08:00

114 行
5.5 KiB
HTML

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
<!-- 1. 结算对账快照(只读防篡改) -->
<div class="panel panel-default panel-form-section">
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-calculator"></i> 结算单账务核对(只读)</h4>
</div>
<div class="panel-body">
<div class="row">
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">关联工单:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">
<code>{$order.order_no|default=$row.order_id|htmlentities}</code>
{if !empty($order.service_name)} · {$order.service_name|htmlentities}{/if}
</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">结算师傅:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">
<strong>{$master.realname|default='-'|htmlentities}</strong>
{if !empty($master.mobile)}({$master.mobile|htmlentities}){/if}
</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">工单核算金额:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">¥{$row.order_amount|htmlentities}</p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">平台抽佣:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">¥{$row.commission|htmlentities}(比例 {$row.commission_rate|htmlentities}%)</p>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">师傅应得净额:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static"><strong class="text-success" style="font-size:15px;">¥{$row.settle_amount|htmlentities}</strong></p>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-4">师傅当前钱包:</label>
<div class="col-xs-12 col-sm-8">
<p class="form-control-static">可用余额 ¥{$master.money|default='0.00'|htmlentities},提现冻结 ¥{$master.frozen_money|default='0.00'|htmlentities}</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- 2. 财务结算执行 -->
{if $row.status == 'wait'}
<div class="panel panel-default panel-form-section">
<div class="panel-heading">
<h4 class="panel-title"><i class="fa fa-check-square-o"></i> 财务结算确认</h4>
</div>
<div class="panel-body">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">结算方式:</label>
<div class="col-xs-12 col-sm-10">
<div class="radio">
<label style="margin-right:18px;">
<input name="row[status]" type="radio" value="settled" checked /> 划拨至师傅平台钱包(自动记入资金流水)
</label>
<label>
<input name="row[status]" type="radio" value="offline" /> 线下特殊打款归档(不变更线上钱包余额)
</label>
</div>
</div>
</div>
</div>
</div>
<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">
<button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
<button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
</div>
</div>
{else/}
<div class="panel panel-default panel-form-section">
<div class="panel-body">
<p class="text-muted" style="margin-bottom:0;">
<i class="fa fa-lock"></i> 该结算单已于 {:$row.settle_time ? date('Y-m-d H:i:s', $row.settle_time) : '-'} 归档(状态:<strong>{$statusList[$row.status]|default='未知状态'}</strong>),账务已锁定。
</p>
</div>
</div>
{/if}
</form>