资产管理ALL
This commit is contained in:
parent
35f2301f7b
commit
939c460d82
@ -18,6 +18,15 @@ export function updatePropertyDealItem(data) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 更新企业管理-资产变动子
|
||||||
|
export function updatePropertyDealItemChange(data) {
|
||||||
|
return request({
|
||||||
|
url: '/company/property-deal-item/updateChange',
|
||||||
|
method: 'put',
|
||||||
|
data: data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
// 删除企业管理-资产处置子
|
// 删除企业管理-资产处置子
|
||||||
export function deletePropertyDealItem(id) {
|
export function deletePropertyDealItem(id) {
|
||||||
return request({
|
return request({
|
||||||
|
@ -277,6 +277,7 @@ export default {
|
|||||||
const property = res.data.property
|
const property = res.data.property
|
||||||
property.dealWay = res.data.dealWay
|
property.dealWay = res.data.dealWay
|
||||||
await this.getOtherList(property.corpId)
|
await this.getOtherList(property.corpId)
|
||||||
|
property.userId = parseInt(property.userId)
|
||||||
this.formData.propList.push(property)
|
this.formData.propList.push(property)
|
||||||
} finally {
|
} finally {
|
||||||
this.formLoading = false
|
this.formLoading = false
|
||||||
@ -310,18 +311,20 @@ export default {
|
|||||||
const data = this.formData
|
const data = this.formData
|
||||||
// 修改的提交
|
// 修改的提交
|
||||||
if (data.id) {
|
if (data.id) {
|
||||||
// TODO 修改方法待适配
|
const newData = {
|
||||||
// const newData = {
|
id: data.id,
|
||||||
// id: data.id,
|
dealWay: data.propList[0].dealWay,
|
||||||
// dealWay: data.propList[0].dealWay,
|
dealId: data.dealId,
|
||||||
// dealId: data.dealId,
|
propertyId: data.propList[0].id,
|
||||||
// propertyId: data.propList[0].id,
|
remark: data.propList[0].remark,
|
||||||
// remark: data.propList[0].remark
|
corpId: data.propList[0].corpId,
|
||||||
// }
|
userId: data.propList[0].userId,
|
||||||
// await PropertyDealItemApi.updatePropertyDealItem(newData)
|
posId: data.propList[0].posId,
|
||||||
// this.$modal.msgSuccess('修改成功')
|
}
|
||||||
// this.dialogVisible = false
|
await PropertyDealItemApi.updatePropertyDealItemChange(newData)
|
||||||
// this.$emit('success')
|
this.$modal.msgSuccess('修改成功')
|
||||||
|
this.dialogVisible = false
|
||||||
|
this.$emit('success')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
// 添加的提交
|
// 添加的提交
|
||||||
|
@ -78,6 +78,11 @@
|
|||||||
{{ StaffName(row.userId) }}
|
{{ StaffName(row.userId) }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
<el-table-column label="取得方式" align="center" prop="dealWay" width="150px">
|
||||||
|
<template v-slot="scope">
|
||||||
|
<dict-tag :type="DICT_TYPE.PROPERTY_GET_WAY" :value="scope.row.dealWay"/>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
<el-table-column label="备注" align="center" prop="remark" width="180"/>
|
<el-table-column label="备注" align="center" prop="remark" width="180"/>
|
||||||
<el-table-column fixed="right" label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
<el-table-column fixed="right" label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
|
Loading…
Reference in New Issue
Block a user