mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-23 02:45:33 +08:00
83 lines
2.2 KiB
HTML
83 lines
2.2 KiB
HTML
<!--
|
||
Copyright © ShopeX (http://www.shopex.cn). All rights reserved.
|
||
See LICENSE file for license details.
|
||
-->
|
||
|
||
<style>
|
||
.shop-name{
|
||
color:red;font-weight:bold;
|
||
}
|
||
.rules{
|
||
margin-bottom: 5px;
|
||
}
|
||
.rules select{
|
||
margin-right: 5px;
|
||
}
|
||
.rule_tr{
|
||
margin: 10px 0;
|
||
}
|
||
</style>
|
||
<div class="tableform">
|
||
<div class="division">
|
||
<form method="post" action="index.php?app=financebase&ctl=admin_shop_settlement_queue&act=doDownloadTask" id="form-rule">
|
||
<input type="hidden" name="id" value="<{$bill_info.id}>">
|
||
<table width="100%" cellspacing="0" cellpadding="0" border="0" id="rule-section">
|
||
<tbody>
|
||
<tr>
|
||
<th>所属店铺</th>
|
||
<td>
|
||
|
||
<select name="shop_id" vtype="required">
|
||
<{foreach from=$shop_list_alipay item=item}>
|
||
<option value="<{$item.shop_id}>"><{$item.name}></option>
|
||
<{/foreach}>
|
||
</select>
|
||
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th>任务时间</th>
|
||
<td><{input type="date" vtype="required" name="time_from" id="time_from" style="width:95px; font-family:arial;" value=''}> 至
|
||
<{input type="date" vtype="required" name="time_to" id="time_to" style="width:95px; font-family:arial;" value=''}>
|
||
</td>
|
||
</tr>
|
||
|
||
</table>
|
||
|
||
|
||
<div class="table-action">
|
||
<{button label="确认" type="submit" name="submit" id="btn-rule" class="btn-primary"}>
|
||
</div>
|
||
</form>
|
||
</div>
|
||
</div>
|
||
<script>
|
||
|
||
var finder = finderGroup['<{$env.get.finder_id}>'];
|
||
$('form-rule').store('target',{
|
||
onRequest:function(){
|
||
$('btn-rule').set('disabled', 'true');
|
||
},
|
||
onComplete:function(jsontext){
|
||
var json = JSON.decode(jsontext);
|
||
if (json.success){
|
||
$('btn-rule').set('disabled', 'true');
|
||
|
||
try{
|
||
var _dialogIns = $('btn-rule').getParent('.dialog').retrieve('instance');
|
||
}catch(e){}
|
||
|
||
if(_dialogIns){
|
||
_dialogIns.close();
|
||
setTimeout(finder.refresh(),30000);
|
||
}
|
||
}else{
|
||
$('btn-rule').set('disabled', '');
|
||
}
|
||
}
|
||
});
|
||
|
||
|
||
|
||
</script>
|