guhongwei 4 年之前
父节点
当前提交
b57587cb07
共有 1 个文件被更改,包括 2 次插入2 次删除
  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) {
-      let res = await this.routeQuery({ project: value });
+      let res = await this.routeQuery({ item: value });
       if (this.$checkRes(res)) {
         this.$set(this, `supRouteList`, res.data);
       }
@@ -423,7 +423,7 @@ export default {
     },
     // 选择线路,查询计算方式
     async changeRoute(value) {
-      let res = await this.modeQuery({ item: value });
+      let res = await this.modeQuery({ route: value });
       if (this.$checkRes(res)) {
         this.$set(this, `modeList`, res.data);
       }