Commit 7f99aabb authored by 前端-许冠华's avatar 前端-许冠华

Merge branch 'cherry-pick-d5daf6bd-2' into 'v2-220318'

Merge branch 'fix-v2' into 'v2' See merge request linkseeks-design/pro-platform!39
parents 2aec1de2 861596e3
This diff is collapsed.
......@@ -27,7 +27,7 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
const count = (num: any, price: any) => {
let money: any = null;
money = (Number(price) * 1) * Number(num);
return Number(money).toFixed(2);
return Number(money).toFixed(2)
}
const handleChange = (id, e) => {
const { value } = e.target
......@@ -37,6 +37,7 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
v.money = count(v.purchaseCount, value);
}
})
console.log(dataSource)
setDataSource([...dataSource]);
}
......@@ -104,7 +105,8 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
{
title: intl.formatMessage({id: 'dealAbility.jine'}),
key: "money",
dataIndex: "money"
dataIndex: "money",
render: (text: any) => <>{text}</>
},
{
title: intl.formatMessage({ id: 'dealAbility.caozuo' }),
......@@ -221,6 +223,8 @@ const ProductQuoteLayout: React.FC<ProductQuoteLayoutProps> = (props: any) => {
})
}, [commoditySkuId])
console.log(dataSource)
return (
<Card
id="productQuoteLayout"
......
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