Commit a293f812 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

Merge branch '0518' into 'jinfa-0518'

0518 See merge request project/jinfa-platform!160
parents c53571f0 cf65ea2f
......@@ -249,7 +249,7 @@ const EditSalesman: React.FC<MemberModalTableProps> = (props) => {
},
]}
>
<Input onChange={() => handleTotal()} placeholder='请输入' disabled={((fields.length > 1 && (fields.length - 1 === _index) && !preview) || preview) ? true : false} />
<Input onChange={() => handleTotal()} placeholder='请输入' disabled={((fields.length >= 1 && (fields.length - 1 === _index) && !preview) || preview) ? true : false} />
</Form.Item>
</Col>
{(fields.length > 1 && !preview) ? (
......
......@@ -33,11 +33,11 @@ const basicInfo: ISchema = {
},
digest: {
type: 'string',
title: getIntl().formatMessage({ id: 'purchaseRequisition.dingdanzhaiyao', defaultMessage: '订单摘要' }),
title: '请购单摘要',
"x-rules": [
{
required: true,
message: getIntl().formatMessage({ id: 'purchaseRequisition.qingshurudingdan', defaultMessage: '请输入订单摘要' })
message: '请输入请购单摘要'
},
{
limitByte: 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