| | |
| | | {{ scope.row.counts }} |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="counts" label="金额" align="center"> |
| | | <el-table-column prop="totalAmount" label="金额" align="center"> |
| | | <template slot-scope="scope"> |
| | | {{ scope.row.price * scope.row.counts | formatPrice}} |
| | | {{ scope.row.totalAmount}} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | <img |
| | | v-if="checkImg(src.name)" |
| | | class="v-img" |
| | | :src="src.url" |
| | | :src="getUrl(src.path)" |
| | | :alt="src.name" |
| | | style="width: 100px; height: 100px" |
| | | /> |
| | |
| | | formatTime(time) { |
| | | if (!time) return; |
| | | return DateFormatter.LongToDateTime(time); |
| | | }, |
| | | formatPrice(price) { |
| | | return price / 100 |
| | | } |
| | | }, |
| | | created() { |