ソースを参照

fix:未开始时的权限配置

ly 11 ヶ月 前
コミット
63940b3330
1 ファイル変更1 行追加1 行削除
  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>