Commit d5d61e76 authored by 沈翠玲's avatar 沈翠玲

生产排产和生产报工导出

parent 36e05896
......@@ -601,7 +601,9 @@ export default {
/** 导出按钮操作 */
handleExport() {
this.download1('mes/pro/feedback/list/export', {
...this.queryParams
...this.queryParams,
pageNum: null,
pageSize: null
}, `feedback_${new Date().getTime()}.xlsx`)
},
//选择生产工单
......
......@@ -222,6 +222,10 @@
@click="handlePrint"
>{{$t('打印')}}</el-button>
</el-col>
<el-col :span="1.5">
<el-button size="mini" @click="handleExport" type="primary"
plain>{{ $t('导出') }}</el-button>
</el-col>
<right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
</el-row>
......@@ -682,6 +686,17 @@ export default {
this.hanldeGetdefaultWorkCenterList()
},
methods: {
handleExport(){
this.download1(
'mes/pro/taskWorkunit/list/export',
{
...this.queryParams,
pageSize: null,
pageNum: null
},
`taskWorkunit_${new Date().getTime()}.xlsx`
);
},
handleCancel() {
const workorderCode = this.selections[0].workorderCode
this.$modal
......
......@@ -55,7 +55,7 @@
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">{{ $t('common.search') }}</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">{{ $t('common.reset') }}</el-button>
<el-button size="mini" @click="handleExport">{{ $t('导出') }}</el-button>
</el-form-item>
</el-form>
......@@ -169,15 +169,7 @@ export default {
this.getList();
},
methods: {
handleExport(){
this.download1(
'mes/pro/taskWorkunit/list/export',
{
...this.queryParams,
},
`taskWorkunit_${new Date().getTime()}.xlsx`
);
},
/** 查询物料编码列表 */
getList() {
this.loading = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment