Kaynağa Gözat

fix:交接单负责人修改判断

ly 10 ay önce
ebeveyn
işleme
393bf4922e

+ 1 - 1
src/views/business/production/onceWork/index.vue

@@ -219,7 +219,7 @@
             >{{resultLable(scope.row)}}</el-button>
             <el-button v-if="(scope.row.record !== null || scope.row.record.status!==3) && scope.row.record.handlerId  ===  useUserStore().user.userId"  link type="primary" icon="Edit" size="small" style="margin: 0"
                        @click="viewResult(scope.row,false)" />
-            <el-button v-hasPermi="['business:production:onceWork:perEdit']"  link type="primary" icon="Edit" size="small" style="margin: 0"
+            <el-button v-if="scope.row.record !== null || scope.row.record.status === 3" v-hasPermi="['business:production:onceWork:perEdit']"  link type="primary" icon="Edit" size="small" style="margin: 0"
                        @click="viewResult(scope.row,false)" />
           </div>