新购验收编辑

This commit is contained in:
bb_pan 2025-07-29 18:04:00 +08:00
parent fda2238a9c
commit 1edf7f2a0a
3 changed files with 1372 additions and 2 deletions

File diff suppressed because it is too large Load Diff

View File

@ -92,7 +92,7 @@
<!-- </template>--> <!-- </template>-->
</el-table-column> </el-table-column>
<el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/> <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true"/>
<el-table-column label="操作" align="center" width="200" fixed="right"> <el-table-column label="操作" align="center" width="230" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button <el-button
size="mini" size="mini"
@ -100,6 +100,13 @@
> >
查看 查看
</el-button> </el-button>
<el-button
size="mini"
type="primary"
@click="handleEdit(scope.row)"
>
编辑
</el-button>
<el-button <el-button
size="mini" size="mini"
type="primary" v-if="scope.row.taskStatusName == '未完成' && deptName.includes(signLevelDeptMap[scope.row.signLevel])" type="primary" v-if="scope.row.taskStatusName == '未完成' && deptName.includes(signLevelDeptMap[scope.row.signLevel])"
@ -357,6 +364,13 @@
query, query,
}) })
}, },
//
handleEdit(row) {
this.$router.push({
path: '/purchase/editTools',
query: { taskId: row.taskId, id: row.id }
})
},
// //
acceptancePurchase(){ acceptancePurchase(){
let param={ let param={

View File

@ -1186,7 +1186,7 @@ export default {
}else{ }else{
this.rowData.bmFileInfos.push(obj) this.rowData.bmFileInfos.push(obj)
} }
uploadPurchaseFile(param).then((response) => { uploadPurchaseFile(obj).then((response) => {
this.$modal.msgSuccess('上传成功') this.$modal.msgSuccess('上传成功')
}).catch(() => { }).catch(() => {