|
@@ -44,18 +44,18 @@
|
|
|
</template>
|
|
|
<hc-table :column="tableEditColumn" :datas="tableEditData" is-new is-current-row :index-style="{ width: 60 }" :loading="tableEditLoading" @row-click="hangeRow">
|
|
|
<template #periodNumber="{ row }">
|
|
|
- <hc-table-input v-model="row.periodNumber" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1" />
|
|
|
+ <hc-table-input v-model="row.periodNumber" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.citeStatus === 1" />
|
|
|
</template>
|
|
|
<template #periodName="{ row }">
|
|
|
- <hc-table-input v-model="row.periodName" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1" />
|
|
|
+ <hc-table-input v-model="row.periodName" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.citeStatus === 1" />
|
|
|
</template>
|
|
|
<template #periodYear="{ row }">
|
|
|
- <el-select v-model="row.periodYear" placeholder="选择年份" filterable block :disabled="row.isLock === 1">
|
|
|
+ <el-select v-model="row.periodYear" placeholder="选择年份" filterable block :disabled="row.isLock === 1 || row?.citeStatus === 1">
|
|
|
<el-option v-for="item in yearData" :key="item" :label="item" :value="item" />
|
|
|
</el-select>
|
|
|
</template>
|
|
|
<template #periodMonth="{ row }">
|
|
|
- <el-select v-model="row.periodMonth" placeholder="选择月份" filterable block :disabled="row.isLock === 1">
|
|
|
+ <el-select v-model="row.periodMonth" placeholder="选择月份" filterable block :disabled="row.isLock === 1 || row?.citeStatus === 1">
|
|
|
<el-option v-for="item in monthData" :key="item" :label="item" :value="item" />
|
|
|
</el-select>
|
|
|
</template>
|