|
@@ -154,6 +154,11 @@
|
|
|
parent.layer.msg("项目归属部门未填写!", {icon: 5});
|
|
|
return false;
|
|
|
}
|
|
|
+ var engineeringType = $("#engineeringType").val();
|
|
|
+ if(engineeringType == '' ){
|
|
|
+ parent.layer.msg("请选择工程类型!", {icon: 5});
|
|
|
+ return false;
|
|
|
+ }
|
|
|
var contractsNum = $("#contractsNum").val();
|
|
|
if(contractsNum<=0){
|
|
|
parent.layer.msg("登记数量必须大于0!", {icon: 5});
|
|
@@ -1266,13 +1271,13 @@
|
|
|
<div class="layui-item layui-col-sm6 lw7 with-textarea">
|
|
|
<label class="layui-form-label">工程概况:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:textarea placeholder="请输入工程概况" path="projectDesc" htmlEscape="false" rows="4" maxlength="255" class="form-control judgment"/>
|
|
|
+ <form:textarea placeholder="请输入工程概况" path="projectDesc" htmlEscape="false" rows="4" maxlength="255" class="form-control"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="layui-item layui-col-sm6 lw7 with-textarea">
|
|
|
<label class="layui-form-label ">备注:</label>
|
|
|
<div class="layui-input-block">
|
|
|
- <form:textarea placeholder="请输入备注" path="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control judgment"/>
|
|
|
+ <form:textarea placeholder="请输入备注" path="remarks" htmlEscape="false" rows="4" maxlength="255" class="form-control"/>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1322,14 +1327,14 @@
|
|
|
<input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_clientName" name="workClientLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_name" name="workClientLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control judgment"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_name" name="workClientLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control"/>
|
|
|
</td>
|
|
|
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkPhone" name="workClientLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control judgment isTel"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkPhone" name="workClientLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control isTel"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkMobile" name="workClientLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control judgment isPhone"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workClientLinkmanList{{idx}}_linkMobile" name="workClientLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control isPhone"/>
|
|
|
</td>
|
|
|
<td class="text-center op-td" >
|
|
|
{{#delBtn}}<span class="op-btn op-btn-delete" onclick="delEntrustRow(this, '#workClientLinkmanList{{idx}}')" title="删除"><i class="glyphicon glyphicon-remove"></i> 删除</span>{{/delBtn}}
|
|
@@ -1392,14 +1397,14 @@
|
|
|
<input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_clientName" name="workConstructionLinkmanList[{{idx}}].clientId.name" type="text" value="{{row.clientId.name}}" class="form-control judgment"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_name" name="workConstructionLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control judgment"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_name" name="workConstructionLinkmanList[{{idx}}].name" type="text" value="{{row.name}}" class="form-control "/>
|
|
|
</td>
|
|
|
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkPhone" name="workConstructionLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control judgment isTel"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkPhone" name="workConstructionLinkmanList[{{idx}}].linkPhone" type="text" value="{{row.linkPhone}}" class="form-control isTel"/>
|
|
|
</td>
|
|
|
<td>
|
|
|
- <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkMobile" name="workConstructionLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control judgment isPhone"/>
|
|
|
+ <input <input style="background-color: #FFFFFF;" id="workConstructionLinkmanList{{idx}}_linkMobile" name="workConstructionLinkmanList[{{idx}}].linkMobile" type="text" value="{{row.linkMobile}}" class="form-control isPhone"/>
|
|
|
</td>
|
|
|
<td class="text-center" width="10">
|
|
|
{{#delBtn}}<span class="op-btn op-btn-delete" onclick="delRow(this, '#workConstructionLinkmanList{{idx}}')" title="删除"><i class="fa fa-trash"></i> 删除</span>{{/delBtn}}
|