mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
up
This commit is contained in:
@@ -165,7 +165,7 @@
|
||||
/>
|
||||
</template>
|
||||
</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">
|
||||
<el-tag :type="getTagType(scope.row)">{{scope.row.orderStatusDescribe}}</el-tag>
|
||||
</template>
|
||||
@@ -322,7 +322,7 @@ export default {
|
||||
getTagType(row) {
|
||||
// console.log(this.dict.type.order_status,'订单描述')
|
||||
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
|
||||
// for (let i = 0; i < this.dict.type.order_status.length; i++) {
|
||||
// let orderStatus = this.dict.type.order_status[i];
|
||||
|
||||
Reference in New Issue
Block a user