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

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

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

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

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

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

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

97 lines
4.5 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"}>
<{css app="ome" src="ome.css"}>
<{css app="ome" src="style.css"}>
<{script src="coms/autocompleter.js" app="desktop"}>
<{script src="coms/pager.js" app="desktop"}>
<{/capture}>
<form name="form1" action="index.php?app=console&ctl=admin_vopstockout&act=doDefectiveconfirm" method="post">
<div class="tableform">
<input type="hidden" name="iso_id" value="<{$billInfo.stockout_id}>">
<h4>出库单确认</h4>
</div>
<div class="division">
<table border="0" cellspacing="0" cellpadding="0" class="gridlist">
<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 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>
</tr>
</thead>
<tbody>
<{foreach from=$dataList item=item}>
<tr <{if $item.is_del == 'true'}>style="background-color: rgb(216, 216, 216);"<{/if}> >
<td style='text-align:left;padding-left:5px;'><{$item.po_bn}></td>
<td style='text-align:left;padding-left:5px;'><{$item.pick_no}></td>
<td style='text-align:left;padding-left:5px;'><{$item.bn}></td>
<td style='text-align:left;padding-left:5px;'><{$item.barcode}></td>
<td style='text-align:left;padding-left:5px;'><{$item.product_name}></td>
<td style='text-align:left;padding-left:5px;'><{$item.size}></td>
<td style='text-align:left;padding-left:5px;'><{$item.item_num}></td>
<td style='text-align:left;padding-left:5px;'><{if $item.is_del == 'true'}>0<{else}><{$item.num}><{/if}></td>
<td style='text-align:left;padding-left:5px;'><{$item.actual_num}></td>
<td style='text-align:left;padding-left:5px;'><{$item.price}></td>
<td style='text-align:left;padding-left:5px;'><{$item.market_price}></td>
</tr>
<{/foreach}>
</tbody>
</table>
<div id="cc" class="noprint table-action">
<{button type="button" class="btn-secondary" id="return-btn" label="关 闭" onclick="javascript:void(window.close());"}></div>
</div>
</div>
</form>
<script>
$('stock-save-btn').addEvent('click',function(e){
var _this=this;
var form=this.getParent('form');
form.store('target',{
onRequest:function(){
_this.disabled=true;
},
onComplete:function(jsontext){
try{
var json = JSON.decode(jsontext);
if (typeof(json.error)!='undefined'){
_this.disabled=false;
}else{
_this.disabled=true;
opener.finderGroup['<{$env.get.finder_id}>'].refresh.delay(100,opener.finderGroup['<{$env.get.finder_id}>']);
setTimeout('window.close()',200);
}
}catch(e){}
}
});
form.fireEvent('submit',e);
});
</script>