Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
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
罗超
confucius
Commits
f5b41801
Commit
f5b41801
authored
Nov 16, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加
parent
1178b7c4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
5333 additions
and
2 deletions
+5333
-2
App.vue
src/App.vue
+1
-1
menu-form.vue
src/components/system/menu-form.vue
+1
-1
addFinancialProcess.vue
src/pages/financial/addFinancialProcess.vue
+2
-0
FlowChartModule.vue
src/pages/financial/components/FlowChartModule.vue
+84
-0
TicketingModule.vue
src/pages/financial/components/TicketingModule.vue
+108
-0
addFinancialDocuments2.vue
src/pages/financial/components/addFinancialDocuments2.vue
+1307
-0
addReceivablesDocuments2.vue
src/pages/financial/components/addReceivablesDocuments2.vue
+1682
-0
ChoiceAddFinancialDocuments.vue
...inancial/financalDocument/ChoiceAddFinancialDocuments.vue
+326
-0
addReceivablesDocuments.vue
...es/financial/financalDocument/addReceivablesDocuments.vue
+1808
-0
routes.js
src/router/routes.js
+10
-0
erpindex.js
src/utils/erpindex.js
+2
-0
msgBus.js
src/utils/msgBus.js
+2
-0
No files found.
src/App.vue
View file @
f5b41801
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
<
style
>
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
xjjeh93ylwf
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
rhmkymy3mjs
.css')
;
html
,
html
,
body
,
body
,
...
...
src/components/system/menu-form.vue
View file @
f5b41801
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.MenuName"
ref=
"MenuName"
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"objOption.MenuName"
ref=
"MenuName"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"菜单名称"
:rules=
"[val => !!val || '请填写菜单名称']"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"菜单名称"
:rules=
"[val => !!val || '请填写菜单名称']"
/>
<q-input
filled
stack-label
maxlength=
"
5
0"
:dense=
"false"
v-model=
"objOption.MenuUrl"
ref=
"MenuUrl"
<q-input
filled
stack-label
maxlength=
"
10
0"
:dense=
"false"
v-model=
"objOption.MenuUrl"
ref=
"MenuUrl"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"菜单地址"
/>
class=
"col-6 q-pr-lg q-pb-lg"
label=
"菜单地址"
/>
<q-select
class=
"col-6 q-pb-lg"
v-model=
"objOption.MenuType"
:options=
"MenuTypeOpts"
emit-value
map-options
<q-select
class=
"col-6 q-pb-lg"
v-model=
"objOption.MenuType"
:options=
"MenuTypeOpts"
emit-value
map-options
label=
"菜单类型"
@
input=
"queryMenuList()"
/>
label=
"菜单类型"
@
input=
"queryMenuList()"
/>
...
...
src/pages/financial/addFinancialProcess.vue
View file @
f5b41801
...
@@ -1182,6 +1182,7 @@
...
@@ -1182,6 +1182,7 @@
DepartmentName
:
data
.
PostName
,
DepartmentName
:
data
.
PostName
,
Id
:
data
.
PostId
Id
:
data
.
PostId
})
})
console
.
log
(
this
.
showRole
,
'showRolessssss'
);
}
else
{
}
else
{
if
(
this
.
roleSetCheckedKeys
.
length
==
1
)
{
if
(
this
.
roleSetCheckedKeys
.
length
==
1
)
{
this
.
roleSetCheckedKeys
.
push
(
data
.
PostId
)
this
.
roleSetCheckedKeys
.
push
(
data
.
PostId
)
...
@@ -1218,6 +1219,7 @@
...
@@ -1218,6 +1219,7 @@
AuditList
.
AuditWay
=
1
;
AuditList
.
AuditWay
=
1
;
AuditList
.
AuditUserList
=
[{
AuditList
.
AuditUserList
=
[{
EmployeeId
:
''
,
EmployeeId
:
''
,
EmployeeIdName
:
''
,
Sort
:
''
Sort
:
''
}];
}];
AuditList
.
Sort
=
this
.
myAuditList
.
length
+
1
;
AuditList
.
Sort
=
this
.
myAuditList
.
length
+
1
;
...
...
src/pages/financial/components/FlowChartModule.vue
View file @
f5b41801
<
style
scoped
>
._bg_blue
{
background-color
:
#297BEF
}
._bg_org
{
background-color
:
#F16C3C
!important
}
._bg_gre
{
background-color
:
#32B37C
}
._bg_greS
{
background-color
:
#1C9A65
}
._bg_gray
{
background-color
:
#666666
}
._array
{
display
:
inline-block
;
background-color
:
#999999
}
._array_h
{
width
:
35px
;
height
:
3px
;}
._array_h_left
{
top
:
14px
;
left
:
-40px
;
position
:
absolute
;}
._array_h_right
{
top
:
14px
;
right
:
-40px
;
position
:
absolute
;}
._array_w
{
width
:
3px
;
height
:
35px
;}
.tri_left
{
width
:
0
;
height
:
0
;
border-top
:
6px
solid
transparent
;
border-bottom
:
6px
solid
transparent
;
border-left
:
6px
solid
#999999
;}
.tri_down
{
width
:
0
;
height
:
0
;
border-left
:
6px
solid
transparent
;
border-right
:
6px
solid
transparent
;
border-top
:
6px
solid
#999999
;
}
.tri_right
{
width
:
0
;
height
:
0
;
border-top
:
6px
solid
transparent
;
border-bottom
:
6px
solid
transparent
;
border-right
:
6px
solid
#999999
;}
._tag
{
display
:
inline-block
;
border-radius
:
4px
;
padding
:
2px
4px
;
margin-bottom
:
4px
;
font-size
:
12px
}
._inlineblock_cen
{
display
:
inline-block
;
text-align
:
center
}
._text_right
{
text-align
:
right
;
padding-right
:
50px
}
._tp_b
{
padding
:
0
20px
}
.height40
{
height
:
40px
;}
._feiyong
{
padding
:
10px
;
flex-wrap
:
wrap
;
/*justify-content: space-between;*/
display
:
flex
;}
._feiyong
>
span
{
display
:
inline-block
;
padding
:
4px
20px
;
color
:
white
;
font-size
:
14px
;
border-radius
:
4px
;
margin
:
0
10px
10px
0
;}
._log_t_s
{
font-size
:
12px
;
color
:
#666666
}
.el-popover
{
text-align
:
inherit
}
._dtel
{
padding-top
:
10px
;}
._no_liucheng
{
padding
:
20px
;
text-align
:
center
}
._liu_block
{
display
:
inline-block
;
width
:
auto
;
margin-bottom
:
20px
;
position
:
relative
;}
.icon-xiaotuziCduan_
,
.icon-xiaotuziCduan_2
{
position
:
absolute
;
right
:
-10px
;
top
:
-10px
;
color
:
#999999
;}
._array_h_left
.icon-xiaotuziCduan_2
{
position
:
absolute
;
left
:
-10px
;
top
:
-10px
;
right
:
initial
;}
.text_l
{
text-align
:
left
;
margin-right
:
50px
}
.text_r
{
text-align
:
right
;
margin-left
:
50px
}
._miaoshu
{
display
:
inline-block
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
padding
:
6px
15px
;
border-radius
:
4px
;
background-color
:
#297BEF
;
color
:
white
;
font-size
:
14px
;
min-width
:
120px
;
text-align
:
center
;
max-width
:
130px
;}
._last_ml0
{
margin-right
:
0
}
._last_mr0
{
margin-left
:
0
}
._array_h_dbox
{
position
:
absolute
;
top
:
14px
;
right
:
-5px
;}
._array_h_dbox_l
{
right
:
inherit
;
left
:
-40px
}
._array_h_down
{
width
:
35px
;
height
:
3px
;
position
:
absolute
;
background-color
:
#999999
}
._array_h_down_
{
width
:
3px
;
height
:
20px
;
position
:
absolute
;
background-color
:
#999999
}
._array_h_down_l
{
left
:
35px
}
.icon-xiaotuziCduan_1
{
position
:
absolute
;
left
:
29px
;
top
:
10px
;
color
:
#999999
;}
.xiaotuziCduan_1_l
{
left
:
inherit
;
right
:
-9px
;}
</
style
>
<
template
>
<div
class=
"clearfix"
v-if=
"dataList"
>
<template
v-for=
"(lc,li) in dataList.AuditList"
>
<div
class=
"_liu_block clearfix"
:class=
"[Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'fl text_l ':'fr text_r ']"
>
<span
class=
"_array _array_h"
:class=
"(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2!=0?'_array_h_left ':''"
v-if=
"(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2!=0&&li!=dataList.AuditList.length-1"
><span
class=
"iconfont icon-xiaotuziCduan_2"
></span></span>
<el-tooltip
class=
"dataList"
effect=
"dark"
:content=
"lc.contentTips"
placement=
"top"
>
<span
:class=
"lc.AuditType==3?'_bg_org':'_bg_blue'"
class=
"_miaoshu "
>
{{
lc
.
AuditDescription
}}
<span
v-if=
"lc.AuditWay!=1"
>
(
{{
lc
.
AuditWay
==
"2"
?
$t
(
'fnc.huiqian'
):
$t
(
'fnc.huoqian'
)
}}
)
</span></span>
</el-tooltip>
<span
v-if=
"(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2==0&&li!=dataList.AuditList.length-1"
:class=
"(li+1)%3!=0&&Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'_array_h_right ':''"
class=
"_array _array_h"
><span
class=
"iconfont icon-xiaotuziCduan_"
></span></span>
<div
class=
"_array_h_dbox"
v-if=
"li!=dataList.AuditList.length-1"
:class=
"Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'':'_array_h_dbox_l'"
>
<span
v-if=
"(li+1)%3==0"
class=
"_array_h_down"
></span>
<span
v-if=
"(li+1)%3==0"
class=
"_array_h_down_"
:class=
"Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'_array_h_down_l':''"
></span>
<span
v-if=
"(li+1)%3==0"
class=
"iconfont icon-xiaotuziCduan_1"
:class=
"Math.floor((li+1)%3==0?li:(li+1)/3)%2==0?'':'xiaotuziCduan_1_l'"
></span>
</div>
</div>
</
template
>
</div>
</template>
<
script
>
export
default
{
props
:[
"data"
],
data
(){
return
{
dataList
:{},
}
},
methods
:{
},
mounted
(){
},
watch
:
{
data
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
dataList
=
val
},
deep
:
true
}
},
created
(){
this
.
dataList
=
this
.
data
;
}
}
</
script
>
src/pages/financial/components/TicketingModule.vue
0 → 100644
View file @
f5b41801
<
style
>
.m_TicketingModule
{
border
:
1px
solid
#DDDDDD
;
border-bottom
:
none
;
}
.m_TicketingModule
._tit
{
padding-left
:
10px
;
font-size
:
14px
;
color
:
#000
;
padding
:
8px
15px
;
background-color
:
white
;
display
:
flex
;
justify-content
:
space-between
;
}
.m_TicketingModule
._text
{
border-left
:
3px
solid
#e95252
;
padding-left
:
10px
;
}
.m_TicketingModule
._tit
._btn
{
font-size
:
12px
;
color
:
#333333
;
cursor
:
pointer
;
}
.m_TicketingModule
._tit
._btn
:hover
{
color
:
#E95252
;
}
.m_TicketingModule
._tit
._btn
.iconfont
{
font-size
:
12px
;
display
:
inline-block
;
margin-left
:
10px
;
}
.m_TicketingModule
._rotate
{
transform
:
rotate
(
180deg
);
}
.m_TicketingModule
.singeRowTable
{
color
:
#333333
}
.m_TicketingModule
._padding_20_15
{
padding
:
20px
15px
;
background-color
:
white
;
}
</
style
>
<
template
>
<div
class=
"m_TicketingModule"
>
<div
class=
"_tit"
>
<span
class=
"_text"
>
国内票务订单信息
</span>
<div>
<span
class=
"_btn"
v-if=
"tableShow"
@
click=
"tableShow=false"
>
收起
<i
class=
"iconfont icon-gengduo _rotate"
></i>
</span>
<span
class=
"_btn"
v-else
@
click=
"tableShow=true"
>
展开
<i
class=
"iconfont icon-gengduo"
></i>
</span>
</div>
</div>
<div
v-show=
"tableShow"
class=
"_padding_20_15"
>
<table
class=
"singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<th
width=
'200px'
>
期数/订单号
</th>
<th>
人数
</th>
<th>
总价
</th>
<th>
成本
</th>
<th>
利润
</th>
<th>
客户名称
</th>
<th
width=
'200px'
>
行程时间
</th>
<!--
<th>
航段
</th>
-->
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
Term
}}
-
{{
item
.
OrderID
}}
</td>
<td>
{{
item
.
Number
}}
人
</td>
<td>
¥
{{
item
.
TotalPrice
}}
</td>
<td>
¥
{{
item
.
TotalCost
}}
</td>
<td>
¥
{{
item
.
Profit
}}
</td>
<td>
{{
item
.
ClientName
}}
</td>
<td>
{{
item
.
TravelTime
}}
</td>
<!--
<td>
{{
dataList
.
Leg
}}
</td>
-->
</tr>
</table>
</div>
</div>
</
template
>
<
script
>
export
default
{
props
:[
"FrID"
,
"id"
],
data
(){
return
{
tableShow
:
false
,
dataList
:[],
}
},
watch
:{
},
created
(){
},
mounted
(){
// let FrID = this.$route.query.FrID;
this
.
getDate
(
this
.
FrID
);
},
methods
:{
getDate
(
FrID
){
let
msg
=
{
FrID
:
FrID
,
}
this
.
apipost
(
'Domestic_Ticket_post_GetByBillAndIDList'
,
msg
,
r
=>
{
if
(
r
.
data
.
resultCode
==
1
){
let
data
=
r
.
data
.
data
;
this
.
dataList
=
data
;
}
},
null
)
}
}
}
</
script
>
src/pages/financial/components/addFinancialDocuments2.vue
0 → 100644
View file @
f5b41801
This diff is collapsed.
Click to expand it.
src/pages/financial/components/addReceivablesDocuments2.vue
0 → 100644
View file @
f5b41801
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/ChoiceAddFinancialDocuments.vue
0 → 100644
View file @
f5b41801
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/addReceivablesDocuments.vue
0 → 100644
View file @
f5b41801
This diff is collapsed.
Click to expand it.
src/router/routes.js
View file @
f5b41801
...
@@ -197,6 +197,16 @@ const routes = [{
...
@@ -197,6 +197,16 @@ const routes = [{
component
:
()
=>
component
:
()
=>
import
(
"pages/financial/accDetail/CashReport.vue"
)
import
(
"pages/financial/accDetail/CashReport.vue"
)
},
},
{
path
:
"/financial/financalDocument/ChoiceAddFinancialDocuments"
,
component
:
()
=>
import
(
"pages/financial/financalDocument/ChoiceAddFinancialDocuments.vue"
)
},
{
path
:
"/financial/financalDocument/addReceivablesDocuments"
,
component
:
()
=>
import
(
"pages/financial/financalDocument/addReceivablesDocuments.vue"
)
},
{
{
path
:
"/test"
,
//API测试
path
:
"/test"
,
//API测试
component
:
()
=>
component
:
()
=>
...
...
src/utils/erpindex.js
View file @
f5b41801
import
md5
from
'js-md5'
import
md5
from
'js-md5'
import
co
from
'co'
import
co
from
'co'
import
MsgBus
from
'../utils/msgBus'
export
default
{
export
default
{
data
:{
data
:{
...
@@ -7,6 +8,7 @@ export default{
...
@@ -7,6 +8,7 @@ export default{
apiurl
:
''
apiurl
:
''
},
},
install
(
Vue
,
options
){
install
(
Vue
,
options
){
Vue
.
prototype
.
MsgBus
=
MsgBus
;
//消息成功提示
//消息成功提示
Vue
.
prototype
.
Success
=
function
(
msg
)
{
Vue
.
prototype
.
Success
=
function
(
msg
)
{
this
.
$message
({
this
.
$message
({
...
...
src/utils/msgBus.js
0 → 100644
View file @
f5b41801
import
Vue
from
'vue'
export
default
new
Vue
;
\ No newline at end of file
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