ba2fb9f0 by yangjianbin

init

1 parent a09e7b49
...@@ -118,7 +118,8 @@ ...@@ -118,7 +118,8 @@
118 contentType: "application/json; charset=UTF-8", 118 contentType: "application/json; charset=UTF-8",
119 success:function(data){ 119 success:function(data){
120 if(data.code != 0){ 120 if(data.code != 0){
121 layer.alert(data.msg ? data.msg : '请求失败'); 121 var msg = data.msg ? data.msg : '请求失败';
122 layer.alert(msg);
122 } else { 123 } else {
123 $('#totalRepay').val(data.data.totalRepay); 124 $('#totalRepay').val(data.data.totalRepay);
124 $('#totalAmount').val(data.data[0].totalAmount); 125 $('#totalAmount').val(data.data[0].totalAmount);
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!