优化--综合查询

This commit is contained in:
bb_pan 2025-04-22 10:38:49 +08:00
parent f50ed92537
commit 83616e7d85
5 changed files with 28 additions and 5 deletions

View File

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

View File

@ -24,7 +24,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="请选择"
>
@ -342,6 +342,8 @@ export default {
this.queryParams.proId = ''
this.resetForm('queryForm')
this.handleQuery()
this.getUnitList()
this.getProList()
},
/** 导出按钮操作 */

View File

@ -677,6 +677,8 @@ export default {
//
openRecords(row) {
this.openRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.getUseMaCodeList()
@ -685,12 +687,16 @@ export default {
//
openUserRecords(row) {
this.openUseRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.typeId= row.typeId
this.getUserRecords()
},
//
openAllRecords(row) {
this.openAllRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.getAllRecords()

View File

@ -660,6 +660,8 @@ export default {
//
openRecords(row) {
this.openRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.getUseMaCodeList()
@ -668,12 +670,16 @@ export default {
//
openUserRecords(row) {
this.openUseRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.typeId= row.typeId
this.getUserRecords()
},
//
openAllRecords(row) {
this.openAllRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.getAllRecords()

View File

@ -663,6 +663,8 @@ export default {
//
openUserRecords(row) {
this.openUseRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.dialogQuery.agreementId= row.agreementId
@ -677,12 +679,13 @@ export default {
},
/** 重置按钮操作 */
resetQuery() {
this.getProList()
this.queryParams.time = []
this.queryParams.unitId = ''
this.queryParams.proId = ''
this.resetForm('queryForm')
this.handleQuery()
this.getProList()
this.getUnitList()
},
/** 导出按钮操作 */
@ -707,6 +710,8 @@ export default {
//
openHisCodeRecords(row) {
this.openHisCodeRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.dialogQuery.unitId= row.unitId
@ -716,6 +721,8 @@ export default {
//
openHisReturnCodeRecords(row) {
this.openHisReturnCodeRecord = true
this.dialogQuery.pageNum = 1
this.dialogQuery.pageSize = 10
this.dialogQuery.maCode = ""
this.dialogQuery.typeId= row.typeId
this.dialogQuery.unitId= row.unitId