00453b87 by yangjianbin

init

1 parent 8f429344
......@@ -185,7 +185,26 @@
title: '确认到账',
icon: 3
}, function(){
layer.msg('通过');
$.ajax({
type:'patch',
url:apiBaseUrl + 'manage/financial/confirm/' + id,
cache: false,
dataType:'json',
contentType: "application/json; charset=UTF-8",
success:function(data){
if(data.msg){
layer.alert(data.msg);
} else if(data.code != 0){
layer.alert('请求失败');
} else {
layer.msg('通过');
}
},
error:function(){
layer.alert("请求失败")
}
})
});
}
</script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!