mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 21:25:33 +08:00
73 lines
2.4 KiB
HTML
73 lines
2.4 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.
|
|
-->
|
|
|
|
<form action="index.php?app=finance&ctl=settlement&act=doUnMatchExport&finder_id=<{$env.get.finder_id}>" method="post" id="form1" isCloseDialog>
|
|
<div class="tableform">
|
|
<div class="division">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="girdlist">
|
|
|
|
<tr><th>所选平台</th><td id="bill-shop">
|
|
<select name="platform_type" id="platform_type" vtype="required">
|
|
<{foreach from=$platform_list key=key item=item}>
|
|
<option value="<{$key}>" ><{$item}></option>
|
|
<{/foreach}>
|
|
</select>
|
|
</td></tr>
|
|
|
|
|
|
</table>
|
|
|
|
<div class="table-action">
|
|
<{button label="确定" id="btn-submit" class="btn-primary" }>
|
|
<{button label="关闭" class="btn-secondary" isCloseDialogBtn="true"}>
|
|
</div>
|
|
<input type='hidden' id='finder_id' name='finder_id' value='<{$finder_id}>'>
|
|
</div> </div>
|
|
</form>
|
|
<script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('btn-submit').addEvent('click',function(e){
|
|
|
|
|
|
|
|
var platform_type = $('platform_type').get('value');
|
|
|
|
this.getParent('.dialog').retrieve('instance').close();
|
|
|
|
window.open('index.php?app=finance&ctl=settlement&act=doUnMatchExport&p[0]='+platform_type);
|
|
|
|
// finderGroup['<{$env.get.finder_id}>'].refresh.delay(400,finderGroup['<{$env.get.finder_id}>']);
|
|
// _this.getParent('.dialog').retrieve('instance').close();
|
|
|
|
|
|
// var _this = this;_this.set('disabled',true);
|
|
// var _data = _this.form.toQueryString().replace(/\+/g,"%2B");
|
|
// new Request.JSON({
|
|
// url:_this.form.get('action'),
|
|
// data:_data,
|
|
// onComplete:function(rs){
|
|
// finderGroup['<{$env.get.finder_id}>'].refresh.delay(400,finderGroup['<{$env.get.finder_id}>']);
|
|
// _this.getParent('.dialog').retrieve('instance').close();
|
|
// }
|
|
// }).send();
|
|
});
|
|
</script>
|