fuxubing 3 tahun lalu
induk
melakukan
fc7bc05fed
1 mengubah file dengan 7 tambahan dan 5 penghapusan
  1. 7 5
      src/views/order/serviceorder.vue

+ 7 - 5
src/views/order/serviceorder.vue

@@ -17,8 +17,8 @@
         placeholder="请输入订单编号"
       />
       <el-select
-        v-model="listQuery.cityIds"
-        multiple
+        v-model="listQuery.cityId"
+        clearable
         style="width: 200px"
         class="filter-item"
         placeholder="请选择城市"
@@ -32,6 +32,7 @@
       </el-select>
       <el-select
         v-model="listQuery.orderStatusArray"
+        clearable
         multiple
         style="width: 200px"
         class="filter-item"
@@ -323,7 +324,7 @@ export default {
       list: [],
       total: 0,
       listLoading: true,
-      city:[],
+      city: [],
       listQuery: {
         page: 1,
         limit: 20,
@@ -331,6 +332,7 @@ export default {
         timeArray: [],
         orderId: "",
         orderStatusArray: [],
+        cityId: "",
         sort: "create_time",
         order: "desc"
       },
@@ -416,7 +418,7 @@ export default {
   created() {
     this.getList();
     listAllCity().then(res => {
-      this.city = res.data.data
+      this.city = res.data.data;
     });
   },
   methods: {
@@ -817,7 +819,7 @@ export default {
         excel.export_json_to_excel2(tHeader, lists, filterVal, "订单");
         this.downloadLoading = false;
       });
-    },
+    }
   }
 };
 </script>