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
3eebbe65
Commit
3eebbe65
authored
1 year ago
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
83e2e83a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
14 deletions
+35
-14
payURL.vue
src/components/commonPage/payURL.vue
+35
-14
No files found.
src/components/commonPage/payURL.vue
View file @
3eebbe65
...
...
@@ -6,7 +6,7 @@
<i
class=
"el-icon-circle-close-outline fr"
style=
"cursor: pointer; margin: 3px 0 0 0;"
@
click=
"closePic()"
></i>
</p>
<div
style=
"margin: 15px 0;"
v-show=
"!isShowPic"
>
<el-input
placeholder=
"请输入金额"
v-model=
"payMoney"
<el-input
placeholder=
"请输入金额"
v-model=
"payMoney"
@
input=
"payMoney=/^\d+\.?\d
{0,2}$/.test(payMoney)||payMoney == '' ? payMoney : payMoney=''">
<el-select
class=
'fz12 w120'
v-model=
"payType"
slot=
"prepend"
placeholder=
"请选择费用类型"
filterable
:readonly=
"false"
>
<el-option
v-for=
'item in fylxList'
:label=
"item.Name"
:value=
"item.ID"
:key=
'item.ID'
>
...
...
@@ -34,8 +34,9 @@
<el-option
label=
"二维码"
value=
"1"
></el-option>
<el-option
label=
"团队收款"
value=
"2"
></el-option>
<el-option
v-if=
'item.orderState===1'
label=
"团队退款"
value=
"3"
></el-option>
<el-option
label=
"团队小费"
value=
"4"
></el-option>
<el-option
v-if=
"photoF"
label=
"照片服务费"
value=
"5"
></el-option>
<el-option
label=
"团队小费"
value=
"4"
></el-option>
<el-option
v-if=
"photoF"
label=
"照片服务费"
value=
"5"
></el-option>
<el-option
label=
"月结平台费"
value=
"6"
></el-option>
</el-select>
</el-popover>
</div>
...
...
@@ -47,7 +48,7 @@
data
()
{
return
{
value
:
''
,
visible
:
false
,
visible
:
false
,
payObj
:
{},
payWay
:
'3'
,
minpay
:
'0'
,
...
...
@@ -79,9 +80,9 @@
if
(
this
.
timer
)
{
clearInterval
(
this
.
timer
)
}
}
},
deep
:
true
...
...
@@ -97,7 +98,7 @@
if
(
this
.
timer
)
{
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
}
},
...
...
@@ -193,6 +194,26 @@
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
}
else
if
(
this
.
value
===
'6'
)
{
this
.
visible
=
false
let
orderObj
=
{
OrderID
:
obj
.
orderId
,
//订单号
OrderSource
:
8
,
//12
Obj
:
{},
SourceID
:
obj
.
ID
,
//机票id
TCIDList
:
TCIDARR
}
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
"Type"
:
2
,
'searchTitle'
:
'月结'
,
"companyID"
:
obj
.
outBranchId
,
//公司id
"path"
:
""
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
}
});
}
this
.
value
=
''
},
...
...
@@ -245,7 +266,7 @@
if
(
res
.
data
.
data
.
LowDeposit
!=
-
1
)
{
this
.
minpay
=
res
.
data
.
data
.
LowDeposit
this
.
payMoney
=
res
.
data
.
data
.
LowDeposit
>
this
.
item
.
preferPrice
?
this
.
item
.
preferPrice
:
res
.
data
.
data
.
LowDeposit
}
}
},
err
=>
{})
...
...
@@ -262,9 +283,9 @@
this
.
$message
.
warning
(
'请选择费用类型!'
)
return
}
this
.
apipost
(
'OnlinePay_post_GetCodeUrl'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
payPic
=
res
.
data
.
data
.
CodeURL
this
.
lastTime
=
new
Date
(
res
.
data
.
data
.
ExpireDate
)
this
.
nowDate
=
new
Date
(
res
.
data
.
data
.
NowDate
)
...
...
@@ -306,7 +327,7 @@
// this.descMin = 0
// this.descSecond = 0
// }
//
//
// // 一秒后递归
// },
descTime
()
{
...
...
@@ -330,11 +351,11 @@
this
.
descMin
=
0
this
.
descSecond
=
0
this
.
descHour
=
0
clearInterval
(
this
.
timer
)
clearInterval
(
this
.
timer
)
}
this
.
chaTime
-=
1000
// 一秒后递归
},
},
getFylx
()
{
this
.
apipost
(
'Financial_post_GetByOrderCostTypeList'
,
{
Type
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -352,4 +373,4 @@
<
style
>
.templatePayURL
.el-input--suffix
.el-input__inner
{
padding
:
0
10px
0
8px
!important
;
font-size
:
12px
;}
.templatePayURL
.el-input__suffix
{
right
:
0
!important
;}
</
style
>
\ No newline at end of file
</
style
>
This diff is collapsed.
Click to expand it.
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