Commit fb551d9f authored by GuanHua's avatar GuanHua

feat:下单限制条件

parent e20396a3
import React from 'react'
import styles from './index.less'
interface SignModalPropsType {
visible: boolean
}
const SignModal: React.FC<SignModalPropsType> = (props) => {
const { visible } = props
return (
<div>
11
</div>
)
}
export default SignModal
\ No newline at end of file
......@@ -137,7 +137,11 @@ const Order: React.FC<OrderPropsType> = (props) => {
*/
const submitOrder = () => {
if (isEmpty(selectPayWay)) {
message.error('请选择支付方式')
message.info('请选择支付方式')
return
}
if (!needTheContract) {
message.info('请先同意签订电子合同')
return
}
let params: any = {
......
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