e064a6fb by wang

init

1 parent 39bdc4ed
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
3 <body> 3 <body>
4 <div class="panel panel-default mb-20"> 4 <div class="panel panel-default mb-20">
5 <form> 5 <form>
6 <input type="hidden" name="source" value="1"> 6 <!-- <input type="hidden" name="source" value="1">-->
7 <div class="panel-body cl"> 7 <div class="panel-body cl">
8 <div class="row cl"> 8 <div class="row cl">
9 <input type="hidden" name="id" value="<?=$id?>"> 9 <input type="hidden" name="id" value="<?=$id?>">
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
176 function save() { 176 function save() {
177 var data = $("form").serializeJson(); 177 var data = $("form").serializeJson();
178 console.log(data); 178 console.log(data);
179 if(data['source'][1] == 0){ 179 if(data['source'] == 0){
180 layer.alert('自动还款不能编辑'); 180 layer.alert('自动还款不能编辑');
181 return false; 181 return false;
182 } 182 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!