效期预警导出

master
e 2018-10-27 00:26:02 +08:00
parent bb99cec55d
commit 15cd4d6d28
1 changed files with 2 additions and 6 deletions

View File

@ -246,7 +246,7 @@ window.onload = function() {
type:"POST", type:"POST",
url:"wmInQmIController.do?doAdd", url:"wmInQmIController.do?doAdd",
data:$("#"+formid).serialize(), data:$("#"+formid).serialize(),
async:true, async:false,
success:function (data) { success:function (data) {
var d = $.parseJSON(data); var d = $.parseJSON(data);
if (d.success) { if (d.success) {
@ -256,11 +256,7 @@ window.onload = function() {
$("#qmOkQuaty").val(qmOkQuaty); $("#qmOkQuaty").val(qmOkQuaty);
$("#qmOkQuat").val(qmOkQuaty); $("#qmOkQuat").val(qmOkQuaty);
$("#binId").val(""); $("#binId").val("");
window.close();
window.parent.$('#tt').tabs('close','验收');
} else { } else {
tip(d.msg); tip(d.msg);