This commit is contained in:
bb_pan 2025-04-22 17:13:13 +08:00
parent f1ccc8f38e
commit 9332731680
3 changed files with 16 additions and 4 deletions

View File

@ -25,7 +25,7 @@
v-model="queryParams.unitId" v-model="queryParams.unitId"
filterable filterable
clearable clearable
@change="GetProData" @change="getProList"
style="width: 240px" style="width: 240px"
placeholder="请选择" placeholder="请选择"
> >
@ -42,7 +42,7 @@
v-model="queryParams.proId" v-model="queryParams.proId"
filterable filterable
clearable clearable
@change="GetUnitData" @change="getUnitList"
style="width: 240px" style="width: 240px"
placeholder="请选择" placeholder="请选择"
> >

View File

@ -25,7 +25,7 @@
v-model="queryParams.unitId" v-model="queryParams.unitId"
filterable filterable
clearable clearable
@change="GetProData" @change="getProList"
style="width: 240px" style="width: 240px"
placeholder="请选择" placeholder="请选择"
> >
@ -42,7 +42,7 @@
v-model="queryParams.proId" v-model="queryParams.proId"
filterable filterable
clearable clearable
@change="GetUnitData" @change="getUnitList"
style="width: 240px" style="width: 240px"
placeholder="请选择" placeholder="请选择"
> >
@ -348,6 +348,8 @@ export default {
this.queryParams.time = [] this.queryParams.time = []
this.resetForm('queryForm') this.resetForm('queryForm')
this.handleQuery() this.handleQuery()
this.getUnitList()
this.getProList()
}, },
/** 导出按钮操作 */ /** 导出按钮操作 */

View File

@ -549,6 +549,7 @@
<div slot="footer" class="dialog-footer" style="text-align: center"> <div slot="footer" class="dialog-footer" style="text-align: center">
<el-button type="primary" @click="print"> </el-button> <el-button type="primary" @click="print"> </el-button>
<el-button @click="handleExportDialog"> </el-button>
<el-button @click="openPrint = false"> </el-button> <el-button @click="openPrint = false"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
@ -921,6 +922,15 @@ export default {
`新购工机具入库_${new Date().getTime()}.xlsx`, `新购工机具入库_${new Date().getTime()}.xlsx`,
) )
}, },
handleExportDialog() {
this.download(
'material/purchaseAccessory/exportWareHousingEntry',
{
taskId: this.query.taskId,
},
`入库单_${new Date().getTime()}.xlsx`,
)
},
}, },
watch: { watch: {