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
bdea1e53
Commit
bdea1e53
authored
Sep 02, 2019
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
fb2978ab
947da056
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
18 deletions
+40
-18
invoicesManager.vue
src/components/FinancialModule/invoicesManager.vue
+40
-18
No files found.
src/components/FinancialModule/invoicesManager.vue
View file @
bdea1e53
...
@@ -80,14 +80,15 @@
...
@@ -80,14 +80,15 @@
.page_iisMg
._icon_btn
i
.icon-sousuo
:active
{
background-color
:
#35ab79
}
.page_iisMg
._icon_btn
i
.icon-sousuo
:active
{
background-color
:
#35ab79
}
._zhuihui
{
._zhuihui
{
display
:
inline-block
;
display
:
inline-block
;
height
:
2
0px
;
height
:
3
0px
;
width
:
2
0px
;
width
:
3
0px
;
border-radius
:
50%
;
border-radius
:
50%
;
color
:
white
;
color
:
white
;
background-color
:
#e42d2d
;
background-color
:
#e42d2d
;
text-align
:
center
;
text-align
:
center
;
line-height
:
2
0px
;
line-height
:
3
0px
;
cursor
:
pointer
;
cursor
:
pointer
;
margin-right
:
10px
}
}
</
style
>
</
style
>
<
template
>
<
template
>
...
@@ -180,7 +181,6 @@
...
@@ -180,7 +181,6 @@
<td
:rowspan=
"item.InvoiceApplyList.length"
>
{{
item
.
ApplyTotalPrice
}}
</td>
<td
:rowspan=
"item.InvoiceApplyList.length"
>
{{
item
.
ApplyTotalPrice
}}
</td>
<td
:rowspan=
"item.InvoiceApplyList.length"
>
<td
:rowspan=
"item.InvoiceApplyList.length"
>
<span>
{{
item
.
DpreadPrice
-
item
.
ApplyTotalPrice
}}
</span>
<span>
{{
item
.
DpreadPrice
-
item
.
ApplyTotalPrice
}}
</span>
<span
v-if=
"item.ApplyTotalPrice!=0"
class=
"_zhuihui"
@
click=
"zhuihui(item.OrderId)"
>
追
</span>
</td>
</td>
<td>
{{
item
.
InvoiceApplyList
[
0
].
CreateDate
.
replace
(
'T'
,
' '
)
}}
</td>
<td>
{{
item
.
InvoiceApplyList
[
0
].
CreateDate
.
replace
(
'T'
,
' '
)
}}
</td>
<td>
<td>
...
@@ -191,11 +191,15 @@
...
@@ -191,11 +191,15 @@
<span
v-else-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 5"
class=
"status_owe"
>
欠票
</span>
<span
v-else-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 5"
class=
"status_owe"
>
欠票
</span>
<span
v-else-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 6"
class=
"status_Recover"
>
发票追回
</span>
<span
v-else-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 6"
class=
"status_Recover"
>
发票追回
</span>
</td>
</td>
<td
class=
"_icon_btn"
>
<td
class=
"_icon_btn"
style=
"text-align: left;padding-left: 20px"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.chakan')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.chakan')"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goIisDetail(item.InvoiceApplyList[0].ID)"
></i>
<i
class=
"iconfont icon-sousuo"
@
click=
"goIisDetail(item.InvoiceApplyList[0].ID)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"追回"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"追回发票"
placement=
"top"
>
<span
v-if=
"item.ApplyTotalPrice!=0"
class=
"_zhuihui"
@
click=
"zhuihui(item.OrderId)"
>
追
</span>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"确认追回"
placement=
"top"
>
<!-- v-if="item.InvoiceApplyList[0].InvoiceApplyState === 5" -->
<i
v-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 5"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"setStatus(item.InvoiceApplyList[0].ID, 6)"
></i>
<i
v-if=
"item.InvoiceApplyList[0].InvoiceApplyState === 5"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"setStatus(item.InvoiceApplyList[0].ID, 6)"
></i>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -210,11 +214,15 @@
...
@@ -210,11 +214,15 @@
<span
v-else-if=
"item2.InvoiceApplyState === 5"
class=
"status_owe"
>
欠票
</span>
<span
v-else-if=
"item2.InvoiceApplyState === 5"
class=
"status_owe"
>
欠票
</span>
<span
v-else-if=
"item2.InvoiceApplyState === 6"
class=
"status_Recover"
>
发票追回
</span>
<span
v-else-if=
"item2.InvoiceApplyState === 6"
class=
"status_Recover"
>
发票追回
</span>
</td>
</td>
<td
class=
"_icon_btn"
>
<td
class=
"_icon_btn"
style=
"text-align: left;padding-left: 20px"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.chakan')"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
:content=
"$t('fnc.chakan')"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goIisDetail(item2.ID)"
></i>
<i
class=
"iconfont icon-sousuo"
@
click=
"goIisDetail(item2.ID)"
></i>
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"追回"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"追回发票"
placement=
"top"
>
<span
v-if=
"item.ApplyTotalPrice!=0"
class=
"_zhuihui"
@
click=
"zhuihui(item.OrderId)"
>
追
</span>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"确认追回"
placement=
"top"
>
<!-- v-if="item2.InvoiceApplyState === 5" -->
<i
v-if=
"item2.InvoiceApplyState === 5"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"setStatus(item2.ID, 6)"
></i>
<i
v-if=
"item2.InvoiceApplyState === 5"
class=
"iconfont icon-ico_commodity_defaul"
@
click=
"setStatus(item2.ID, 6)"
></i>
</el-tooltip>
</el-tooltip>
</td>
</td>
...
@@ -265,11 +273,18 @@ export default {
...
@@ -265,11 +273,18 @@ export default {
},
},
methods
:
{
methods
:
{
zhuihui
:
function
(
OrderId
)
{
zhuihui
:
function
(
OrderId
)
{
this
.
apipost
(
'InvoiceApply_get_BatchUpdateInvoiceApply'
,
{
OrderId
:
OrderId
},
res
=>
{
this
.
$confirm
(
'是否设置发票状态为追回?'
,
this
.
$t
(
'tips.tips'
),
{
if
(
res
.
data
.
resultCode
==
1
)
{
confirmButtonText
:
'确认'
,
this
.
getPageList
()
cancelButtonText
:
'取消'
,
}
type
:
'warning'
},
null
)
}).
then
(()
=>
{
this
.
apipost
(
'InvoiceApply_get_BatchUpdateInvoiceApply'
,
{
OrderId
:
OrderId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getPageList
()
}
},
null
)
}).
catch
(()
=>
{
});
},
},
goIisDetail
:
function
(
id
)
{
goIisDetail
:
function
(
id
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -283,11 +298,18 @@ export default {
...
@@ -283,11 +298,18 @@ export default {
ID
:
id
,
ID
:
id
,
InvoiceApplyState
:
type
,
InvoiceApplyState
:
type
,
}
}
this
.
apipost
(
'InvoiceApply_get_UpdateInvoiceApply'
,
msg
,
res
=>
{
this
.
$confirm
(
'是否设置发票状态为已追回?'
,
this
.
$t
(
'tips.tips'
),
{
if
(
res
.
data
.
resultCode
==
1
)
{
confirmButtonText
:
'确认'
,
this
.
getPageList
()
cancelButtonText
:
'取消'
,
}
type
:
'warning'
},
null
)
}).
then
(()
=>
{
this
.
apipost
(
'InvoiceApply_get_UpdateInvoiceApply'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getPageList
()
}
},
null
)
}).
catch
(()
=>
{
});
},
},
timeAdd
:
function
()
{
timeAdd
:
function
()
{
// 日期格式
// 日期格式
...
...
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