Browse Source

注释无需显示项

wanghao 4 months ago
parent
commit
282271c9e2

+ 8 - 8
src/views/pro-steps/components/operates.vue

@@ -65,14 +65,14 @@ const setIndex = (index: number) => {
 };
 
 const stepComponents = ref([
-  {
-    compentName: "叫料",
-    compentType: "jiaoliao",
-  },
-  {
-    compentName: "物料流转",
-    compentType: "liuzhuan",
-  },
+  // {
+  //   compentName: "叫料",
+  //   compentType: "jiaoliao",
+  // },
+  // {
+  //   compentName: "物料流转",
+  //   compentType: "liuzhuan",
+  // },
   {
     compentName: "检验",
     compentType: "jianyan",

+ 7 - 9
src/views/process/components/operate.vue

@@ -2,20 +2,18 @@
   <div class="commonTitle">操作</div>
   <div class="body">
     <ScanCode />
-    <div class="btnBox">
+    <!-- <div class="btnBox">
       <el-button class="btn el-button-big" color="#0A59F7" round @click="call">
         <span class="btnText">叫料</span>
       </el-button>
-    </div>
+    </div> -->
     <template v-for="(item, index) in operationObjs" :key="index">
       <Transition>
         <div
           v-if="
-            index == 1
-              ? selectSeqArray.length > 0 && selectSeqIndex > -1
+          selectSeqArray.length > 0 && selectSeqIndex > -1
                 ? true
                 : false
-              : true
           "
           class="operateBox"
           @click="handleClick(item)"
@@ -40,10 +38,10 @@ import OperatePop from "../popUpView/operatePop.vue";
 
 const store = useProcessStore();
 const operationObjs: { icon?: string; text: string; num?: number }[] = [
-  {
-    icon: "liuzhuan",
-    text: "物料流转",
-  },
+  // {
+  //   icon: "liuzhuan",
+  //   text: "物料流转",
+  // },
   {
     icon: "shengchanlvli",
     text: "生产履历",