Commit 93f7c8eb authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 处理询价跳转下单报商品类型错误问题

parent d4b06b94
......@@ -2,7 +2,6 @@ import React, { useState, useEffect, useContext, useRef } from 'react'
import { Modal, List, Button, Space } from 'antd'
import { usePageStatus } from '@/hooks/usePageStatus'
import { OrderDetailContext } from '../../_public/order/context'
import { PayOutWorkState } from '@/constants/order'
import { PublicApi } from '@/services/api'
import { history } from 'umi'
import OverflowText from '@/components/OverflowText'
......
......@@ -198,6 +198,8 @@ const PurchaseOrderDetail:React.FC<PurchaseOrderDetailProps> = (props) => {
let newData = data.map((v: any) => {
v.orderMode = modelType
v.shopId = shopId
// b2b询价下单 定价类型必定为2
v.priceType = 2
return v
})
addSchemaAction.setFieldValue('products', await filterProductDataById([], newData))
......
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