Commit 1d37293e authored by youjie's avatar youjie

no message

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