Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
T
topsun-bpm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
鲁鑫
topsun-bpm
Commits
1a9b5b9b
Commit
1a9b5b9b
authored
Dec 21, 2023
by
全洪江
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端页面完成
Signed-off-by:
Hongjiang
<
hongjiang.quan@topsunit.com
>
parent
8bc16726
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
105 deletions
+78
-105
customerDetail.js
...-xt/src/main/webapp/biz/topsun/customer/customerDetail.js
+47
-27
customerDetail.jsp
...xt/src/main/webapp/biz/topsun/customer/customerDetail.jsp
+31
-78
No files found.
topsun-xt/src/main/webapp/biz/topsun/customer/customerDetail.js
View file @
1a9b5b9b
...
...
@@ -8,26 +8,20 @@ $(document).ready(function () {
initializeUI
();
loadContactListGrid
();
bindEvent
();
//
loadBaoshenEmailListGrid();
//
loadCustomerEmailListGrid();
//
loadCustomerRelatedListGrid();
//
loadCustomerPayInfoListGrid();
loadBaoshenEmailListGrid
();
loadCustomerEmailListGrid
();
loadCustomerRelatedListGrid
();
loadCustomerPayInfoListGrid
();
});
function
initializeUI
()
{
UICtrl
.
layout
(
"#layout"
,
{
leftWidth
:
3
});
}
function
initializeTab
()
{
$
(
'#customerTab'
).
tab
({
onClick
:
function
(
item
){
var
_id
=
item
.
data
(
'id'
);
var
gm
=
UICtrl
.
getGridManager
(
'#'
+
_id
);
UICtrl
.
onGridResize
(
gm
);
}
})
$
(
'#customerTab'
).
tab
();
$
(
'#emailTab'
).
tab
()
}
...
...
@@ -75,7 +69,7 @@ function loadContactListGrid() {
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"
10
0%"
,
height
:
"
6
0%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
...
...
@@ -130,12 +124,12 @@ function loadBaoshenEmailListGrid() {
],
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/customerDebtContact/slicedCustomerDebtContactList.ajax'
,
parms
:
{
customerId
:
$
(
"#customerId"
).
val
(),
customerEmailType
:
0
},
parms
:
{
customerId
:
$
(
"#customerId"
).
val
(),
customerEmailType
:
0
},
pageSize
:
10
,
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"
10
0%"
,
height
:
"
6
0%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
...
...
@@ -160,7 +154,7 @@ function loadCustomerEmailListGrid() {
customerEmailManage
=
UICtrl
.
grid
(
"#customerEmailListGrid"
,
{
columns
:
[
{
display
:
"邮箱地址"
,
name
:
"customerEmail"
,
width
:
2
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"邮箱地址"
,
name
:
"customerEmail"
,
width
:
3
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
...
...
@@ -180,18 +174,18 @@ function loadCustomerEmailListGrid() {
},
}
},
{
display
:
"联系人"
,
name
:
"customerContact"
,
width
:
2
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"开启邮件发送"
,
name
:
"sendEmail"
,
width
:
2
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建人"
,
name
:
"createdByName"
,
width
:
2
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
}
{
display
:
"联系人"
,
name
:
"customerContact"
,
width
:
3
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"开启邮件发送"
,
name
:
"sendEmail"
,
width
:
3
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"创建人"
,
name
:
"createdByName"
,
width
:
3
00
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
}
],
dataAction
:
"server"
,
url
:
web_app
.
name
+
'/customerDebtContact/slicedCustomerDebtContactList.ajax'
,
parms
:
{
customerId
:
$
(
"#customerId"
).
val
(),
customerEmailType
:
1
},
parms
:
{
customerId
:
$
(
"#customerId"
).
val
(),
customerEmailType
:
1
},
pageSize
:
10
,
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"
10
0%"
,
height
:
"
6
0%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
...
...
@@ -216,7 +210,12 @@ function loadCustomerRelatedListGrid() {
customerRelatedListGrid
=
UICtrl
.
grid
(
"#customerRelatedListGrid"
,
{
columns
:
[
{
display
:
"关联客户编码"
,
name
:
"customerCodeRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"关联客户编码"
,
name
:
"customerCodeRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
...
...
@@ -234,8 +233,22 @@ function loadCustomerRelatedListGrid() {
},
}
},
{
display
:
"关联客户简称"
,
name
:
"customerShortNameRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"关联客户全称"
,
name
:
"customerNameRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"关联客户简称"
,
name
:
"customerShortNameRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"关联客户全称"
,
name
:
"customerNameRelated"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"录入人"
,
name
:
"createdByName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
{
display
:
"录入时间"
,
name
:
"createdDate"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
},
...
...
@@ -247,7 +260,7 @@ function loadCustomerRelatedListGrid() {
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"
10
0%"
,
height
:
"
4
0%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
...
...
@@ -275,7 +288,12 @@ function loadCustomerPayInfoListGrid() {
customerPayInfoListGrid
=
UICtrl
.
grid
(
"#customerPayInfoListGrid"
,
{
columns
:
[
{
display
:
"支付方户名"
,
name
:
"customerPayAccountName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
display
:
"支付方户名"
,
name
:
"customerPayAccountName"
,
width
:
200
,
minWidth
:
60
,
type
:
"string"
,
align
:
"left"
,
editor
:
{
required
:
true
,
type
:
"select"
,
data
:
{
...
...
@@ -307,7 +325,7 @@ function loadCustomerPayInfoListGrid() {
usePager
:
true
,
toolbar
:
toolbarOptions
,
width
:
"100%"
,
height
:
"
10
0%"
,
height
:
"
4
0%"
,
heightDiff
:
-
8
,
checkbox
:
true
,
fixedCellHeight
:
true
,
...
...
@@ -328,10 +346,12 @@ function bindEvent() {
closeDispatchTabItem
();
})
}
//右上角的保存控件
function
saveData
()
{
}
function
closeDispatchTabItem
()
{
UICtrl
.
closeCurrentTab
();
}
topsun-xt/src/main/webapp/biz/topsun/customer/customerDetail.jsp
View file @
1a9b5b9b
...
...
@@ -47,7 +47,8 @@
<x:inputC
name=
"customerWorkTime"
label=
"客户工作时间"
wrapper=
"date"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"customerEnName"
label=
"英文名称"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"customerEnShortName"
label=
"英文名简称"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"provinceInfo"
label=
"所属地区"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"provinceInfo"
label=
"所属地区"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
readonly=
"true"
/>
<x:inputC
name=
"customerLevel"
label=
"客户等级"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"customerFactoryCode"
label=
"工厂代号"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"customerAddress"
label=
"地址"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -61,16 +62,42 @@
fieldCol=
"2"
/>
<x:inputC
name=
"nationalTaxRegistrationNumber"
label=
"国税注册号"
maxLength=
"32"
labelCol=
"1"
fieldCol=
"2"
/>
<div
id=
"contact"
position=
"center"
>
<x:title
title=
"联系人列表"
name=
"group"
/>
<div
id=
"contactListGrid"
style=
"margin: 2px;"
>
<hr>
</div>
</div>
</div>
<div
class=
"layout"
id=
"customerDebtContactDiv"
>
<div
id=
'emailTab'
style=
"margin: 0px;"
>
<div
class=
"ui-tab-links"
>
<ul
id=
"email_ul"
>
<li
id=
"baoshenEmailListForm"
divid=
"baoshenEmailList
Grid
"
>
宝绅邮箱
</li>
<li
id=
"customerEmailListForm"
divid=
"customerEmailList
Grid
"
>
客户邮箱
</li>
<li
id=
"baoshenEmailListForm"
divid=
"baoshenEmailList
Div
"
>
宝绅邮箱
</li>
<li
id=
"customerEmailListForm"
divid=
"customerEmailList
Div
"
>
客户邮箱
</li>
</ul>
</div>
<div
class=
"ui-tab-content"
style=
"padding: 2px; padding-right: 0;"
>
<div
class=
"layout"
id=
"baoshenEmailListDiv"
>
<div
id=
"baoshenEmailList"
position=
"center"
>
<x:title
title=
"宝绅邮箱列表"
name=
"group"
/>
<div
id=
"baoshenEmailListGrid"
style=
"margin: 2px;"
>
<hr>
</div>
</div>
</div>
<div
class=
"layout"
id=
"customerEmailListDiv"
>
<div
id=
"customerEmailList"
position=
"center"
>
<x:title
title=
"客户邮箱列表"
name=
"group"
/>
<div
id=
"customerEmailListGrid"
style=
"margin: 2px;"
>
<hr>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"layout"
id=
"customerOtherInfoDiv"
>
<div
id=
"customerRelated"
position=
"center"
>
...
...
@@ -88,81 +115,7 @@
</div>
</div>
<%-- <div><h3>客户基本信息</h3></div>--%>
<%-- <div style="margin: 10px;">--%>
<%-- <div class="hg-form-cols">--%>
<%-- <x:hidden name="customerId"/>--%>
<%-- <x:hidden name="customerBankId"/>--%>
<%-- <x:inputC name="customerCode" label="客户编码" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerName" label="客户全称" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerShortName" label="客户简称" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerWorkTime" label="客户工作时间" wrapper="date" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerEnName" label="英文名称" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerEnShortName" label="英文名简称" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="provinceInfo" label="所属地区" maxLength="32" labelCol="1" fieldCol="2" readonly="true"/>--%>
<%-- <x:inputC name="customerLevel" label="客户等级" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerFactoryCode" label="工厂代号" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerAddress" label="地址" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerGroup" label="所属集团" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerZipCode" label="邮编" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerBankDeposit" label="开户银行" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerAccountNo" label="银行账户" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerAccountName" label="户名" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="customerCorporation" label="公司法人" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="businessRegistrationNumber" label="工商注册号" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- <x:inputC name="nationalTaxRegistrationNumber" label="国税注册号" maxLength="32" labelCol="1" fieldCol="2"/>--%>
<%-- </div>--%>
<%-- <div id="contact" position="center">--%>
<%-- <x:title title="客户列表" name="group"/>--%>
<%-- <div id="contactListGrid" style="margin: 2px;">--%>
<%-- <hr>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- <div class="blank_div clearfix"></div>--%>
<%-- <div><h3>催货通知邮箱</h3>--%>
<%-- <div id='pageTab' style="margin: 0px;">--%>
<%-- <div class="ui-tab-links">--%>
<%-- <ul id="menu_ul">--%>
<%-- <li id="detailForm" divid="baoshenEmailListGrid">宝绅邮箱</li>--%>
<%-- <li id="lossForm" divid="customerEmailListGrid">客户邮箱</li>--%>
<%-- </ul>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- <div id="baoshenEmail" position="center">--%>
<%-- <x:title title="宝绅邮箱" name="group"/>--%>
<%-- <div id="baoshenEmailListGrid" style="margin: 2px;">--%>
<%-- <hr>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- <div id="customerEmail" position="center">--%>
<%-- <x:title title="客户邮箱" name="group"/>--%>
<%-- <div id="customerEmailListGrid" style="margin: 2px;">--%>
<%-- <hr>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- <div class="blank_div clearfix"></div>--%>
<%-- <div><h3>其他信息</h3>--%>
<%-- <div id="customerRelated" position="center">--%>
<%-- <x:title title="客户关联关系信息" name="group"/>--%>
<%-- <div id="customerRelatedListGrid" style="margin: 2px;">--%>
<%-- <hr>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- <div id="customerPayInfo" position="center">--%>
<%-- <x:title title="客户付款信息" name="group"/>--%>
<%-- <div id="customerPayInfoListGrid" style="margin: 2px;">--%>
<%-- <hr>--%>
<%-- </div>--%>
<%-- </div>--%>
<%-- </div>--%>
</div>
</form>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment