Files
OMS/app/finance/view/monthed/memo.html
2025-12-28 23:13:25 +08:00

45 lines
1.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!--
Copyright © ShopeX http://www.shopex.cn. All rights reserved.
See LICENSE file for license details.
-->
<form method="POST" action="index.php?app=finance&ctl=monthend_verification&act=save_memo&p[]=<{$monthly_id}>&p[]=<{$order_bn}>" id="bill-memo-form">
<div class="tableform">
<div class="division">
<table width="100%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<th>备注:</th>
<td>
<textarea name="memo"></textarea>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="table-action">
<{button type="submit" label="确定" class="btn-primary" }> &nbsp; &nbsp;
<{button label="关闭" class="btn-secondary" isCloseDialogBtn="true"}>
</div>
</form>
<script type="text/javascript">
$('bill-memo-form').store('target',{
onRequest:function(){
$E('#bill-memo-form .btn-primary').set('disabled', 'true');
},
onComplete:function(jsontext){
var json = Json.evaluate(jsontext);
if (typeof(json.error) != 'undefined'){
$E('#bill-memo-form .btn-primary').set('disabled', '');
}else{
$E('#bill-memo-form .btn-primary').set('disabled', 'true');
$('bill-memo-form').getParent('.dialog').retrieve('instance').close();
finderGroup['<{$env.get.finder_id}>'].refresh.delay(400,finderGroup['<{$env.get.finder_id}>']);
}
}
});
</script>