|
@@ -279,7 +279,7 @@ export default {
|
|
await this.search();
|
|
await this.search();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
- ...order(['query']),
|
|
|
|
|
|
+ ...order(['transportQuery']),
|
|
...client({ clientQuery: 'query' }),
|
|
...client({ clientQuery: 'query' }),
|
|
...route({ routeQuery: 'query' }),
|
|
...route({ routeQuery: 'query' }),
|
|
...transport({ transportNo: 'transportNo', transportCreate: 'create' }),
|
|
...transport({ transportNo: 'transportNo', transportCreate: 'create' }),
|
|
@@ -290,7 +290,7 @@ export default {
|
|
...mode({ modeQuery: 'query' }),
|
|
...mode({ modeQuery: 'query' }),
|
|
async search({ skip = 0, limit = this.limit, ...info } = {}) {
|
|
async search({ skip = 0, limit = this.limit, ...info } = {}) {
|
|
//查订单
|
|
//查订单
|
|
- let res = await this.query({ skip, limit, ...info });
|
|
|
|
|
|
+ let res = await this.transportQuery({ skip, limit, ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
const { data, total } = res;
|
|
const { data, total } = res;
|
|
let newArray = [];
|
|
let newArray = [];
|