Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_web
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
pseer
gxpt_web
Commits
350c911d
Commit
350c911d
authored
Dec 01, 2023
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
套餐管理增加是否首次可用
parent
3d77cef8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
1 deletions
+21
-1
index.vue
src/views/system/consumerCoupon/index.vue
+2
-1
index.vue
src/views/system/pack/index.vue
+19
-0
No files found.
src/views/system/consumerCoupon/index.vue
View file @
350c911d
<
template
>
<div
class=
"app-container"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"100px"
>
<el-form-item
label=
"用户ID"
prop=
"consumerId"
>
<!--
<el-form-item
label=
"用户ID"
prop=
"consumerId"
>
--
>
<!--
<el-input-->
<!-- v-model="queryParams.consumerId"-->
<!-- placeholder="请输入用户ID"-->
...
...
@@ -467,6 +467,7 @@ export default {
getList
()
{
this
.
loading
=
true
listConsumerCoupon
(
this
.
queryParams
).
then
(
response
=>
{
console
.
log
(
response
,
90999999999
)
this
.
consumerCouponList
=
response
.
rows
this
.
total
=
response
.
total
this
.
loading
=
false
...
...
src/views/system/pack/index.vue
View file @
350c911d
...
...
@@ -41,6 +41,12 @@
@
keyup
.
enter
.
native=
"handleQuery"
/>
</el-form-item>
<el-form-item
label=
"是否首次下单可用"
prop=
"firstOrderAvailable"
>
<el-select
v-model=
"queryParams.firstOrderAvailable"
placeholder=
"请选择是否首次下单可用"
clearable
>
<el-option
label=
"是"
value=
"1"
/>
<el-option
label=
"否"
value=
"0"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
...
...
@@ -100,6 +106,12 @@
<el-table-column
label=
"金额"
align=
"center"
prop=
"price"
/>
<el-table-column
label=
"套餐开始时段"
align=
"center"
prop=
"packaStartPeriod"
/>
<el-table-column
label=
"套餐结束时段"
align=
"center"
prop=
"packaEndPeriod"
/>
<el-table-column
label=
"是否首次下单可用"
align=
"center"
prop=
"firstOrderAvailable"
>
<template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.firstOrderAvailable==1"
>
是
</span>
<span
v-else
>
否
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"备注"
align=
"center"
prop=
"remark"
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -147,6 +159,12 @@
<el-form-item
label=
"套餐结束时段"
prop=
"packaEndPeriod"
>
<el-input
v-model=
"form.packaEndPeriod"
placeholder=
"请输入套餐结束时段"
/>
</el-form-item>
<el-form-item
label=
"是否首次下单可用"
prop=
"firstOrderAvailable"
>
<el-select
v-model=
"form.firstOrderAvailable"
placeholder=
"请选择是否首次下单可用"
clearable
>
<el-option
label=
"是"
value=
"1"
/>
<el-option
label=
"否"
value=
"0"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"备注"
prop=
"remark"
>
<el-input
v-model=
"form.remark"
type=
"textarea"
placeholder=
"请输入内容"
/>
</el-form-item>
...
...
@@ -196,6 +214,7 @@ export default {
price
:
null
,
packaStartPeriod
:
null
,
packaEndPeriod
:
null
,
firstOrderAvailable
:
null
},
// 表单参数
form
:
{},
...
...
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