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
e6c7fcbf
Commit
e6c7fcbf
authored
Nov 07, 2024
by
鲁鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ECN变更选择原材料接口
parent
45f1a04b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
9 deletions
+24
-9
epMaterialChangeFormDetail.js
...webapp/biz/topsun/ep/change/epMaterialChangeFormDetail.js
+22
-7
epMaterialChangeFormDetail.jsp
...ebapp/biz/topsun/ep/change/epMaterialChangeFormDetail.jsp
+1
-1
epChangeForm.ftl
...xt/src/main/webapp/template/print/topsun/epChangeForm.ftl
+1
-1
No files found.
topsun-xt/src/main/webapp/biz/topsun/ep/change/epMaterialChangeFormDetail.js
View file @
e6c7fcbf
...
...
@@ -16,21 +16,36 @@ function initialize(){
function
bindEvent
(){
$
(
'#pd'
).
searchbox
({
type
:
"system"
,
name
:
"
queryPd
"
,
type
:
"system"
,
name
:
"
sapMaterialSelect
"
,
checkbox
:
true
,
checkboxIndex
:
"
productCode
"
,
textIndex
:
"
productName
"
,
valueIndex
:
"
productCode
"
,
checkboxIndex
:
"
MATNR
"
,
textIndex
:
"
MAKTX
"
,
valueIndex
:
"
MATNR
"
,
getParam
:
function
(
item
)
{
return
{
filterValue
:
$
(
"#brandCode"
).
val
()
//
filterValue:$("#brandCode").val()
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#pd'
).
val
(
value
.
value
);
$
(
'#productName'
).
val
(
value
.
text
);
}
});
$
(
'#changedPd'
).
searchbox
({
type
:
"system"
,
name
:
"sapMaterialSelect"
,
checkbox
:
true
,
checkboxIndex
:
"MATNR"
,
textIndex
:
"MAKTX"
,
valueIndex
:
"MATNR"
,
getParam
:
function
(
item
)
{
return
{
//filterValue:$("#brandCode").val()
}
},
onChange
:
function
(
value
,
data
)
{
$
(
'#changedPd'
).
val
(
value
.
value
);
//$('#productName').val(value.text);
//$('#changedProductName').val(value.text);
$
(
'#changedProductName'
).
val
(
value
.
text
);
}
});
...
...
topsun-xt/src/main/webapp/biz/topsun/ep/change/epMaterialChangeFormDetail.jsp
View file @
e6c7fcbf
...
...
@@ -64,7 +64,7 @@
</div>
<x:title
title=
"REVISED SPEC 变更后产品信息"
name=
"group"
/>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"changedPd"
required=
"true"
label=
"产品代号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"10"
/>
<x:inputC
name=
"changedPd"
required=
"true"
label=
"产品代号"
labelCol=
"2"
maxLength=
"64"
fieldCol=
"10"
wrapper=
"select"
/>
</div>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"changedProductName"
required=
"true"
label=
"产品名称"
labelCol=
"2"
fieldCol=
"10"
/>
...
...
topsun-xt/src/main/webapp/template/print/topsun/epChangeForm.ftl
View file @
e6c7fcbf
...
...
@@ -54,7 +54,7 @@
<tr>
<td
class=
"left"
>
DATE日期:
<br/><
@
formatDate
date=
fillinDate/
></td>
<td
class=
"left"
>
BRAND品牌名称:
<br/>
${brandName?default("")?html}
</td>
<td
class=
"left"
>
CHANGE REQUESTED BY (DEPT/NAME)变更申请部门/姓名:
<br/>
${
deptName
?default("")?html}
</td>
<td
class=
"left"
>
CHANGE REQUESTED BY (DEPT/NAME)变更申请部门/姓名:
<br/>
${
changePerson
?default("")?html}
</td>
</tr>
</table>
<table
class=
"tableBorder"
>
...
...
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