Commit 6218a63f by yyq1988

物资领用增加出库功能

parent e2f196a8
...@@ -294,6 +294,7 @@ $(document).ready(function() { ...@@ -294,6 +294,7 @@ $(document).ready(function() {
* 出库 * 出库
*/ */
function onDelivery(){ function onDelivery(){
jp.confirm('确认是否出库?', function (){
jp.get('${ctx}/warehouse/materialrequisition/materialRequisition/delivery?id='+getIdSelections(), function (res){ jp.get('${ctx}/warehouse/materialrequisition/materialRequisition/delivery?id='+getIdSelections(), function (res){
if(res.success){ if(res.success){
jp.success(res.msg); jp.success(res.msg);
...@@ -302,6 +303,7 @@ $(document).ready(function() { ...@@ -302,6 +303,7 @@ $(document).ready(function() {
jp.error(res.msg); jp.error(res.msg);
} }
}) })
})
} }
</script> </script>
<script type="text/template" id="materialRequisitionChildrenTpl">//<!-- <script type="text/template" id="materialRequisitionChildrenTpl">//<!--
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment