Commit 55bc85f5 sunke

工单修改数量后出库BGU

1 个父辈 6cad4e79
......@@ -500,6 +500,9 @@ public class StorageDataController extends BaseController {
item.setNeedNum(newNeedNum.intValue());
liteOrderItemDao.save(item);
}
LiteOrder liteOrder = liteOrderDao.findWithItemsByOrderNo(orderNo);
TaskService.liteOrderMap.put(liteOrder.getOrderNo(), liteOrder);
return "0"+getText("shelf.msg.opSucess",request.getLocale(),"操作成功");
}
}catch (Exception e){
......
......@@ -99,9 +99,8 @@
<display:column media="html" titleKey=" ">
<a
onclick="window.open('${ctx}/codeGen.html?pnId=${component.id}&num=1')"><fmt:message key="component.generateBarcode"/> </a></display:column>
<a onclick="window.open('${ctx}/codeGen.html?pnId=${component.id}&num=1')"><fmt:message key="component.generateBarcode"/> </a>
</display:column>
<display:setProperty name="paging.banner.item_name"><fmt:message
key="component.item.name"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message
......@@ -190,6 +189,10 @@
${component.maxStorageTime - component.warmTime}<fmt:message key="solder.hour"/>
</display:column>
<display:column media="html" titleKey=" ">
<a onclick="window.open('${ctx}/codeGen.html?pnId=${component.id}&num=1')"><fmt:message key="component.generateBarcode"/> </a>
</display:column>
<display:setProperty name="paging.banner.item_name"><fmt:message
key="component.item.name"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message
......@@ -266,6 +269,10 @@
<display:column titleKey="pcb.fixtureNumber" property="fixtureNumber">
</display:column>
<display:column media="html" titleKey=" ">
<a onclick="window.open('${ctx}/codeGen.html?pnId=${component.id}&num=1')"><fmt:message key="component.generateBarcode"/> </a>
</display:column>
<display:setProperty name="paging.banner.item_name"><fmt:message
key="component.item.name"/></display:setProperty>
<display:setProperty name="paging.banner.items_name"><fmt:message
......
......@@ -343,7 +343,7 @@
</div>
<div id="modifyOrderNum" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" style="width: 800px; margin-top: 10%;">
<div class="modal-dialog" style="margin-top: 10%;width:80%;margin-left:10%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
......@@ -368,7 +368,7 @@
</div>
<div id="modifyNum" class="modal fade" tabindex="-1" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog" style="width: 800px; margin-top: 10%;">
<div class="modal-dialog" style="margin-top: 10%;width:80%;margin-left:10%;">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
......@@ -1031,7 +1031,7 @@
var num = $("#orderNumRate").val();
$.post("${ctx}/service/store/modifyOrderNum", {orderNo: orderNo, num: num}, function (data) {
showMsg(data);
if (data.indexOf("OK") == 0) {
if (data.indexOf("0") == 0) {
$("#orderNumRate").val("");
$("#modifyOrderNum").modal("hide");
showOrderDetail(orderNo);
......
......@@ -62,11 +62,11 @@
<fmt:message key="menu.cloud.inventory"/><span class="selected"></span>
</a>
</li>
<li class="classic-menu-dropdown">
<a href="${ctx}/component/ReelNumModify.html" name="cloud">
<fmt:message key="menu.cloud.numModify"/><span class="selected"></span>
</a>
</li>
<%--<li class="classic-menu-dropdown">--%>
<%--<a href="${ctx}/component/ReelNumModify.html" name="cloud">--%>
<%--<fmt:message key="menu.cloud.numModify"/><span class="selected"></span>--%>
<%--</a>--%>
<%--</li>--%>
</ul>
</security:authorize>
<%--Barcode--%>
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!