Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
platform
hg-smart
Commits
6a8e49bf
Commit
6a8e49bf
authored
Jun 17, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
6f4f23a2
0714f360
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
35 additions
and
2 deletions
+35
-2
HGYX001.js
src/main/webapp/HG/YX/HGYX001.js
+17
-0
HGYX001.jsp
src/main/webapp/HG/YX/HGYX001.jsp
+1
-1
HGYX002.js
src/main/webapp/HG/YX/HGYX002.js
+16
-0
HGYX002.jsp
src/main/webapp/HG/YX/HGYX002.jsp
+1
-1
No files found.
src/main/webapp/HG/YX/HGYX001.js
View file @
6a8e49bf
...
...
@@ -16,6 +16,8 @@ $(function () {
if
(
!
isBlank
(
item
.
id
)){
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showDetail('
+
item
.
id
+
')" >发货详情</a>'
;
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showUploadFile('
+
item
.
id
+
')" >附件详情</a>'
;
/*if (auditStatus == 0) {
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
'onclick="updateStatus(' + item.id + ',1)" >审核</a>';
...
...
@@ -335,6 +337,21 @@ function commit() {
}
/**
* 显示附件清单
*
* @param id
*/
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HGSB099?methodName=initLoad&inqu_status-0-matId="
+
id
+
"&inqu_status-0-bizType=YX001"
,
title
:
"<div style='text-align: center;'>附件详情</div>"
,
width
:
"70%"
,
height
:
"50%"
,
//callbackName: uploadFileCallback
});
}
function
windowCallback
(
ei
)
{
if
(
ei
.
getStatus
()
>=
0
)
{
// 刷新列表
...
...
src/main/webapp/HG/YX/HGYX001.jsp
View file @
6a8e49bf
...
...
@@ -44,7 +44,7 @@
<EF:EFRegion id="result" title="明细信息">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row" copyToAdd="false">
<EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="1
2
0" align="center"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="1
4
0" align="center"/>
<EF:EFComboColumn ename="companyCode" enable="true" cname="公司名称" width="110" align="center"
filter="contains" readonly="true" required="true">
<EF:EFOptions blockId="companyBox_block_id" valueField="valueField" textField="textField"/>
...
...
src/main/webapp/HG/YX/HGYX002.js
View file @
6a8e49bf
...
...
@@ -16,6 +16,8 @@ $(function () {
if
(
!
isBlank
(
item
.
id
)){
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showDetail('
+
item
.
id
+
')" >退货详情</a>'
;
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showUploadFile('
+
item
.
id
+
')" >附件详情</a>'
;
/*if (auditStatus == 0) {
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
'onclick="updateStatus(' + item.id + ',1)" >审核</a>';
...
...
@@ -213,3 +215,17 @@ function windowCallback(ei) {
JSColorbox
.
close
();
}
}
/**
* 显示附件清单
*
* @param id
*/
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HGSB099?methodName=initLoad&inqu_status-0-matId="
+
id
+
"&inqu_status-0-bizType=YX002"
,
title
:
"<div style='text-align: center;'>附件详情</div>"
,
width
:
"70%"
,
height
:
"50%"
,
//callbackName: uploadFileCallback
});
}
src/main/webapp/HG/YX/HGYX002.jsp
View file @
6a8e49bf
...
...
@@ -31,7 +31,7 @@
<EF:EFRegion id="result" title="明细信息">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row" copyToAdd="false">
<EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="1
2
0" align="center"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="1
4
0" align="center"/>
<EF:EFComboColumn ename="projCode" enable="true" cname="项目名称" width="110" align="center"
filter="contains" readonly="true" required="true">
<EF:EFOptions blockId="proj_record_block_id" valueField="valueField" textField="textField"/>
...
...
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