...
|
...
|
@@ -27,6 +27,7 @@ |
|
|
<filter-item>
|
|
|
<Button type="primary" @click="search">筛选</Button>
|
|
|
<Button @click="reset">清空条件</Button>
|
|
|
<Button type="success" @click="exportData">导出</Button>
|
|
|
</filter-item>
|
|
|
</layout-filter>
|
|
|
<layout-list>
|
...
|
...
|
@@ -42,6 +43,7 @@ import { ReturnedListTable } from '../components'; |
|
|
import { ReturnedService } from 'services/order';
|
|
|
import { OrderConfig } from 'pages/order/configs';
|
|
|
import _ from 'lodash';
|
|
|
import qs from 'querystringify';
|
|
|
|
|
|
export default {
|
|
|
components: { ReturnedListTable },
|
...
|
...
|
@@ -99,6 +101,11 @@ export default { |
|
|
this.query.orderStatusStr = '';
|
|
|
this.search();
|
|
|
},
|
|
|
exportData() {
|
|
|
const querystring = qs.stringify(this.query, true);
|
|
|
const href = `${ReturnedService.exportReturnedGoods}${querystring}`;
|
|
|
window.open(href, '_blank');
|
|
|
},
|
|
|
},
|
|
|
};
|
|
|
</script>
|
...
|
...
|
|