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
87ff5439
Commit
87ff5439
authored
Jul 01, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-01 1、销售开票修改bug 2、销售收款可以选择未审核数据
parent
5f7c310b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
50 additions
and
26 deletions
+50
-26
HGCW010.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW010.xml
+9
-3
HGCW014.xml
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW014.xml
+1
-1
HGCW010.js
src/main/webapp/HG/CW/HGCW010.js
+3
-3
HGCW010.jsp
src/main/webapp/HG/CW/HGCW010.jsp
+7
-4
HGCW014.js
src/main/webapp/HG/CW/HGCW014.js
+2
-1
HGCW014A.jsp
src/main/webapp/HG/CW/HGCW014A.jsp
+9
-9
HGKC013A.js
src/main/webapp/HG/KC/HGKC013A.js
+16
-1
HGKC013A.jsp
src/main/webapp/HG/KC/HGKC013A.jsp
+3
-4
No files found.
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW010.xml
View file @
87ff5439
...
...
@@ -57,7 +57,7 @@
BILL_TYBE = #billTybe#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"billNumber"
>
BILL_NUMBER
= #billNumber#
BILL_NUMBER
like CONCAT('%',#billNumber#,'%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"billState"
>
BILL_STATE = #billState#
...
...
@@ -66,7 +66,7 @@
SIGNING_DATE = #signingDate#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partyA"
>
PARTY_A
= #partyA#
PARTY_A
LIKE CONCAT('%',#partyA#,'%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"reviewStatus"
>
REVIEW_STATUS = #reviewStatus#
...
...
@@ -110,6 +110,12 @@
<isNotEmpty
prepend=
" AND "
property=
"companyCodes"
>
COMPANY_CODE IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"companyCodes"
>
#companyCodes[]#
</iterate>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"signingDateFrom"
>
SIGNING_DATE
>
= REPLACE(#signingDateFrom#, '-', '')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"signingDateTo"
>
SIGNING_DATE
<
= REPLACE(#signingDateTo#, '-', '')
</isNotEmpty>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
...
...
@@ -147,7 +153,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
ID
a
sc
ID
de
sc
</isEmpty>
</dynamic>
...
...
src/main/java/com/baosight/hggp/hg/cw/sql/HGCW014.xml
View file @
87ff5439
...
...
@@ -130,7 +130,7 @@
$orderBy$
</isNotEmpty>
<isEmpty
property=
"orderBy"
>
ID
a
sc
ID
de
sc
</isEmpty>
</dynamic>
...
...
src/main/webapp/HG/CW/HGCW010.js
View file @
87ff5439
...
...
@@ -151,7 +151,7 @@ function windowCallback() {
}
function
contractDetailFunc
(
id
)
{
let
rows
=
resultGrid
.
getCheckedRows
();
/*
let rows = resultGrid.getCheckedRows();
if (rows.length != 1) {
message("请选择一条数据");
return;
...
...
@@ -159,9 +159,9 @@ function contractDetailFunc(id) {
if (rows[0].reviewStatus == "3") {
message("已经审核的单据不能修改");
return;
}
}
*/
JSColorbox
.
open
({
href
:
"HGCW010B?methodName=initLoad&inqu_status-0-mainId="
+
rows
[
0
].
id
+
"&efParentFormEname=HGCW010"
,
href
:
"HGCW010B?methodName=initLoad&inqu_status-0-mainId="
+
id
+
"&efParentFormEname=HGCW010"
,
title
:
"<div style='text-align: center;'>开票清单</div>"
,
width
:
"90%"
,
height
:
"90%"
,
...
...
src/main/webapp/HG/CW/HGCW010.jsp
View file @
87ff5439
...
...
@@ -15,7 +15,10 @@
format=
"yyyy-MM-dd"
ratio=
"3:3"
satrtRatio=
"4:8"
endRatio=
"4:8"
readonly=
"true"
>
</EF:EFDateSpan>
<EF:EFInput
cname=
"客户名称"
ename=
"partyA"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"票据类型"
ename=
"billTybe"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"票据类型"
ename=
"inqu_status-0-billTybe"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
</EF:EFSelect>
<EF:EFInput
cname=
"发票号"
ename=
"billNumber"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"开票状态"
ename=
"inqu_status-0-billState"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
...
...
@@ -28,9 +31,9 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
isFloat=
"true"
autoBind=
"false"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"
12
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"
12
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"1
2
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"
20
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"
20
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"1
4
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFComboColumn
ename=
"billTybe"
cname=
"票据类型"
width=
"120"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"true"
>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
...
...
src/main/webapp/HG/CW/HGCW014.js
View file @
87ff5439
...
...
@@ -81,7 +81,8 @@ function choiceFunc() {
}
JSColorbox
.
open
({
href
:
"HGCW014A?methodName=initLoad&inqu_status-0-hiddenConditions=1"
+
"&inqu_status-0-billState=2"
+
"&inqu_status-0-billState=2"
+
/*已开票*/
"&inqu_status-0-reviewStatus=1"
+
/*已审核*/
"&inqu_status-0-mainId="
+
mainId
+
"&efParentFormEname=HGCW014"
,
title
:
"<div style='text-align: center;'>销售开票</div>"
,
...
...
src/main/webapp/HG/CW/HGCW014A.jsp
View file @
87ff5439
...
...
@@ -10,19 +10,19 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"隐藏条件"
ename=
"partyA"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"隐藏条件"
ename=
"mainId"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"隐藏条件"
ename=
"reviewStatus"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFInput
cname=
"隐藏条件"
ename=
"billState"
blockId=
"inqu_status"
row=
"0"
type=
"hidden"
/>
<EF:EFDateSpan
startCname=
"开票日期(从)"
endCname=
"至"
blockId=
"inqu_status"
startName=
"signingDateFrom"
endName=
"signingDateTo"
row=
"0"
role=
"date"
format=
"yyyy-MM-dd"
ratio=
"3:3"
satrtRatio=
"4:8"
endRatio=
"4:8"
readonly=
"true"
>
</EF:EFDateSpan>
<EF:EFInput
cname=
"客户名称"
ename=
"partyA"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"票据类型"
ename=
"inqu_status-0-billTybe"
colWidth=
"3"
filter=
"contains"
>
<EF:EFInput
cname=
"客户名称"
ename=
"partyA"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
placeholder=
"模糊查询客户"
/>
<EF:EFSelect
cname=
"票据类型"
ename=
"inqu_status-0-billTybe"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
</EF:EFSelect>
<EF:EFInput
cname=
"发票号"
ename=
"billNumber"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"发票号"
ename=
"billNumber"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
placeholder=
"模糊查询发票号"
/>
</div>
</EF:EFRegion>
...
...
@@ -31,11 +31,11 @@
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"thisAmount"
cname=
"本次收款金额"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"remainingAmount"
cname=
"剩余开票金额"
width=
"120"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"
12
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"partyA"
cname=
"客户名称"
width=
"
20
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"
12
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"
12
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFComboColumn
ename=
"billTybe"
cname=
"票据类型"
width=
"1
0
0"
align=
"center"
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"
20
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"settlementNumber"
cname=
"来源单号"
width=
"
20
0"
enable=
"false"
readonly=
"true"
align=
"center"
/>
<EF:EFComboColumn
ename=
"billTybe"
cname=
"票据类型"
width=
"1
2
0"
align=
"center"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.cw.billTybe"
/>
</EF:EFComboColumn>
...
...
src/main/webapp/HG/KC/HGKC013A.js
View file @
87ff5439
$
(
function
()
{
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
var
inventTypeBox
=
__eiInfo
.
getBlock
(
"invent_type_box_block_id"
).
getMappedRows
();
...
...
@@ -45,6 +44,22 @@ $(function() {
}
}
return
dataItem
[
"inventCode"
];
},
editor
:
function
(
container
,
options
)
{
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
input
.
appendTo
(
container
);
input
.
kendoDropDownList
({
dataSource
:
inventCodedBox
,
minLength
:
0
,
dataTextField
:
"textField"
,
dataValueField
:
"valueField"
,
optionLabelTemplate
:
"#:valueField#-#:textField#-#:param3Field#"
,
valueTemplate
:
"#:valueField#-#:textField#-#:param3Field#"
,
template
:
"#:valueField#-#:textField#-#:param3Field#"
,
filter
:
"contains"
});
}
},
{
field
:
"spec"
,
...
...
src/main/webapp/HG/KC/HGKC013A.jsp
View file @
87ff5439
...
...
@@ -30,11 +30,10 @@
<EF:EFRegion id="result" title="记录集">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFColumn ename="id" cname="主键" hidden="true"/>
<
EF:EFComboColumn ename="inventCode" cname="存货名称" enable="true" width="120" align="center" required="true
"
<
%--<EF:EFComboColumn ename="inventCode" cname="存货名称" enable="true" width="120" align="center
"
blockName="invent_code_box_block_id" textField="textField" valueField="valueField"
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
filter="contains">
</EF:EFComboColumn>
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false" filter="contains" />--%>
<EF:EFColumn ename="inventCode" cname="存货名称" enable="true" required="true" readonly="false" width="200" align="center"/>
<EF:EFComboColumn ename="inventType" cname="存货类型" enable="true" width="120" align="center" required="true"
blockName="invent_type_box_block_id" textField="textField" valueField="valueField"
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
...
...
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