退料3
This commit is contained in:
parent
4ea4c1f81b
commit
20568326b4
|
|
@ -500,8 +500,8 @@ export default {
|
|||
this.$tab.closeOpenPage({
|
||||
path:'/claimAndRefund/return/returnApplyAdd',
|
||||
query:{
|
||||
taskId:row.taskId,
|
||||
isEdit:true
|
||||
Id:row.id,
|
||||
isEdit:true,
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
|||
|
|
@ -421,8 +421,8 @@ export default {
|
|||
// this.getList();
|
||||
// console.log('this.$route.query.isEdit', this.$route.query.isEdit)
|
||||
this.isEdit = this.$route.query.isEdit;
|
||||
if (this.$route.query.taskId) {
|
||||
this.getViewByApply(this.$route.query.taskId)
|
||||
if (this.$route.query.Id) {
|
||||
this.getViewByApply(this.$route.query.Id)
|
||||
}
|
||||
getInfo().then(res => {
|
||||
this.companyId = res.user.companyId
|
||||
|
|
@ -488,8 +488,8 @@ export default {
|
|||
},
|
||||
|
||||
// 获取 任务详情数据
|
||||
async getViewByApply(taskId) {
|
||||
const res = await getViewByApply({ taskId })
|
||||
async getViewByApply(Id) {
|
||||
const res = await getViewByApply({ id:Id })
|
||||
const data = res.rows[0]
|
||||
this.queryParams.unitId = data.unitId
|
||||
this.queryParams.proId = data.projectId
|
||||
|
|
|
|||
Loading…
Reference in New Issue