浏览代码

traceability生产履历统计数量更改

qinhb 1 年之前
父节点
当前提交
8aa8f85a7a
共有 2 个文件被更改,包括 13 次插入3 次删除
  1. 3 3
      src/views/base/craftManagement/route/components/configs.ts
  2. 10 0
      src/views/pro/traceability/index.vue

+ 3 - 3
src/views/base/craftManagement/route/components/configs.ts

@@ -241,12 +241,12 @@ export const comTypes : comType[] = [
 		compentName: "调试配对",
 		compentType: "tiaoshipipei",
 	},
-	{
+	/*{
 		compentName: "铭牌绑定",
 		compentType: "mingpai",
-	},
+	},*/
 	{
 		compentName: "多媒体采集",
 		compentType: "duomeiticaiji",
 	},
-];
+];

+ 10 - 0
src/views/pro/traceability/index.vue

@@ -54,6 +54,16 @@
             v-model="defaultTabName"
           >
             <el-tab-pane name="traceabilityComRef" label="生产履历">
+              <template #label>
+                <span
+                >生产履历
+                  <el-badge
+                      :value="tabCount.traceability"
+                      class="item"
+                      type="primary"
+                  />
+                </span>
+              </template>
               <TraceabilityCom ref="traceabilityComRef" />
             </el-tab-pane>
             <el-tab-pane name="materialsComRef" label="已采物料">