Commit 57396c64 authored by XieZhiXiong's avatar XieZhiXiong
parents 139dfbc3 16fde2c0
......@@ -390,7 +390,7 @@ const Products: React.FC<{}> = () => {
const onChangeUpShop = (values) => {
// 判断上架之前是否有店铺 有即可以上下架
if(judgeShopRef.current){
PublicApi.getTemplateShopFindShop({
PublicApi.getTemplateWebMemberShopWebFindCurrMemberShop({
memberId: JSON.parse(window.localStorage.getItem('auth')).memberId,
memberRoleId: JSON.parse(window.localStorage.getItem('auth')).memberRoleId
}).then(res => {
......
......@@ -161,9 +161,10 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
history.goBack()
}, 1000)
}
} else {
message.error(res.message)
}
// else {
// message.error(res.message)
// }
})
}
}
......@@ -189,8 +190,6 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
}).then(res => {
if(res.code === 1000) {
setCreditInfo(res.data)
} else {
message.error(res.message)
}
setIsSpin(false)
})
......
......@@ -223,7 +223,7 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
throw new Error('请选择支付方式或支付渠道')
}
let judgementByRatio = params.paymentInformationResponses.map(item => {
if(Number(item.payRatio) > 0 && Number(item.payRatio) < 100){
if(Number(item.payRatio) > 0 && Number(item.payRatio) <= 100){
return true
} else {
return false
......
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