mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-31 13:25:32 +08:00
60 lines
2.1 KiB
HTML
60 lines
2.1 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=doUnMatchImport&finder_id=<{$env.get.finder_id}>" enctype="multipart/form-data" method="post" id="form1" isCloseDialog>
|
|
<div class="tableform">
|
|
<div class="division">
|
|
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="girdlist">
|
|
<h4><{t}>上传文件,支持<font color="red">csv、xls、xlsx</font>文件<{/t}></h4>
|
|
<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>
|
|
|
|
<tr>
|
|
<th><em class="c-red">*</em> 导入文件:</th>
|
|
<td>
|
|
<input id='import_file' name='import_file' accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel" type='file' value='' style='width:240px;'/><br /><br />
|
|
</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 _this = this;_this.set('disabled',true);
|
|
var _data = _this.form.toQueryString().replace(/\+/g,"%2B");
|
|
|
|
$('form1').fireEvent('submit');
|
|
|
|
});
|
|
</script>
|
|
|