Files
OMS/app/finance/view/monthed/report.html
2026-01-04 19:08:31 +08:00

65 lines
2.2 KiB
HTML

<!--
Copyright 2012-2026 ShopeX (https://www.shopex.cn)
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<div class="large">
<div class="ColColorOrange clearfix">
<div class="span-auto" title="" info="账单日期">
<span class="f-12">账单日期:</span><strong class="f-18" id="monthly-date"></strong>
</div>
<div class="span-auto" title="" info="所属店铺">
<span class="f-12">所属店铺:</span><strong class="f-18" id="shop-name"></strong>
</div>
<div class="span-auto" title="" info="实收金额">
<span class="f-12">实收金额:</span><strong class="f-18" id="bill-in-amount"></strong>
</div>
<div class="span-auto" title="" info="应收金额">
<span class="f-12">应收金额:</span><strong class="f-18" id="ar-in-amount"></strong>
</div>
<div class="span-auto" title="" info="实退金额">
<span class="f-12">实退金额:</span><strong class="f-18" id="bill-out-amount"></strong>
</div>
<div class="span-auto" title="" info="应退金额">
<span class="f-12">应退金额:</span><strong class="f-18" id="ar-out-amount"></strong>
</div>
</div>
</div>
<script>
(function(){
if(Cookie.read('MONTHEND_REPORT'))
{
var monthend_report = JSON.decode(Cookie.read('MONTHEND_REPORT'));
if(monthend_report)
{
$('monthly-date').setHTML(monthend_report.monthly_date);
$('shop-name').setHTML(monthend_report.shop_name);
$('bill-in-amount').setHTML(monthend_report.bill_in_amount || 0);
$('bill-out-amount').setHTML(monthend_report.bill_out_amount || 0);
$('ar-in-amount').setHTML(monthend_report.ar_in_amount || 0);
$('ar-out-amount').setHTML(monthend_report.ar_out_amount || 0);
}
}
})();
</script>