|
@@ -37,7 +37,7 @@
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="orderNo">
|
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row, scope.index)">{{
|
|
|
- scope.row.orgOrderNo
|
|
|
+ scope.row.orgOrderNo
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<template slot="corpIdSearch">
|
|
@@ -45,7 +45,7 @@
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="corpId">
|
|
|
<span style="color: #409EFF;cursor: pointer" @click.stop="beforeOpenPage(scope.row, scope.index)">{{
|
|
|
- scope.row.corpsName
|
|
|
+ scope.row.corpsName
|
|
|
}}</span>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="createUser">
|
|
@@ -75,7 +75,7 @@
|
|
|
</template>
|
|
|
<template slot="menuLeft" slot-scope="{ size }">
|
|
|
<el-button type="success" :size="size" @click="copyOrder" :disabled="single">复制单据</el-button>
|
|
|
- <el-button type="info" :size="size" icon="el-icon-printer">报表打印</el-button>
|
|
|
+ <el-button type="info" :size="size" icon="el-icon-printer" @click="exportExcel">导 出</el-button>
|
|
|
<el-button type="info" size="small" icon="el-icon-download" @click="exportHandle">库 存</el-button>
|
|
|
</template>
|
|
|
<template slot-scope="scope" slot="menu">
|
|
@@ -541,6 +541,17 @@ export default {
|
|
|
}
|
|
|
return params;
|
|
|
},
|
|
|
+ exportExcel() {
|
|
|
+ let data = this.gobackSearch()
|
|
|
+ const routeData = this.$router.resolve({
|
|
|
+ path: '/api/blade-purchase-sales/order/saleOrderExport', //跳转目标窗口的地址
|
|
|
+ query: {
|
|
|
+ 'Blade-Auth': getToken(),
|
|
|
+ ...data //括号内是要传递给新窗口的参数
|
|
|
+ }
|
|
|
+ })
|
|
|
+ window.open(routeData.href.slice(1, routeData.href.length));
|
|
|
+ },
|
|
|
//列保存触发
|
|
|
async saveColumn() {
|
|
|
/**
|
|
@@ -734,4 +745,5 @@ export default {
|
|
|
</script>
|
|
|
|
|
|
<style scoped>
|
|
|
+
|
|
|
</style>
|