ysy 1 жил өмнө
parent
commit
0eca6d20bb

+ 1 - 1
src/views/material/BOMmanage/components/replaceMaterialPop.vue

@@ -56,7 +56,7 @@
       </template>
 
       <template v-slot:action="{ row, $index }">
-        <el-link type="danger" @click="handleDel(row, $index)">删除</el-link>
+        <el-link type="danger"  v-if="!isView" @click="handleDel(row, $index)">删除</el-link>
       </template>
     </ele-pro-table>
 

+ 1 - 2
src/views/material/BOMmanage/components/workingProcedure.vue

@@ -338,7 +338,6 @@
                 >替代料</el-link
               >
 
-              
             </template>
             <template v-slot:subCode="{ row }">
               <div v-if="isView">{{ row.subCode }}</div>
@@ -391,7 +390,7 @@
             </template>
 
             <template v-slot:categoryName="{ row, $index }">
-              <div v-if="isView">{{ row.categoryName }}</div>
+              <el-link type="primary" :underline="false" @click="handSubstitution(row)"  v-if="isView" >{{ row.categoryName }}</el-link>
               <div v-else
                 ><el-input
                   :value="row.categoryName"