修改2
This commit is contained in:
parent
7abadfbed7
commit
28426205c4
@ -143,9 +143,11 @@ export default function CardProjType(props: ICardProj) {
|
||||
if (!props.chargeLineArray || props.chargeLineArray.length == 0) {
|
||||
return <></>
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="proj-charge">
|
||||
|
||||
{
|
||||
props.chargeLineArray.map((line, index) => (
|
||||
<div className="chargeline" key={`charge_${index}`}>
|
||||
@ -262,6 +264,7 @@ export default function CardProjType(props: ICardProj) {
|
||||
<div className="proj-body">
|
||||
<div>{renderLines()}</div>
|
||||
<div>{renderNew()}</div>
|
||||
<div style={{marginTop:20,color:'#989898'}}>{props.text}</div>
|
||||
{renderCharge()}
|
||||
</div>
|
||||
|
||||
|
@ -30,5 +30,6 @@ export interface ICardProj {
|
||||
newArray:ICardProjBodyLine[];
|
||||
isShow:number
|
||||
isClickable:number,
|
||||
details:string
|
||||
details:string,
|
||||
text?:string
|
||||
}
|
@ -245,19 +245,20 @@ export default function ProjCreate() {
|
||||
]
|
||||
}
|
||||
chargeLineArray={[
|
||||
{
|
||||
id: ProjAdditionalType.PKG,
|
||||
price: charge.pkg,
|
||||
title: `安装包 ${charge.pkg / 100} 元`
|
||||
// {
|
||||
// id: ProjAdditionalType.PKG,
|
||||
// price: charge.pkg,
|
||||
// title: `安装包 ${charge.pkg / 100} 元`
|
||||
|
||||
},
|
||||
{
|
||||
id: ProjAdditionalType.VIDEO_DEMO,
|
||||
price: charge.videoDemo,
|
||||
title: `系统演示视频文件 ${charge.videoDemo / 100} 元`
|
||||
// },
|
||||
// {
|
||||
// id: ProjAdditionalType.VIDEO_DEMO,
|
||||
// price: charge.videoDemo,
|
||||
// title: `系统演示视频文件 ${charge.videoDemo / 100} 元`
|
||||
|
||||
}
|
||||
// }
|
||||
]}
|
||||
text='如需视频文件和安装包请在下证后购买下载'
|
||||
buyArray={[
|
||||
{
|
||||
id: ProjChargeType.MATERIAL,
|
||||
|
@ -226,7 +226,7 @@ export default function ProjNew() {
|
||||
name="basic"
|
||||
form={form}
|
||||
initialValues={{
|
||||
projVersion: 'v1.0',
|
||||
projVersion: 'V1.0',
|
||||
backendCodeLang: 'JAVA'
|
||||
}} // 添加 initialValues 属性
|
||||
layout={'vertical'}
|
||||
@ -241,7 +241,7 @@ export default function ProjNew() {
|
||||
belongPeople: formData.belongPeople,
|
||||
contacts: formData.contacts,
|
||||
projDevCompleteDate: formData.projDevCompleteDate,
|
||||
projVersion: formData.projVersion ? formData.projVersion : 'v1.0',
|
||||
projVersion: formData.projVersion ? formData.projVersion : 'V1.0',
|
||||
backendCodeLang: formData.backendCodeLang,
|
||||
})
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user