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
2afbb54d
Commit
2afbb54d
authored
Aug 15, 2023
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
4250b16c
1415bafc
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
90 additions
and
16 deletions
+90
-16
LemonCloudSubjects.vue
...components/FinancialModule/Kingdee/LemonCloudSubjects.vue
+78
-15
RecPayQuery.vue
src/components/FinancialModule/Kingdee/RecPayQuery.vue
+12
-1
No files found.
src/components/FinancialModule/Kingdee/LemonCloudSubjects.vue
View file @
2afbb54d
...
...
@@ -132,14 +132,22 @@
</
style
>
<
template
>
<div
class=
"dianshangannualRatio"
ref=
"barparent"
>
<div
class=
"query-box"
style=
"border: 0;
padding: 0;
"
>
<div
class=
"query-box"
style=
"border: 0;"
>
<ul
class=
"clearfix"
>
<li>
<span>
状态
</span>
<el-select
v-model=
'msg.Enable'
@
change=
"getList"
>
<el-option
key=
"0"
value=
"0"
label=
"不限"
></el-option>
<el-option
key=
"1"
value=
"1"
label=
"启用"
></el-option>
<el-option
key=
"2"
value=
"2"
label=
"禁用"
></el-option>
</el-select>
</li>
<li
class=
"hight_query"
>
<button
class=
"normalBtn"
@
click=
"outerVisible=true"
>
导入
</button>
</li>
</ul>
</div>
<div
class=
"cm_content _scrollbar"
style=
"position: absolute;top:
2
0px;bottom: 100px;left: 15px;right:15px;overflow-y: scroll;"
>
<div
class=
"cm_content _scrollbar"
style=
"position: absolute;top:
6
0px;bottom: 100px;left: 15px;right:15px;overflow-y: scroll;"
>
<table
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;margin-top: 0;"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
...
...
@@ -149,6 +157,7 @@
<th>
科目类别
</th>
<th>
余额方向
</th>
<th>
项目辅助核算
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"(item,index) in DataList"
:key=
"index"
>
<td>
{{
item
.
Name
}}
</td>
...
...
@@ -165,6 +174,17 @@
<td>
{{
item
.
ItemCheck
}}
</td>
<td>
<el-tooltip
:content=
"item.Enable==1?'禁用':item.Enable==2?'启用':''"
placement=
"top"
>
<el-switch
:disabled=
"item.disabled"
@
change=
"DisableEnable(item)"
v-model=
"item.Enable"
active-value=
"1"
inactive-value=
"2"
>
</el-switch>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -206,7 +226,8 @@
imageUrl
:
''
,
outerVisible
:
false
,
msg
:{
BranchId
:
'0'
,
BranchId
:
'0'
,
Enable
:
'0'
},
DataList
:[],
loading
:
false
,
...
...
@@ -231,6 +252,40 @@
},
methods
:
{
DisableEnable
(
item
){
item
.
disabled
=
true
this
.
SetKingdeeSubjectEnable
(
item
)
},
SetKingdeeSubjectEnable
(
item
)
{
let
Enable
this
.
apipost
(
'Financial_post_SetKingdeeSubjectEnable'
,
{
SubjectId
:
item
.
Id
},
res
=>
{
item
.
disabled
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
// this.getList();
}
else
{
if
(
item
.
Enable
==
'1'
){
Enable
=
'2'
}
if
(
item
.
Enable
==
'2'
){
Enable
=
'1'
}
item
.
Enable
=
Enable
this
.
$forceUpdate
()
this
.
Error
(
res
.
data
.
message
);
}
},
err
=>
{
if
(
item
.
Enable
==
'1'
){
Enable
=
'2'
}
if
(
item
.
Enable
==
'2'
){
Enable
=
'1'
}
item
.
Enable
=
Enable
})
},
Financial_post_GetEduBranchEnumList
()
{
this
.
apipost
(
'Financial_post_GetEduBranchEnumList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -286,7 +341,16 @@
this
.
apipost
(
'Financial_post_GetKingdeeSubjectList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
let
arrList
=
function
(
list
){
list
.
forEach
(
x
=>
{
x
.
disabled
=
false
})
}
arrList
(
res
.
data
.
data
)
this
.
DataList
=
res
.
data
.
data
;
this
.
DataList
.
forEach
(
x
=>
{
x
.
Enable
=
String
(
x
.
Enable
)
});
// this.total=res.data.data.count;
}
else
{
this
.
Error
(
res
.
data
.
message
);
...
...
@@ -297,4 +361,3 @@
}
</
script
>
\ No newline at end of file
src/components/FinancialModule/Kingdee/RecPayQuery.vue
View file @
2afbb54d
...
...
@@ -743,7 +743,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'
>
{{
scope
.
row
.
FrID
}}
<span
style=
"cursor: pointer;color: #00C6FF;"
@
click=
"openDetails(scope.row)"
>
{{
scope
.
row
.
FrID
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"TradeDate"
label=
"凭证日期"
width=
"100"
></el-table-column>
...
...
@@ -1103,6 +1103,17 @@
},
methods
:
{
// 单据详情
openDetails
(
item
)
{
let
query
=
{
id
:
item
.
FrID
,
blank
:
"y"
,
};
this
.
$router
.
push
({
path
:
"/FinancialDocumentsDetail"
,
query
});
},
Markers
(){
this
.
$confirm
(
'是否确认标记此查询条件的下所有财务单据以导入至金蝶?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
...
...
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