Browse Source

客户采购单转销售单失败隐藏loading

zhuth 7 years ago
parent
commit
bb88f6fd25
1 changed files with 2 additions and 1 deletions
  1. 2 1
      frontend/saas-web/app/view/sale/b2b/PurchaseDetailController.js

+ 2 - 1
frontend/saas-web/app/view/sale/b2b/PurchaseDetailController.js

@@ -23,7 +23,8 @@ Ext.define('saas.view.sale.b2b.PurchaseDetailController', {
             } )
         })
         .catch(function(e) {
-            saas.util.BaseUtil.showErrorToast(e.message);
+            view.setLoading(false);
+            saas.util.BaseUtil.showErrorToast('转单失败: ' + e.message);
         });
     }
 });