Commit c238740b authored by GuanHua's avatar GuanHua

feat:增加渠道现货下单模式

parent 9f7334a0
......@@ -15,7 +15,7 @@ import styles from './index.less'
import { PublicApi } from '@/services/api'
import { GetLogisticsReceiverAddressGetResponse } from '@/services/LogisticsApi'
import { isEmpty } from 'lodash'
import { LAYOUT_TYPE } from '@/constants'
import { LAYOUT_TYPE, OrderModalType } from '@/constants'
interface OrderPropsType {
location: any;
......@@ -141,7 +141,7 @@ const Order: React.FC<OrderPropsType> = (props) => {
return
}
let params: any = {
orderModel: layoutType === LAYOUT_TYPE.channel ? 12 : 5, // 下单模式
orderModel: layoutType === LAYOUT_TYPE.channel ? OrderModalType.CHANNEL_SPOT_PURCHASE_ORDER : OrderModalType.PURCHASE_ORDER, // 下单模式
deliveryAddresId: selectAddressInfo.id,
addresName: selectAddressInfo.receiverName,
isDefault: selectAddressInfo.isDefault,
......
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