Commit ebdda538 authored by zhengke's avatar zhengke

修改

parent df5351bb
...@@ -56,11 +56,12 @@ ...@@ -56,11 +56,12 @@
<th>金额</th> <th>金额</th>
<th>小计</th> <th>小计</th>
</tr> </tr>
<tr v-for="(childItem,childIndex) in subItem.SubList"> <template v-for="(childItem,childIndex) in subItem.SubList">
<tr>
<td width="10%"> <td width="10%">
{{childIndex+1}} {{childIndex+1}}
</td> </td>
<td width="20%" :rowspan="subItem.SubList.length" v-if="childIndex==0"> <td width="20%" :rowspan="subItem.SubList.length+1" v-if="childIndex==0">
{{subItem.OutBranchName}} {{subItem.OutBranchName}}
</td> </td>
<td width="30%"> <td width="30%">
...@@ -77,8 +78,7 @@ ...@@ -77,8 +78,7 @@
<td width="10%" :rowspan="subItem.SubList.length+1" v-if="childIndex==0">{{dataList.UnitPrice}}</td> <td width="10%" :rowspan="subItem.SubList.length+1" v-if="childIndex==0">{{dataList.UnitPrice}}</td>
<td width="10%">{{childItem.TicketNum*dataList.UnitPrice}}</td> <td width="10%">{{childItem.TicketNum*dataList.UnitPrice}}</td>
</tr> </tr>
<tr v-if="subIndex!=item.TicketList.length-1"> <tr v-if="childIndex==subItem.SubList.length-1">
<td></td>
<td></td> <td></td>
<td style="font-weight:bold;">合计</td> <td style="font-weight:bold;">合计</td>
<td style="color:red;"> <td style="color:red;">
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
{{getCount(subItem.SubList)}} {{getCount(subItem.SubList)}}
</td> </td>
</tr> </tr>
</template>
<tr v-if="subIndex==item.TicketList.length-1"> <tr v-if="subIndex==item.TicketList.length-1">
<td></td> <td></td>
<td></td> <td></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment