Commit 38514aa6 authored by youjie's avatar youjie

no message

parent 654003f9
......@@ -104,31 +104,23 @@
TargetId: item.ID,
SubjectId: i.SubjectId,
}
this.$q.dialog({
title: '将删除此科目数据',
message: '是否继续?',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
_this.$confirm('此操作将删除此科目数据,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost('Financial_post_DelCostTypeKingdeeRelation',msg, res => {
if(res.data.resultCode == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.data.Message,
position: 'top'
});
this.Success('操作成功')
this.$emit('success');
} else {
}
}, err => {
})
}).onCancel(() => {
}).catch(() => {
});
},
AddR(item){
......
......@@ -104,23 +104,14 @@
TargetId: item.ID,
SubjectId: i.SubjectId,
}
this.$q.dialog({
title: '将删除此科目数据',
message: '是否继续?',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
_this.$confirm('此操作将删除此科目数据,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost('Financial_post_DelCostTypeKingdeeRelation',msg, res => {
if(res.data.resultCode == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.data.Message,
position: 'top'
});
this.Success('操作成功')
this.$emit('success');
} else {
......@@ -128,8 +119,8 @@
}, err => {
})
}).onCancel(() => {
}).catch(() => {
});
},
AddR(item){
......
......@@ -322,31 +322,23 @@
TargetId: item.ID,
SubjectId: i.SubjectId,
}
this.$q.dialog({
title: '将删除此科目数据',
message: '是否继续?',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
this.apipost('Financial_post_DelCostTypeKingdeeRelation',msg, res => {
_this.$confirm('此操作将删除此科目数据,是否继续?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.apipost('Financial_post_DelCostTypeKingdeeRelation',msg, res => {
if(res.data.resultCode == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: res.data.Message,
position: 'top'
});
this.$emit('success');
this.Success('操作成功')
this.$emit('success');
} else {
}
}, err => {
})
}).onCancel(() => {
}
}, err => {
})
}).catch(() => {
});
},
AddR(item){
......
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