Selaa lähdekoodia

修改不能审核返回信息页面没反馈的bug

lvhao 6 kuukautta sitten
vanhempi
commit
a50d219d51
1 muutettua tiedostoa jossa 6 lisäystä ja 1 poistoa
  1. 6 1
      template/erp/returngoods_check.html

+ 6 - 1
template/erp/returngoods_check.html

@@ -158,10 +158,15 @@ function mastercheck(that){
         success:function(a){
             layx.destroy('loadId');
             if (a && a.success) {
-			$(".ts p").html(a.msg);
+			    $(".ts p").html(a.msg);
                 $(".ts").fadeIn();
                 setTimeout('searchspan(2)', 900);
             }
+            if (a && !a.success) {
+			    $(".ts p").html(a.msg);
+                $(".ts").fadeIn();
+                
+            }
         }
     })
 }