Commit 1d37293e authored by youjie's avatar youjie

no message

parent 4c628a4b
......@@ -646,20 +646,32 @@ export default {
if(!this.checkList||this.checkList.length==0){
return this.$message.error('请选择单据')
}
this.loadingApply = true
let ids = this.checkList.map(x=>{return x.FinanceId})
let msg = {
FrIDs: ids.join(',')
}
this.apipost('Financial_post_SetPlatfromApplyforRecord',msg,res=>{
if(res.data.resultCode==1){
this.getList()
this.loadingApply = false
}else{
this.loadingApply = false
this.$message.error(res.data.message)
}
},err=>{this.loadingApply = false})
this.$confirm(`是否确认标记${msg.FrIDs}`, this.$t('tips.tips'), {
confirmButtonText: this.$t('pub.sureBtn'),
cancelButtonText: this.$t('pub.cancelBtn'),
type: 'warning'
}).then(() => {
this.loadingApply = true
this.apipost('Financial_post_SetPlatfromApplyforRecord',msg,res=>{
if(res.data.resultCode==1){
this.$message.success('标记成功')
this.getList()
this.loadingApply = false
}else{
this.loadingApply = false
this.$message.error(res.data.message)
}
},err=>{this.loadingApply = false})
}).catch(() => {
this.$message({
type: 'info',
message:'取消标记'
});
});
},
Export(){
let msg=this.msg;
......@@ -1049,7 +1061,6 @@ export default {
this.allLoading = true
this.apipost('Financial_post_MergeFinance',this.addMsg,r=>{
if(r.data.resultCode === 1) {
this.$message.success('标记成功')
this.addChuNa = false
// this.saveMsg=[];
this.getList();
......
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