|
|
|
@ -500,20 +500,21 @@
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>甲方公司类型:</td>
|
|
|
|
|
<td class="r" style="width: 50px;">
|
|
|
|
|
<select name="part_a_type" id="part_a_type" class="select_gallery">
|
|
|
|
|
<option value="1" selected>下游推广公司</option>
|
|
|
|
|
<option value="2">己方公司</option>
|
|
|
|
|
<option value="1" <?php if($relation['collaborate_way'] == 1):?>selected<?php endif;?>>下游推广公司</option>
|
|
|
|
|
<option value="2" <?php if($relation['collaborate_way'] == 2):?>selected<?php endif;?>>己方公司</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
<td class="l" style="width: 100px;"><i class="mustmark" >*</i>乙方公司类型:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
|
<select name="part_b_type" id="part_b_type" class="select_gallery" >
|
|
|
|
|
<option value="1" >下游推广公司</option>
|
|
|
|
|
<option value="2" selected>己方公司</option>
|
|
|
|
|
<option value="1" <?php if($relation['collaborate_way'] == 2):?>selected<?php endif;?>>下游推广公司</option>
|
|
|
|
|
<option value="2" <?php if($relation['collaborate_way'] == 1):?>selected<?php endif;?>>己方公司</option>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
|
|
<!--<tr>
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>己方公司:</td>
|
|
|
|
|
<td class="r">
|
|
|
|
@ -526,12 +527,12 @@
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>-->
|
|
|
|
|
|
|
|
|
|
<?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>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
@ -545,6 +546,27 @@
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
<?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;?>
|
|
|
|
|
</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>
|
|
|
|
|
</select>
|
|
|
|
|
<span class="notice-text"></span>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php endif;?>
|
|
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="l"><i class="mustmark" style="margin-left:-7px">*</i>结算周期:</td>
|
|
|
|
@ -837,15 +859,15 @@
|
|
|
|
|
if (!$("#partner").val()) {
|
|
|
|
|
$("#tab_tab1").click();
|
|
|
|
|
}
|
|
|
|
|
$("#cp_company").text($("#partner").val());
|
|
|
|
|
|
|
|
|
|
$("#tab_tab2").click(function() {
|
|
|
|
|
if (!$("#partner").val()) {
|
|
|
|
|
alert('请填写合作方名称');
|
|
|
|
|
$("#tab_tab1").click();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#part_a").children().remove();
|
|
|
|
|
$("#part_a").append("<option value='1'>" + $("#partner").val() + "</option>");
|
|
|
|
|
//$("#part_a").children().remove();
|
|
|
|
|
//$("#part_a").append("<option value='1'>" + $("#partner").val() + "</option>");
|
|
|
|
|
return false;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|