| | |
| | | <div class="detail-box"> |
| | | <div class="platgroup_tabs"> |
| | | <div class="tab" :class="{ active: activeGroup === item.id }" @click="groupClick(item)" |
| | | v-for="(item, i) in groupList" :key="i"> |
| | | v-for="(item, i) in groupList" :key="'tab_'+i"> |
| | | {{ item.name }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <template v-if="activeGroup ==0"> |
| | | <template v-if="activeGroup ===0"> |
| | | <div class="detail-box"> |
| | | <div class="header"> |
| | | <div class="header-b">基本信息</div> |
| | |
| | | </TableLayout> |
| | | </div> |
| | | </template> |
| | | <template v-else-if="activeGroup == 1"> |
| | | <template v-if="activeGroup === 1"> |
| | | <div class="detail-box"> |
| | | <el-form ref="searchForm1" :model="searchForm1" style="display: block;" > |
| | | <el-form-item label="" prop="code" style="display: inline-block;margin-right: 30px;"> |
| | |
| | | <el-table-column prop="details" label="商品信息" align="center" min-width="250px" show-overflow-tooltip> |
| | | <template slot-scope="{row}"> |
| | | <div v-if="row.goodsorderDetailList && row.goodsorderDetailList.length" style="width: 220px"> |
| | | <div v-for="(item) in row.goodsorderDetailList" style="display: flex"> |
| | | <div v-for="(item) in row.goodsorderDetailList" :key="'itemdetail_'+item.id" style="display: flex"> |
| | | <div style="flex: 1">【{{item.name}}】</div><div style="flex: 1">销售价:{{item.price||0}} 数量:{{item.goodsNum||0}}</div> |
| | | </div> |
| | | </div> |
| | |
| | | </TableLayout> |
| | | </div> |
| | | </template> |
| | | <template v-else-if="activeGroup == 2"> |
| | | <template v-if="activeGroup === 2"> |
| | | <div class="detail-box"> |
| | | <div class="header"> |
| | | <div class="header-b">积分明细</div> |
| | |
| | | .platgroup_tabs { |
| | | flex: 1; |
| | | display: flex; |
| | | font-size: 15px; |
| | | border-bottom: 1px solid #dfe2e8; |
| | | margin-bottom: 30px; |
| | | .tab { |