Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
glsx-dj-oss-equity
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 20d1b38a
authored
Jul 26, 2021
by
liwk
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/glsx-web/glsx-dj-oss-equity
2 parents
5aec1858
76bb191b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
src/views/customer/rightsCardManagement/index.vue
src/views/customer/rightsCardManagement/index.vue
View file @
20d1b38
...
...
@@ -239,7 +239,7 @@ import { equityApi } from '@/api/api'
export
default
{
data
()
{
return
{
submitBtn
:
false
,
submitBtn
:
false
,
disableInputNumber
:
false
,
disableSelect
:
false
,
//分页查询下拉框
...
...
@@ -314,7 +314,7 @@ export default {
backgroundImage
:
''
,
usageNotes
:
''
,
merchantId
:
''
,
effectiveType
:
''
,
effectiveType
:
'
1
'
,
platformGoodsId
:
+
''
,
merchantName
:
''
,
id
:
''
...
...
@@ -476,7 +476,6 @@ export default {
// console.log(this.isAdd)
// console.log(row)
this
.
ruleForm
=
row
this
.
submitBtn
=
false
// this.changeStore()
this
.
dialogVisible
=
true
console
.
log
(
this
.
ruleForm
.
effectiveType
)
...
...
@@ -498,7 +497,6 @@ export default {
},
//复制
copy
(
row
)
{
this
.
submitBtn
=
false
this
.
disableSelect
=
false
this
.
isAdd
=
true
console
.
log
(
this
.
isAdd
)
...
...
@@ -564,7 +562,7 @@ export default {
//判断是否是从新建按钮进来的
var
apiName
=
this
.
isAdd
?
'newEquityCard'
:
'editEquityCard'
console
.
log
(
apiName
)
this
.
submitBtn
=
true
this
.
submitBtn
=
true
equityApi
[
apiName
](
this
.
ruleForm
).
then
((
res
)
=>
{
console
.
log
(
res
)
console
.
log
(
apiName
)
...
...
@@ -578,17 +576,26 @@ export default {
type
:
"success"
,
});
this
.
disableSelect
=
false
this
.
$refs
.
recordTable
.
refreshTable
()
setTimeout
(()
=>
{
this
.
$refs
.
recordTable
.
refreshTable
()
this
.
submitBtn
=
false
},
400
);
}
else
if
(
res
.
code
==
-
1
)
{
this
.
$message
({
message
:
"当前门店已绑定其他权益卡"
,
type
:
"error"
,
});
setTimeout
(()
=>
{
this
.
submitBtn
=
false
},
400
);
}
else
{
this
.
$message
({
message
:
"绑定失败"
,
type
:
"error"
,
});
setTimeout
(()
=>
{
this
.
submitBtn
=
false
},
400
);
}
});
}
else
{
...
...
@@ -608,6 +615,7 @@ export default {
console
.
log
(
this
.
isAdd
)
this
.
disableSelect
=
false
this
.
$refs
[
formName
].
resetFields
();
this
.
$refs
.
recordTable
.
refreshTable
()
},
}
}
...
...
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