diff --git a/src/views/material/lease/apply/component/homeApply.vue b/src/views/material/lease/apply/component/homeApply.vue index d7b42c32..d1b5bf33 100644 --- a/src/views/material/lease/apply/component/homeApply.vue +++ b/src/views/material/lease/apply/component/homeApply.vue @@ -642,7 +642,7 @@ export default { }, //查看验收单 async handlePrint(row) { - const res = await getCheckInfo({ id: row.id }) + const res = await getCheckInfo({ id: row.id, publishTask: row.publishTask }) this.idTemp = row.id this.checkDataInfo = res.data.leaseApplyInfo diff --git a/src/views/material/lease/outBound/index.vue b/src/views/material/lease/outBound/index.vue index 9ce71aa6..910880dc 100644 --- a/src/views/material/lease/outBound/index.vue +++ b/src/views/material/lease/outBound/index.vue @@ -731,7 +731,8 @@ export default { //查看的搜索栏 queryOutView: { pageNum: 1, - pageSize: 10 + pageSize: 10, + keyWord: '' }, outQuery: { pageNum: 1, @@ -850,6 +851,7 @@ export default { const { id, publishTask } = row this.publishTask = publishTask this.title = '查看' + this.queryOutView.keyWord = '' this.showOutView = true this.queryOutView.id = row.id outInfoList(id, { keyWord: this.queryOutView.keyWord, publishTask }).then(response => { @@ -1018,7 +1020,7 @@ export default { }, //查看验收单 async handlePrint(row) { - const res = await getCheckInfo({ id: row.id }) + const res = await getCheckInfo({ id: row.id, publishTask: row.publishTask }) this.idTemp = row.id this.checkDataInfo = res.data.leaseApplyInfo @@ -1053,6 +1055,7 @@ export default { //打开领料单 async handleLld(row) { this.title = '领料单' + this.queryOutView.keyWord = '' this.open = true // var ids = row.id const { id, publishTask } = row