lvhao 1 день назад
Родитель
Сommit
151fb21208
1 измененных файлов с 6 добавлено и 2 удалено
  1. 6 2
      template/erp/js/print.js

+ 6 - 2
template/erp/js/print.js

@@ -1283,9 +1283,13 @@ else
 				xbqsite(1, 1, 0, 0, 0);
             } else {
 				$(".ts").hide();
-                $(".ts p").html("生成标签失败,请重试");
+                if(a.msg){
+                    $(".ts p").html(a.msg);
+                }else{
+                    $(".ts p").html("生成标签失败,请重试");
+                }
                 $(".ts").fadeIn();
-                setTimeout('$(".ts").fadeOut()', 600);
+                setTimeout('$(".ts").fadeOut()', 1200);
             }
         }
     });