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
c2ca5d98
Commit
c2ca5d98
authored
Oct 21, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.销售发货存货编码名称显示错误问题修复
parent
48847fce
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
39 deletions
+8
-39
log4j2.xml
src/main/resources/log4j2.xml
+1
-1
HGYX001.js
src/main/webapp/HG/YX/HGYX001.js
+3
-4
HGYX001A.js
src/main/webapp/HG/YX/HGYX001A.js
+2
-24
HGYX001A.jsp
src/main/webapp/HG/YX/HGYX001A.jsp
+1
-5
HGYX001C.jsp
src/main/webapp/HG/YX/HGYX001C.jsp
+1
-5
No files found.
src/main/resources/log4j2.xml
View file @
c2ca5d98
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<Appenders>
<Appenders>
<!--*********************控制台日志***********************-->
<!--*********************控制台日志***********************-->
<Console
name=
"Console"
target=
"SYSTEM_OUT"
follow=
"true"
>
<Console
name=
"Console"
target=
"SYSTEM_OUT"
follow=
"true"
>
<PatternLayout
charset=
"
GBK
"
pattern=
"${LOG_PATTERN}"
/>
<PatternLayout
charset=
"
UTF-8
"
pattern=
"${LOG_PATTERN}"
/>
</Console>
</Console>
<TextArea
name=
"platLogAppender"
>
<TextArea
name=
"platLogAppender"
>
<PatternLayout
pattern=
"%m%n"
/>
<PatternLayout
pattern=
"%m%n"
/>
...
...
src/main/webapp/HG/YX/HGYX001.js
View file @
c2ca5d98
...
@@ -73,9 +73,8 @@ $(function () {
...
@@ -73,9 +73,8 @@ $(function () {
}
}
}],
}],
loadComplete
:
function
(
grid
)
{
loadComplete
:
function
(
grid
)
{
// 此 grid 对象
// 新增
// 新增
$
(
"#add"
).
on
(
"click"
,
add
);
$
(
"#add"
).
on
(
"click"
,
add
);
//修改
//修改
$
(
"#BNT_MODIFY"
).
on
(
"click"
,
update
);
$
(
"#BNT_MODIFY"
).
on
(
"click"
,
update
);
//删除
//删除
...
@@ -229,8 +228,8 @@ function add() {
...
@@ -229,8 +228,8 @@ function add() {
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGYX001A?methodName=initLoad"
,
href
:
"HGYX001A?methodName=initLoad"
,
title
:
"<div style='text-align: center;'>新增销售发货</div>"
,
title
:
"<div style='text-align: center;'>新增销售发货</div>"
,
width
:
"
80
%"
,
width
:
"
95
%"
,
height
:
"
80
%"
,
height
:
"
95
%"
,
callbackName
:
windowCallback
callbackName
:
windowCallback
});
});
}
}
...
...
src/main/webapp/HG/YX/HGYX001A.js
View file @
c2ca5d98
...
@@ -31,28 +31,6 @@ $(function() {
...
@@ -31,28 +31,6 @@ $(function() {
this
.
filter
(
options
);
this
.
filter
(
options
);
}
}
},
{
},
{
field
:
"inventCode"
,
title
:
"存货名称"
,
filter
:
function
(
options
)
{
let
inventType
=
options
.
model
[
"inventType"
];
if
(
inventType
){
return
_
.
filter
(
INVENT_CODE_BOX
,
function
(
item
)
{
return
item
[
"param1Field"
]
===
inventType
;
})
}
return
options
.
values
;
},
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
INVENT_CODE_BOX
.
length
;
i
++
)
{
if
(
INVENT_CODE_BOX
[
i
][
'valueField'
]
===
dataItem
[
'inventCode'
]){
dataItem
[
'inventName'
]
=
INVENT_CODE_BOX
[
i
][
'textField'
]
dataItem
[
'inventRecordId'
]
=
INVENT_CODE_BOX
[
i
][
'param2Field'
];
return
INVENT_CODE_BOX
[
i
][
'textField'
];
}
}
return
dataItem
[
"inventCode"
];
}
},
{
field
:
"spec"
,
field
:
"spec"
,
filter
:
function
(
options
)
{
filter
:
function
(
options
)
{
let
specId
=
options
.
model
[
"inventRecordId"
];
let
specId
=
options
.
model
[
"inventRecordId"
];
...
@@ -397,8 +375,8 @@ function detail() {
...
@@ -397,8 +375,8 @@ function detail() {
JSColorbox
.
open
({
JSColorbox
.
open
({
href
:
"HGYX001C?methodName=initLoad&inqu_status-0-companyCode="
+
consCode
+
"&inqu_status-0-projCode="
+
projCode
+
"&inqu_status-0-whCode="
+
consWhCode
+
"&inqu_status-0-specIds="
+
ids
.
join
(
','
),
href
:
"HGYX001C?methodName=initLoad&inqu_status-0-companyCode="
+
consCode
+
"&inqu_status-0-projCode="
+
projCode
+
"&inqu_status-0-whCode="
+
consWhCode
+
"&inqu_status-0-specIds="
+
ids
.
join
(
','
),
title
:
"<div style='text-align: center;'>选择发货明细</div>"
,
title
:
"<div style='text-align: center;'>选择发货明细</div>"
,
width
:
"9
0
%"
,
width
:
"9
5
%"
,
height
:
"
80
%"
,
height
:
"
95
%"
,
callbackName
:
detailCallback
callbackName
:
detailCallback
});
});
}
}
...
...
src/main/webapp/HG/YX/HGYX001A.jsp
View file @
c2ca5d98
...
@@ -75,11 +75,7 @@
...
@@ -75,11 +75,7 @@
filter=
"contains"
>
filter=
"contains"
>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"inventTypeDetail"
cname=
"存货类型大类"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventTypeDetail"
cname=
"存货类型大类"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"inventCode"
cname=
"存货编码"
enable=
"false"
width=
"120"
align=
"center"
required=
"true"
<EF:EFColumn
ename=
"inventCode"
cname=
"存货编码"
enable=
"false"
width=
"100"
/>
blockName=
"invent_code_box_block_id"
textField=
"textField"
valueField=
"valueField"
columnTemplate=
"#=valueField#"
itemTemplate=
"#=valueField#-#=textField#"
readonly=
"false"
filter=
"contains"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
enable=
"false"
width=
"120"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
enable=
"false"
width=
"120"
/>
<EF:EFComboColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
required=
"true"
<EF:EFComboColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
required=
"true"
blockName=
"spec_box_block_id"
textField=
"textField"
valueField=
"valueField"
blockName=
"spec_box_block_id"
textField=
"textField"
valueField=
"valueField"
...
...
src/main/webapp/HG/YX/HGYX001C.jsp
View file @
c2ca5d98
...
@@ -33,11 +33,7 @@
...
@@ -33,11 +33,7 @@
filter="contains">
filter="contains">
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn ename="inventTypeDetail" cname="存货类型大类" hidden="true"/>
<EF:EFColumn ename="inventTypeDetail" cname="存货类型大类" hidden="true"/>
<EF:EFComboColumn ename="inventCode" cname="存货编码" enable="true" width="120" align="center" required="true"
<EF:EFColumn ename="inventCode" cname="存货编码" enable="false" width="120"/>
blockName="invent_record_block_id" textField="textField" valueField="valueField"
columnTemplate="#=valueField#" itemTemplate="#=valueField#-#=textField#" readonly="true"
filter="contains">
</EF:EFComboColumn>
<EF:EFColumn ename="inventName" cname="存货名称" enable="false" width="120"/>
<EF:EFColumn ename="inventName" cname="存货名称" enable="false" width="120"/>
<EF:EFComboColumn ename="spec" cname="规格" enable="true" width="120" align="center" required="true"
<EF:EFComboColumn ename="spec" cname="规格" enable="true" width="120" align="center" required="true"
blockName="spec_name_block_id" textField="textField" valueField="valueField"
blockName="spec_name_block_id" textField="textField" valueField="valueField"
...
...
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