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
7240ae1f
Commit
7240ae1f
authored
Jan 03, 2024
by
wanghang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
非产品物料主数据维护申请
parent
de8de1fc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
9 deletions
+69
-9
nonProdApplyNext.js
...in/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
+39
-2
nonProdApplyNext.jsp
...n/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
+30
-7
No files found.
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.js
View file @
7240ae1f
...
...
@@ -3,6 +3,43 @@ $(document).ready(function () {
})
function
initializate
()
{
console
.
log
(
"aa"
)
$
(
"#a"
).
show
();
}
\ No newline at end of file
$
(
'input[name="maintenanceType"]'
).
change
(
function
()
{
if
(
$
(
this
).
is
(
':checked'
))
{
console
.
log
(
$
(
this
).
val
());
// 输出选中的值
switch
(
$
(
this
).
val
())
{
case
'new'
:
if
(
$
(
"#mtart"
).
val
()
==
"ZMPN"
){
UICtrl
.
enable
(
$
(
"#matnr"
));
}
else
{
UICtrl
.
disable
(
$
(
"#matnr"
));
}
UICtrl
.
disable
(
$
(
"#lvorm"
));
UICtrl
.
enable
(
$
(
"#mtart"
));
UICtrl
.
enable
(
$
(
"#matkl"
));
UICtrl
.
enable
(
$
(
"#spart"
));
break
;
case
'modify'
:
UICtrl
.
enable
(
$
(
"#lvorm"
))
UICtrl
.
disable
(
$
(
"#mtart"
));
UICtrl
.
disable
(
$
(
"#matkl"
));
UICtrl
.
disable
(
$
(
"#spart"
));
break
;
case
'extend'
:
UICtrl
.
enable
(
$
(
"#lvorm"
))
UICtrl
.
disable
(
$
(
"#mtart"
));
UICtrl
.
disable
(
$
(
"#matkl"
));
UICtrl
.
disable
(
$
(
"#spart"
));
break
;
}
}
});
$
(
'input[name="businessUsage"]'
).
change
(
function
()
{
if
(
$
(
this
).
is
(
":checked"
))
{
console
.
log
(
$
(
this
).
val
());
// 输出选中的值
}
});
}
topsun-xt/src/main/webapp/biz/topsun/sap/nonProdApply/nonProdApplyNext.jsp
View file @
7240ae1f
...
...
@@ -75,21 +75,28 @@
<x:inputC
name=
"lgtyp"
label=
"存储类型"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
""
label=
"文本说明"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
</div>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:checkboxListC
name=
"businessUsage"
label=
"业务用途"
dictionary=
"serviceusage"
labelCol=
"1"
fieldCol=
"11"
/>
</div>
</div>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-row"
>
<x:textareaC
rows=
"3"
name=
"textDescription"
label=
"文本说明"
labelCol=
"1"
fieldCol=
"11"
/>
</div>
</div>
<div
class=
"hg-form-cols"
>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"klart"
label=
"类型"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"classify"
label=
"分类"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
</div>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"vkorg"
label=
"销售组织"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"vtweg"
label=
"分销渠道"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -111,7 +118,9 @@
<x:inputC
name=
"mtpos"
label=
"销售项次组"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"tragr"
label=
"运输组"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div>
<div
class=
"hg-form-cols"
style=
"display: none"
id=
"a"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werks"
label=
"工厂"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bstme"
label=
"采购计量单位"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"umrenPurch"
label=
"转换分母"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -119,7 +128,9 @@
<x:inputC
name=
"ekgrp"
label=
"默认采购组"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"mprof"
label=
"MPN参数"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werksPurch"
label=
"工厂"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"lgort"
label=
"库存地点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"disgr"
label=
"MRP组"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -155,14 +166,20 @@
<x:inputC
name=
"sfcpf"
label=
"生产计划参数文件"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"insmk"
label=
"过账到质检"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werksQm"
label=
"工厂"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"lgortQm"
label=
"库存地点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"sernp"
label=
"序列号参数"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"serlv"
label=
"序列号水平"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"prctr"
label=
"利润中心"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werksProfit"
label=
"工厂"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"lgortProfit"
label=
"库存地点"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"lgnum"
label=
"仓库号"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -174,8 +191,11 @@
<x:inputC
name=
"lhme1"
label=
"仓库设施1存储单位"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"lety1"
label=
"仓库设施1类型"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div
>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"werksDoc"
label=
"工厂(文档要求)"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"kzdkz"
label=
"文档要求"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"art"
label=
"检验类型"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
@@ -187,8 +207,11 @@
<x:inputC
name=
"mer"
label=
"检查特性"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"dyn"
label=
"允许略过"
labelCol=
"1"
fieldCol=
"2"
/>
</div>
<div
class=
"hg-form-row box"
>
</div
>
<div
class=
"hg-form-cols"
style=
"display: none"
>
<div
class=
"hg-form-row"
>
<x:inputC
name=
"bwkey"
label=
"工厂"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"bklas"
label=
"评估分类"
labelCol=
"1"
fieldCol=
"2"
/>
<x:inputC
name=
"mlast"
label=
"价格确定"
labelCol=
"1"
fieldCol=
"2"
/>
...
...
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