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

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

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

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

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

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

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

90 lines
3.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.
-->
<{capture name="header"}>
<link href="../apps/ome/statics/ome.css" rel="stylesheet" type="text/css">
<{/capture}>
<form id="fm1" name="form1" action="index.php?app=console&ctl=admin_purchase&act=doIostockconfirm" method="POST">
<div class="tableform">
<h4>入库确认</h4>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<col style="width:10%;"></col>
<col style="width:30%;"></col>
<col style="width:10%;"></col>
<col style="width:10%;"></col>
<col style="width:6%;"></col>
<col style="width:6%;"></col>
<col style="width:6%;"></col>
<!-- col style="width:10%;"></col -->
<thead>
<tr>
<th style='text-align:left;padding-left:5px;'>基础物料编码</th>
<th style='text-align:left;padding-left:5px;'>基础物料名称</th>
<th style='text-align:left;padding-left:5px;'>规格</th>
<th style='text-align:left;padding-left:5px;'>条码</th>
<th style='text-align:left;padding-left:5px;'>采购数量</th>
<th style='text-align:left;padding-left:5px;'>已入库</th>
<th style='text-align:left;padding-left:5px;'>入库取消</th>
<th style='text-align:left;padding-left:5px;'>不良品</th>
<!-- th>采购价格</th -->
</tr>
</thead>
<{foreach from=$po.po_items item=item}>
<tbody>
<tr>
<td style='text-align:left;padding-left:5px;'><{$item.bn}></td>
<td style='text-align:left;padding-left:5px;'><{$item.name}></td>
<td style='text-align:left;padding-left:5px;'><{$item.spec_info}></td>
<td style='text-align:left;padding-left:5px;'><{$item.barcode}></td>
<td style='text-align:left;padding-left:5px;'><{$item.num}></td>
<td style='text-align:left;padding-left:5px;'><{$item.in_num}></td>
<td style='text-align:left;padding-left:5px;'><{$item.out_num}></td>
<th style='text-align:left;padding-left:5px;'><{$item.defective_num}></th>
<!-- td><{$item.price|cur}></td -->
</tr>
</tbody>
<{/foreach}>
</table>
</div>
</div>
<input type="hidden" name="po_id" value="<{$po.po_id}>">
<div id="cc" class="noprint table-action">&nbsp;
<{button type="submit" class="btn" id="purchase-save-btn" label="确 认"}>
<{button type="button" class="btn-secondary" id="return-btn" label="关 闭" onclick="javascript:void(window.close());"}></div>
</form>
<script>
$('fm1').store('target',{
onRequest:function(){
$('purchase-save-btn').set('disabled', 'true');
},
onComplete:function(jsontext){
var json = Json.evaluate(jsontext);
if (typeof(json.error) != 'undefined'){
$('purchase-save-btn').set('disabled', '');
}else{
$('purchase-save-btn').set('disabled', 'true');
if(opener.finderGroup['<{$env.get.finder_id}>']) opener.finderGroup['<{$env.get.finder_id}>'].refresh.delay(100,opener.finderGroup['<{$env.get.finder_id}>']);
setTimeout('window.close()',200);
}
}
});
</script>