Răsfoiți Sursa

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

ly 10 luni în urmă
părinte
comite
393bf4922e
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      src/views/business/production/onceWork/index.vue

+ 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>