Commit 8a96cebd authored by Bill's avatar Bill

fix: 加工bug

parent a17594d3
File deleted
......@@ -10,6 +10,7 @@
height: 32px;
padding: 0 10px;
margin-bottom: 16px;
overflow: hidden;
.image {
width: 20px;
......@@ -29,5 +30,6 @@
.text {
cursor: pointer;
}
}
import { ISchema } from '@formily/antd';
import React from 'react';
import { Button } from 'antd';
import moment from 'moment';
/**
* 新建生产通知单schema
......@@ -179,6 +180,9 @@ const createSchema: ISchema = {
deliveryDate: {
type: 'date',
title: '交期',
"x-component-props": {
disabledDate: (currentDate) => currentDate && currentDate < moment().endOf('day'),
},
'x-rules': [
{
required: true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment