Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-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
hg-smart
Commits
2598a20d
Commit
2598a20d
authored
Aug 16, 2024
by
江和松
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
b2807f50
acc52f00
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
133 additions
and
9 deletions
+133
-9
HGCW012.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012.java
+32
-0
HGCW013.java
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW013.java
+33
-0
ServiceHGCW012.java
.../java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
+6
-0
ServiceHGCW012C.java
...java/com/baosight/hggp/hg/cw/service/ServiceHGCW012C.java
+1
-1
HGCW012.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012.xml
+17
-1
HGCW012A.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
+2
-0
HGCW013.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW013.xml
+13
-1
HGCW012A.js
src/main/webapp/HG/CW/HGCW012A.js
+14
-0
HGSC001C.jsp
src/main/webapp/HG/SC/HGSC001C.jsp
+5
-2
HGSC001D.jsp
src/main/webapp/HG/SC/HGSC001D.jsp
+5
-2
HGSC001U.jsp
src/main/webapp/HG/SC/HGSC001U.jsp
+5
-2
No files found.
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW012.java
View file @
2598a20d
...
...
@@ -28,6 +28,8 @@ public class HGCW012 extends DaoEPBase {
public
static
final
String
FIELD_ACCOUNT_CODE
=
"accountCode"
;
/* 企业编码*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_CODE
=
"projCode"
;
/* 项目编号*/
public
static
final
String
FIELD_SETTLEMENT_NUMBER
=
"settlementNumber"
;
/* 来源单号*/
public
static
final
String
FIELD_BILL_TYBE
=
"billTybe"
;
/* 票据类型*/
public
static
final
String
FIELD_BILL_NUMBER
=
"billNumber"
;
/* 发票号*/
...
...
@@ -98,6 +100,8 @@ public class HGCW012 extends DaoEPBase {
private
String
accountCode
=
" "
;
/* 企业编码*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projCode
=
" "
;
/* 项目编号*/
private
String
settlementNumber
=
" "
;
/* 来源单号*/
private
Integer
billTybe
=
new
Integer
(
0
);
/* 票据类型*/
private
String
billNumber
=
" "
;
/* 发票号*/
...
...
@@ -149,6 +153,14 @@ public class HGCW012 extends DaoEPBase {
eiColumn
.
setDescName
(
"公司名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_NAME
);
eiColumn
.
setDescName
(
"项目名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_CODE
);
eiColumn
.
setDescName
(
"项目编号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SETTLEMENT_NUMBER
);
eiColumn
.
setDescName
(
"来源单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -335,6 +347,22 @@ public class HGCW012 extends DaoEPBase {
return
this
.
companyName
;
}
public
String
getProjName
()
{
return
projName
;
}
public
void
setProjName
(
String
projName
)
{
this
.
projName
=
projName
;
}
public
String
getProjCode
()
{
return
projCode
;
}
public
void
setProjCode
(
String
projCode
)
{
this
.
projCode
=
projCode
;
}
/**
* set the companyName - 公司名称.
*
...
...
@@ -787,6 +815,8 @@ public class HGCW012 extends DaoEPBase {
setAccountCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setProjName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_NAME
)),
projName
));
setProjCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_CODE
)),
projCode
));
setSettlementNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SETTLEMENT_NUMBER
)),
settlementNumber
));
setBillTybe
(
NumberUtils
.
toInteger
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_TYBE
)),
billTybe
));
setBillNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_NUMBER
)),
billNumber
));
...
...
@@ -827,6 +857,8 @@ public class HGCW012 extends DaoEPBase {
map
.
put
(
FIELD_ACCOUNT_CODE
,
StringUtils
.
toString
(
accountCode
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT_CODE
)));
map
.
put
(
FIELD_COMPANY_CODE
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_CODE
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_PROJ_NAME
,
StringUtils
.
toString
(
projName
,
eiMetadata
.
getMeta
(
FIELD_PROJ_NAME
)));
map
.
put
(
FIELD_PROJ_CODE
,
StringUtils
.
toString
(
projCode
,
eiMetadata
.
getMeta
(
FIELD_PROJ_CODE
)));
map
.
put
(
FIELD_SETTLEMENT_NUMBER
,
StringUtils
.
toString
(
settlementNumber
,
eiMetadata
.
getMeta
(
FIELD_SETTLEMENT_NUMBER
)));
map
.
put
(
FIELD_BILL_TYBE
,
StringUtils
.
toString
(
billTybe
,
eiMetadata
.
getMeta
(
FIELD_BILL_TYBE
)));
map
.
put
(
FIELD_BILL_NUMBER
,
StringUtils
.
toString
(
billNumber
,
eiMetadata
.
getMeta
(
FIELD_BILL_NUMBER
)));
...
...
src/main/java/com/baosight/hggp/hg/cw/domain/HGCW013.java
View file @
2598a20d
...
...
@@ -29,6 +29,8 @@ public class HGCW013 extends DaoEPBase {
public
static
final
String
FIELD_ACCOUNT_CODE
=
"accountCode"
;
/* 企业编码*/
public
static
final
String
FIELD_COMPANY_CODE
=
"companyCode"
;
/* 公司编码*/
public
static
final
String
FIELD_COMPANY_NAME
=
"companyName"
;
/* 公司名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_CODE
=
"projCode"
;
/* 项目编号*/
public
static
final
String
FIELD_SETTLEMENT_NUMBER
=
"settlementNumber"
;
/* 来源单号*/
public
static
final
String
FIELD_BILL_NUMBER
=
"billNumber"
;
/* 发票号*/
public
static
final
String
FIELD_PARTY_A
=
"partyA"
;
/* 供应商名称*/
...
...
@@ -77,6 +79,8 @@ public class HGCW013 extends DaoEPBase {
private
String
accountCode
=
" "
;
/* 企业编码*/
private
String
companyCode
=
" "
;
/* 公司编码*/
private
String
companyName
=
" "
;
/* 公司名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projCode
=
" "
;
/* 项目编号*/
private
String
settlementNumber
=
" "
;
/* 来源单号*/
private
String
billNumber
=
" "
;
/* 发票号*/
private
String
partyA
=
" "
;
/* 供应商名称*/
...
...
@@ -119,6 +123,14 @@ public class HGCW013 extends DaoEPBase {
eiColumn
.
setDescName
(
"公司名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_NAME
);
eiColumn
.
setDescName
(
"项目名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_PROJ_CODE
);
eiColumn
.
setDescName
(
"项目编号"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SETTLEMENT_NUMBER
);
eiColumn
.
setDescName
(
"来源单号"
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
@@ -268,6 +280,23 @@ public class HGCW013 extends DaoEPBase {
public
void
setCompanyName
(
String
companyName
)
{
this
.
companyName
=
companyName
;
}
public
String
getProjName
()
{
return
projName
;
}
public
void
setProjName
(
String
projName
)
{
this
.
projName
=
projName
;
}
public
String
getProjCode
()
{
return
projCode
;
}
public
void
setProjCode
(
String
projCode
)
{
this
.
projCode
=
projCode
;
}
/**
* get the settlementNumber - 来源单号.
* @return the settlementNumber
...
...
@@ -506,6 +535,8 @@ public class HGCW013 extends DaoEPBase {
setAccountCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_ACCOUNT_CODE
)),
accountCode
));
setCompanyCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_CODE
)),
companyCode
));
setCompanyName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_COMPANY_NAME
)),
companyName
));
setProjName
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_NAME
)),
projName
));
setProjCode
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PROJ_CODE
)),
projCode
));
setSettlementNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_SETTLEMENT_NUMBER
)),
settlementNumber
));
setBillNumber
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_BILL_NUMBER
)),
billNumber
));
setPartyA
(
StringUtils
.
defaultIfEmpty
(
StringUtils
.
toString
(
map
.
get
(
FIELD_PARTY_A
)),
partyA
));
...
...
@@ -534,6 +565,8 @@ public class HGCW013 extends DaoEPBase {
map
.
put
(
FIELD_ACCOUNT_CODE
,
StringUtils
.
toString
(
accountCode
,
eiMetadata
.
getMeta
(
FIELD_ACCOUNT_CODE
)));
map
.
put
(
FIELD_COMPANY_CODE
,
StringUtils
.
toString
(
companyCode
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_CODE
)));
map
.
put
(
FIELD_COMPANY_NAME
,
StringUtils
.
toString
(
companyName
,
eiMetadata
.
getMeta
(
FIELD_COMPANY_NAME
)));
map
.
put
(
FIELD_PROJ_NAME
,
StringUtils
.
toString
(
projName
,
eiMetadata
.
getMeta
(
FIELD_PROJ_NAME
)));
map
.
put
(
FIELD_PROJ_CODE
,
StringUtils
.
toString
(
projCode
,
eiMetadata
.
getMeta
(
FIELD_PROJ_CODE
)));
map
.
put
(
FIELD_SETTLEMENT_NUMBER
,
StringUtils
.
toString
(
settlementNumber
,
eiMetadata
.
getMeta
(
FIELD_SETTLEMENT_NUMBER
)));
map
.
put
(
FIELD_BILL_NUMBER
,
StringUtils
.
toString
(
billNumber
,
eiMetadata
.
getMeta
(
FIELD_BILL_NUMBER
)));
map
.
put
(
FIELD_PARTY_A
,
StringUtils
.
toString
(
partyA
,
eiMetadata
.
getMeta
(
FIELD_PARTY_A
)));
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012.java
View file @
2598a20d
...
...
@@ -228,6 +228,8 @@ public class ServiceHGCW012 extends ServiceBase {
hgcw012
.
setBillNumber
(
hgcw013List
.
get
(
0
).
getBillNumber
());
hgcw012
.
setSettlementNumber
(
settlementNumber
.
toString
().
substring
(
0
,
settlementNumber
.
length
()
-
1
));
hgcw012
.
setRemainingAmount
(
new
BigDecimal
(
decimalFormat
.
format
(
totalContractPriceIncluding
)));
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
this
.
add
(
hgcw012
);
//生成明细表
...
...
@@ -308,6 +310,8 @@ public class ServiceHGCW012 extends ServiceBase {
//hgcw012.setSigningDate(DateUtils.shortDate());
hgcw012
.
setReceiveDate
(
DateUtils
.
shortDate
());
hgcw012
.
setPartyA
(
hgcw013List
.
get
(
0
).
getPartyA
());
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
//BigDecimal totalContractPriceIncluding = BigDecimal.ZERO;
//StringBuffer settlementNumber = new StringBuffer();
Map
<
String
,
BigDecimal
>
rowMap
=
new
HashMap
<>();
...
...
@@ -424,6 +428,8 @@ public class ServiceHGCW012 extends ServiceBase {
hgcw012
.
setBillNumber
(
hgcw013List
.
get
(
0
).
getBillNumber
());
hgcw012
.
setSettlementNumber
(
settlementNumber
.
toString
().
substring
(
0
,
settlementNumber
.
length
()
-
1
));
hgcw012
.
setRemainingAmount
(
new
BigDecimal
(
decimalFormat
.
format
(
totalContractPriceIncluding
)));
hgcw012
.
setProjCode
(
hgcw013List
.
get
(
0
).
getProjCode
());
hgcw012
.
setProjName
(
hgcw013List
.
get
(
0
).
getProjName
());
this
.
add
(
hgcw012
);
//生成明细表
...
...
src/main/java/com/baosight/hggp/hg/cw/service/ServiceHGCW012C.java
View file @
2598a20d
...
...
@@ -52,7 +52,7 @@ public class ServiceHGCW012C extends ServiceBase {
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
inInfo
=
super
.
query
(
inInfo
,
HGCW013
.
QUERY
,
new
HGCW01
2
());
inInfo
=
super
.
query
(
inInfo
,
HGCW013
.
QUERY
,
new
HGCW01
3
());
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012.xml
View file @
2598a20d
...
...
@@ -43,6 +43,8 @@
ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
COMPANY_NAME as "companyName",
<!-- 公司名称 -->
PROJ_CODE as "projCode",
<!-- 项目编号 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
SETTLEMENT_NUMBER as "settlementNumber",
<!-- 来源单号 -->
BILL_TYBE as "billTybe",
<!-- 票据类型 -->
BILL_NUMBER as "billNumber",
<!-- 发票号 -->
...
...
@@ -84,6 +86,12 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projCode"
>
PROJ_CODE = #projCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"settlementNumber"
>
SETTLEMENT_NUMBER = #settlementNumber#
</isNotEmpty>
...
...
@@ -293,6 +301,8 @@
ACCOUNT_CODE,
<!-- 企业编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
PROJ_CODE,
<!-- 项目编号 -->
PROJ_NAME,
<!-- 项目名称 -->
SETTLEMENT_NUMBER,
<!-- 来源单号 -->
BILL_TYBE,
<!-- 票据类型 -->
BILL_NUMBER,
<!-- 发票号 -->
...
...
@@ -321,7 +331,11 @@
DEPOSIT_QTY,
<!-- 入库数量 -->
RECEIVE_WEIGHT
<!-- 收货重量 -->
)
VALUES (#id#, #accountCode#, #companyCode#, #companyName#, #settlementNumber#, #billTybe#, #billNumber#, #billState#, #signingDate#, #partyA#, #reviewStatus#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#, #remainingAmount#, #receiveDate#, #contractType#, #inventTypeDetail#, #inventCode#, #inventName#, #spec#, #depositQty#, #receiveWeight#)
VALUES (#id#, #accountCode#, #companyCode#, #companyName#, #projCode#, #projName#, #settlementNumber#,
#billTybe#, #billNumber#, #billState#, #signingDate#, #partyA#, #reviewStatus#, #taxPoints#,
#thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#,
#createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#, #remainingAmount#, #receiveDate#,
#contractType#, #inventTypeDetail#, #inventCode#, #inventName#, #spec#, #depositQty#, #receiveWeight#)
<selectKey
resultClass=
"long"
keyProperty=
"id"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGCW012
</selectKey>
...
...
@@ -338,6 +352,8 @@
ACCOUNT_CODE = #accountCode#,
<!-- 企业编码 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
PROJ_CODE = #projCode#,
<!-- 项目编号 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
SETTLEMENT_NUMBER = #settlementNumber#,
<!-- 来源单号 -->
BILL_TYBE = #billTybe#,
<!-- 票据类型 -->
BILL_NUMBER = #billNumber#,
<!-- 发票号 -->
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW012A.xml
View file @
2598a20d
...
...
@@ -421,6 +421,8 @@
A.ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
A.COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
A.COMPANY_NAME as "companyName",
<!-- 公司名称 -->
A.PROJ_CODE as "projCode",
<!-- 项目编码 -->
A.PROJ_NAME as "projName",
<!-- 项目名称 -->
B.SUP_CODE as "supCode",
<!-- 供应商编码 -->
B.SUP_NAME as "supName",
<!-- 供应商名称 -->
A.RECEIVE_DATE as "receiveDate",
<!-- 收货日期 -->
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW013.xml
View file @
2598a20d
...
...
@@ -32,6 +32,8 @@
ACCOUNT_CODE as "accountCode",
<!-- 企业编码 -->
COMPANY_CODE as "companyCode",
<!-- 公司编码 -->
COMPANY_NAME as "companyName",
<!-- 公司名称 -->
PROJ_CODE as "projCode",
<!-- 项目编号 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
SETTLEMENT_NUMBER as "settlementNumber",
<!-- 来源单号 -->
BILL_NUMBER as "billNumber",
<!-- 发票号 -->
PARTY_A as "partyA",
<!-- 供应商名称 -->
...
...
@@ -64,6 +66,12 @@
<isNotEmpty
prepend=
" AND "
property=
"companyName"
>
COMPANY_NAME = #companyName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projCode"
>
PROJ_CODE = #projCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"settlementNumber"
>
SETTLEMENT_NUMBER = #settlementNumber#
</isNotEmpty>
...
...
@@ -199,6 +207,8 @@
ACCOUNT_CODE,
<!-- 企业编码 -->
COMPANY_CODE,
<!-- 公司编码 -->
COMPANY_NAME,
<!-- 公司名称 -->
PROJ_CODE,
<!-- 项目编号 -->
PROJ_NAME,
<!-- 项目名称 -->
SETTLEMENT_NUMBER,
<!-- 来源单号 -->
BILL_NUMBER,
<!-- 发票号 -->
PARTY_A,
<!-- 供应商名称 -->
...
...
@@ -214,7 +224,7 @@
UPDATED_TIME,
<!-- 记录修改时间 -->
DEP_CODE
<!-- 部门编码 -->
)
VALUES (#id#, #mainId#, #accountCode#, #companyCode#, #companyName#, #settlementNumber#, #billNumber#, #partyA#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#)
VALUES (#id#, #mainId#, #accountCode#, #companyCode#, #companyName#, #
projCode#, #projName#, #
settlementNumber#, #billNumber#, #partyA#, #taxPoints#, #thisSettlementTax#, #thisSettlementAmount#, #totalContractPriceIncluding#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #depCode#)
</insert>
<delete
id=
"delete"
>
...
...
@@ -232,6 +242,8 @@
ACCOUNT_CODE = #accountCode#,
<!-- 企业编码 -->
COMPANY_CODE = #companyCode#,
<!-- 公司编码 -->
COMPANY_NAME = #companyName#,
<!-- 公司名称 -->
PROJ_CODE = #projCode#,
<!-- 项目编号 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
SETTLEMENT_NUMBER = #settlementNumber#,
<!-- 来源单号 -->
BILL_NUMBER = #billNumber#,
<!-- 发票号 -->
PARTY_A = #partyA#,
<!-- 供应商名称 -->
...
...
src/main/webapp/HG/CW/HGCW012A.js
View file @
2598a20d
...
...
@@ -163,6 +163,20 @@ $(function () {
locked
:
false
},
{
field
:
"projCode"
,
title
:
"项目编号"
,
headerTemplate
:
"<span style='color: '>项目编号 </span>"
,
enable
:
false
,
locked
:
false
},
{
field
:
"projName"
,
title
:
"项目名称"
,
headerTemplate
:
"<span style='color: '>项目名称 </span>"
,
enable
:
false
,
locked
:
false
},
{
field
:
"receiveNo"
,
title
:
"收货编号"
,
headerTemplate
:
"<span style='color: '>收货编号 </span>"
,
...
...
src/main/webapp/HG/SC/HGSC001C.jsp
View file @
2598a20d
...
...
@@ -24,11 +24,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
src/main/webapp/HG/SC/HGSC001D.jsp
View file @
2598a20d
...
...
@@ -24,11 +24,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
src/main/webapp/HG/SC/HGSC001U.jsp
View file @
2598a20d
...
...
@@ -27,11 +27,14 @@
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
<EF:EFSelect
ename=
"result-0-genralContractCode"
cname=
"甲方"
colWidth=
"4"
required=
"true"
filter=
"contains"
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"genralContractComboBox"
resultId=
"customer_record_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
<EF:EFInput
ename=
"result-0-projCode"
cname=
"项目编号"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
...
...
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