甲乙方公司

master
tping 4 years ago
parent 304c59be10
commit 858e929199

@ -184,9 +184,9 @@
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司:</td>
<td class="l" style="width: 50px;">
<select name="part_a" id="part_a" class="select_gallery">
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
@ -212,9 +212,9 @@
<td class="l" style="width: 90px;"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_b" id="part_b" class="select_gallery">
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>

@ -180,16 +180,16 @@
<tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司:</td>
<td class="l" style="width: 50px;">
<select name="part_b" id="part_b" class="select_gallery" disabled>
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<select name="part_a" id="part_a" class="select_gallery" disabled>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>
<td class="l" style="width: 90px;"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_a" id="part_a" class="select_gallery" disabled>
<select name="part_b" id="part_b" class="select_gallery" disabled>
<option id="cp_company" value='1'></option>
</select>
<span class="notice-text"></span>
@ -208,9 +208,9 @@
<td class="l" style="width: 90px;"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_b" id="part_b" class="select_gallery" disabled>
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>

@ -527,41 +527,41 @@
<span class="notice-text"></span>
</td>
</tr>-->
<?php if($relation['collaborate_way'] == 2):?>
<?php if($relation['collaborate_way'] == 1):?>
<tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司:</td>
<td class="r" style="width: 50px;">
<select name="part_a" id="part_a" class="select_gallery">
<option id="cp_company" value='1'></option>
</select>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
<span class="notice-text"></span>
</td>
<td class="l" style="width: 90px"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_b" id="part_b" class="select_gallery">
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<option id="cp_company" value='1'></option>
</select>
<span class="notice-text"></span>
</td>
</tr>
<?php endif;?>
<?php if($relation['collaborate_way'] == 1):?>
<?php if($relation['collaborate_way'] == 2):?>
<tr>
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司:</td>
<td class="r" style="width: 50px;">
<select name="part_a" id="part_a" class="select_gallery">
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<option id="cp_company" value='1'></option>
</select>
<span class="notice-text"></span>
</td>
<td class="l" style="width: 90px"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_b" id="part_b" class="select_gallery">
<option id="cp_company" value='1'></option>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>

@ -518,9 +518,9 @@
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司:</td>
<td class="r" style="width: 50px;">
<select name="part_a" id="part_a" class="select_gallery" disabled>
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>
@ -545,9 +545,9 @@
<td class="l" style="width: 90px"><i class="mustmark" >*</i>乙方公司:</td>
<td class="r">
<select name="part_b" id="part_b" class="select_gallery" disabled>
<?php foreach($selfCompanies as $selfCompany):?>
<option value="<?=$selfCompany['id']?>" <?php if($selfCompany['company_name']==''):?>selected<?php endif;?>><?=$selfCompany['company_name']?></option>
<?php endforeach;?>
<volist name="selfCompanies" id="vo">
<option value="{$vo['id']}" <if condition="$vo['id'] eq $relation['self_company_id']">selected</if>>{$vo['company_name']} </option>
</volist>
</select>
<span class="notice-text"></span>
</td>

Loading…
Cancel
Save