Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 0c4689bd
authored
Nov 26, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
输入框字数限制
1 parent
6c74ca6c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
src/views/memberCenter/center.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/memberCenter/center.vue
View file @
0c4689b
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<div
class=
"cardDetail editForm"
v-else
>
<div
class=
"cardDetail editForm"
v-else
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"90px"
class=
"demo-ruleForm"
style=
"width: 500px"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"90px"
class=
"demo-ruleForm"
style=
"width: 500px"
>
<el-form-item
label=
"会员卡名"
prop=
"cardName"
size=
"small"
>
<el-form-item
label=
"会员卡名"
prop=
"cardName"
size=
"small"
>
<el-input
v-model=
"ruleForm.cardName"
size=
"small"
placeholder=
"请输入会员卡名"
maxlength=
"15"
></el-input>
<el-input
v-model=
"ruleForm.cardName"
size=
"small"
placeholder=
"请输入会员卡名"
show-word-limit
maxlength=
"15"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"售价"
size=
"small"
prop=
"price"
style=
"width: 300px"
>
<el-form-item
label=
"售价"
size=
"small"
prop=
"price"
style=
"width: 300px"
>
<el-input
v-model=
"ruleForm.price"
size=
"small"
placeholder=
"请输入合理价格"
@
keyup
.
native=
"ruleForm.price = oninput(ruleForm.price)"
>
<el-input
v-model=
"ruleForm.price"
size=
"small"
placeholder=
"请输入合理价格"
@
keyup
.
native=
"ruleForm.price = oninput(ruleForm.price)"
>
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
0c4689b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"服务名称"
prop=
"couponName"
style=
"width: 420px"
>
<el-form-item
size=
"small"
label=
"服务名称"
prop=
"couponName"
style=
"width: 420px"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
v-model
.
trim=
"ruleForm.couponName"
maxlength=
"20"
placeholder=
"请输入服务名称,如“精洗轿车”"
></el-input>
<el-input
size=
"small"
:disabled=
"disabledContent"
v-model
.
trim=
"ruleForm.couponName"
show-word-limit
maxlength=
"20"
placeholder=
"请输入服务名称,如“精洗轿车”"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"有效期"
prop=
"effectiveType"
>
<el-form-item
size=
"small"
label=
"有效期"
prop=
"effectiveType"
>
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
0c4689b
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<div
class=
"live-room container"
>
<div
class=
"live-room container"
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"套餐名称"
prop=
"packageName"
style=
"width: 420px"
>
<el-form-item
size=
"small"
label=
"套餐名称"
prop=
"packageName"
style=
"width: 420px"
>
<el-input
size=
"small"
v-model=
"ruleForm.packageName"
placeholder=
"请输入套餐名称"
></el-input>
<el-input
size=
"small"
v-model=
"ruleForm.packageName"
show-word-limit
maxlength=
"20"
placeholder=
"请输入套餐名称"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"套餐内容"
class=
"is-required"
>
<el-form-item
size=
"small"
label=
"套餐内容"
class=
"is-required"
>
<el-button
@
click=
"openDialog"
size=
"small"
icon=
"el-icon-plus"
>
选择服务
</el-button>
<el-button
@
click=
"openDialog"
size=
"small"
icon=
"el-icon-plus"
>
选择服务
</el-button>
...
...
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