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

View File

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

View File

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