Commit 2271a18f authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix: 修改订单支付账期月结方式

parent 6c84965b
......@@ -85,7 +85,7 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
const { data, payList, currentPayInfoId } = useContext(OrderDetailContext)
const transformPayList: any = data ? formatting(payList, "payType") : []
/** 先隐藏账期月结 */
delete transformPayList['-1']
// delete transformPayList['-1']
// console.log(transformPayList, 'trans')
const [visible, setVisible] = useState(false)
const [checked, setChecked] = useState<any>({})
......@@ -633,7 +633,7 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
支付渠道:
</span>
<span className={style.amount}>
{transformPayList['-1'][0]['label']}
{transformPayList['5'][0]['label']}
</span>
</p>
<p>
......@@ -664,7 +664,7 @@ const OrderPayModal: React.FC<OrderPayModalProps> = (props) => {
支付渠道:
</span>
<span className={style.amount}>
{transformPayList['-1'][0]['label']}
{transformPayList['6'][0]['label']}
</span>
</p>
<p>
......
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