From a4add192450f06f9e4748e6513234510f431b21e Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 16 十一月 2023 10:56:21 +0800
Subject: [PATCH] modified: src/views/basic/log/index.vue modified: src/views/plan/manufacturingorder/index.vue modified: src/views/plan/masterproductionschedule/index.vue modified: src/views/plan/mpsrequirements/index.vue modified: src/views/plan/operationtask/index.vue modified: src/views/plan/outsourcingorder/index.vue modified: src/views/quality/report/index.vue
---
src/views/common/ztt-table.vue | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/views/common/ztt-table.vue b/src/views/common/ztt-table.vue
index 209e67a..54ffcda 100644
--- a/src/views/common/ztt-table.vue
+++ b/src/views/common/ztt-table.vue
@@ -327,7 +327,11 @@
<template v-else>
<template v-if="!item.render">
<template v-if="item.formatter">
+ <div v-if="item.isTag" style="margin: 2px;text-align: center;">
+ <el-tag :type="scope.row[item.prop]==0?'success':'info'">{{item.formatter(scope.row, item, scope.row[item.prop])}}</el-tag>
+ </div>
<span
+ v-else
v-html="
item.formatter(scope.row, item, scope.row[item.prop])
"
--
Gitblit v1.9.3