Commit 6218a63f by yyq1988

物资领用增加出库功能

parent e2f196a8
...@@ -294,14 +294,16 @@ $(document).ready(function() { ...@@ -294,14 +294,16 @@ $(document).ready(function() {
* 出库 * 出库
*/ */
function onDelivery(){ function onDelivery(){
jp.get('${ctx}/warehouse/materialrequisition/materialRequisition/delivery?id='+getIdSelections(), function (res){ jp.confirm('确认是否出库?', function (){
if(res.success){ jp.get('${ctx}/warehouse/materialrequisition/materialRequisition/delivery?id='+getIdSelections(), function (res){
jp.success(res.msg); if(res.success){
refresh(); jp.success(res.msg);
}else{ refresh();
jp.error(res.msg); }else{
} 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