|
@@ -18,14 +18,14 @@
|
|
|
<el-table-column label="商品名称" prop="title"></el-table-column>
|
|
|
<el-table-column label="价格" prop="totalFee"></el-table-column>
|
|
|
<el-table-column label="创建时间" prop="createTime"></el-table-column>
|
|
|
- <el-table-column label="支付状态" align="center">
|
|
|
+ <el-table-column label="支付状态" align="center" width="150">
|
|
|
<template slot-scope="scope">
|
|
|
<span :class="scope.row.orderStatus === '未支付'?'color-warning':'color-success'">
|
|
|
{{scope.row.orderStatus}}
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="订单状态">
|
|
|
+ <el-table-column label="订单状态" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="hui-state" v-if="!scope.row.status">
|
|
|
<div class="hui-state-bage hui-state-info"></div>
|
|
@@ -33,7 +33,7 @@
|
|
|
</div>
|
|
|
<div class="hui-state" v-else-if="scope.row.status === 1">
|
|
|
<div class="hui-state-bage hui-state-waiting"></div>
|
|
|
- <div class="hui-state-label">过程进行中</div>
|
|
|
+ <div class="hui-state-label">进行中</div>
|
|
|
</div>
|
|
|
<div class="hui-state" v-else-if="scope.row.status === 2">
|
|
|
<div class="hui-state-bage hui-state-success"></div>
|
|
@@ -41,7 +41,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="订单发票" align="center" v-if="nowTitle.id === 1">
|
|
|
+ <el-table-column label="订单发票" align="center" v-if="nowTitle.id === 1" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="hui-table-operation">
|
|
|
<span v-if="nowTitle.id === 1 && scope.row.orderStatus === '支付成功'">
|
|
@@ -50,14 +50,15 @@
|
|
|
开具发票
|
|
|
</span>
|
|
|
<span class="color-warning" v-else-if="!scope.row.invoice.state">开具中</span>
|
|
|
- <span class="color-success" v-else @click="lookOrder(scope.row,2)">
|
|
|
+ <span class="color-success" style="cursor: pointer;" v-else
|
|
|
+ @click="lookOrder(scope.row,2)">
|
|
|
查看发票
|
|
|
</span>
|
|
|
</span>
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="操作" width="150">
|
|
|
+ <el-table-column label="操作" align="center" width="100">
|
|
|
<template slot-scope="scope">
|
|
|
<div class="hui-table-operation">
|
|
|
<span class="table-operation" v-permission="'/work/property/change/detail'"
|
|
@@ -184,7 +185,7 @@
|
|
|
},
|
|
|
lookOrder(data, type) {
|
|
|
this.type = type;
|
|
|
- this.detailId = data.orderNo;
|
|
|
+ this.detailId = data.invoice.id;
|
|
|
this.drawer = true;
|
|
|
},
|
|
|
applyInvoice(data) {
|