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