|
@@ -40,10 +40,22 @@
|
|
$("#inputForm").attr("action","${ctx}/workinvoice/workInvoice/saveAffirmReceipt");
|
|
$("#inputForm").attr("action","${ctx}/workinvoice/workInvoice/saveAffirmReceipt");
|
|
$("#inputForm").submit();
|
|
$("#inputForm").submit();
|
|
top.layer.close(index);//关闭对话框。
|
|
top.layer.close(index);//关闭对话框。
|
|
- parent.layer.close(index);//关闭对话框。
|
|
|
|
|
|
+ //关闭iframe页面
|
|
|
|
+ var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
|
|
|
+ parent.layer.close(index);
|
|
},btn2: function(index){
|
|
},btn2: function(index){
|
|
}
|
|
}
|
|
});
|
|
});
|
|
|
|
+ }else if(moneys>invoiceMoney){
|
|
|
|
+ parent.layer.msg('收款金额不得大于开票金额',{icon:5});
|
|
|
|
+ return false;
|
|
|
|
+ }else if(moneys == invoiceMoney){
|
|
|
|
+ $("#inputForm").attr("action","${ctx}/workinvoice/workInvoice/saveAffirmReceipt");
|
|
|
|
+ $("#inputForm").submit();
|
|
|
|
+ top.layer.close();//关闭对话框。
|
|
|
|
+ //关闭iframe页面
|
|
|
|
+ var index = parent.layer.getFrameIndex(window.name); //获取窗口索引
|
|
|
|
+ parent.layer.close(index);
|
|
}
|
|
}
|
|
}else{
|
|
}else{
|
|
if(moneys > invoiceMoney){
|
|
if(moneys > invoiceMoney){
|