|
@@ -351,7 +351,9 @@ const delChangeNode = (row) => {
|
|
|
contractId: contractId.value,
|
|
|
dataId: tableInfo.value.id,
|
|
|
taskId: taskInfo.value.id,
|
|
|
- primaryKeyId: row.primaryKeyId,
|
|
|
+ middleMeterInventoryFormId: '',
|
|
|
+ changeFormId: '',
|
|
|
+ changeNodeId: row.primaryKeyId,
|
|
|
type: 1
|
|
|
})
|
|
|
if (code === 200) {
|
|
@@ -378,13 +380,16 @@ const rowChangeNodeClick = ({ row }) => {
|
|
|
//删除变更申请清单
|
|
|
const tableFormListDel = (row) => {
|
|
|
delMessage(async () => {
|
|
|
+ const { primaryKeyId } = changeNodeItem.value
|
|
|
const { code, msg } = await mainApi.remove({
|
|
|
projectId: projectId.value,
|
|
|
contractId: contractId.value,
|
|
|
dataId: tableInfo.value.id,
|
|
|
taskId: taskInfo.value.id,
|
|
|
- primaryKeyId: row.primaryKeyId,
|
|
|
- type: 1
|
|
|
+ middleMeterInventoryFormId: '',
|
|
|
+ changeFormId: primaryKeyId,
|
|
|
+ changeNodeId: row.primaryKeyId,
|
|
|
+ type: 2
|
|
|
})
|
|
|
if (code === 200) {
|
|
|
window.$message.success('删除成功')
|