Commit 62c91e1b authored by 黄奎's avatar 黄奎

表格修改

parent e1ec9b93
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<el-popover placement="bottom" title="报价信息" width="400" trigger="hover" <el-popover placement="bottom" title="报价信息" width="400" trigger="hover"
v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]"> v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]">
<template> <template>
<table style="margin-left:3px;padding-top:2px;width:350px;"> <table style="margin-left:3px;padding-top:2px;width:370px;">
<tr> <tr>
<th width="40" style="text-align:center">批次</th> <th width="40" style="text-align:center">批次</th>
<th width="40" style="text-align:center">价格</th> <th width="40" style="text-align:center">价格</th>
......
...@@ -55,43 +55,41 @@ ...@@ -55,43 +55,41 @@
<div :class="stockColor(item,subItem)" <div :class="stockColor(item,subItem)"
:style="subItem.month===item.date&&msg2.DateList.indexOf(subItem.day)!==-1?'border-color: green':''" :style="subItem.month===item.date&&msg2.DateList.indexOf(subItem.day)!==-1?'border-color: green':''"
@click="calendarDayOn(item, subItem)"> @click="calendarDayOn(item, subItem)">
{{subItem.date.getDate()}}<br /> <el-popover placement="bottom" title="报价信息" width="280" trigger="hover"
v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]">
<div class="detailInfo" v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]"> <template>
<div class="triangle_border_up"></div> <table style="margin-left:3px;padding-top:2px;width:270px;">
<div class="popContent"> <tr>
<template v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]"> <th width="50" style="text-align:center">批次</th>
<div class="popList"> <th width="50" style="text-align:center">价格</th>
<table style="margin-left:3px;padding-top:2px;"> <th width="50" style="text-align:center">库存</th>
<tr> <th width="60" style="text-align:center">剩余<br/>库存</th>
<th width="50">批次</th> <th width="50" style="text-align:center">操作</th>
<th width="50">价格</th> </tr>
<th width="50">库存</th> <tr v-for="(childItem,childIndex) in subItem.data.SubList">
<th width="50">剩余库存</th> <td style="text-align:center">
</tr> {{childItem.BatchNumber}}
<tr v-for="(childItem,childIndex) in subItem.data.SubList"> </td>
<td> <td style="text-align:center">
{{childItem.BatchNumber}} {{childItem.CostPrice}}
</td> </td>
<td> <td style="text-align:center">
{{childItem.CostPrice}} {{childItem.Inventory}}
</td> </td>
<td> <td style="text-align:center">
{{childItem.Inventory}} {{childItem.RemainingInventory}}
</td> </td>
<td> <td style="text-align:center">
{{childItem.RemainingInventory}} <a style="text-decoration:underline;cursor:pointer;color:blue;"
</td> @click="goEdit('2', subItem.day,childItem.BatchNumber)">修改</a>
</tr> </td>
</table> </tr>
<input type="button" class="hollowFixedBtn Htupbtn" value="修改" </table>
@click="goEdit('2', subItem.day,subItem.data.SubList[0].BatchNumber)" /> </template>
</div> <span slot="reference" >{{subItem.date.getDate()}}</span>
</template> </el-popover>
</div> <template v-else>
</div> {{subItem.date.getDate()}}
<template v-if="subItem.data&&subItem.data.SubList && subItem.data.SubList[0]">
<span v-if="subItem.data.SubList.length>1"> {{subItem.data.SubList.length}} </span>
</template> </template>
</div> </div>
</div> </div>
......
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