Browse Source

修复34、我选择全部代理商 就一直加载

Cherry 2 years ago
parent
commit
a93e4d0ed9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      public/assets/js/backend/mobile_flow.js

+ 1 - 1
public/assets/js/backend/mobile_flow.js

@@ -98,7 +98,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'], function
                         {field: 'id', title: __('Id')},
                         //{field: 'proxy_role', title: __('站点选择'),visible:false,searchable:true,operate:false,searchList:{1:"主站", 2:"本店"},defaultValue:1},
                         {field: 'proxy_id', title: __('代理商'),formatter:function(value, mobile){
-                            return value ? mobile.proxy.nickname : '';
+                            return value ? (mobile.proxy ? mobile.proxy.nickname:''): '';
                         },visible:(subs ? true : false),searchList:subs,searchable:(subs ? true : false),defaultValue:0},
                         {field: 'product_no', title: __('产品编码')},
                         {field: 'name', title: __('商品名称'),operate: 'like',formatter(a,mobile){