00453b87 by yangjianbin

init

1 parent 8f429344
...@@ -185,7 +185,26 @@ ...@@ -185,7 +185,26 @@
185 title: '确认到账', 185 title: '确认到账',
186 icon: 3 186 icon: 3
187 }, function(){ 187 }, function(){
188 layer.msg('通过'); 188 $.ajax({
189 type:'patch',
190 url:apiBaseUrl + 'manage/financial/confirm/' + id,
191 cache: false,
192 dataType:'json',
193 contentType: "application/json; charset=UTF-8",
194 success:function(data){
195 if(data.msg){
196 layer.alert(data.msg);
197 } else if(data.code != 0){
198 layer.alert('请求失败');
199 } else {
200 layer.msg('通过');
201 }
202 },
203 error:function(){
204 layer.alert("请求失败")
205 }
206 })
207
189 }); 208 });
190 } 209 }
191 </script> 210 </script>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!