Commit 0c337d2a authored by GuanHua's avatar GuanHua

feat:修改订单结算是授信额度状态的判断

parent 631ff606
......@@ -113,9 +113,9 @@ const Order: React.FC<OrderPropsType> = (props) => {
}
//@ts-ignore
const signRes = await PublicApi.postOrderSignatureSignContractCreate(param)
message.destroy()
const signData: any = signRes.data
if (signRes.code === 1000) {
message.destroy()
setContractInfo(signData)
sessionStorage.setItem("contractInfo", JSON.stringify(signData))
setIsElectronicContract(true)
......
......@@ -52,6 +52,8 @@ const PayWay: React.FC<PayWayProps> = (props) => {
if (info.payType === 3) {
if (!creditInfo) {
result = false
} else if (creditInfo.isUsable === 0) {
result = false
}
}
return result
......
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