Commit 306acc67 authored by 鲁鑫's avatar 鲁鑫

客户页签

parent 447472d2
...@@ -22,16 +22,10 @@ function initializeUI() { ...@@ -22,16 +22,10 @@ function initializeUI() {
function initializeTab() { function initializeTab() {
$('#customerTab').tab({ $('#customerTab').tab({
onClick:function($clicked){ onClick:function(item){
switch ($clicked.attr('id')){ var _id=item.data('id');
}
/*var _id=item.data('id');
debugger;
var gm=UICtrl.getGridManager('#'+_id); var gm=UICtrl.getGridManager('#'+_id);
debugger; UICtrl.onGridResize(gm);
UICtrl.onGridResize(gm);*/
} }
}) })
} }
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
</div> </div>
<div class="ui-tab-content" style="padding: 2px; padding-right: 0;"> <div class="ui-tab-content" style="padding: 2px; padding-right: 0;">
<div class="hg-form-cols" id="customerBaseInfoDiv"> <div class="layout" id="customerBaseInfoDiv">
<x:hidden name="customerId"/> <x:hidden name="customerId"/>
<x:hidden name="customerBankId"/> <x:hidden name="customerBankId"/>
<x:inputC name="customerCode" label="客户编码" labelCol="1" fieldCol="2"/> <x:inputC name="customerCode" label="客户编码" labelCol="1" fieldCol="2"/>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<x:inputC name="nationalTaxRegistrationNumber" label="国税注册号" maxLength="32" labelCol="1" <x:inputC name="nationalTaxRegistrationNumber" label="国税注册号" maxLength="32" labelCol="1"
fieldCol="2"/> fieldCol="2"/>
</div> </div>
<div id="customerDebtContactDiv"> <div class="layout" id="customerDebtContactDiv">
<div id='emailTab' style="margin: 0px;"> <div id='emailTab' style="margin: 0px;">
<div class="ui-tab-links"> <div class="ui-tab-links">
<ul id="email_ul"> <ul id="email_ul">
...@@ -70,10 +70,9 @@ ...@@ -70,10 +70,9 @@
<li id="customerEmailListForm" divid="customerEmailListGrid">客户邮箱</li> <li id="customerEmailListForm" divid="customerEmailListGrid">客户邮箱</li>
</ul> </ul>
</div> </div>
</div> </div>
</div> </div>
<div id="customerOtherInfoDiv"> <div class="layout" id="customerOtherInfoDiv">
<div id="customerRelated" position="center"> <div id="customerRelated" position="center">
<x:title title="客户关联关系信息" name="group"/> <x:title title="客户关联关系信息" name="group"/>
<div id="customerRelatedListGrid" style="margin: 2px;"> <div id="customerRelatedListGrid" style="margin: 2px;">
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<query-mappings> <query-mappings>
<query name="costCenter" label="成本中心表" table="cost_center"> <query name="costCenter" label="成本中心表" table="cost_center">
<sql-query> <sql-query>
select t.* from cost_center t select t.* from sap_cost_center t
</sql-query> </sql-query>
</query> </query>
</query-mappings> </query-mappings>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment