Commit 91e9e678 authored by tianhongyang's avatar tianhongyang

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys...

Merge branch 'V20231129-中建一局二公司' of http://192.168.60.201/root/dsk-operate-sys into V20231129-中建一局二公司
parents 6d3ab99f 6aa0d2e7
......@@ -83,12 +83,11 @@ public class CbSummaryServiceImpl extends ServiceImpl<CbSummaryMapper, CbSummary
// cbProjectFileMapper.removeById(cbProjectFile.getId());
// } else {
try {
if (cbProjectFile.getFileName().contains("项目")) {
if (cbProjectFile.getFileName().equals("成本汇总项目结构汇总")) {
saveCbSummaryProject(projectId, cbProjectFile);
} else if (cbProjectFile.getFileName().contains("成本科目")) {
} else if (cbProjectFile.getFileName().equals("成本汇总按成本科目")) {
saveCbSummaryCostAccount(projectId, cbProjectFile);
} else {
throw new ServiceException("文件名错误");
}
} catch (Exception e) {
......
......@@ -245,8 +245,8 @@ export default {
return '';
},
handleDialogVisible(row){
this.ruleForm={}
this.dialogVisible=true;
console.log(row)
this.detailsId=row.id;
},
handleAdd(){
......@@ -254,7 +254,11 @@ export default {
this.ruleForm.qingId = this.detailsId
cbDirectExpenseAdd(JSON.stringify(this.ruleForm)).then(res=>{
if(res.code == 200){
this.dialogVisible = false
this.dialogVisible = false;
this.$message({
type: 'success',
message: '操作成功'
});
this.getCbDirectExpenseList(this.menuId)
}
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment