优化推广公司必填项目

master
chenzhi 5 years ago
parent 9f7e15caac
commit e770a00cbb

@ -82,12 +82,12 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>公司性质:</td> <td class="l">公司性质:</td>
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_type" name="company_type" class="select_gallery" style="width: 215px;"> <select id="company_type" name="company_type" class="select_gallery" style="width: 215px;">
<option value="">请选择公司性质</option> <!-- <option value="">请选择公司性质</option> -->
<option value="1">公司</option> <option value="1" selected>公司</option>
<option value="2">个人</option> <option value="2">个人</option>
</select> </select>
</div> </div>
@ -98,21 +98,21 @@
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="is_sign_contact" name="is_sign_contact" class="select_gallery" style="width: 215px;"> <select id="is_sign_contact" name="is_sign_contact" class="select_gallery" style="width: 215px;">
<option value="">请选择是否签署合同</option> <!-- <option value="">请选择是否签署合同</option> -->
<option value="0"></option> <option value="0" selected></option>
<option value="1"></option> <option value="1"></option>
</select> </select>
</div> </div>
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>团体归属:</td> <td class="l">团体归属:</td>
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;"> <select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;">
<option value="">请选择团体归属</option> <!-- <option value="">请选择团体归属</option> -->
<volist name=":getCompanyBlong()" id="vo"> <volist name=":getCompanyBlong()" id="vo">
<option value="{$vo.id}">{$vo.name}</option> <option value="{$vo.id}" <php> if($vo['id'] == 3)echo selected;</php>>{$vo.name}</option>
</volist> </volist>
</select> </select>
</div> </div>
@ -120,13 +120,13 @@
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系结算人:</td> <td class="l">联系结算人:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="settlement_contact" value="" placeholder="请输入结算联系人"> <input type="text" class="txt " name="settlement_contact" value="" placeholder="请输入结算联系人">
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系电话:</td> <td class="l">联系电话:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="contact_phone" value="" placeholder="请输入联系电话"> <input type="text" class="txt " name="contact_phone" value="" placeholder="请输入联系电话">
</td> </td>
@ -162,7 +162,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px"></i>备注:</td> <td class="l">备注:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="content" value="" placeholder=""> <input type="text" class="txt " name="content" value="" placeholder="">
</td> </td>

@ -82,11 +82,11 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>公司性质:</td> <td class="l">公司性质:</td>
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_type" name="company_type" class="select_gallery" style="width: 215px;"> <select id="company_type" name="company_type" class="select_gallery" style="width: 215px;">
<option value="">请选择公司性质</option> <!-- <option value="">请选择公司性质</option> -->
<option value="1" <if condition="$data['company_type'] eq 1">selected <option value="1" <if condition="$data['company_type'] eq 1">selected
</if>>公司</option> </if>>公司</option>
<option value="2" <if condition="$data.company_type eq 2">selected <option value="2" <if condition="$data.company_type eq 2">selected
@ -100,7 +100,7 @@
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="is_sign_contact" name="is_sign_contact" class="select_gallery" style="width: 215px;"> <select id="is_sign_contact" name="is_sign_contact" class="select_gallery" style="width: 215px;">
<option value="">请选择是否签署合同</option> <!-- <option value="">请选择是否签署合同</option> -->
<option value="0" <if condition="$data['is_sign_contact'] eq 0">selected <option value="0" <if condition="$data['is_sign_contact'] eq 0">selected
</if>>否</option> </if>>否</option>
<option value="1" <if condition="$data['is_sign_contact'] eq 1">selected <option value="1" <if condition="$data['is_sign_contact'] eq 1">selected
@ -110,11 +110,11 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>团体归属:</td> <td class="l">团体归属:</td>
<td class="r" > <td class="r" >
<div class="input-list input-list-server search_label_rehab" style="margin:0;"> <div class="input-list input-list-server search_label_rehab" style="margin:0;">
<select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;"> <select id="company_belong" name="company_belong" class="select_gallery" style="width: 215px;">
<option value="">请选择团体归属</option> <!-- <option value="">请选择团体归属</option> -->
<volist name=":getCompanyBlong()" id="vo"> <volist name=":getCompanyBlong()" id="vo">
<option value="{$vo.id}" <php> if($data['company_belong'] !='' && $vo['id'] == $data['company_belong'])echo selected;</php>>{$vo.name}</option> <option value="{$vo.id}" <php> if($data['company_belong'] !='' && $vo['id'] == $data['company_belong'])echo selected;</php>>{$vo.name}</option>
</volist> </volist>
@ -124,13 +124,13 @@
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系结算人:</td> <td class="l">联系结算人:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="settlement_contact" value="{$data.settlement_contact}" placeholder="请输入结算联系人"> <input type="text" class="txt " name="settlement_contact" value="{$data.settlement_contact}" placeholder="请输入结算联系人">
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>联系电话:</td> <td class="l">联系电话:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="contact_phone" value="{$data.contact_phone}" placeholder="请输入联系电话"> <input type="text" class="txt " name="contact_phone" value="{$data.contact_phone}" placeholder="请输入联系电话">
</td> </td>
@ -166,7 +166,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td class="l"><i class="mustmark" style="margin-left:-7px"></i>备注:</td> <td class="l">备注:</td>
<td class="r" > <td class="r" >
<input type="text" class="txt " name="content" value="{$data.content}" placeholder=""> <input type="text" class="txt " name="content" value="{$data.content}" placeholder="">
</td> </td>

@ -40,7 +40,7 @@
selecttypename=":checked"; selecttypename=":checked";
} }
var reg = arr[i][0]; var reg = arr[i][0];
if(!Array.isArray(reg)){ if(!Array.isArray(reg) || reg.length == 1){
reg = [arr[i][0],false];//默认false reg = [arr[i][0],false];//默认false
} }
var val = $(name+"[name='"+i+"']"+selecttypename).val(); var val = $(name+"[name='"+i+"']"+selecttypename).val();

Loading…
Cancel
Save