bug(ECX-8038):

This commit is contained in:
zhangjing1
2026-03-05 17:25:00 +08:00
parent e233050f2c
commit 19547182f0
6 changed files with 12 additions and 12 deletions

View File

@@ -85,7 +85,7 @@ function CompTradeItem(props) {
</View>
} */}
{orderClass == 'normal' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>退款金额</Text>
<SpPrice value={refundFee} size={38} />

View File

@@ -131,7 +131,7 @@ function CompTradeItem(props) {
<SpPrice value={selfDeliveryFee} size={38} />
</View>
{orderClass == 'pointsmall' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>{pointName}</Text>
<Text className='point-value' style='font-size: 20px;'>
@@ -140,7 +140,7 @@ function CompTradeItem(props) {
</View>
)}
{orderClass == 'normal' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>实付金额</Text>
<SpPrice value={totalFee} size={38} />

View File

@@ -91,7 +91,7 @@ function CompTradeItem(props) {
<View className='trade-total'>
<View className='delivery'></View>
{orderClass == 'pointsmall' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>{pointName}</Text>
<Text className='point-value' style='font-size: 20px;'>
@@ -100,7 +100,7 @@ function CompTradeItem(props) {
</View>
)}
{orderClass == 'normal' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>实付金额</Text>
<SpPrice value={totalFee} size={38} />

View File

@@ -82,7 +82,7 @@ function CompTradeItem(props) {
<View className='trade-total'>
<View className='delivery'></View>
{orderClass == 'pointsmall' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>{pointName}</Text>
<Text className='point-value' style='font-size: 20px;'>
@@ -91,7 +91,7 @@ function CompTradeItem(props) {
</View>
)}
{orderClass == 'normal' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>退款金额</Text>
<SpPrice value={refundFee} size={38} />+<Text className='label'>运费</Text>

View File

@@ -105,7 +105,7 @@ function CompTradeItem(props) {
<View className='trade-total'>
<View className='delivery'></View>
{orderClass == 'pointsmall' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text>
<Text className='label'>{pointName}</Text>
@@ -121,7 +121,7 @@ function CompTradeItem(props) {
</View>
)}
{orderClass != 'pointsmall' && (
<View>
<View style={{ display: 'flex', justifyContent: 'flex-end', alignItems: 'center' }}>
<Text className='num'>{`${totalNum}`}</Text>
<Text className='label'>实付金额</Text>
<SpPrice value={totalFee} size={38} />

View File

@@ -20,7 +20,7 @@ const initialState = {
invoice_type_code: '02', // 01:数电票(增值税专用发票) 02:数电票(普通发票)
invoice_type: 'individual', // individual:个人 enterprise:企业
company_title: '', // 抬头名称
individual_title: '个人', // 个人抬头
individual_title: '', // 个人抬头
company_tax_number: '', // 公司税号
company_address: '', // 公司地址
company_telephone: '', // 公司电话
@@ -73,7 +73,7 @@ function Invoice(props) {
invoice_type_code: params?.invoice_type_code || '02',
invoice_type: params?.invoice_type || 'individual',
company_title: params?.invoice_type == 'enterprise' ? params?.company_title : '',
individual_title: params?.invoice_type != 'enterprise' ? params?.company_title : '个人',
individual_title: params?.invoice_type != 'enterprise' ? params?.company_title : '',
company_tax_number: params?.company_tax_number || '',
company_address: params?.company_address || '',
company_telephone: params?.company_telephone || '',
@@ -163,7 +163,7 @@ function Invoice(props) {
invoice_type_code: info?.invoice_type_code,
invoice_type: info?.invoice_type,
company_title:
info?.invoice_type == 'enterprise' ? info?.company_title : info.individual_title,
info?.invoice_type == 'enterprise' ? info?.company_title : '',
email: info?.email
}
if (params.invoice_type === 'enterprise') {