Browse Source

添加客户基本信息

dujinyan 7 years ago
parent
commit
18ea71a13e

+ 65 - 54
watero-rst-web/src/main/webapp/WEB-INF/views/customer/custome_basic_detail.ftl

@@ -259,28 +259,37 @@
         </div>-->
 
         <#--new billing start-->
-        <div class="mt-20" style="margin: 10px 20px 20px 20px;">
-            <input type="hidden" id="dockedContactInfoJson" name="dockedContactInfoJson">
-            <table class="table table-border table-bordered table-bg table-hover table-sort" style="width: 960px;" id="contactTable">
-                <thead>
-                <tr class="text-c">
-                    <th width="100">开户支行</th>
-                    <th width="100">账户名称</th>
-                    <th width="100">账号</th>
-                </tr>
-                </thead>
-                <tbody id="contactListId">
-                <#if billingInfo??>
+        <div class="row cl">
+            <div class="mt-20" style="margin: 10px 20px 20px 20px;">
+                <table class="table table-border table-bordered table-bg table-hover table-sort" style="width: 960px;">
+                    <thead>
                     <tr class="text-c">
-                        <td>${billingInfo.accountOpeningBranch!''}</td>
-                        <td>${billingInfo.accountName!''}</td>
-                        <td>${billingInfo.accountNum!''}</td>
+                        <th width="100">账户类型</th>
+                        <th width="100">开户支行</th>
+                        <th width="100">账户名称</th>
+                        <th width="100">账号</th>
                     </tr>
-                <#else>
-                    <tr class="text-c"><td colspan="9">暂无数据</td></tr>
-                </#if>
-                </tbody>
-            </table>
+                    </thead>
+                    <tbody id="contactListId">
+                    <#if billingInfo??>
+                        <tr class="text-c">
+                            <#--<td>${billingInfo.accountType!''}</td>-->
+                            <#assign isStatus=(billingInfo.accountType == 1)/>
+                            <#if isStatus>
+                            <td>公司</td>
+                            <#else>
+                            <td>个人</td>
+                            </#if>
+                            <td>${billingInfo.accountOpeningBranch!''}</td>
+                            <td>${billingInfo.accountName!''}</td>
+                            <td>${billingInfo.accountNum!''}</td>
+                        </tr>
+                    <#else>
+                        <tr class="text-c"><td colspan="9">暂无数据</td></tr>
+                    </#if>
+                    </tbody>
+                </table>
+            </div>
         </div>
         <#--new billing end-->
 
@@ -345,42 +354,44 @@
         </div>-->
 
     <#--new ticketOpening start-->
-        <div class="mt-20" style="margin: 10px 20px 20px 20px;">
-            <input type="hidden" id="dockedContactInfoJson" name="dockedContactInfoJson">
-            <table class="table table-border table-bordered table-bg table-hover table-sort" style="width: 960px;" id="contactTable">
-                <thead>
-                <tr class="text-c">
-                    <th width="100">发票类型</th>
-                    <th width="100">开户支行</th>
-                    <th width="100">开票账号</th>
-                    <th width="100">企业名称</th>
-                    <th width="100">纳税人识别号</th>
-                    <th width="100">开票电话</th>
-                    <th width="100">企业地址</th>
-                </tr>
-                </thead>
-                <tbody id="contactListId">
-                <#if ticketOpeningInfo??>
-                <tr class="text-c">
-                    <#assign isStatus=(ticketOpeningInfo.ticketType == 1)/>
-                    <#if isStatus>
-                    <td>专票</td>
+        <div class="row cl">
+            <div class="mt-20" style="margin: 10px 20px 20px 20px;">
+                <input type="hidden" id="dockedContactInfoJson" name="dockedContactInfoJson">
+                <table class="table table-border table-bordered table-bg table-hover table-sort" style="width: 960px;" id="contactTable">
+                    <thead>
+                    <tr class="text-c">
+                        <th width="100">发票类型</th>
+                        <th width="100">开户支行</th>
+                        <th width="100">开票账号</th>
+                        <th width="100">企业名称</th>
+                        <th width="100">纳税人识别号</th>
+                        <th width="100">开票电话</th>
+                        <th width="100">企业地址</th>
+                    </tr>
+                    </thead>
+                    <tbody id="contactListId">
+                    <#if ticketOpeningInfo??>
+                    <tr class="text-c">
+                        <#assign isStatus=(ticketOpeningInfo.ticketType == 1)/>
+                        <#if isStatus>
+                        <td>专票</td>
+                        <#else>
+                        <td>普票</td>
+                        </#if>
+                        <#--<td>${ticketOpeningInfo.ticketType!''}</td>-->
+                        <td>${ticketOpeningInfo.accountOpeningBranch!''}</td>
+                        <td>${ticketOpeningInfo.ticketOpeningAccount!''}</td>
+                        <td>${ticketOpeningInfo.enterpriseName!''}</td>
+                        <td>${ticketOpeningInfo.taxpayerIdentificationNum!''}</td>
+                        <td>${ticketOpeningInfo.ticketOpeningPhone!''}</td>
+                        <td>${ticketOpeningInfo.enterpriseAddress!''}</td>
+                    </tr>
                     <#else>
-                    <td>普票</td>
+                        <tr class="text-c"><td colspan="9">暂无数据</td></tr>
                     </#if>
-                    <#--<td>${ticketOpeningInfo.ticketType!''}</td>-->
-                    <td>${ticketOpeningInfo.accountOpeningBranch!''}</td>
-                    <td>${ticketOpeningInfo.ticketOpeningAccount!''}</td>
-                    <td>${ticketOpeningInfo.enterpriseName!''}</td>
-                    <td>${ticketOpeningInfo.taxpayerIdentificationNum!''}</td>
-                    <td>${ticketOpeningInfo.ticketOpeningPhone!''}</td>
-                    <td>${ticketOpeningInfo.enterpriseAddress!''}</td>
-                </tr>
-                <#else>
-                    <tr class="text-c"><td colspan="9">暂无数据</td></tr>
-                </#if>
-                </tbody>
-            </table>
+                    </tbody>
+                </table>
+            </div>
         </div>
     <#--new ticketOpening end-->