YY 2 years ago
parent
commit
01349e3b4c
1 changed files with 1 additions and 15 deletions
  1. 1 15
      src/views/platmanag/order/index.vue

+ 1 - 15
src/views/platmanag/order/index.vue

@@ -25,19 +25,7 @@
               <el-col :span="24" v-if="activeName == '1'">
                 <card-1 :statusList="statusList" @toDetail="toDetail" @toSales="toSales"></card-1>
               </el-col>
-              <el-col
-                :span="24"
-                v-else-if="
-                  activeName == '2' ||
-                  activeName == '3' ||
-                  activeName == '4' ||
-                  activeName == '5' ||
-                  activeName == '6' ||
-                  activeName == '7' ||
-                  activeName == '8' ||
-                  activeName == '9'
-                "
-              >
+              <el-col :span="24" v-else-if="activeName != '1'">
                 <el-col :span="24" class="one">
                   <search-1 :form="searchForm" @onSubmit="search" @querySearch="querySearch" @toReset="toClose" :shopList="shopList"> </search-1>
                 </el-col>
@@ -79,7 +67,6 @@ export default {
     search1: () => import('@/components/orderParts/search-1.vue'),
   },
   data: function () {
-    const that = this;
     return {
       loadings: true,
       view: 'list',
@@ -142,7 +129,6 @@ export default {
       }
       this.loadings = false;
     },
-
     // 未付款
     toDetail(val) {
       this.$set(this, `order_id`, val);