mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-09 02:46:45 +08:00
时间禁用
This commit is contained in:
@@ -170,6 +170,7 @@
|
||||
@select="onDateEnd"
|
||||
:open="openEnd"
|
||||
@ok="onOkEnd"
|
||||
:disabled-date="disabledDate"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -906,8 +907,7 @@ function openDrawer(row) {
|
||||
nextTick(tableRef.value.fetch);
|
||||
}
|
||||
|
||||
const disabledDate = (current) => current && current < dayjs().startOf("day");
|
||||
|
||||
const disabledDate = (current) => current && current < dayjs(dateTime.value[0]);
|
||||
// 删除文件返回参数
|
||||
const changevalue = (e) => {
|
||||
let arr = formData.value.attach.split(",");
|
||||
|
||||
@@ -984,6 +984,7 @@
|
||||
@select="onDateEnd"
|
||||
:open="openEnd"
|
||||
@ok="onOkEnd"
|
||||
:disabled-date="disabledDate"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
@@ -5066,10 +5067,7 @@ function onFocusEnd(){
|
||||
console.log("执行");
|
||||
getTableDate();
|
||||
};
|
||||
const disabledDate = (current) => {
|
||||
// Can not select days before today and today
|
||||
return current && current < dayjs().startOf("day");
|
||||
};
|
||||
const disabledDate = (current) => current && current < dayjs(state.xjkkinputV3[0]);
|
||||
|
||||
const disabledDateTime = () => {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user