shish 5 years ago
parent
commit
fc40dda437
1 changed files with 2 additions and 2 deletions
  1. 2 2
      biz-ghs/clear/classes/ClearClass.php

+ 2 - 2
biz-ghs/clear/classes/ClearClass.php

@@ -223,9 +223,9 @@ class ClearClass extends BaseClass
         $saleList = OrderClass::getAllByCondition(['id' => ['in', $saleArr]], null, 'id,orderSn,bigNum,smallNum,realPrice', null);
         $info['orderList'] = $saleList;
         $info['orderNum'] = count($saleArr);
-        $type = $info['type'] ?? 1;
+        $type = $info['clearStyle'] ?? dict::getDict('clearStyle', 'gys2KmGys');
         $operator = $info['ghsShopAdminName'] ?? '';
-        if ($type == 1) {
+        if ($type == dict::getDict('clearStyle', 'hd2Gys')) {
             $operator = '客户';
         }
         $info['operator'] = $operator;