Cherry 2 år sedan
förälder
incheckning
8a149e646f
1 ändrade filer med 3 tillägg och 1 borttagningar
  1. 3 1
      public/assets/js/backend/mobile_order.js

+ 3 - 1
public/assets/js/backend/mobile_order.js

@@ -21,8 +21,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
 
             let is_proxy = Config.is_proxy;
             let is_proxy_operate = false;
+            let is_proxy_operate_eq = false;
             if(is_proxy==0){
                 is_proxy_operate = 'LIKE';
+                is_proxy_operate_eq = '=';
             }
 
             let clip=new clipboard('.btn-pay_link',{
@@ -132,7 +134,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form','clipboard'],
                         return `<span class="label label-primary">${status[order.status_bak]||''}-${status[a]}</span>`
                     }
                         return `<span class="label ${statusColor[a]}">${status[a]}</span>`
-                    },searchList:status},
+                    },searchList:status,operate: is_proxy_operate_eq},
                 {field: 'anchor.name', title:__('主播名称') ,searchList(){return Template('anchor-search',{});},width: 100},
                 {field: 'sub_anchor.mobile_anchor.name', title: __(adminInfo.is_sub?'主播名称':'分站主播'),searchList(){return Template('anchor-sub-search',{});},width: 100,operate: is_proxy_operate,visible:is_proxy_operate},
                 {field: 'rules.rule', title: __('规律'),visible: false,searchList:mobileRules},