|
@@ -96,7 +96,7 @@
|
|
|
btnName="列表导出"
|
|
btnName="列表导出"
|
|
|
fileName="销售订单"
|
|
fileName="销售订单"
|
|
|
apiUrl="/eom/saleorder/export"
|
|
apiUrl="/eom/saleorder/export"
|
|
|
- :params="params"
|
|
|
|
|
|
|
+ :params="exportParams"
|
|
|
></exportButton>
|
|
></exportButton>
|
|
|
|
|
|
|
|
<el-button
|
|
<el-button
|
|
@@ -633,6 +633,12 @@ export default {
|
|
|
clearInterval(this.timeR);
|
|
clearInterval(this.timeR);
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
|
|
+ exportParams() {
|
|
|
|
|
+ return {
|
|
|
|
|
+ ...this.params,
|
|
|
|
|
+ orderIds: this.selection.map(item => item.id)
|
|
|
|
|
+ }
|
|
|
|
|
+ },
|
|
|
clientEnvironmentId() {
|
|
clientEnvironmentId() {
|
|
|
return this.$store.state.user.info.clientEnvironmentId;
|
|
return this.$store.state.user.info.clientEnvironmentId;
|
|
|
},
|
|
},
|