|
@@ -129,6 +129,10 @@ const DemandDetailForm = Form.create()(
|
|
message.warning('请输入关键字');
|
|
message.warning('请输入关键字');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if(this.state.summary&&(this.state.summary).length>40){
|
|
|
|
+ message.warning('项目营销说明字数不得超过40个字。');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
message.warning('项目营销说明字数不得超过30个字。');
|
|
message.warning('项目营销说明字数不得超过30个字。');
|
|
return;
|
|
return;
|
|
@@ -173,6 +177,7 @@ const DemandDetailForm = Form.create()(
|
|
categoryId: this.state.categoryId[1], //业务品类
|
|
categoryId: this.state.categoryId[1], //业务品类
|
|
price: this.state.price, //市场价
|
|
price: this.state.price, //市场价
|
|
advertisement:this.state.advertisement,//项目营销说明
|
|
advertisement:this.state.advertisement,//项目营销说明
|
|
|
|
+ summary:this.state.summary,//项目简介
|
|
activityPrice: this.state.activityPrice ? this.state.activityPrice : '0', //最低折扣
|
|
activityPrice: this.state.activityPrice ? this.state.activityPrice : '0', //最低折扣
|
|
memberPrice: this.state.memberPrice ? this.state.memberPrice : '0', //会员价
|
|
memberPrice: this.state.memberPrice ? this.state.memberPrice : '0', //会员价
|
|
offset: this.state.offset ? this.state.offset : '0',
|
|
offset: this.state.offset ? this.state.offset : '0',
|
|
@@ -249,7 +254,8 @@ const DemandDetailForm = Form.create()(
|
|
number: thisdata.number,
|
|
number: thisdata.number,
|
|
auditInfo:thisdata.auditInfo,
|
|
auditInfo:thisdata.auditInfo,
|
|
price: thisdata.price, //市场价
|
|
price: thisdata.price, //市场价
|
|
- advertisement:thisdata.advertisement,
|
|
|
|
|
|
+ advertisement:thisdata.advertisement,//项目营销说明
|
|
|
|
+ summary:thisdata.summary,//项目简介
|
|
activityPrice: thisdata.activityPrice ? thisdata.activityPrice : '', //最低折扣
|
|
activityPrice: thisdata.activityPrice ? thisdata.activityPrice : '', //最低折扣
|
|
memberPrice: thisdata.memberPrice ? thisdata.memberPrice : '', //会员价
|
|
memberPrice: thisdata.memberPrice ? thisdata.memberPrice : '', //会员价
|
|
offset: thisdata.offset ? thisdata.offset : '',
|
|
offset: thisdata.offset ? thisdata.offset : '',
|
|
@@ -371,6 +377,10 @@ const DemandDetailForm = Form.create()(
|
|
message.warning('请输入正确的市场价');
|
|
message.warning('请输入正确的市场价');
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ if(this.state.summary&&(this.state.summary).length>40){
|
|
|
|
+ message.warning('项目营销说明字数不得超过40个字。');
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
if(this.state.advertisement&&(this.state.advertisement).length>30){
|
|
message.warning('项目营销说明字数不得超过30个字.');
|
|
message.warning('项目营销说明字数不得超过30个字.');
|
|
return;
|
|
return;
|
|
@@ -410,6 +420,7 @@ const DemandDetailForm = Form.create()(
|
|
categoryId: this.state.categoryId[1], //业务品类
|
|
categoryId: this.state.categoryId[1], //业务品类
|
|
price: this.state.price, //市场价
|
|
price: this.state.price, //市场价
|
|
advertisement:this.state.advertisement,//项目营销说明
|
|
advertisement:this.state.advertisement,//项目营销说明
|
|
|
|
+ summary:this.state.summary,//项目简介
|
|
activityPrice: this.state.activityPrice ? this.state.activityPrice : '0', //最低折扣
|
|
activityPrice: this.state.activityPrice ? this.state.activityPrice : '0', //最低折扣
|
|
memberPrice: this.state.memberPrice ? this.state.memberPrice : '0', //会员价
|
|
memberPrice: this.state.memberPrice ? this.state.memberPrice : '0', //会员价
|
|
offset: this.state.offset ? this.state.offset : '0',
|
|
offset: this.state.offset ? this.state.offset : '0',
|
|
@@ -693,6 +704,19 @@ const DemandDetailForm = Form.create()(
|
|
</FormItem>:''}
|
|
</FormItem>:''}
|
|
</div>
|
|
</div>
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
|
|
+ <FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="项目简介">
|
|
|
|
+ <Input
|
|
|
|
+ type="textarea"
|
|
|
|
+ rows={4}
|
|
|
|
+ placeholder="请输入项目简介"
|
|
|
|
+ value={this.state.summary}
|
|
|
|
+ onChange={(e) => {
|
|
|
|
+ this.setState({ summary: e.target.value });
|
|
|
|
+ }}
|
|
|
|
+ />
|
|
|
|
+ </FormItem>
|
|
|
|
+ </div>
|
|
|
|
+ <div className="clearfix">
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="项目营销说明">
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="项目营销说明">
|
|
<Input
|
|
<Input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -705,7 +729,7 @@ const DemandDetailForm = Form.create()(
|
|
/>
|
|
/>
|
|
</FormItem>
|
|
</FormItem>
|
|
</div>
|
|
</div>
|
|
- <div className="clearfix">
|
|
|
|
|
|
+ {/*<div className="clearfix">
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="业务项目价值及作用">
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 12 }} label="业务项目价值及作用">
|
|
<Input
|
|
<Input
|
|
type="textarea"
|
|
type="textarea"
|
|
@@ -730,10 +754,10 @@ const DemandDetailForm = Form.create()(
|
|
}}
|
|
}}
|
|
/>
|
|
/>
|
|
</FormItem>
|
|
</FormItem>
|
|
- </div>
|
|
|
|
|
|
+ </div>*/}
|
|
<div className="clearfix">
|
|
<div className="clearfix">
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 16 }} label='业务项目服务内容'>
|
|
<FormItem labelCol={{ span: 4 }} wrapperCol={{ span: 16 }} label='业务项目服务内容'>
|
|
- <Editors textContent={this.state.introduce}
|
|
|
|
|
|
+ <Editors textContent={this.state.introduce} placeholder="业务项目客户基本条件"
|
|
uploadUrl={'/api/user/demand/uploadPicture'}
|
|
uploadUrl={'/api/user/demand/uploadPicture'}
|
|
uploadSign={'demand_picture'}
|
|
uploadSign={'demand_picture'}
|
|
handleRichText={(value) => { this.state.introduce = value; }}
|
|
handleRichText={(value) => { this.state.introduce = value; }}
|