提交退库修改字段值
This commit is contained in:
parent
a1d5b2ddc7
commit
b427947bbf
|
|
@ -447,7 +447,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
const res = await getUseTypeTreee(params)
|
const res = await getUseTypeTreee(params)
|
||||||
console.log("resgetUseTypeTreee",res)
|
console.log("resgetUseTypeTreee==========", res)
|
||||||
this.deviceTypeTree = res.data
|
this.deviceTypeTree = res.data
|
||||||
},
|
},
|
||||||
// 获取 协议id
|
// 获取 协议id
|
||||||
|
|
@ -495,7 +495,7 @@ export default {
|
||||||
},
|
},
|
||||||
//生成回显数据
|
//生成回显数据
|
||||||
handelEchoData(item) {
|
handelEchoData(item) {
|
||||||
console.log('item', item);
|
console.log('item======', item);
|
||||||
const template = JSON.parse(JSON.stringify(this.leaseApplyDetailsItem))
|
const template = JSON.parse(JSON.stringify(this.leaseApplyDetailsItem))
|
||||||
template.createBy = item.createBy
|
template.createBy = item.createBy
|
||||||
template.parentId = item.data.parentId
|
template.parentId = item.data.parentId
|
||||||
|
|
@ -508,7 +508,6 @@ export default {
|
||||||
template.remark = item.remark
|
template.remark = item.remark
|
||||||
template.preNum = item.preNum
|
template.preNum = item.preNum
|
||||||
template.status = item.status
|
template.status = item.status
|
||||||
|
|
||||||
return template
|
return template
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
@ -780,16 +779,15 @@ export default {
|
||||||
},
|
},
|
||||||
//// 将数据处理成 表格中需要的数据
|
//// 将数据处理成 表格中需要的数据
|
||||||
handelTableItemData(node) {
|
handelTableItemData(node) {
|
||||||
console.log('node=====1111', node);
|
|
||||||
const template = JSON.parse(JSON.stringify(this.leaseApplyDetailsItem))
|
const template = JSON.parse(JSON.stringify(this.leaseApplyDetailsItem))
|
||||||
template.createBy = this.createBy
|
template.createBy = this.createBy
|
||||||
template.typeId = node.data.typeId
|
template.typeId = node.data.typeId
|
||||||
template.companyId = this.companyId
|
template.companyId = this.companyId
|
||||||
// template.typeId = node.data.id
|
// template.typeId = node.data.id
|
||||||
template.unitCn = node.data.unitName
|
template.unitCn = node.data.unitName
|
||||||
|
template.preNum = node.data.num
|
||||||
template.typeCn = node.pathLabels[2]
|
template.typeCn = node.pathLabels[2]
|
||||||
template.guigeCn = node.pathLabels[3]
|
template.guigeCn = node.pathLabels[3]
|
||||||
console.log('template', template);
|
|
||||||
return template
|
return template
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue