Эх сурвалжийг харах

开户银行加表述\修正企业注册和编辑时候电路没有隐藏产业领域等字段信息

sugangqiang 2 жил өмнө
parent
commit
0655260db5

+ 3 - 3
app/admin/controller/EnterpriseChangeRecord.php

@@ -311,11 +311,11 @@ class EnterpriseChangeRecord extends AdminController {
                 $fields = ["Name" => "企业名称", "IdCard" => "统一社会信用代码", "Legal" => "法人代表", "Address" => "企业地址", "Street" => "所属街道", "Ephone" => "企业电话", "BankCard" => "企业银行账号", "Bank" => "企业开户银行", "BankNetwork" => "企业开户银行网点",
                     "AgencyType" => "机构类型", "IndustryFieldNew" => "产业领域", "IndustryFieldOld" => "行业领域", "EnterpriseTag" => "企业标签", "EnterpriseType" => "企业类型",
                     "AgentName" => "人才联络员姓名", "AgentPhone" => "人才联络员电话", "AgentEmail" => "人才联络员邮箱"];
-                $files = ["newImgurl" => "企业营业执照", "newBankImg" => "开户许可证", "newDomainImg" => "行业领域佐证材料", "newBeian" => "人才联络员信息备案表", "newTypeImg" => "规上、高新技术、专精特新企业上传材料"];
+                $files = ["newImgurl" => "企业营业执照", "newBankImg" => "开户许可证/基本存款账户信息", "newDomainImg" => "行业领域佐证材料", "newBeian" => "人才联络员信息备案表", "newTypeImg" => "规上、高新技术、专精特新企业上传材料"];
             } else {
                 $fields = ["Name" => "企业名称", "IdCard" => "统一社会信用代码", "Legal" => "法人代表", "Address" => "企业地址", "Street" => "所属街道", "Ephone" => "企业电话", "BankCard" => "企业银行账号", "Bank" => "企业开户银行", "BankNetwork" => "企业开户银行网点",
                     "AgentName" => "人才联络员姓名", "AgentPhone" => "人才联络员电话", "AgentEmail" => "人才联络员邮箱"];
-                $files = ["newImgurl" => "企业营业执照", "newBankImg" => "开户许可证", "newBeian" => "人才联络员备案表"];
+                $files = ["newImgurl" => "企业营业执照", "newBankImg" => "开户许可证/基本存款账户信息", "newBeian" => "人才联络员备案表"];
             }
         } else {
             $fields = ["Name" => "单位名称", "IdCard" => "统一社会信用代码", "Legal" => "法人代表", "Address" => "单位地址", "Street" => "所属街道", "Ephone" => "单位电话", "BankCard" => "单位银行账号", "Bank" => "单位开户银行", "BankNetwork" => "单位开户银行网点",
@@ -326,7 +326,7 @@ class EnterpriseChangeRecord extends AdminController {
             if ($ep->special == 3) {
                 $fields["OrganizationTag"] = "机构标签";
             }
-            $files = ["newImgurl" => "法人证或批文", "newBankImg" => "开户许可证", "newBeian" => "人才联络员备案表"];
+            $files = ["newImgurl" => "法人证或批文", "newBankImg" => "开户许可证/基本存款账户信息", "newBeian" => "人才联络员备案表"];
         }
         $modify_fields = [];
         foreach ($fields as $key => $value) {

+ 2 - 2
app/admin/view/enterprise/goto_enterprise_detail_page.html

@@ -138,12 +138,12 @@
                             </td>
                             <td style="border: 1px solid #c0a16b" rowspan="2">
                                 <label>
-                                    开户许可证
+                                    开户许可证/基本存款账户信息
                                 </label>
                                 <div>
                                     {if condition="$ep['bankImg']"}
                                     {if condition="$ep['bankImg_is_img']"}
-                                    <img onclick="Feng.showImg(this)" id="bankImg" alt="开户许可证"
+                                    <img onclick="Feng.showImg(this)" id="bankImg" alt="开户许可证/基本存款账户信息"
                                          src="{$ep.bankImg|getStoragePath}" style="max-width:60px;">
                                     {else}
                                     <button type="button" onclick="Feng.showPdf('{$ep.bankImg|getStoragePath}', 'bankImg')" class="btn btn-xs btn-danger"><i class="fa fa-file-pdf-o" aria-hidden="true"></i></button>

+ 1 - 1
app/admin/view/enterprise_change_record/goto_enterprise_change_detail_page.html

@@ -146,7 +146,7 @@
                             <td class="value1 word-wrap" style="border-right: 1px solid #c0a16b" data-old='{$ecr.oldBank}' data-new='{$ecr.newBank}'></td>
                             <td style="border: 1px solid #c0a16b" rowspan="2">
                                 <label>
-                                    开户许可证
+                                    开户许可证/基本存款账户信息
                                 </label>
                                 <ul class="files khxkz">
                                     {if condition="$ecr['oldBankImg'] eq $ecr['newBankImg']"}

+ 3 - 3
app/common/controller/Auth.php

@@ -85,7 +85,7 @@ class Auth extends BaseController {
                         }
                         if (!array_key_exists('bankImg', $files) || $files['bankImg'] == '') {
                             $response_object->code = 500;
-                            $response_object->msg = '开户许可证不能为空';
+                            $response_object->msg = '开户许可证/基本存款账户信息不能为空';
                             return \StrUtil::back($response_object, "Register.epCallBack");
                         }
                         if (!array_key_exists('beian', $files) || $files['beian'] == '') {
@@ -104,7 +104,7 @@ class Auth extends BaseController {
                         }
                         if (!array_key_exists('bankImg', $files) || $files['bankImg'] == '') {
                             $response_object->code = 500;
-                            $response_object->msg = '开户许可证不能为空';
+                            $response_object->msg = '开户许可证/基本存款账户信息不能为空';
                             return \StrUtil::back($response_object, "Register.epCallBack");
                         }
                         if (!array_key_exists('beian', $files) || $files['beian'] == '') {
@@ -350,7 +350,7 @@ class Auth extends BaseController {
                     }
                     if (!$data["bankImg"] && !$ep->bankImg) {
                         $response_object->code = 500;
-                        $response_object->msg = '开户许可证不能为空';
+                        $response_object->msg = '开户许可证/基本存款账户信息不能为空';
                         return \StrUtil::back($response_object, "Register.epCallBack");
                     }
                     if (!$data["beian"] && !$ep->beian) {

+ 1 - 1
app/common/view/auth/enterprise_edit.html

@@ -117,7 +117,7 @@
                                                 </div>
                                             </td>
                                             <td>
-                                                <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
+                                                <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
                                                 {if condition="$ep['bankImg']"}
                                                 {if condition="$ep['bankImg_is_img'] eq 1"}
                                                 <img src="{$ep.bankImg|getStoragePath}" style="height: 60px;" onclick="$('#bankImg').click()">

+ 3 - 3
app/common/view/auth/register.html

@@ -142,7 +142,7 @@
                                                                         </div>
                                                                     </td>
                                                                     <td>
-                                                                        <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
+                                                                        <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
                                                                         <img id="photoImg1" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#bankImg').click()" >
                                                                         <input style="display: none" autocomplete="off" type="file" class="form-control" id="bankImg" name="bankImg" />
                                                                     </td>
@@ -317,7 +317,7 @@
                                                                         </div>
                                                                     </td>
                                                                     <td>
-                                                                        <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
+                                                                        <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
                                                                         <img id="photoImg2" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#mf_bankImg').click()" >
                                                                         <input style="display: none" autocomplete="off" type="file" class="form-control" id="mf_bankImg" name="bankImg" />
                                                                     </td>
@@ -428,7 +428,7 @@
                                                                 </div>
                                                             </td>
                                                             <td>
-                                                                <label class="control-label spacing">开户许可证</label>
+                                                                <label class="control-label spacing">开户许可证/基本存款账户信息</label>
                                                                 <img id="sy_photoImg1" src="/static/img/yyzz.png" style="height: 60px;" onclick="$('#sy_bankImg').click()" >
                                                                 <input style="display: none" autocomplete="off" type="file" class="form-control" id="sy_bankImg" name="bankImg" />
                                                             </td>

+ 2 - 2
app/enterprise/controller/Api.php

@@ -311,7 +311,7 @@ class Api extends EnterpriseController {
                 }
                 if ($ep->special == 0) {
                     if (!$record_data["newBankImg"]) {
-                        throw new ValidateException("请上传开户许可证");
+                        throw new ValidateException("请上传开户许可证/基本存款账户信息");
                     }
                     if ($ep->type == 1 && $data['agencyType'] == 1 && !$record_data["newDomainImg"]) {
                         throw new ValidateException("请上传行业领域佐证材料");
@@ -521,7 +521,7 @@ class Api extends EnterpriseController {
                 }
                 if ($ep->special == 0) {
                     if (!$record["newBankImg"]) {
-                        throw new ValidateException("请上传开户许可证");
+                        throw new ValidateException("请上传开户许可证/基本存款账户信息");
                     }
                     if ($ep->type == 1 && $data["agencyType"] == 1 && !$record["newDomainImg"]) {
                         throw new ValidateException("请上传行业领域佐证材料");

+ 1 - 1
app/enterprise/view/api/to_add.html

@@ -114,7 +114,7 @@
                                 </td>
                                 <td style="position:relative;">            
                                     <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#bankImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
-                                    <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
+                                    <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
                                     {if condition="$ecr['bankImg']"}
                                     {eq name="ecr.bankImg_is_img" value="1"}
                                     <img src="{$ecr.bankImg|getStoragePath}" style="height:60px;" onclick="Feng.showImg(this)" >

+ 1 - 1
app/enterprise/view/api/to_detail.html

@@ -144,7 +144,7 @@
                             <td class="value1 word-wrap`" style="border-right: 1px solid #c0a16b" data-old='{$ecr.oldBank}' data-new='{$ecr.newBank}'></td>
                             <td style="border: 1px solid #c0a16b" rowspan="2">
                                 <label>
-                                    开户许可证
+                                    开户许可证/基本存款账户信息
                                 </label>
                                 <ul class="files khxkz">
                                     {if condition="$ecr['oldBankImg'] eq $ecr['newBankImg']"}

+ 1 - 1
app/enterprise/view/api/to_update.html

@@ -117,7 +117,7 @@
                                 </td>
                                 <td style="position:relative;">            
                                     <button type="button" class="btn btn-info btn-sm" style="position:absolute;right:5px;top:5px;" onclick="$('#bankImg').click()"><i class="fa fa-upload" aria-hidden="true"></i>上传文件</button>
-                                    <label class="control-label spacing"><span class="text-danger">*</span>开户许可证</label>
+                                    <label class="control-label spacing"><span class="text-danger">*</span>开户许可证/基本存款账户信息</label>
                                     {if condition="$ecr['newBankImg']"}
                                     {eq name="ecr.bankImg_is_img" value="1"}
                                     <img src="{$ecr.newBankImg|getStoragePath}" style="height: 60px;" onclick="Feng.showImg(this)" >

+ 1 - 1
app/enterprise/view/index/center_page.html

@@ -123,7 +123,7 @@
                                                         {$ep.bank}
                                                     </td>
                                                     <td rowspan="2" style="border: 1px solid #c0a16b">
-                                                        <label>开户许可证</label>
+                                                        <label>开户许可证/基本存款账户信息</label>
                                                         {if condition="$ep['bankImg']"}
                                                         {if condition="$ep['bankImg_is_img'] eq 1"}
                                                         <img onclick="Feng.showImg(this)" id="bankImg" src="{$ep.bankImg|getStoragePath}" style="max-height:60px">

+ 1 - 0
public/static/js/register.js

@@ -700,6 +700,7 @@ Register.typeChange = function () {
         $(".agencyType").attr("style", "display:block");
     } else {
         $(".agencyType").attr("style", "display:none");
+        $("#typeGroup").attr("style", "display:none");
         $("#enterpriseTag,#industryFieldNew,#industryFieldOld,#enterpriseType").val("");
     }
 }

+ 1 - 0
public/static/modular/gate/enterprise/enterprise_edit.js

@@ -181,6 +181,7 @@ Register.typeChange = function () {
         $(".agencyType").attr("style", "display:block");
     } else {
         $(".agencyType").attr("style", "display:none");
+        $("#typeGroup").attr("style", "display:none");
         $("#enterpriseTag,#industryFieldNew,#industryFieldOld,#enterpriseType").val("");
     }
 }