瀏覽代碼

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>