Merge branch 'release' of 47.111.118.107:wmtx/platform into release

master
zhanglingsheng 5 years ago
commit a26a02b36f

@ -68,20 +68,20 @@
<input type="hidden" name="id" value="{$data.id}" /> <input type="hidden" name="id" value="{$data.id}" />
<li> <li>
<label>奖惩类型</label> <label>奖惩类型</label>
<?php if ($data):?> <?php if ($_GET['id']):?>
<input type="hidden" name="reward_type" value="{$data['reward_type']}"> <input type="hidden" name="reward_type" value="{$data['reward_type']}">
<?php endif;?> <?php endif;?>
<select id="reward_type" name="reward_type" class="select_gallery" <?php if ($data):?> disabled<?php endif;?>> <select id="reward_type" name="reward_type" class="select_gallery" <?php if ($_GET['id']):?> disabled<?php endif;?>>
<option value="1" <?php if ($data['reward_type'] == 1):?>selected<?php endif;?>>奖励</option> <option value="1" <?php if ($data['reward_type'] == 1):?>selected<?php endif;?>>奖励</option>
<option value="2" <?php if ($data['reward_type'] == 2):?>selected<?php endif;?>>惩罚</option> <option value="2" <?php if ($data['reward_type'] == 2):?>selected<?php endif;?>>惩罚</option>
</select> </select>
</li> </li>
<li> <li>
<label>公司类型</label> <label>公司类型</label>
<?php if ($data):?> <?php if ($_GET['id']):?>
<input type="hidden" name="company_type" value="{$data['company_type']}"> <input type="hidden" name="company_type" value="{$data['company_type']}">
<?php endif;?> <?php endif;?>
<select id="company_type" name="company_type" class="select_gallery" onchange="companyTypeChange()" <?php if ($data):?> disabled<?php endif;?>> <select id="company_type" name="company_type" class="select_gallery" onchange="companyTypeChange()" <?php if ($_GET['id']):?> disabled<?php endif;?>>
<option value="1" <?php if ($data['company_type'] == 1):?>selected<?php endif;?>>上游公司</option> <option value="1" <?php if ($data['company_type'] == 1):?>selected<?php endif;?>>上游公司</option>
<option value="2" <?php if ($data['company_type'] == 2):?>selected<?php endif;?>>下游公司</option> <option value="2" <?php if ($data['company_type'] == 2):?>selected<?php endif;?>>下游公司</option>
</select> </select>

Loading…
Cancel
Save