Commit 1ff03345 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏
parents 62d9c85a 5f81110f
......@@ -274,7 +274,7 @@ const FormList = (props: any) => {
dataIndex: 'bidAmount',
key: 'bidAmount',
align: 'center',
render: (text: any, record: any) => <Text>{record.bidAmount}</Text>
render: (text: any, record: any) => <Text>{Number(record.bidAmount).toFixed(2)}</Text>
},
];
......
......@@ -115,7 +115,7 @@ const FormList = (props: any) => {
item.payWay != 3 &&
<div className={styles.setBox}>
{/* payParam */}
<InputNumber placeholder='' onChange={(e) => onSelectChange(e, 'payParam', index)} width={60} max={31} />
<InputNumber placeholder='' onChange={(e) => onSelectChange(e, 'payParam', index)} width={60} max={item.payWay == 2 ? 31 : 999} />
<span>{item.payWay == 2 ? '号' : item.payWay == 1 ? '天' : ''}</span>
</div>
}
......
......@@ -133,7 +133,7 @@ const FormList = (props: any) => {
dataIndex: 'bidAmount',
key: 'bidAmount',
align: 'center',
render: (text: any, record: any) => <Text>¥{record.bidAmount}</Text>
render: (text: any, record: any) => <Text>{Number(record.bidAmount).toFixed(2)}</Text>
},
];
useEffect(() => {
......
......@@ -105,7 +105,7 @@ const FormList = (props: any) => {
item.payWay != 3 &&
<div className={styles.setBox}>
{/* payParam */}
<InputNumber defaultValue={item.payParam} placeholder='' onChange={(e) => onSelectChange(e, 'payParam', index)} width={60} max={31} />
<InputNumber placeholder='' onChange={(e) => onSelectChange(e, 'payParam', index)} width={60} max={item.payWay == 2 ? 31 : 999} />
<span>{item.payWay == 2 ? '号' : item.payWay == 1 ? '天' : ''}</span>
</div>
}
......
......@@ -200,7 +200,7 @@ const GoodsSetting: React.FC<GoodsSettingPropsType> = (props) => {
// return
// } else
if (selectGoodsList.length > 9) {
message.error("最多只能推荐10件商品")
message.error("最多只能推荐9件商品")
return
}
setConfirmLoading(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