Browse Source

【漳州万利达香港】【出货单】【修改发送数据按钮的提示】

wub 6 years ago
parent
commit
894d97f978
1 changed files with 5 additions and 4 deletions
  1. 5 4
      WebContent/app/controller/scm/reserve/ProdInOut.js

+ 5 - 4
WebContent/app/controller/scm/reserve/ProdInOut.js

@@ -1088,11 +1088,12 @@ Ext.define('erp.controller.scm.reserve.ProdInOut', {
                             callback: function (options, success, response) {
                                 Ext.getBody().unmask();
                                 var res = new Ext.decode(response.responseText);
-                                if (res.exceptionInfo) {
-                                    showError(res.exceptionInfo);
+                                if (res.success) {
+                                    showMessage("提示","发送完成");
+                                }else{
+                                    showError(res.exceptionInfo||"发送失败");
                                     return;
-                                }
-                                showError("发送完成");
+								}
                             }
                         });
                     }