Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-points
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 23af8b8e
authored
Dec 06, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
bdd3a116
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
src/views/withdraw/index.vue
src/views/withdraw/index.vue
View file @
23af8b8
...
@@ -465,8 +465,8 @@ export default {
...
@@ -465,8 +465,8 @@ export default {
label
:
'付款渠道'
,
label
:
'付款渠道'
,
type
:
'select'
,
type
:
'select'
,
name
:
'channel'
,
name
:
'channel'
,
optionId
:
'
i
d'
,
optionId
:
'
confI
d'
,
optionLabel
:
'
text
'
,
optionLabel
:
'
confLabel
'
,
optionList
:
[
optionList
:
[
{
{
confId
:
'TXIAT'
,
confId
:
'TXIAT'
,
...
@@ -503,8 +503,8 @@ export default {
...
@@ -503,8 +503,8 @@ export default {
channel
:
[{
required
:
true
,
message
:
'请选择付款渠道'
,
trigger
:
'change'
}],
channel
:
[{
required
:
true
,
message
:
'请选择付款渠道'
,
trigger
:
'change'
}],
captcha
:
[{
required
:
true
,
message
:
'请输入验证码'
,
trigger
:
'blur'
}]
captcha
:
[{
required
:
true
,
message
:
'请输入验证码'
,
trigger
:
'blur'
}]
},
},
importRule
:{
importRule
:
{
fileName
:
[{
required
:
true
,
message
:
'请选择'
,
trigger
:
'blur'
}]
,
fileName
:
[{
required
:
true
,
message
:
'请选择'
,
trigger
:
'blur'
}]
},
},
importForm
:
{
importForm
:
{
isLoading
:
0
,
isLoading
:
0
,
...
@@ -658,11 +658,12 @@ export default {
...
@@ -658,11 +658,12 @@ export default {
}
}
return
headers
return
headers
},
},
handleSaveImport
(
data
)
{
handleSaveImport
()
{
let
params
=
{
let
params
=
{
batchNo
:
data
.
batchNo
batchNo
:
this
.
importForm
.
batchNo
}
}
this
.
$apis
.
withdraw
.
handleSaveImport
(
params
).
then
(
res
=>
{
this
.
$apis
.
withdraw
.
handleSaveImport
(
params
).
then
(
res
=>
{
this
.
handleSearch
()
})
})
},
},
//提现导入
//提现导入
...
@@ -683,21 +684,23 @@ export default {
...
@@ -683,21 +684,23 @@ export default {
},
},
comfirmImport
()
{
comfirmImport
()
{
let
{
let
{
importForm
:
{
isSuccess
,
fileName
,
isLoading
},
importForm
:
{
isSuccess
,
fileName
,
isLoading
},
isImport
isImport
}
=
this
}
=
this
if
(
fileName
==
''
&&
isLoading
==
0
)
{
if
(
fileName
==
''
&&
isLoading
==
0
)
{
this
.
$message
({
this
.
$message
({
message
:
'请先选择文件'
,
message
:
'请先选择文件'
,
type
:
'error'
type
:
'error'
})
})
return
return
}
}
if
(
isImport
&&
isSuccess
!=
0
)
{
if
(
isImport
&&
isSuccess
==
1
)
{
this
.
isImport
=
false
this
.
isImport
=
false
this
.
handleSaveImport
()
this
.
clearFile
()
this
.
clearFile
()
return
return
}
}
this
.
importForm
.
isLoading
=
1
this
.
importForm
.
isLoading
=
1
this
.
$apis
.
withdraw
.
uploadXlsx
({
file
:
this
.
importForm
.
fileUrl
}).
then
(
res
=>
{
this
.
$apis
.
withdraw
.
uploadXlsx
({
file
:
this
.
importForm
.
fileUrl
}).
then
(
res
=>
{
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
...
@@ -705,7 +708,7 @@ export default {
...
@@ -705,7 +708,7 @@ export default {
if
(
res
.
data
.
importStatue
==
0
)
{
if
(
res
.
data
.
importStatue
==
0
)
{
this
.
importForm
.
successCount
=
res
.
data
.
successCount
this
.
importForm
.
successCount
=
res
.
data
.
successCount
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
importForm
.
isSuccess
=
1
//处理成功
this
.
handleSaveImport
(
res
.
data
)
this
.
importForm
.
batchNo
=
res
.
data
.
batchNo
}
else
{
}
else
{
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
errorUrl
=
res
.
data
.
errorUrl
this
.
importForm
.
isSuccess
=
2
//处理失败
this
.
importForm
.
isSuccess
=
2
//处理失败
...
@@ -964,7 +967,7 @@ export default {
...
@@ -964,7 +967,7 @@ export default {
line-height
:
20px
;
line-height
:
20px
;
display
:
block
;
display
:
block
;
}
}
.err-url
{
.err-url
{
margin-top
:
7px
;
margin-top
:
7px
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment