Commit c0787fb0 authored by danfuman's avatar danfuman

修改

parent 2580619e
...@@ -245,8 +245,8 @@ export default { ...@@ -245,8 +245,8 @@ export default {
return ''; return '';
}, },
handleDialogVisible(row){ handleDialogVisible(row){
this.ruleForm={}
this.dialogVisible=true; this.dialogVisible=true;
console.log(row)
this.detailsId=row.id; this.detailsId=row.id;
}, },
handleAdd(){ handleAdd(){
...@@ -254,7 +254,11 @@ export default { ...@@ -254,7 +254,11 @@ export default {
this.ruleForm.qingId = this.detailsId this.ruleForm.qingId = this.detailsId
cbDirectExpenseAdd(JSON.stringify(this.ruleForm)).then(res=>{ cbDirectExpenseAdd(JSON.stringify(this.ruleForm)).then(res=>{
if(res.code == 200){ if(res.code == 200){
this.dialogVisible = false this.dialogVisible = false;
this.$message({
type: 'success',
message: '操作成功'
});
this.getCbDirectExpenseList(this.menuId) 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