From 6024ae342c9a75e74147a6757aa6bea035259215 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 24 Jul 2020 16:30:34 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E4=BC=98=E5=8C=96=E9=A1=BA=E5=BA=8F?= =?UTF-8?q?=E5=8F=8A=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PromoteCompanyController.class.php | 17 +- .../Admin/View/PromoteCompany/add.html | 173 +++++++++--------- .../Admin/View/PromoteCompany/export.html | 8 +- 3 files changed, 102 insertions(+), 96 deletions(-) diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index c99361938..74f6a7f6f 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -121,17 +121,16 @@ class PromoteCompanyController extends ThinkController $v["develop_type"] = getCompanyRelation($v["develop_type"]); $v['company_type'] = $v['company_type'] == 2 ? '个人' : '公司'; $v['is_sign_contact'] = $v['is_sign_contact'] ? '是' : '否'; - - $contract_start_time = $v['company_info']['contact_begin'] ? - time_format($v['company_info']['contact_begin'], 'Y/m/d') : '-'; - $contract_end_time = $v['company_info']['contact_end'] ? - time_format($v['company_info']['contact_end'], 'Y/m/d') : '-'; + $contract_start_time = $v['contact_begin'] ? + time_format($v['contact_begin'], 'Y/m/d') : '-'; + $contract_end_time = $v['contact_end'] ? + time_format($v['contact_end'], 'Y/m/d') : '-'; $v['contract_time'] = $contract_start_time . '-' . $contract_end_time; - $validity_start_time = $v['company_info']['validity_start_time'] ? - time_format($v['company_info']['validity_start_time'], 'Y/m/d') : '-'; - $validity_end_time = $v['company_info']['validity_end_time'] ? - time_format($v['company_info']['validity_end_time'], 'Y/m/d') : '-'; + $validity_start_time = $v['validity_start_time'] ? + time_format($v['validity_start_time'], 'Y/m/d') : '-'; + $validity_end_time = $v['validity_end_time'] ? + time_format($v['validity_end_time'], 'Y/m/d') : '-'; $v['validity_time'] = $validity_start_time . '-' . $validity_end_time; if(!$is_export){ $v['can_del'] = $this->promoteCompanyIsCanDel($v["id"]) ? 1 : 0; diff --git a/Application/Admin/View/PromoteCompany/add.html b/Application/Admin/View/PromoteCompany/add.html index e58839daa..e01ba7bae 100644 --- a/Application/Admin/View/PromoteCompany/add.html +++ b/Application/Admin/View/PromoteCompany/add.html @@ -97,6 +97,12 @@ + + 推广游戏: + + 编辑 + + *团体归属: @@ -113,53 +119,14 @@ - 对应平台(简称): - - - - - - - 合同期限: - -
- -  -  -
- - -
-
- - - - - 结算生效期限: - - -  -  - - - - - 开票税点: - - % - - - - 渠道费率: - - % - - - - - 税费费率: + *开发类型: - % + @@ -202,99 +169,139 @@ + + 合同期限: + +
+ +  -  +
+ + +
+
+ + + + + 结算生效期限: + + +  -  + + - 开发类型: + 支付宝真实姓名: - + - - 联系人: + 支付宝登陆账号: - + + - 联系电话: + 账户名: - + + + + + 银行卡号: + + + + + + 收款银行: + + - 注册地址: + 联系人: - + - 注册电话: + 联系电话: - + - 邮寄地址: + 对应平台(简称): - + + + + - 账户名: + 开票税点: - + % - 银行卡号: + 渠道费率: - + % + - 收款银行: + 税费费率: - + % - + + - 支付宝真实姓名: + 注册地址: - + - - 支付宝登陆账号: + 注册电话: - + - - 备注: + 邮寄地址: - + + + + + + + - 推广游戏: + 备注: - 编辑 + + *承担服务费: @@ -345,10 +352,10 @@ diff --git a/Application/Admin/View/PromoteCompany/export.html b/Application/Admin/View/PromoteCompany/export.html index d325c4d86..646f4e284 100644 --- a/Application/Admin/View/PromoteCompany/export.html +++ b/Application/Admin/View/PromoteCompany/export.html @@ -148,16 +148,16 @@ {$data.ali_user|default="--"} {$data.ali_account|default="--"} - {$data.is_sign_contract|default="--"} - {$data.contract_time|default="--"} - {$data.validity_time|default="--"} + {$data.is_sign_contact|default="--"} + {$data.contract_time} + {$data.validity_time} {$data.fax_ratio|showPercent} {$data.invoice_type|default="--"} {$data.taxation_rate|showPercent} {$data.channel_rate|showPercent} {$data.reg_address|default="--"} - {$data.reg_phon|default="--"} + {$data.reg_phone|default="--"} {$data.settlement_contact|default="--"} {$data.contact_phone|default="--"} {$data.address|default="--"} From 1e3b1dad66c566241924e8650d49c782a59ef840 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 24 Jul 2020 16:41:19 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=8E=92=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/View/PromoteCompany/edit.html | 165 +++++++++--------- .../Admin/View/PromoteCompany/view.html | 162 ++++++++--------- 2 files changed, 165 insertions(+), 162 deletions(-) diff --git a/Application/Admin/View/PromoteCompany/edit.html b/Application/Admin/View/PromoteCompany/edit.html index e91ba94b8..fe2d0101f 100644 --- a/Application/Admin/View/PromoteCompany/edit.html +++ b/Application/Admin/View/PromoteCompany/edit.html @@ -97,6 +97,12 @@ + + 推广游戏: + + 编辑 + + *团体归属: @@ -111,55 +117,16 @@ - 对应平台(简称): - - - - - - 合同期限: - -
- -  -  -
- - -
-
- - - - 结算生效期限: - - -  -  - - - - - 开票税点: - - - % - - - - 渠道费率: - - % - - - - - 税费费率: + *开发类型: - % + - 公司性质: @@ -202,98 +169,134 @@ + + 合同期限: + +
+ +  -  +
+ + +
+
+ + + + 结算生效期限: + + +  -  + + - 开发类型: + 支付宝真实姓名: - + - 联系结算人: + 支付宝登陆账号: - + - 联系电话: + 账户名: - + - - 注册地址: + 银行卡号: - + - 注册电话: + 收款银行: - + + + + + 联系结算人: + + + + + + 联系电话: + + + + + + - 邮寄地址: + 对应平台(简称): - + + - 账户名: + 开票税点: - + + % - 银行卡号: + 渠道费率: - + % + - 收款银行: + 税费费率: - + % - + - 支付宝真实姓名: + 注册地址: - + - - 支付宝登陆账号: + 注册电话: - + - - 备注: + 邮寄地址: - + + + - 推广游戏: + 备注: - 编辑 + + *承担服务费: diff --git a/Application/Admin/View/PromoteCompany/view.html b/Application/Admin/View/PromoteCompany/view.html index 40f1aebfb..a64a9dace 100644 --- a/Application/Admin/View/PromoteCompany/view.html +++ b/Application/Admin/View/PromoteCompany/view.html @@ -97,6 +97,13 @@ + + 推广游戏: + + 查看 + + + *团体归属: @@ -111,52 +118,14 @@ - 对应平台(简称): - - - - - - 合同期限: - -
- -  -  -
- - -
-
- - - - 结算生效期限: - - -  -  - - - - - 开票税点: + *开发类型: - - % - - - - 渠道费率: - - % - - - - - 税费费率: - - % + @@ -202,98 +171,129 @@ - - 开发类型: + 合同期限: - +
+ +  -  +
+ + +
+
+ + + + 结算生效期限: + + +  -  - 联系结算人: + 支付宝真实姓名: - + + - 联系电话: + 支付宝登陆账号: - + - - 注册地址: + 账户名: - + - 注册电话: + 银行卡号: - + - - 邮寄地址: + 收款银行: - + - 账户名: + 联系结算人: - + - 银行卡号: + 联系电话: - + + + + - 收款银行: + 对应平台(简称): - + - 支付宝真实姓名: + 开票税点: - + + % - - 支付宝登陆账号: + 渠道费率: - + % + + + + + 税费费率: + + % + + + + 注册地址: + + + + + + 注册电话: + + - - 备注: + 邮寄地址: - + - 推广游戏: + 备注: - 查看 + + *承担服务费: From 0430293bb7f6dee13f05e08ea5a772bcf3b3e1db Mon Sep 17 00:00:00 2001 From: chenzhi Date: Fri, 24 Jul 2020 16:45:16 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=B5=E8=AF=9D?= =?UTF-8?q?=E4=B8=8D=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/PartnerController.class.php | 12 ++++++------ .../Controller/PromoteCompanyController.class.php | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Application/Admin/Controller/PartnerController.class.php b/Application/Admin/Controller/PartnerController.class.php index 43079c0ee..2b2f51c4e 100644 --- a/Application/Admin/Controller/PartnerController.class.php +++ b/Application/Admin/Controller/PartnerController.class.php @@ -544,12 +544,12 @@ class PartnerController extends ThinkController } } - if(!empty(I('link_phone')) && !checkPhone(I('link_phone'))) { - $this->error('联系电话格式不正确'); - } - if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { - $this->error('注册电话格式不正确'); - } + // if(!empty(I('link_phone')) && !checkPhone(I('link_phone'))) { + // $this->error('联系电话格式不正确'); + // } + // if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { + // $this->error('注册电话格式不正确'); + // } if(!empty(I('taxation_rate')) && I('taxation_rate') > 0) { if(!checkNumber(I('taxation_rate'))){ $this->error('税费费率格式错误'); diff --git a/Application/Admin/Controller/PromoteCompanyController.class.php b/Application/Admin/Controller/PromoteCompanyController.class.php index 74f6a7f6f..7a41e4f92 100644 --- a/Application/Admin/Controller/PromoteCompanyController.class.php +++ b/Application/Admin/Controller/PromoteCompanyController.class.php @@ -956,12 +956,12 @@ class PromoteCompanyController extends ThinkController } } - if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) { - $this->error('联系电话格式不正确'); - } - if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { - $this->error('注册电话格式不正确'); - } + // if(!empty(I("contact_phone")) && !checkPhone(I('contact_phone'))) { + // $this->error('联系电话格式不正确'); + // } + // if(!empty(I('reg_phone')) && !checkPhone(I('reg_phone'))) { + // $this->error('注册电话格式不正确'); + // } if(!empty(I('taxation_rate')) && I('taxation_rate') > 0) { if(!checkNumber(I('taxation_rate'))){ $this->error('税费费率格式错误');