聚合公司绑定编辑修改

master
zhengyongxing 4 years ago
parent d937dbad55
commit 9a6bc50eca

@ -546,12 +546,6 @@ class AggregateRelationController extends AdminController
$this->assign('first_company_info',$this->getCompanyInfo($dbres['first_company_type'],$dbres['first_company_id']));
$this->assign('second_company_info',$this->getCompanyInfo($dbres['second_company_type'],$dbres['second_company_id']));
$check_data = [688,689,690,691];
if(in_array($dbres['first_company_id'],$check_data)||in_array($dbres['second_company_id'],$check_data)) {
$this->assign('hav_check',1);
}
$dbres['first_company_type'] =$this->CompanyType[$dbres['first_company_type']];
$dbres['second_company_type'] =$this->CompanyType[$dbres['second_company_type']];

@ -151,7 +151,7 @@
<tr>
<td class="l"><i class="mustmark">*</i>结算周期:</td>
<td class="r">
<select name="settlement_type" id="settlement_type" class="select_gallery" <if condition="$hav_check eq 1">disabled</if>>
<select name="settlement_type" id="settlement_type" class="select_gallery" disabled>
<option value="0" <if condition="$data['settlement_type'] eq 0">selected</if>>无</option>
<option value="1" <if condition="$data['settlement_type'] eq 1">selected</if>>周结</option>
<option value="2" <if condition="$data['settlement_type'] eq 2">selected</if>>月结</option>
@ -162,7 +162,7 @@
<tr>
<td class="l"><i class="mustmark">*</i>开票类型:</td>
<td class="r">
<select name="invoice_type" id="invoice_type" class="select_gallery" <if condition="$hav_check eq 1">disabled</if>>
<select name="invoice_type" id="invoice_type" class="select_gallery" disabled>
<option value="0" <if condition="$data['invoice_type'] eq 0">selected</if>>无</option>
<option value="1" <if condition="$data['invoice_type'] eq 1">selected</if>>专票</option>
<option value="2" <if condition="$data['invoice_type'] eq 2">selected</if>>普票</option>

Loading…
Cancel
Save