This commit is contained in:
parent
f1ccc8f38e
commit
9332731680
|
|
@ -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="请选择"
|
||||
>
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
},
|
||||
|
||||
/** 导出按钮操作 */
|
||||
|
|
|
|||
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue