市场结算添加编辑添加户名

master
zhengyongxing 5 years ago
parent 1bb038db4e
commit b74ac306ae

@ -245,7 +245,7 @@ class AjaxController extends ThinkController{
$withdraw_number = $_REQUEST['withdraw_number'];
$data = M("withdraw","tab_")
->field("widthdraw_number,promote_account,tab_promote_company.id as company_id,company_name,settlement_type,mobile_phone,real_name,bank_card,account_openin,address,game_ratio")
->field("widthdraw_number,promote_account,tab_promote_company.id as company_id,company_name,settlement_type,mobile_phone,real_name,bank_card,account_openin,address,game_ratio,bank_account")
->join("left join tab_promote on tab_withdraw.promote_id=tab_promote.id")
->join("left join tab_promote_company on tab_promote.company_id=tab_promote_company.id")
->where(['widthdraw_number'=>$withdraw_number])
@ -292,6 +292,7 @@ class AjaxController extends ThinkController{
$data['settlement_type'] = $second_party_info['settlement_type'];
$data['address'] = $second_party_info['address'];
$data['real_name'] = $second_party_info['link_man'];
$data['bank_account_name'] = $second_party_info['bank_account_name'];
$data['settlement_type_value'] = $getStatementData['settlement_type'];
$data['invoice_item'] = $second_party_info['invoice_item'];

@ -63,6 +63,10 @@
</volist>
</select>
</div>
<div class="input-list input-list-promote search_label_rehab" style="width: 50%">
户 名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" id="bank_account_name" name="bank_account_name" class="" value="" placeholder="户名" style="width: 50%"/>
</div>
<div class="input-list input-list-promote search_label_rehab" style="width: 50%">
开 户 行:&nbsp;
<input type="text" id="account_openin" name="account_openin" class="" value="" placeholder="开户行" style="width: 50%"/>
@ -212,6 +216,7 @@
$("#real_name").val(data.data.real_name);
$("#mobile_phone").val(data.data.mobile_phone);
$("#settlement_type_value").val(data.data.settlement_type);
$("#bank_account_name").val(data.data.bank_account);
$("#jfCompany").val(data.data.yfpartner);
$("#jfCompany").next().text(data.data.yfpartner);
@ -337,6 +342,7 @@
second_party_info['link_phone'] = $("#mobile_phone").val();
second_party_info['invoice_item'] = $("#invoice_item").val();
second_party_info['invoice_type'] = $("#invoice_type").val();
second_party_info['bank_account_name'] = $("#bank_account_name").val();
first_party_info['jfCompany'] = $("#jfCompany").val();
first_party_info['jfPerson'] = $("#jfPerson").val();

@ -64,6 +64,10 @@
</volist>
</select>
</div>
<div class="input-list input-list-promote search_label_rehab" style="width: 50%">
户 名:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="text" id="bank_account_name" name="bank_account_name" class="" value="" placeholder="户名" style="width: 50%"/>
</div>
<div class="input-list input-list-promote search_label_rehab" style="width: 50%">
开 户 行:&nbsp;
<input type="text" id="account_openin" name="account_openin" class="" value="" placeholder="开户行" style="width: 50%"/>
@ -210,6 +214,7 @@
$("#settlement_type_value").val(data.data.settlement_type);
$("#invoice_item").val(data.data.invoice_item);
$("#invoice_type").val(data.data.invoice_type);
$("#bank_account_name").val(data.data.bank_account_name);
$("#jfCompany").val(data.data.jfCompany);
$("#jfCompany").next().text(data.data.jfCompany);
@ -338,6 +343,7 @@
second_party_info['link_phone'] = $("#mobile_phone").val();
second_party_info['invoice_item'] = $("#invoice_item").val();
second_party_info['invoice_type'] = $("#invoice_type").val();
second_party_info['bank_account_name'] = $("#bank_account_name").val();
first_party_info['jfCompany'] = $("#jfCompany").val();
first_party_info['jfPerson'] = $("#jfPerson").val();

Loading…
Cancel
Save