|
|
@@ -291,7 +291,7 @@
|
|
|
"</td>" +
|
|
|
|
|
|
"<td>" +
|
|
|
- "<input id='workAccountList" + index + "_bills' name='workAccountList[" + index + "].bills' type='text' value='" + (obj.bills === null || obj.bills === undefined ? "" : obj.bills) + "' readonly='readonly' class='form-control number judgment' style='background-color: #f5f5f5;'/>" +
|
|
|
+ "<input id='workAccountList" + index + "_bills' name='workAccountList[" + index + "].bills' type='text' value='" + (obj.bills === null || obj.bills === undefined ? "" : obj.bills) + "' readonly='readonly' class='form-control number' style='background-color: #f5f5f5;'/>" +
|
|
|
"</td>" +
|
|
|
|
|
|
"<td>" +
|
|
|
@@ -2405,7 +2405,7 @@
|
|
|
<!-- 多表头1:费用(元) -->
|
|
|
<th style="width:400px" colspan="4"><font color="red">*</font>费用(元)</th>
|
|
|
<!-- 多表头2:收据张数 -->
|
|
|
- <th style="width:300px" colspan="3"><font color="red">*</font>收据张数</th>
|
|
|
+ <th style="width:300px" colspan="3">收据张数</th>
|
|
|
<th style="width:100px" rowspan="2">出差天数</th>
|
|
|
<th style="width:200px" rowspan="2">内容</th>
|
|
|
<th style="width:200px" rowspan="2">操作</th>
|
|
|
@@ -2419,7 +2419,7 @@
|
|
|
<!-- 收据张数子表头 -->
|
|
|
<th style="width:100px">数电发票</th>
|
|
|
<th style="width:100px">非数电票</th>
|
|
|
- <th style="width:100px"><font color="red">*</font>汇总</th>
|
|
|
+ <th style="width:100px">汇总</th>
|
|
|
</tr>
|
|
|
</thead>
|
|
|
<tbody id="workAccountList">
|
|
|
@@ -2481,7 +2481,7 @@
|
|
|
<input id="workAccountList${index.index}_invoiceBills" onchange="billSum(${index.index})" name="workAccountList[${index.index}].invoiceBills" type="text" value="${workAccount.invoiceBills}" placeholder="非数电票张数" maxlength="5" class="form-control number"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input id="workAccountList${index.index}_bills" name="workAccountList[${index.index}].bills" type="text" value="${workAccount.bills}" readonly="readonly" class="form-control number judgment" style="background-color: #f5f5f5;"/>
|
|
|
+ <input id="workAccountList${index.index}_bills" name="workAccountList[${index.index}].bills" type="text" value="${workAccount.bills}" readonly="readonly" class="form-control number" style="background-color: #f5f5f5;"/>
|
|
|
</td>
|
|
|
|
|
|
<td style="vertical-align: middle; text-align:center;">
|
|
|
@@ -2582,7 +2582,7 @@
|
|
|
<input id="workAccountList{{idx}}_invoiceBills" onchange="billSum({{idx}})" name="workAccountList[{{idx}}].invoiceBills" type="text" value="{{row.invoiceBills}}" placeholder="非数电票张数" maxlength="5" class="form-control number"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input id="workAccountList{{idx}}_bills" name="workAccountList[{{idx}}].bills" type="text" value="{{row.bills}}" readonly="readonly" class="form-control number judgment" style="background-color: #f5f5f5;"/>
|
|
|
+ <input id="workAccountList{{idx}}_bills" name="workAccountList[{{idx}}].bills" type="text" value="{{row.bills}}" readonly="readonly" class="form-control number" style="background-color: #f5f5f5;"/>
|
|
|
</td>
|
|
|
|
|
|
<td style="vertical-align: middle; text-align:center;">
|
|
|
@@ -2888,10 +2888,8 @@
|
|
|
var eInvoice = parseFloat($("#workAccountList" + rowIndex + "_eInvoiceBills").val() || 0);
|
|
|
// 获取非数电票金额
|
|
|
var invoice = parseFloat($("#workAccountList" + rowIndex + "_invoiceBills").val() || 0);
|
|
|
- // 获取数电发票金额
|
|
|
- var subsidyMoney = parseFloat($("#workAccountList" + rowIndex + "_subsidyMoney").val() || 0);
|
|
|
// 计算汇总金额
|
|
|
- var sum = eInvoice + invoice + subsidyMoney;
|
|
|
+ var sum = eInvoice + invoice;
|
|
|
// 设置汇总金额
|
|
|
$("#workAccountList" + rowIndex + "_bills").val(sum);
|
|
|
|