mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-04 01:50:17 +08:00
up
This commit is contained in:
@@ -165,7 +165,7 @@
|
|||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>-->
|
</el-table-column>-->
|
||||||
<el-table-column label="订单状态描述" align="center" prop="orderStatusDescribe" fixed>
|
<el-table-column label="订单状态描述" align="center" prop="orderStatusDescribe" width="100px" fixed>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-tag :type="getTagType(scope.row)">{{scope.row.orderStatusDescribe}}</el-tag>
|
<el-tag :type="getTagType(scope.row)">{{scope.row.orderStatusDescribe}}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -322,7 +322,7 @@ export default {
|
|||||||
getTagType(row) {
|
getTagType(row) {
|
||||||
// console.log(this.dict.type.order_status,'订单描述')
|
// console.log(this.dict.type.order_status,'订单描述')
|
||||||
let arr = this.dict.type.order_status.find( item => item.value === row.orderStatus)
|
let arr = this.dict.type.order_status.find( item => item.value === row.orderStatus)
|
||||||
console.log(arr.raw.listClass)
|
// console.log(arr.raw.listClass,'arr.raw.listClass')
|
||||||
return arr.raw.listClass
|
return arr.raw.listClass
|
||||||
// for (let i = 0; i < this.dict.type.order_status.length; i++) {
|
// for (let i = 0; i < this.dict.type.order_status.length; i++) {
|
||||||
// let orderStatus = this.dict.type.order_status[i];
|
// let orderStatus = this.dict.type.order_status[i];
|
||||||
|
|||||||
Reference in New Issue
Block a user