wxy il y a 4 ans
Parent
commit
3d8978750d

+ 7 - 7
src/views/order/index-parts/search-bar.vue

@@ -89,7 +89,7 @@ export default {
     ...treaty({ getTreatyList: 'query' }),
     ...project({ getItemList: 'query' }),
     ...route({ getRouteList: 'query' }),
-    ...route({ getModeList: 'query' }),
+    ...mode({ getModeList: 'query' }),
     async getTreaty(client) {
       const res = await this.getTreatyList({ client });
       if (this.$checkRes(res)) {
@@ -102,20 +102,20 @@ export default {
     },
     async getItem(treaty) {
       const res = await this.getItemList({ treaty });
-      // if (this.$checkRes(res)) {
-      //   const { data } = res;
-      //   this.$set(this, `itemList`, data);
-      // }
+      if (this.$checkRes(res)) {
+        const { data } = res;
+        this.$set(this, `itemList`, data);
+      }
     },
     async getRoute(item) {
-      const res = await this.getItemList({ item });
+      const res = await this.getRouteList({ item });
       if (this.$checkRes(res)) {
         const { data } = res;
         this.$set(this, `routeList`, data);
       }
     },
     async getMode(route) {
-      const res = await this.getItemList({ route });
+      const res = await this.getModeList({ route });
       if (this.$checkRes(res)) {
         const { data } = res;
         this.$set(this, `modeList`, data);

+ 0 - 1
src/views/order/transport/sign.vue

@@ -106,7 +106,6 @@ export default {
         const { data, total } = res;
         this.$set(this, `list`, data);
         this.$set(this, `total`, total);
-        console.log(this.list);
       }
       //查客户列表
       const res1 = await this.cQuery({ type: '客户' });