Просмотр исходного кода

traceability生产履历统计数量更改

qinhb 1 год назад
Родитель
Сommit
8aa8f85a7a

+ 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="已采物料">