|
|
@@ -1070,7 +1070,7 @@ class OrderController extends BaseController
|
|
|
public function actionList()
|
|
|
{
|
|
|
$get = Yii::$app->request->get();
|
|
|
- $search = isset($get['search']) ? $get['search'] : '';
|
|
|
+ $search = isset($get['searchText']) ? $get['searchText'] : '';
|
|
|
$searchType = isset($get['searchType']) && is_numeric($get['searchType']) ? $get['searchType'] : '';
|
|
|
$shopId = $this->shopId ?? 0;
|
|
|
if (empty($shopId)) {
|
|
|
@@ -1090,9 +1090,6 @@ class OrderController extends BaseController
|
|
|
if (isset($get['shopAdminId']) && !empty($get['shopAdminId'])) {
|
|
|
$where['shopAdminId'] = $get['shopAdminId'];
|
|
|
}
|
|
|
- if (isset($get['searchText']) && !empty($get['searchText'])) {
|
|
|
- $where['orderSn'] = strtoupper($get['searchText']);
|
|
|
- }
|
|
|
if (!empty($search)) {
|
|
|
if (is_numeric($searchType)) {
|
|
|
if ($searchType == 0) {
|