|
|
|
|
@ -213,6 +213,17 @@
|
|
|
|
|
>导出排产计划
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<el-col :span="1.5">
|
|
|
|
|
<el-button
|
|
|
|
|
type="warning"
|
|
|
|
|
plain
|
|
|
|
|
icon="el-icon-download"
|
|
|
|
|
size="mini"
|
|
|
|
|
@click="handleProductExport"
|
|
|
|
|
v-hasPermi="['mes:pro:workorder:productExport']"
|
|
|
|
|
>导出成品区位填报表
|
|
|
|
|
</el-button>
|
|
|
|
|
</el-col>
|
|
|
|
|
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
|
|
|
|
|
</el-row>
|
|
|
|
|
|
|
|
|
|
@ -2049,6 +2060,12 @@ export default {
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
handleProductExport(){
|
|
|
|
|
console.log(111)
|
|
|
|
|
this.download('plan/pro/workorder/productExport', {
|
|
|
|
|
...this.queryParams
|
|
|
|
|
}, `成品区位填报表_${new Date().getTime()}.xlsx`)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|