优化代码

This commit is contained in:
duan
2024-06-26 09:09:51 +08:00
parent d51dd3382d
commit 14bf3f4ac8
3 changed files with 14 additions and 11 deletions

View File

@@ -142,7 +142,7 @@
</div>
</div>
</div>
<div class="foot">退款-{{ item.refundAmount }}</div>
<div class="foot">退款-{{ item.orderAmount }}</div>
</div>
</div>
</el-tab-pane>

View File

@@ -123,10 +123,8 @@
{{ item.productName }}
<span
class="refund"
v-if="
item.status == 'refunding' || item.status == 'refund'
"
>(退 - {{ item.num }})</span
v-if="item.refundNumber"
>(退 - {{ item.refundNumber }})</span
>
</div>
<div class="sku">{{ item.productSkuName }}</div>
@@ -140,13 +138,13 @@
<div>{{ scope.row.orderType | orderTypeFilter }}</div>
<div
class="refund"
v-if="
scope.row.status == 'refunding' || scope.row.status == 'refund'
v-if="
scope.row.orderType == 'return'
"
>
退款:-¥{{ scope.row.refundAmount }}
退款:-¥{{ scope.row.orderAmount }}
</div>
<div>¥{{ scope.row.orderAmount }}</div>
<div v-else>¥{{ scope.row.orderAmount }}</div>
</template>
</el-table-column>
<el-table-column label="状态">