Преглед на файлове

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>