|
@@ -142,8 +142,14 @@ export default {
|
|
|
methods:{
|
|
methods:{
|
|
|
changRed({ row }) {
|
|
changRed({ row }) {
|
|
|
if (row.frPrice == 0) { // 变颜色的条件
|
|
if (row.frPrice == 0) { // 变颜色的条件
|
|
|
- return {
|
|
|
|
|
- color: "red" // 这个return的就是样式 可以是color 也可以是backgroundColor
|
|
|
|
|
|
|
+ if(row.isChangeColor){
|
|
|
|
|
+ return {
|
|
|
|
|
+ color: "#ff9c02" // 这个return的就是样式 可以是color 也可以是backgroundColor
|
|
|
|
|
+ }
|
|
|
|
|
+ }else{
|
|
|
|
|
+ return {
|
|
|
|
|
+ color: "red" // 这个return的就是样式 可以是color 也可以是backgroundColor
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|