diff --git a/src/views/modules/pms/blenderOrder/config.js b/src/views/modules/pms/blenderOrder/config.js index 08d0d18..941ea1c 100644 --- a/src/views/modules/pms/blenderOrder/config.js +++ b/src/views/modules/pms/blenderOrder/config.js @@ -305,7 +305,13 @@ export default function () { return { dialogConfigs, tableConfig: { - table: null, // 此处可省略,el-table 上的配置项 + table: { + "cell-class-name": ({ row, column, rowIndex, columnIndex }) => { + if ("statusDictValue" in row && row.statusDictValue == "2") { + return "cell-in-production"; + } + }, + }, column: tableProps, // el-column-item 上的配置项 }, headFormConfigs: { diff --git a/src/views/modules/pms/blenderOrder/index.vue b/src/views/modules/pms/blenderOrder/index.vue index de8ab96..83d9b95 100644 --- a/src/views/modules/pms/blenderOrder/index.vue +++ b/src/views/modules/pms/blenderOrder/index.vue @@ -1,5 +1,6 @@