Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
f6f92421
Commit
f6f92421
authored
Apr 01, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-03-31 销售管理添加部件优化
parent
6599ee79
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
13 deletions
+14
-13
HPSC001.js
src/main/webapp/HP/SC/HPSC001.js
+8
-7
HPSC001.jsp
src/main/webapp/HP/SC/HPSC001.jsp
+6
-6
No files found.
src/main/webapp/HP/SC/HPSC001.js
View file @
f6f92421
...
@@ -64,18 +64,19 @@ $(function () {
...
@@ -64,18 +64,19 @@ $(function () {
detailGrid
.
setEiBlock
(
block
);
detailGrid
.
setEiBlock
(
block
);
}
}
resultRows
=
e
.
model
;
resultRows
=
e
.
model
;
/*var info = new EiInfo()
var projCode = e.model['projCode'];
info.set("inqu_status-0-projCode", projCode);
info.set("inqu_status-0-lv", 2);
queryDetail(info);*/
}
else
{
resultRows
=
[];
}
var
info
=
new
EiInfo
()
var
info
=
new
EiInfo
()
var
projCode
=
e
.
model
[
'projCode'
];
var
projCode
=
e
.
model
[
'projCode'
];
info
.
set
(
"inqu_status-0-projCode"
,
projCode
);
info
.
set
(
"inqu_status-0-projCode"
,
projCode
);
info
.
set
(
"inqu_status-0-lv"
,
2
);
info
.
set
(
"inqu_status-0-lv"
,
2
);
queryDetail
(
info
);
queryDetail
(
info
);
/*EiCommunicator.send("HPSC002", "queryDetail", info, {
onSuccess: function (ei) {//返回结果集
detailGrid.setEiInfo(ei);
}, onFail: function (ei) {
}
}, {async: false});*/
}
},
},
},
},
"detail"
:{
"detail"
:{
...
...
src/main/webapp/HP/SC/HPSC001.jsp
View file @
f6f92421
...
@@ -75,9 +75,9 @@
...
@@ -75,9 +75,9 @@
<EF:EFColumn
ename=
"parentPrdtName"
cname=
"上级部件名称"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentPrdtName"
cname=
"上级部件名称"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"status"
cname=
"提交状态"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"status"
cname=
"提交状态"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"pgStatus"
cname=
"派工状态"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"pgStatus"
cname=
"派工状态"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
align=
"center"
required=
"true"
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
align=
"center"
required=
"true"
filter=
"contains"
width=
"90"
enable=
"false"
>
filter=
"contains"
width=
"90"
enable=
"false"
hidden=
"true"
>
<EF:EFOptions
blockId=
"codeset_code_block_id"
valueField=
"valueField"
textField=
"textField"
/>
<EF:EFOptions
blockId=
"codeset_code_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
hidden=
'true'
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
hidden=
'true'
/>
...
@@ -91,15 +91,15 @@
...
@@ -91,15 +91,15 @@
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"80"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"80"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
data-regex=
"/^-?[0-9]{1,9}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,9}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置9位整数和3位小数!"
/>
data-errorprompt=
"请输入数字,该值最大可设置9位整数和3位小数!"
/>
<EF:EFColumn
ename=
"deliveryDate"
cname=
"交货日期"
width=
"100"
editType=
"date"
required=
'true'
<EF:EFColumn
ename=
"deliveryDate"
cname=
"交货日期"
width=
"100"
editType=
"date"
required=
'true'
align=
"center"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"num"
cname=
"数量"
maxLength=
"15"
displayType=
"0.000"
format=
"{0:N0}"
required=
"true"
<EF:EFColumn
ename=
"num"
cname=
"数量"
maxLength=
"15"
displayType=
"0.000"
format=
"{0:N0}"
required=
"true"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
defaultValue=
"0"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
<EF:EFColumn
ename=
"unitWt"
format=
"{0:N3}"
cname=
"单重(T)"
maxLength=
"15"
displayType=
"0.000"
required=
"true"
<EF:EFColumn
ename=
"unitWt"
format=
"{0:N3}"
cname=
"单重(T)"
maxLength=
"15"
displayType=
"0.000"
required=
"true"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
defaultValue=
"0"
hidden =
"true"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
defaultValue=
"0"
hidden=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
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