Quellcode durchsuchen

fix:未开始时的权限配置

ly vor 11 Monaten
Ursprung
Commit
63940b3330
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/views/business/production/onceWork/index.vue

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

@@ -214,7 +214,7 @@
                      v-hasPermi="['business:production:onceWork:finished']" @click="finishedHandle(scope.row)">
             完成
           </el-button>
-          <el-button v-if="scope.row.record == null" size="small" type="primary" link
+          <el-button v-if="scope.row.record == null || scope.row.record.status === 0" size="small" type="primary" link
             v-hasPermi="['business:production:onceWork:finished']" @click="finishedHandle2(scope.row)">
             领取
           </el-button>