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
bcc06ede
Commit
bcc06ede
authored
Nov 20, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复生产驾驶舱项目产量bug
parent
96b6288d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
HPBI003.xml
src/main/java/com/baosight/hpjx/hp/bi/sql/HPBI003.xml
+4
-4
HPPZ019.jsp
src/main/webapp/HP/PZ/HPPZ019.jsp
+2
-2
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/bi/sql/HPBI003.xml
View file @
bcc06ede
...
...
@@ -405,10 +405,10 @@
b.PARENT_ID ,
a.PLAN_INFO_NO,
concat(left(max(a.PLAN_COMPLETION_DATE), 4), '/', substring(max(a.PLAN_COMPLETION_DATE), 5, 2), '/', right(max(a.PLAN_COMPLETION_DATE), 2)) as JHDATE,
concat(format(ifnull((sum(b.NUM
)* sum(b.UNIT_WT)
/ 1000), 0), 2), '吨') as JHCL,
concat(format(ifnull( sum(c.AMOUNT
)* sum(b.UNIT_WT)
/ 1000 , 0 ), 2) , '吨') as SJCL,
concat(format((ifnull( sum(c.AMOUNT
)* sum(b.UNIT_WT)/ 1000 , 0 ) / ifnull( sum(b.NUM)* sum(
b.UNIT_WT)/ 1000 , 0 ) * 100), 2), '%') as SCJD,
concat(format((ifnull( sum(d.AMOUNT
)* sum(d.UNIT_WEIGHT), 0 ) / ifnull( sum(b.NUM)* sum(
b.UNIT_WT) , 0 ) * 100), 2), '%') as FHJD
concat(format(ifnull((sum(b.NUM
* b.UNIT_WT)
/ 1000), 0), 2), '吨') as JHCL,
concat(format(ifnull( sum(c.AMOUNT
* b.UNIT_WT)
/ 1000 , 0 ), 2) , '吨') as SJCL,
concat(format((ifnull( sum(c.AMOUNT
* b.UNIT_WT) / 1000 , 0 ) / ifnull( sum(b.NUM *
b.UNIT_WT)/ 1000 , 0 ) * 100), 2), '%') as SCJD,
concat(format((ifnull( sum(d.AMOUNT
* d.UNIT_WEIGHT), 0 ) / ifnull( sum(b.NUM *
b.UNIT_WT) , 0 ) * 100), 2), '%') as FHJD
from ${hpjxSchema}.T_HPSC003 a
left join
(
...
...
src/main/webapp/HP/PZ/HPPZ019.jsp
View file @
bcc06ede
...
...
@@ -27,7 +27,7 @@
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="customer_record_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
<EF:EFSelect ename="inqu_status-0-contractStatus" cname="
合同
状态" colWidth="3">
<EF:EFSelect ename="inqu_status-0-contractStatus" cname="
明细
状态" colWidth="3">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="未录入" value="0"/>
<EF:EFOption label="已录入" value="1"/>
...
...
@@ -65,7 +65,7 @@
displayType="0.000" sort="true" align="right" maxLength="20" required="true"
data-regex="/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
data-errorprompt="请输入数字,该值最大可设置17位整数和3位小数!"/>
<EF:EFComboColumn ename="contractStatus" cname="
合同
状态" enable="false" width="60" align="center" defaultValue="0">
<EF:EFComboColumn ename="contractStatus" cname="
明细
状态" enable="false" width="60" align="center" defaultValue="0">
<EF:EFOption label="未录入" value="0"/>
<EF:EFOption label="已录入" value="1"/>
</EF:EFComboColumn>
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
bcc06ede
...
...
@@ -190,7 +190,7 @@ $(function () {
return
"生产计划零件_"
+
kendo
.
toString
(
new
Date
(),
IPLAT
.
FORMAT
.
DATE_14_PR
);
},
exportFileType
:
"xls"
,
// 默认值是xls,可选值为pdf[规划中]
exportBlockId
:
"
result
"
,
// 默认值和blockId相同,导出的EiInfo中的指定数据块被导出
exportBlockId
:
"
detail
"
,
// 默认值和blockId相同,导出的EiInfo中的指定数据块被导出
},
}
}
...
...
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