|
@@ -44,29 +44,29 @@
|
|
</template>
|
|
</template>
|
|
<hc-table :column="tableEditColumn" :datas="tableEditData" is-new is-current-row :index-style="{ width: 60 }" :loading="tableEditLoading" @row-click="hangeRow">
|
|
<hc-table :column="tableEditColumn" :datas="tableEditData" is-new is-current-row :index-style="{ width: 60 }" :loading="tableEditLoading" @row-click="hangeRow">
|
|
<template #periodNumber="{ row }">
|
|
<template #periodNumber="{ row }">
|
|
- <hc-table-input v-model="row.periodNumber" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.citeStatus === 1" />
|
|
|
|
|
|
+ <hc-table-input v-model="row.periodNumber" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.approveStatus !== 0" />
|
|
</template>
|
|
</template>
|
|
<template #payNumber="{ row }">
|
|
<template #payNumber="{ row }">
|
|
<hc-table-input v-model="row.payNumber" is-new :index-style="{ width: 60 }" disabled />
|
|
<hc-table-input v-model="row.payNumber" is-new :index-style="{ width: 60 }" disabled />
|
|
</template>
|
|
</template>
|
|
<template #periodName="{ row }">
|
|
<template #periodName="{ row }">
|
|
- <hc-table-input v-model="row.periodName" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.citeStatus === 1" />
|
|
|
|
|
|
+ <hc-table-input v-model="row.periodName" is-new :index-style="{ width: 60 }" :disabled="row.isLock === 1 || row?.approveStatus !== 0" />
|
|
</template>
|
|
</template>
|
|
<template #periodYear="{ row }">
|
|
<template #periodYear="{ row }">
|
|
- <el-select v-model="row.periodYear" placeholder="选择年份" filterable block :disabled="row.isLock === 1 || row?.citeStatus === 1">
|
|
|
|
|
|
+ <el-select v-model="row.periodYear" placeholder="选择年份" filterable block :disabled="row.isLock === 1 || row?.approveStatus !== 0">
|
|
<el-option v-for="item in yearData" :key="item" :label="item" :value="item" />
|
|
<el-option v-for="item in yearData" :key="item" :label="item" :value="item" />
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
<template #periodMonth="{ row }">
|
|
<template #periodMonth="{ row }">
|
|
- <el-select v-model="row.periodMonth" placeholder="选择月份" filterable block :disabled="row.isLock === 1 || row?.citeStatus === 1">
|
|
|
|
|
|
+ <el-select v-model="row.periodMonth" placeholder="选择月份" filterable block :disabled="row.isLock === 1 || row?.approveStatus !== 0">
|
|
<el-option v-for="item in monthData" :key="item" :label="item" :value="item" />
|
|
<el-option v-for="item in monthData" :key="item" :label="item" :value="item" />
|
|
</el-select>
|
|
</el-select>
|
|
</template>
|
|
</template>
|
|
<template #coverDate="{ row }">
|
|
<template #coverDate="{ row }">
|
|
- <el-date-picker v-model="row.coverDate" class="block" format="YYYY-MM-DD" type="date" value-format="YYYY-MM-DD" :disabled="row.isLock === 1" />
|
|
|
|
|
|
+ <el-date-picker v-model="row.coverDate" class="block" format="YYYY-MM-DD" type="date" value-format="YYYY-MM-DD" :disabled="row.isLock === 1 || row?.approveStatus !== 0" />
|
|
</template>
|
|
</template>
|
|
<template #formPrintDate="{ row }">
|
|
<template #formPrintDate="{ row }">
|
|
- <el-date-picker v-model="row.formPrintDate" class="block" format="YYYY-MM-DD" type="date" value-format="YYYY-MM-DD" :disabled="row.isLock === 1" />
|
|
|
|
|
|
+ <el-date-picker v-model="row.formPrintDate" class="block" format="YYYY-MM-DD" type="date" value-format="YYYY-MM-DD" :disabled="row.isLock === 1 || row?.approveStatus !== 0" />
|
|
</template>
|
|
</template>
|
|
<template #action="{ row, index }">
|
|
<template #action="{ row, index }">
|
|
<el-button plain size="small" type="danger" :disabled="row?.isLock === 1 || row?.citeStatus === 1 " @click="delRow(row, index)">删除</el-button>
|
|
<el-button plain size="small" type="danger" :disabled="row?.isLock === 1 || row?.citeStatus === 1 " @click="delRow(row, index)">删除</el-button>
|