优化--综合查询
This commit is contained in:
parent
f50ed92537
commit
83616e7d85
|
|
@ -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()
|
||||
},
|
||||
|
||||
/** 导出按钮操作 */
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
},
|
||||
|
||||
/** 导出按钮操作 */
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue