Files
OMS/app/ome/view/admin/stock/detail_stock.html
chenping 61783b7d01 1. 【新增】售后单售后原因类型支持搜索
2. 【新增】手工创建订单折扣可输入正数

3. 【优化】盘点申请单确认

4. 【修复】采购退货单模拟出库失败问题

5. 【新增】订单金额客户实付与结算金额

6. 【优化】仓库发货统计报表物料名称显示

7. 【优化】自有仓储虚拟发货逻辑

8. 【修复】基础物料分类管理问题
2026-04-01 11:59:17 +08:00

102 lines
3.6 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.
-->
<div class="division">
<h4>商品信息</h4>
<table width="100%" border="0" class="gridlist">
<thead>
<tr>
<th><t>基础物料编码</t></th>
<th><t>基础物料名称</t></th>
<th><t>库存</t></th>
</tr>
</thead>
<tbody>
<tr>
<td><{$pro_detail.bn}></td>
<td><{$pro_detail.name}></td>
<td><{$pro_detail.store|default:"0"}></td>
</tr>
</tbody>
</table>
<h4>仓库信息</h4>
<form name="form1" id="stock_form" action="index.php?<{$env.server.QUERY_STRING}>" method="post">
<table width="100%" border="0" class="gridlist">
<thead>
<tr>
<th>仓库名称</th>
<th>库存量</th>
<th>冻结库存</th>
<th>可售库存</th>
<th>在途库存</th>
<th style="display:none">相关货位</th>
<th>安全库存</th>
<th>安全库存锁定</th>
<th>总仓单位平均成本</th>
</tr>
</thead>
<tbody>
<{foreach from=$pro_detail.branch_product key=key item=product}>
<tr>
<td><{$product.branch_name}></td>
<td><{ if (is_array($branch_ids) && in_array($product.branch_id,$branch_ids)) || !isset($branch_ids)}><{$product.store}><{else}>-<{/if}></td>
<td><{ if (is_array($branch_ids) && in_array($product.branch_id,$branch_ids)) || !isset($branch_ids)}><{$product.store_freeze}><{else}>-<{/if}></td>
<td><{ if (is_array($branch_ids) && in_array($product.branch_id,$branch_ids)) || !isset($branch_ids)}><{$product.available_store}><{else}>-<{/if}></td>
<td><{ if (is_array($branch_ids) && in_array($product.branch_id,$branch_ids)) || !isset($branch_ids)}><{$product.arrive_store}><{else}>-<{/if}></td>
<td style="display:none"><{$product.store_position|default:'-'}></td>
<td>
<input type="hidden" name="branch_id[]" value="<{$product.branch_id}>" />
<input type="hidden" name="product_id[]" value="<{$product.product_id}>" />
<{ if (is_array($branch_ids) && in_array($product.branch_id,$branch_ids)) || !isset($branch_ids)}>
<input type="text" class="x-input" name="safe_store[]" size=8 value="<{$product.safe_store}>" autocomplete="off" />
<{else}>
<input type="hidden" class="x-input" name="safe_store[]" size=8 value="<{$product.safe_store}>" autocomplete="off" />
-
<{/if}>
</td>
<td>
<input type="checkbox" name="is_locked[<{$key}>]" value="1" id="is_locked" <{if $product.is_locked==1}>checked<{/if}> />
</td>
<td><{$product.entity_unit_cost}></td>
</tr>
<{/foreach}>
</tbody>
</table>
<div class="table-action"><{button type="submit" label=$___b2c="保存"|t:'b2c' id="btn_do_submit"}> <span class="status"></span></div>
<{$result}>
</form>
<!--<h4>货位信息</h4>
<table width="100%" border="0" class="gridlist">
<thead>
<tr>
<th>仓库</th>
<th>货位</th>
<th>库存量</th>
</tr>
</thead>
<tbody><{foreach from=$pro_detail.items item=items}>
<tr>
<td><{$items.name|default:"-"}></td>
<td><{$items.store_position|default:"-"}></td>
<td><{$items.store|default:"0"}></td>
</tr>
<{/foreach}>
</tbody>
</table>-->
</div>