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
31a1f53f
Commit
31a1f53f
authored
Oct 26, 2023
by
youjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
dd995db8
3a61981a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
71 additions
and
1 deletion
+71
-1
accountingWork.vue
src/components/FinancialModule/accountingWork.vue
+71
-1
No files found.
src/components/FinancialModule/accountingWork.vue
View file @
31a1f53f
...
@@ -22,6 +22,21 @@
...
@@ -22,6 +22,21 @@
></el-option>
></el-option>
</el-select>
</el-select>
</span>
</span>
<span>
<em>
线路
</em>
<el-select
class=
"w200"
filterable
v-model=
"msg.LineID"
>
<el-option
:label=
"$t('system.ph_buxian')"
value=
"-1"
></el-option>
<el-option
v-for=
"(item,index) in LineList"
:label=
"item.LineName"
:value=
"item.LineID"
:key=
"index+60000"
></el-option>
</el-select>
</span>
</li>
</li>
<li>
<li>
<button
class=
"normalBtn"
@
click=
"getList"
>
查询
</button>
<button
class=
"normalBtn"
@
click=
"getList"
>
查询
</button>
...
@@ -42,6 +57,7 @@
...
@@ -42,6 +57,7 @@
<th>
{{
$t
(
'system.query_company'
)
}}
</th>
<th>
{{
$t
(
'system.query_company'
)
}}
</th>
<th>
{{
$t
(
'fnc.w_ywrenyuan'
)
}}
</th>
<th>
{{
$t
(
'fnc.w_ywrenyuan'
)
}}
</th>
<th>
流程
</th>
<th>
流程
</th>
<th>
线路
</th>
<th>
{{
$t
(
'fnc.w_fzfangxiang'
)
}}
</th>
<th>
{{
$t
(
'fnc.w_fzfangxiang'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
<th>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
...
@@ -54,6 +70,9 @@
...
@@ -54,6 +70,9 @@
<td>
<td>
<span
v-for=
"(i,ix) in item.TemplateList"
:key=
"ix+5000"
>
{{
i
.
Name
}}
<span
v-if=
"ix!=item.TemplateList.length-1"
>
,
</span>
</span>
<span
v-for=
"(i,ix) in item.TemplateList"
:key=
"ix+5000"
>
{{
i
.
Name
}}
<span
v-if=
"ix!=item.TemplateList.length-1"
>
,
</span>
</span>
</td>
</td>
<td>
<span
v-for=
"(i,ix) in item.LineList"
:key=
"ix+7000"
>
{{
i
.
Name
}}
<span
v-if=
"ix!=item.LineList.length-1"
>
,
</span>
</span>
</td>
<td>
<td>
<span
v-if=
"item.Direct==1"
>
{{
$t
(
'fnc.shoukuan'
)
}}
</span>
<span
v-if=
"item.Direct==1"
>
{{
$t
(
'fnc.shoukuan'
)
}}
</span>
<span
v-else-if=
"item.Direct==2"
>
{{
$t
(
'fnc.zhikuan'
)
}}
</span>
<span
v-else-if=
"item.Direct==2"
>
{{
$t
(
'fnc.zhikuan'
)
}}
</span>
...
@@ -198,6 +217,24 @@
...
@@ -198,6 +217,24 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"线路"
>
<el-select
v-model=
"addMsg.LineListArr"
filterable
multiple
collapse-tags
@
change=
"$forceUpdate()"
:placeholder=
"$t('pub.pleaseImport')"
>
<el-option
v-for=
"(item,index) in LineList"
:key=
"index+700"
:label=
"item.LineName"
:value=
"item.LineID"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-col
:span=
"6"
>
<el-form-item
:label=
"$t('fnc.w_fzfangxiang')"
prop=
"Direct"
>
<el-form-item
:label=
"$t('fnc.w_fzfangxiang')"
prop=
"Direct"
>
<el-radio
v-model=
"addMsg.Direct"
:label=
"1"
>
{{$t('fnc.w_shou')}}
</el-radio>
<el-radio
v-model=
"addMsg.Direct"
:label=
"1"
>
{{$t('fnc.w_shou')}}
</el-radio>
...
@@ -245,6 +282,7 @@ export default {
...
@@ -245,6 +282,7 @@ export default {
listArr
:[],
listArr
:[],
BranchId
:
''
,
BranchId
:
''
,
Direct
:
''
,
Direct
:
''
,
LineList
:[]
},
},
type
:
-
1
,
type
:
-
1
,
addShow
:
false
,
addShow
:
false
,
...
@@ -299,6 +337,7 @@ export default {
...
@@ -299,6 +337,7 @@ export default {
Status
:
'0'
,
Status
:
'0'
,
},
},
SingleList
:[],
SingleList
:[],
LineList
:[],
}
}
},
created
(){
},
created
(){
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
...
@@ -313,6 +352,7 @@ export default {
...
@@ -313,6 +352,7 @@ export default {
this
.
tableSize
=
this
.
msg
.
pageSize
=
parseInt
(
cH
/
45
);
this
.
tableSize
=
this
.
msg
.
pageSize
=
parseInt
(
cH
/
45
);
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getCompanyMsg
.
RB_Group_Id
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getSingleList
();
this
.
getSingleList
();
this
.
getLineList
();
},
methods
:{
},
methods
:{
getSingleList
(){
// 获取费用类型
getSingleList
(){
// 获取费用类型
this
.
apipost
(
'FinancialFlowTemplate_post_GetSingleList'
,{},
res
=>
{
this
.
apipost
(
'FinancialFlowTemplate_post_GetSingleList'
,{},
res
=>
{
...
@@ -321,6 +361,15 @@ export default {
...
@@ -321,6 +361,15 @@ export default {
}
else
{}
}
else
{}
},
err
=>
{})
},
err
=>
{})
},
},
getLineList
(){
this
.
apipost
(
"line_post_GetAllList"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
});
},
switchMethod
(
t
){
switchMethod
(
t
){
this
.
msg
.
pageIndex
=
1
;
this
.
msg
.
pageIndex
=
1
;
if
(
t
===
1
){
if
(
t
===
1
){
...
@@ -392,9 +441,22 @@ export default {
...
@@ -392,9 +441,22 @@ export default {
}
}
})
})
})
})
let
LineListArr
=
this
.
addMsg
.
LineListArr
;
let
lineArr
=
[];
LineListArr
.
forEach
(
item
=>
{
this
.
LineList
.
forEach
(
val
=>
{
let
obj
=
{};
if
(
item
==
val
.
LineID
){
obj
.
Id
=
val
.
LineID
;
obj
.
Name
=
val
.
LineName
;
lineArr
.
push
(
obj
);
}
})
})
this
.
addMsg
.
emList
=
list4
;
this
.
addMsg
.
emList
=
list4
;
this
.
addMsg
.
TemplateList
=
newArr
;
this
.
addMsg
.
TemplateList
=
newArr
;
this
.
addMsg
.
LineList
=
lineArr
;
this
.
apipost
(
'Window_post_SetAccountant'
,
this
.
addMsg
,
r
=>
{
this
.
apipost
(
'Window_post_SetAccountant'
,
this
.
addMsg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
if
(
r
.
data
.
resultCode
==
1
){
this
.
$message
.
success
(
r
.
data
.
message
);
this
.
$message
.
success
(
r
.
data
.
message
);
...
@@ -478,6 +540,7 @@ export default {
...
@@ -478,6 +540,7 @@ export default {
this
.
addMsg
=
data
;
this
.
addMsg
=
data
;
this
.
addMsg
.
listArr
=
[];
this
.
addMsg
.
listArr
=
[];
this
.
addMsg
.
TemplateListArr
=
[];
this
.
addMsg
.
TemplateListArr
=
[];
this
.
addMsg
.
LineListArr
=
[];
if
(
data
.
emList
&&
data
.
emList
.
length
>
0
){
if
(
data
.
emList
&&
data
.
emList
.
length
>
0
){
data
.
emList
.
forEach
(
x
=>
{
data
.
emList
.
forEach
(
x
=>
{
this
.
remoteMethod
(
x
.
emName
);
this
.
remoteMethod
(
x
.
emName
);
...
@@ -489,6 +552,11 @@ export default {
...
@@ -489,6 +552,11 @@ export default {
this
.
addMsg
.
TemplateListArr
.
push
(
x
.
Id
)
this
.
addMsg
.
TemplateListArr
.
push
(
x
.
Id
)
})
})
}
}
if
(
data
.
LineList
&&
data
.
LineList
.
length
>
0
){
data
.
LineList
.
forEach
(
x
=>
{
this
.
addMsg
.
LineListArr
.
push
(
x
.
Id
)
})
}
this
.
addMsg
.
accountant_list
=
[];
this
.
addMsg
.
accountant_list
=
[];
this
.
addShow
=
true
;
this
.
addShow
=
true
;
}
else
{
}
else
{
...
@@ -510,7 +578,9 @@ export default {
...
@@ -510,7 +578,9 @@ export default {
TemplateListArr
:[],
TemplateListArr
:[],
TemplateList
:[],
TemplateList
:[],
BranchId
:
''
,
BranchId
:
''
,
Direct
:
''
Direct
:
''
,
LineList
:[],
LineListArr
:[]
}
}
this
.
CostIdS
=
[];
this
.
CostIdS
=
[];
this
.
searchList
=
[];
this
.
searchList
=
[];
...
...
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