SZX-1091 修改删除显示控制和placehold显示

This commit is contained in:
sunhonglai
2025-04-28 13:51:17 +08:00
parent 7551d8ad6d
commit e9af9a5349

View File

@@ -139,7 +139,7 @@
<!-- <a-button :disabled="record.status==='A20' || record.status==='A30'||record.status==='S20' ?true :false" type="link" @click="() => handleOperate(record, String(record.courseform))">提交</a-button> -->
<!-- <a-button type="link" @click="handleOperate(record)">撤回</a-button> -->
<a-button type="link"
v-if="(record.status == 0 || record.status == 4 || record.status == 5 || record.createFrom!=0) && checkMenu('lecturerExpenseDel')"
v-if="(record.status == 0 || record.status == 4 || record.status == 5) && record.createFrom!=0 && checkMenu('lecturerExpenseDel')"
@click="deleteModal(record)">删除</a-button>
</a-space>
</template>
@@ -332,7 +332,7 @@
</template>
<a-date-picker :disabled="formParam.createFrom == 0" :locale="locale" class="draitem"
v-model:value="teachingDate" style="width:100%" :show-time="{ format: 'HH:mm' }"
format="YYYY-MM-DD HH:mm" valueFormat="YYYY-MM-DD HH:mm" placeholder="formParam.courseType == 2 ? '请选择课程日期' : '请选择授课/开发日期'"
format="YYYY-MM-DD HH:mm" valueFormat="YYYY-MM-DD HH:mm" :placeholder="formParam.courseType == 2 ? '请选择课程日期' : '请选择授课/开发日期'"
@select="handleSelect" />
</a-form-item>
</a-col>
@@ -347,7 +347,7 @@
{{ formParam.courseType == 2 ? '课程时长' : '授课/开发时长' }}
</template>
<a-input :disabled="formParam.createFrom === 0" v-model:value="formParam.teachingTime" style="width:100%; height: 40px; border-radius: 8px; "
@change="clearNonNumber" placeholder="formParam.courseType == 2 ? '请输入课程时长分钟数' : '请输入授课/开发分钟数'" allowClear showSearch suffix="分钟">
@change="clearNonNumber" :placeholder="formParam.courseType == 2 ? '请输入课程时长分钟数' : '请输入授课/开发分钟数'" allowClear showSearch suffix="分钟">
</a-input>
<!-- <span style="margin-left: 5px ;" v-if="formParam.teachingTime != null">{{
(formParam.teachingTime / 60).toFixed(2) }}小时</span>