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
7f86598e
Commit
7f86598e
authored
Apr 25, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-04-25 销售目标和销售计划显示样式优化
parent
dbbd5a3a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
ServiceHPPZ017.java
.../java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ017.java
+1
-1
HPPZ017.jsp
src/main/webapp/HP/PZ/HPPZ017.jsp
+2
-2
HPPZ019.jsp
src/main/webapp/HP/PZ/HPPZ019.jsp
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/pz/service/ServiceHPPZ017.java
View file @
7f86598e
...
...
@@ -99,7 +99,7 @@ public class ServiceHPPZ017 extends ServiceEPBase {
public
void
add
(
HPPZ017
hppz017
)
{
hppz017
.
setSalesCode
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
HPPZ017_SALES_CODE
));
List
<
HPPZ017
>
hppz017s
=
HPPZTools
.
HpPz017
.
getYear
(
hppz017
.
getYear
());
AssertUtils
.
isNotEmpty
(
hppz017s
,
String
.
format
(
"年度[%s]
已存在
"
,
hppz017
.
getYear
()));
AssertUtils
.
isNotEmpty
(
hppz017s
,
String
.
format
(
"年度[%s]
销售目标已存在,添加失败!
"
,
hppz017
.
getYear
()));
DaoUtils
.
insert
(
HPPZ017
.
INSERT
,
hppz017
);
}
...
...
src/main/webapp/HP/PZ/HPPZ017.jsp
View file @
7f86598e
...
...
@@ -28,10 +28,10 @@
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="120" align="center"/>
<EF:EFColumn ename="year" cname="年度" align="center" width="120" editType="date" start="decade" depth="decade"
readonly="true" dateFormat="yyyy" parseFormats="['yyyy']"/>
readonly="true" dateFormat="yyyy" parseFormats="['yyyy']"
required="true"
/>
<EF:EFColumn ename="salesCode" cname="单号" enable="false" align="center" width="160"/>
<EF:EFColumn ename="salesAmount" cname="营业额" width="120" format="{0:N2}"
displayType="0.000" sort="true" align="right" maxLength="20"
displayType="0.000" sort="true" align="right" maxLength="20"
defaultValue="0"
data-regex="/^-?[0-9]{1,18}([.][0-9]{1,2})?$/"
data-errorprompt="请输入数字,该值最大可设置17位整数和3位小数!"/>
<EF:EFColumn ename="targetExplain" cname="目标说明" align="center" width="200" editType="textarea"/>
...
...
src/main/webapp/HP/PZ/HPPZ019.jsp
View file @
7f86598e
...
...
@@ -47,8 +47,8 @@
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="100" align="center"/>
<EF:EFColumn ename="contractDate" cname="合同日期" width="100" align="center" readonly="true"
editType="date" dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
<EF:EFColumn ename="contractCode" cname="合同号" width="100" readonly="true" required="true"/>
<EF:EFColumn ename="contractName" cname="合同名称" width="120" readonly="true" required="true"/>
<EF:EFColumn ename="contractCode" cname="合同号" width="100"
align="center"
readonly="true" required="true"/>
<EF:EFColumn ename="contractName" cname="合同名称" width="120"
align="center"
readonly="true" required="true"/>
<EF:EFComboColumn ename="planSalesCode" cname="销售计划单号" blockName="planSalesCode_block_id"
columnTemplate="#=textField#-#=valueField#" itemTemplate="#=textField#-#=valueField#"
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