Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 c08418fb
authored
Sep 28, 2025
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.1.0' of
http://192.168.3.233:8090/saas_plus/dj-car-life-sy…
…stem into SAAS+V5.1.0
2 parents
6c0fc565
7e17b551
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
src/views/goods/coupons/reservationDialog.vue
src/views/goods/coupons/scheduling.vue
src/views/goods/coupons/reservationDialog.vue
View file @
c08418f
...
@@ -19,14 +19,13 @@
...
@@ -19,14 +19,13 @@
ref=
"editRef"
ref=
"editRef"
:rules=
"formRules"
:rules=
"formRules"
>
>
<el-form-item
<el-form-item
label=
"流量有效性:"
>
label=
"流量有效性:"
>
<el-form-item>
<el-form-item>
<el-select
<el-select
v-model=
"infoForm.trafficEffectiveness"
v-model=
"infoForm.trafficEffectiveness"
placeholder=
"请选择"
placeholder=
"请选择"
class=
"select-width"
class=
"select-width"
:disabled=
"trafficEffectivenessDisabled"
>
>
<el-option
<el-option
v-for=
"(item, key) in trafficEffectivenessOpt"
v-for=
"(item, key) in trafficEffectivenessOpt"
...
@@ -117,6 +116,11 @@ export default {
...
@@ -117,6 +116,11 @@ export default {
set
(
val
)
{
set
(
val
)
{
this
.
$emit
(
"dialogClose"
,
{
flag
:
val
})
this
.
$emit
(
"dialogClose"
,
{
flag
:
val
})
}
}
},
trafficEffectivenessDisabled
()
{
let
{
orderStatus
}
=
this
.
paramsObj
//已支付4、已失效11、已撤销9、已评价6、已关闭10、战败2 不支持编辑
return
[
4
,
11
,
9
,
6
,
10
,
2
].
includes
(
orderStatus
)
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -162,7 +166,7 @@ export default {
...
@@ -162,7 +166,7 @@ export default {
{
required
:
true
,
message
:
'请选择时间段'
,
trigger
:
'change'
}
{
required
:
true
,
message
:
'请选择时间段'
,
trigger
:
'change'
}
]
]
},
},
datePickerOptions
:
{
datePickerOptions
:
{
disabledDate
:
(
time
)
=>
{
disabledDate
:
(
time
)
=>
{
const
today
=
new
Date
()
const
today
=
new
Date
()
...
@@ -193,16 +197,18 @@ export default {
...
@@ -193,16 +197,18 @@ export default {
{
confId
:
"16:00"
,
confValue
:
"16:00"
,
disabled
:
false
}
{
confId
:
"16:00"
,
confValue
:
"16:00"
,
disabled
:
false
}
],
],
trafficEffectivenessOpt
:
[
trafficEffectivenessOpt
:
[
{
confId
:
"1"
,
confValue
:
"有效客户"
},
{
confId
:
1
,
confValue
:
"有效客户"
},
{
confId
:
"2"
,
confValue
:
"无效客户"
},
{
confId
:
2
,
confValue
:
"无效客户"
},
],
],
}
}
},
},
methods
:
{
methods
:
{
inviteDatePush
()
{
inviteDatePush
()
{
if
(
this
.
paramsObj
.
inviteDate
)
{
let
{
trafficEffectiveness
,
inviteDate
}
=
this
.
paramsObj
const
dateTimeStr
=
Util
.
dateFormate
(
this
.
paramsObj
.
inviteDate
,
'YYYY-MM-DD HH:mm:ss'
)
if
(
trafficEffectiveness
)
this
.
infoForm
.
trafficEffectiveness
=
trafficEffectiveness
if
(
inviteDate
)
{
const
dateTimeStr
=
Util
.
dateFormate
(
inviteDate
,
'YYYY-MM-DD HH:mm:ss'
)
// 截取年月日(空格前)
// 截取年月日(空格前)
this
.
infoForm
.
dateTime
=
dateTimeStr
.
split
(
' '
)[
0
]
this
.
infoForm
.
dateTime
=
dateTimeStr
.
split
(
' '
)[
0
]
...
@@ -329,7 +335,7 @@ export default {
...
@@ -329,7 +335,7 @@ export default {
.default-width
{
.default-width
{
width
:
170px
;
width
:
170px
;
}
}
.select-width
{
.select-width
{
width
:
calc
(
100%
-
87px
);
width
:
calc
(
100%
-
87px
);
}
}
.timesSle
{
.timesSle
{
...
...
src/views/goods/coupons/scheduling.vue
View file @
c08418f
...
@@ -181,7 +181,7 @@ export default {
...
@@ -181,7 +181,7 @@ export default {
toShopDate
:
''
,
toShopDate
:
''
,
merchantId
:
''
,
merchantId
:
''
,
inviteMode
:
''
,
inviteMode
:
''
,
trafficEffectiveness
:
'
0
'
trafficEffectiveness
:
''
},
},
searchFormSearch
:
{},
searchFormSearch
:
{},
showFormData
:
[{
showFormData
:
[{
...
@@ -219,7 +219,7 @@ export default {
...
@@ -219,7 +219,7 @@ export default {
isClear
:
true
,
isClear
:
true
,
optionList
:
[
optionList
:
[
{
{
value
:
'
0
'
,
value
:
''
,
name
:
'全部'
name
:
'全部'
},
},
{
{
...
@@ -293,7 +293,6 @@ export default {
...
@@ -293,7 +293,6 @@ export default {
}
}
},
{
},
{
label
:
'流量有效性'
,
label
:
'流量有效性'
,
prop
:
'staffName'
,
width
:
'100'
,
width
:
'100'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
return
{
return
{
...
...
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