Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
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
integralMall
integral-mall
Commits
db63e999
Commit
db63e999
authored
Aug 26, 2021
by
陈羽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: update
parent
fc9cb7f4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
convenSet.vue
src/views/setting/convenSet.vue
+10
-10
No files found.
src/views/setting/convenSet.vue
View file @
db63e999
...
...
@@ -30,13 +30,13 @@
</el-checkbox-group>
</el-form-item>
<el-form-item
prop=
"autoConfirmReceipt"
label=
"自动确认收货"
>
<el-switch
v-model=
"form.autoConfirmReceipt"
active-value=
"1"
inactive-value=
"0"
>
</el-switch>
<el-switch
v-model=
"form.autoConfirmReceipt"
:active-value=
"1"
:
inactive-value=
"0"
>
</el-switch>
</el-form-item>
<el-form-item
prop=
"autoConfirmReceiptDay"
v-if=
"form.autoConfirmReceipt ===
'1'
"
:rules=
"[
{ required: true, message: '请选择自动收货天数' }]">
<el-form-item
prop=
"autoConfirmReceiptDay"
v-if=
"form.autoConfirmReceipt ===
1
"
:rules=
"[
{ required: true, message: '请选择自动收货天数' }]">
<el-select
v-model=
"form.autoConfirmReceiptDay"
placeholder=
"请选择"
>
<el-option
label=
"7天后"
value=
"7"
>
</el-option>
<el-option
label=
"15天后"
value=
"15"
>
</el-option>
<el-option
label=
"30天后"
value=
"30"
>
</el-option>
<el-option
label=
"7天后"
:
value=
"7"
>
</el-option>
<el-option
label=
"15天后"
:
value=
"15"
>
</el-option>
<el-option
label=
"30天后"
:
value=
"30"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -60,8 +60,8 @@ export default {
cardType
:
''
,
openAutoShelf
:
false
,
showStoreType
:
[],
autoConfirmReceipt
:
'0'
,
autoConfirmReceiptDay
:
''
autoConfirmReceipt
:
0
,
autoConfirmReceiptDay
:
null
},
formRules
:
{
cardType
:
[{
required
:
true
,
message
:
'请选择积分消耗卡'
,
trigger
:
'change'
}],
...
...
@@ -79,8 +79,8 @@ export default {
request
.
get
(
'/api-integral-mall/get-card-config'
).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
this
.
form
.
cardType
=
res
.
data
.
result
.
cardType
||
''
;
this
.
form
.
autoConfirmReceipt
=
res
.
data
.
result
.
autoConfirmReceipt
||
'0'
;
this
.
form
.
autoConfirmReceiptDay
=
res
.
data
.
result
.
autoConfirmReceiptDay
||
''
;
this
.
form
.
autoConfirmReceipt
=
res
.
data
.
result
.
autoConfirmReceipt
||
0
;
this
.
form
.
autoConfirmReceiptDay
=
res
.
data
.
result
.
autoConfirmReceiptDay
||
null
;
this
.
form
.
openAutoShelf
=
res
.
data
.
result
.
openAutoShelf
===
1
?
true
:
false
;
this
.
form
.
showStoreType
=
res
.
data
.
result
.
showStoreType
?
res
.
data
.
result
.
showStoreType
.
split
(
','
)
:
[];
}
else
{
...
...
@@ -98,7 +98,7 @@ export default {
openAutoShelf
:
this
.
form
.
openAutoShelf
?
1
:
0
,
showStoreType
:
this
.
form
.
showStoreType
.
join
(
','
)
};
if
(
params
.
autoConfirmReceipt
===
'1'
)
params
.
autoConfirmReceiptDay
=
this
.
form
.
autoConfirmReceiptDay
;
if
(
params
.
autoConfirmReceipt
===
1
)
params
.
autoConfirmReceiptDay
=
this
.
form
.
autoConfirmReceiptDay
;
this
.
btnLoading
=
true
;
request
.
get
(
'/api-integral-mall/save-card-config'
,
{
params
}).
then
(
res
=>
{
if
(
res
.
data
.
errorCode
===
0
)
{
...
...
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