项目基本信息可修改
parent
6d618d54a9
commit
8b30e87efd
|
@ -179,8 +179,14 @@ public class ProjectService {
|
||||||
|
|
||||||
public Project editProject(Project project, Project projectInDb) {
|
public Project editProject(Project project, Project projectInDb) {
|
||||||
|
|
||||||
|
|
||||||
//只有如下可以修改
|
//只有如下可以修改
|
||||||
|
projectInDb.setName(project.getName());
|
||||||
|
projectInDb.setCustomer(project.getCustomer());
|
||||||
|
projectInDb.setTerminalCustomer(project.getTerminalCustomer());
|
||||||
|
projectInDb.setIndustryScenario(project.getIndustryScenario());
|
||||||
|
projectInDb.setType(project.getType());
|
||||||
|
projectInDb.setUnderwrittenMode(project.getUnderwrittenMode());
|
||||||
|
|
||||||
projectInDb.setStartDate(project.getStartDate());
|
projectInDb.setStartDate(project.getStartDate());
|
||||||
projectInDb.setEndDate(project.getEndDate());
|
projectInDb.setEndDate(project.getEndDate());
|
||||||
projectInDb.setContractAmount(project.getContractAmount());
|
projectInDb.setContractAmount(project.getContractAmount());
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入项目名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入项目名称(20字符以内)"
|
||||||
name="name" placeholder="请输入项目名称(20字符以内)" maxlength="20"
|
name="name" placeholder="请输入项目名称(20字符以内)" maxlength="20"
|
||||||
value="${project.name}" required readonly/>
|
value="${project.name}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -100,19 +100,23 @@
|
||||||
<div class="am-g am-form-group am-margin-top">
|
<div class="am-g am-form-group am-margin-top">
|
||||||
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>项目类型</div>
|
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>项目类型</div>
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入项目项目类型"
|
<select data-am-selected id="type" name="type">
|
||||||
name="typeName" <#if project.type=1>value="工程集成类"<#elseif project.type=2>value="设备集成类"<#else>value="战略合作类"</#if>
|
<option value="1" <#if project.type=1>selected</#if>>工程集成类</option>
|
||||||
required readonly/>
|
<option value="2" <#if project.type=2>selected</#if>>设备集成类</option>
|
||||||
|
<option value="3" <#if project.type=3>selected</#if>>战略合作类</option>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-g am-form-group am-margin-top">
|
<div class="am-g am-form-group am-margin-top">
|
||||||
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入垫资模式"
|
<select data-am-selected id="underwrittenMode" name="underwrittenMode">
|
||||||
name="underwrittenModeName" required readonly
|
<option value="1" <#if project.underwrittenMode=1>selected</#if>>A类-不垫资(战略合作)</option>
|
||||||
<#if project.underwrittenMode=1>value="A类-不垫资(战略合作)"<#elseif project.underwrittenMode=2>value="B类-不垫资(背靠背)"
|
<option value="2" <#if project.underwrittenMode=2>selected</#if>>B类-不垫资(背靠背)</option>
|
||||||
<#elseif project.underwrittenMode=3>value="C类-垫资(账期覆盖)"<#else>value="D类-垫资(账期不覆盖)"</#if> />
|
<option value="3" <#if project.underwrittenMode=3>selected</#if>>C类-垫资(账期覆盖)</option>
|
||||||
|
<option value="4" <#if project.underwrittenMode=4>selected</#if>>D类-垫资(账期不覆盖)</option>
|
||||||
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -122,7 +126,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入客户名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入客户名称(20字符以内)"
|
||||||
name="customer" placeholder="请输入客户名称(20字符以内)" maxlength="20"
|
name="customer" placeholder="请输入客户名称(20字符以内)" maxlength="20"
|
||||||
value="${project.customer}" required readonly/>
|
value="${project.customer}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -131,7 +135,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入终端客户名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入终端客户名称(20字符以内)"
|
||||||
name="terminalCustomer" placeholder="请输入终端客户名称(20字符以内)" maxlength="20"
|
name="terminalCustomer" placeholder="请输入终端客户名称(20字符以内)" maxlength="20"
|
||||||
value="${project.terminalCustomer}" required readonly/>
|
value="${project.terminalCustomer}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -167,7 +171,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入行业场景应用"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入行业场景应用"
|
||||||
name="industryScenario" placeholder="请输入行业场景应用" maxlength="20"
|
name="industryScenario" placeholder="请输入行业场景应用" maxlength="20"
|
||||||
value="${project.industryScenario}" required readonly/>
|
value="${project.industryScenario}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -69,15 +69,15 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入项目名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入项目名称(20字符以内)"
|
||||||
name="name" placeholder="请输入项目名称(20字符以内)" maxlength="20"
|
name="name" placeholder="请输入项目名称(20字符以内)" maxlength="20"
|
||||||
value="${project.name}" required readonly/>
|
value="${project.name}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="am-g am-form-group am-margin-top">
|
<div class="am-g am-form-group am-margin-top">
|
||||||
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>项目类型</div>
|
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>项目类型</div>
|
||||||
<div class="am-u-sm-6 am-u-md-6 select-hide">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<select data-am-selected id="type" name="type" readonly>
|
<select data-am-selected id="type" name="type">
|
||||||
<option value="1" <#if project.type=1>selected</#if>>工程集成类</option>
|
<option value="1" <#if project.type=1>selected</#if>>工程集成类</option>
|
||||||
<option value="2" <#if project.type=2>selected</#if>>设备集成类</option>
|
<option value="2" <#if project.type=2>selected</#if>>设备集成类</option>
|
||||||
<option value="3" <#if project.type=3>selected</#if>>战略合作类</option>
|
<option value="3" <#if project.type=3>selected</#if>>战略合作类</option>
|
||||||
|
@ -87,8 +87,8 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="am-g am-form-group am-margin-top">
|
<div class="am-g am-form-group am-margin-top">
|
||||||
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
<div class="am-u-sm-4 am-u-md-2 am-text-right"><span style="color: red;">*</span>垫资模式</div>
|
||||||
<div class="am-u-sm-6 am-u-md-6 select-hide">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<select data-am-selected id="underwrittenMode" name="underwrittenMode" readonly>
|
<select data-am-selected id="underwrittenMode" name="underwrittenMode">
|
||||||
<option value="1" <#if project.underwrittenMode=1>selected</#if>>A类-不垫资(战略合作)</option>
|
<option value="1" <#if project.underwrittenMode=1>selected</#if>>A类-不垫资(战略合作)</option>
|
||||||
<option value="2" <#if project.underwrittenMode=2>selected</#if>>B类-不垫资(背靠背)</option>
|
<option value="2" <#if project.underwrittenMode=2>selected</#if>>B类-不垫资(背靠背)</option>
|
||||||
<option value="3" <#if project.underwrittenMode=3>selected</#if>>C类-垫资(账期覆盖)</option>
|
<option value="3" <#if project.underwrittenMode=3>selected</#if>>C类-垫资(账期覆盖)</option>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入客户名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入客户名称(20字符以内)"
|
||||||
name="customer" placeholder="请输入客户名称(20字符以内)" maxlength="20"
|
name="customer" placeholder="请输入客户名称(20字符以内)" maxlength="20"
|
||||||
value="${project.customer}" required readonly/>
|
value="${project.customer}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -112,7 +112,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入终端客户名称(20字符以内)"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入终端客户名称(20字符以内)"
|
||||||
name="terminalCustomer" placeholder="请输入终端客户名称(20字符以内)" maxlength="20"
|
name="terminalCustomer" placeholder="请输入终端客户名称(20字符以内)" maxlength="20"
|
||||||
value="${project.terminalCustomer}" required readonly/>
|
value="${project.terminalCustomer}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
<div class="am-u-sm-6 am-u-md-6">
|
<div class="am-u-sm-6 am-u-md-6">
|
||||||
<input type="text" class="am-input" data-validate-async data-validation-message="请输入行业场景应用"
|
<input type="text" class="am-input" data-validate-async data-validation-message="请输入行业场景应用"
|
||||||
name="industryScenario" placeholder="请输入行业场景应用" maxlength="20"
|
name="industryScenario" placeholder="请输入行业场景应用" maxlength="20"
|
||||||
value="${project.industryScenario}" required readonly/>
|
value="${project.industryScenario}" required/>
|
||||||
</div>
|
</div>
|
||||||
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
<div class="am-u-sm-2 am-u-md-4 input-msg"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue