Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
4aab8746
Commit
4aab8746
authored
Sep 19, 2023
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1d280a52
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
4 deletions
+54
-4
RecPayQuery.vue
src/components/FinancialModule/Kingdee/RecPayQuery.vue
+54
-4
No files found.
src/components/FinancialModule/Kingdee/RecPayQuery.vue
View file @
4aab8746
...
...
@@ -686,7 +686,7 @@
<em
style=
"cursor: pointer;"
@
click
.
stop=
"heightQueryBox=!heightQueryBox"
>
高级查询
<i
class=
"iconfont icon-gengduo q-mr-lg"
></i></em>
</span>
<button
class=
"hollowFixedBtn"
@
click=
"resetPageIndex(),getPageList()"
>
{{$t('pub.searchBtn')}}
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
<button
class=
"normalBtn"
@
click=
"method5()"
>
导出
</button>
<button
v-if=
"DataList&&DataList.length>0"
class=
"hollowFixedBtn"
@
click=
"Markers"
>
标记
</button>
</li>
</ul>
...
...
@@ -702,6 +702,7 @@
<el-table
:data=
"DataList"
border
style=
"width: 100%;font-size: 12px;"
height=
"550"
>
<el-table-column
prop=
"FrID"
label=
"单号"
width=
"100"
>
<
template
slot-scope=
'scope'
>
<el-checkbox
v-model=
"scope.row.checked"
></el-checkbox>
<span
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"openDetails(scope.row)"
>
{{
scope
.
row
.
FrID
}}
</span>
</
template
>
</el-table-column>
...
...
@@ -773,8 +774,10 @@
</div>
<div
style=
"padding-bottom:15px"
>
<el-pagination
background
@
current-change=
"handleCurrentChanges"
layout=
"total,prev, pager, next, jumper"
:page-size=
"pageSize"
:total=
'total'
>
<el-pagination
background
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChanges"
layout=
"total,sizes,prev, pager, next, jumper"
:page-sizes=
"[8,20,50,70,100]"
:current-page
.
sync=
"currentPage"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</div>
...
...
@@ -904,6 +907,7 @@
ColorType
:
1
,
//和平
ImportType
:
1
,
KingdeeMark
:
'2'
,
ReFinanceIds
:
''
},
BranchIds
:[],
getCompanyMsg
:
{
// 公司
...
...
@@ -1083,7 +1087,21 @@
}
},
Markers
(){
this
.
$confirm
(
'是否确认标记此查询条件的下所有财务单据以导入至金蝶?'
,
'提示'
,
{
let
refinanceIdList
=
[];
this
.
DataList
.
forEach
(
x
=>
{
if
(
x
.
checked
){
if
(
refinanceIdList
.
indexOf
(
x
.
FrID
)
===-
1
){
refinanceIdList
.
push
(
x
.
FrID
)
}
}
})
let
cmsg
=
'是否确认标记此查询条件的下所有财务单据以导入至金蝶?'
;
if
(
refinanceIdList
){
this
.
msg
.
ReFinanceIds
=
refinanceIdList
.
join
(
','
);
cmsg
=
'是否确认标记勾选的'
+
refinanceIdList
.
length
+
'张财务单据以导入至金蝶?'
;
}
this
.
$confirm
(
cmsg
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
...
...
@@ -1243,6 +1261,11 @@
handleCurrentChanges
(
val
)
{
this
.
pageIndex
=
this
.
msg
.
pageIndex
=
val
;
this
.
getPageList
();
},
handleSizeChange
(
val
)
{
this
.
msg
.
pageSize
=
val
this
.
msg
.
pageIndex
=
1
;
this
.
getPageList
();
},
AccountType_post_GetList
()
{
//获取账户类型下拉
this
.
apipost
(
'AccountType_post_GetList'
,
this
.
queryAccMsg
,
res
=>
{
...
...
@@ -1258,6 +1281,7 @@
},
getPageList
()
{
// 获取列表数据
this
.
loading
=
true
;
this
.
ReFinanceIds
=
''
;
if
(
this
.
msg
.
FrID
===
''
){
this
.
msg
.
FrID
=
0
}
...
...
@@ -1288,6 +1312,32 @@
},
err
=>
{})
},
method5
:
function
(
type
)
{
let
refinanceIdList
=
[];
this
.
DataList
.
forEach
(
x
=>
{
if
(
x
.
checked
){
if
(
refinanceIdList
.
indexOf
(
x
.
FrID
)
===-
1
){
refinanceIdList
.
push
(
x
.
FrID
)
}
}
})
if
(
refinanceIdList
){
this
.
msg
.
ReFinanceIds
=
refinanceIdList
.
join
(
','
);
}
if
(
this
.
msg
.
ReFinanceIds
){
this
.
$confirm
(
'确认对勾选的单据进行导出吗?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
downLoadFinanceToKingdee
(
type
);
}).
catch
(()
=>
{
});
}
else
{
this
.
downLoadFinanceToKingdee
(
type
);
}
},
downLoadFinanceToKingdee
(
type
){
if
(
!
this
.
msg
.
FinanceName
)
this
.
msg
.
FinanceName
=
'记'
;
if
(
!
this
.
msg
.
ClientID
)
this
.
msg
.
ClientID
=
0
;
if
(
!
this
.
msg
.
ClientType
)
this
.
msg
.
ClientType
=
0
;
...
...
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