mirror of
https://gitee.com/ShopeX/OMS
synced 2026-03-30 21:15:34 +08:00
81 lines
2.6 KiB
HTML
81 lines
2.6 KiB
HTML
<!--
|
||
Copyright 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.
|
||
-->
|
||
|
||
<style type="text/css">
|
||
<!--
|
||
.STYLE1 {color: red}
|
||
-->
|
||
</style>
|
||
<form method="post" action="index.php?app=ome&ctl=admin_branch&act=index&action=to_export" class="table-form" target='csv_tmpl_form' enctype="multipart/form-data">
|
||
<div class="tableform">
|
||
<div class="division">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<th><{t}>请选择仓库:<{/t}></th>
|
||
<td>
|
||
<select name='_gType'>
|
||
<{foreach from=$branch item=item}><option value='<{$item.branch_id}>'><{$item.name}></option><{/foreach}></select>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}>导出仓库库存CSV:<{/t}></th>
|
||
<td><b class="submitBtn">
|
||
<input type="submit" value="下载">
|
||
</b></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
<input type='hidden' value='csv' name='_io_type'/>
|
||
<iframe id='csv_tmpl_form' height="0">
|
||
</iframe>
|
||
</form>
|
||
<form enctype="multipart/form-data" method="post" action="index.php?app=ome&ctl=admin_storageexport&act=import" class="tableform">
|
||
<h4><{t}>请上传编辑后库存文件(CSV格式)<{/t}></h4>
|
||
<div class="tableform">
|
||
<div class="division">
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<th><{t}>仓库文件:<{/t}></th>
|
||
<td><input type="file" name="upload1"> 文件名类似 <font color=red>store-20100113(库存).csv</font></td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}> 入库方式:<{/t}></th>
|
||
<td><select name='type'>
|
||
<option value='1'>累加</option>
|
||
<option value='2'>覆盖</option>
|
||
</select><font color=red>store-20100113(库存).csv</font></td>
|
||
</tr>
|
||
<tr>
|
||
<th><{t}>注意:<{/t}></th>
|
||
<td>请注意文件中每一列的说明:<br> <span class="STYLE1">第一列表示该csv属于哪个仓库<br>
|
||
bn 货号<br>
|
||
name 名称<br>
|
||
store 表示库存<br>
|
||
sku_property规格属性<br>weight 重量<br>
|
||
store_position货位名称</span></td>
|
||
</tr>
|
||
<tr>
|
||
<th> </th>
|
||
<td><b class="submitBtn">
|
||
<input type="submit" value="上传">
|
||
</b></td>
|
||
</tr>
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</form>
|