Browse Source

fix:未开始时的权限配置

ly 11 tháng trước cách đây
mục cha
commit
63940b3330
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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>