guhongwei 4 years ago
parent
commit
b57587cb07
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/order/transport/index.vue

+ 2 - 2
src/views/order/transport/index.vue

@@ -411,7 +411,7 @@ export default {
     },
     },
     // 选择项目,查询线路
     // 选择项目,查询线路
     async changeItem(value) {
     async changeItem(value) {
-      let res = await this.routeQuery({ project: value });
+      let res = await this.routeQuery({ item: value });
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {
         this.$set(this, `supRouteList`, res.data);
         this.$set(this, `supRouteList`, res.data);
       }
       }
@@ -423,7 +423,7 @@ export default {
     },
     },
     // 选择线路,查询计算方式
     // 选择线路,查询计算方式
     async changeRoute(value) {
     async changeRoute(value) {
-      let res = await this.modeQuery({ item: value });
+      let res = await this.modeQuery({ route: value });
       if (this.$checkRes(res)) {
       if (this.$checkRes(res)) {
         this.$set(this, `modeList`, res.data);
         this.$set(this, `modeList`, res.data);
       }
       }