| xqd
@@ -85,12 +85,16 @@
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
<td></td>
|
|
|
+ <td></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>姓 名</td>
|
|
|
- <td><input name="bzc_name" value="{{ $table->bzc_name }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td>
|
|
|
+ <input name="bzc_cardid" class="form-control" type="hidden" placeholder="必填项" value=" ">
|
|
|
+ <input name="bzc_name" value="{{ $table->bzc_name }}" class="form-control" type="text" placeholder="">
|
|
|
+ </td>
|
|
|
<td>住 址</td>
|
|
|
- <td colspan="3"><input name="bzc_addr" value="{{ $table->bzc_addr }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="4"><input name="bzc_addr" value="{{ $table->bzc_addr }}" class="form-control" type="text" placeholder=""></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>残疾类别</td>
|
| xqd
@@ -98,7 +102,7 @@
|
|
|
<td>等级</td>
|
|
|
<td><input name="level" value="{{ $table->level }}" class="form-control" type="text" placeholder=""></td>
|
|
|
<td>残疾证号</td>
|
|
|
- <td><input name="canji_num" value="{{ $table->canji_num }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="2"><input name="canji_num" value="{{ $table->canji_num }}" class="form-control" type="text" placeholder=""></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>常住人口</td>
|
| xqd
@@ -106,28 +110,39 @@
|
|
|
<td>残疾人数</td>
|
|
|
<td><input name="canji" value="{{ $table->canji }}" class="form-control" type="text" placeholder=""></td>
|
|
|
<td>联系电话</td>
|
|
|
- <td><input name="bzc_tel" value="{{ $table->bzc_tel }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="2"><input name="bzc_tel" value="{{ $table->bzc_tel }}" class="form-control" type="text" placeholder=""></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>家庭基本情况</td>
|
|
|
- <td colspan="5"><textarea name="home_thing" style="width: 90%;height: 250px;">{{ $table->home_thing }}</textarea></td>
|
|
|
+ <td colspan="6"><textarea name="home_thing" style="width: 90%;height: 250px;">{{ $table->home_thing }}</textarea></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td rowspan="4">征收补贴核算</td>
|
|
|
+ <td rowspan="5">征收补贴核算</td>
|
|
|
<td>残疾人补贴</td>
|
|
|
- <td colspan="4"><input name="canbu" value="{{ $table->canbu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="5"><input name="canbu" value="{{ $table->canbu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ </tr>
|
|
|
+ <tr>
|
|
|
+ <td rowspan="2">临时安置补贴</td>
|
|
|
+ <td>面积</td>
|
|
|
+ <td>单价</td>
|
|
|
+ <td>月数</td>
|
|
|
+ <td>50%</td>
|
|
|
+ <td rowspan="2"><input name="linshibu" value="{{ $table->linshibu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
- <td>临时安置补贴</td>
|
|
|
- <td colspan="4"><input name="linshibu" value="{{ $table->linshibu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td><input name="linshibu_a" class="form-control" type="text" value="{{ $table->linshibu_a }}"></td>
|
|
|
+ <td><input name="linshibu_d" class="form-control" type="text" value="{{ $table->linshibu_d }}"></td>
|
|
|
+ <td><input name="linshibu_m" class="form-control" type="text" value="{{ $table->linshibu_m }}"></td>
|
|
|
+ <td><input name="linshibu_b" class="form-control" type="text" value="{{ $table->linshibu_b }}"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>搬迁补贴</td>
|
|
|
- <td colspan="4"><input name="banqianbu" value="{{ $table->banqianbu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="5"><input name="banqianbu" value="{{ $table->banqianbu }}" class="form-control" type="text" placeholder=""></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>合计</td>
|
|
|
- <td colspan="4"><input name="total" value="{{ $table->total }}" class="form-control" type="text" placeholder=""></td>
|
|
|
+ <td colspan="3"><input disabled name="total" id="total2" class="form-control" type="text"></td>
|
|
|
+ <td colspan="2"><input name="total" id="total1" value="{{ $table->total }}"class="form-control" type="text"></td>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td>发证单位审核意见</td>
|
| xqd
@@ -139,14 +154,9 @@
|
|
|
</tr>
|
|
|
</tbody>
|
|
|
</table>
|
|
|
- <div class="row">
|
|
|
- <div class="col-sm-4">核算:<input disabled value="{{ $table->hesuan }}" style="display: inline" class="form-control" type="text" placeholder=""></div>
|
|
|
- <div class="col-sm-4">初审:<input disabled value="{{ $table->chushen }}" style="display: inline" class="form-control" type="text" placeholder=""></div>
|
|
|
- <div class="col-sm-4">监审:<input disabled value="{{ $table->jianshen }}" style="display: inline" class="form-control" type="text" placeholder=""></div>
|
|
|
- </div>
|
|
|
<div class="row">
|
|
|
<div class="col-sm-4">复核:<input disabled value="{{ $table->fuhe }}" style="display: inline" class="form-control" type="text" placeholder=""></div>
|
|
|
- <div class="col-sm-8">提交说明:<textarea disabled name="sub_description">{{ $table->sub_description }}</textarea></div>
|
|
|
+ <div class="col-sm-8">提交说明 : <label id="sub_description">{{ $table->sub_description }}</label></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
| xqd
@@ -198,6 +208,32 @@
|
|
|
|
|
|
</form>
|
|
|
<script type="text/javascript">
|
|
|
+
|
|
|
+ $(function(){
|
|
|
+ var num = $('#total1').val();
|
|
|
+ var AA = new Array("零", "壹", "贰", "叁", "肆", "伍", "陆", "柒", "捌", "玖");
|
|
|
+ var BB = new Array("", "拾", "佰", "仟", "萬", "億", "点", "");
|
|
|
+ var a = ("" + num).replace(/(^0*)/g, "").split("."), k = 0, re = "";
|
|
|
+ for (var i = a[0].length - 1; i >= 0; i--) {
|
|
|
+ switch (k) {
|
|
|
+ case 0: re = BB[7] + re; break;
|
|
|
+ case 4: if (!new RegExp("0{4}\\d{" + (a[0].length - i - 1) + "}$").test(a[0]))
|
|
|
+ re = BB[4] + re; break;
|
|
|
+ case 8: re = BB[5] + re; BB[7] = BB[5]; k = 0; break;
|
|
|
+ }
|
|
|
+ if (k % 4 == 2 && a[0].charAt(i + 2) != 0 && a[0].charAt(i + 1) == 0) re = AA[0] + re;
|
|
|
+ if (a[0].charAt(i) != 0) re = AA[a[0].charAt(i)] + BB[k % 4] + re; k++;
|
|
|
+ }
|
|
|
+
|
|
|
+ if (a.length > 1) //加上小数部分(如果有小数部分)
|
|
|
+ {
|
|
|
+ re += BB[6];
|
|
|
+ for (var i = 0; i < a[1].length; i++) re += AA[a[1].charAt(i)];
|
|
|
+ }
|
|
|
+
|
|
|
+ $('#total2').val(re);
|
|
|
+ });
|
|
|
+
|
|
|
$('#sub').click(function(){
|
|
|
$('#fazheng_time').val( $('#fazheng_time').val().replace(/-/g,''));
|
|
|
$('#zc_time').val( $('#zc_time').val().replace(/-/g,''));
|