Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
sso-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 2534f676
authored
Aug 18, 2022
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单样式修改
1 parent
236bb803
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
109 additions
and
139 deletions
package-lock.json
package.json
src/components/equity-dialog/index.vue
src/views/collection/index.vue
src/views/goods/addGoods.vue
src/views/rightsCard/cardDetail.vue
src/views/rightsCard/index.vue
package-lock.json
View file @
2534f67
...
@@ -2083,6 +2083,17 @@
...
@@ -2083,6 +2083,17 @@
"color-convert"
:
"^2.0.1"
"color-convert"
:
"^2.0.1"
}
}
},
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"cliui"
:
{
"cliui"
:
{
"version"
:
"6.0.0"
,
"version"
:
"6.0.0"
,
"resolved"
:
"https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz"
,
...
@@ -2109,12 +2120,31 @@
...
@@ -2109,12 +2120,31 @@
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
"dev"
:
true
},
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"is-fullwidth-code-point"
:
{
"is-fullwidth-code-point"
:
{
"version"
:
"3.0.0"
,
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
"integrity"
:
"sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
,
"integrity"
:
"sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg=="
,
"dev"
:
true
"dev"
:
true
},
},
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"minimist"
:
{
"minimist"
:
{
"version"
:
"1.2.5"
,
"version"
:
"1.2.5"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz"
,
"resolved"
:
"https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz"
,
...
@@ -2141,6 +2171,28 @@
...
@@ -2141,6 +2171,28 @@
"strip-ansi"
:
"^6.0.1"
"strip-ansi"
:
"^6.0.1"
}
}
},
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
}
},
"wrap-ansi"
:
{
"wrap-ansi"
:
{
"version"
:
"6.2.0"
,
"version"
:
"6.2.0"
,
"resolved"
:
"https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
"resolved"
:
"https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
...
@@ -6356,9 +6408,9 @@
...
@@ -6356,9 +6408,9 @@
}
}
},
},
"glsx-components"
:
{
"glsx-components"
:
{
"version"
:
"1.
4.7
"
,
"version"
:
"1.
5.1
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.
4.7
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.
5.1
.tgz"
,
"integrity"
:
"sha512-
2gg1DvqMFpQ/Vnwu+om8mWhQ5NjhqMlK+PWD5qZNOXBY5MpLocToSy8U/tpSdfg7uhEgJOp6I/KOITvhi3xcoA
=="
,
"integrity"
:
"sha512-
oH3TsANYngsVdDvi7XIqym48sbOuOYoVXV1m8FUoFBC7vI0gCPMgV9iMQosBGKSCPZ70m9XFgQTA0411CpZS9g
=="
,
"requires"
:
{
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
...
@@ -12737,87 +12789,6 @@
...
@@ -12737,87 +12789,6 @@
}
}
}
}
},
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
,
"optional"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
,
"optional"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"optional"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-quill-editor"
:
{
"vue-quill-editor"
:
{
"version"
:
"3.0.6"
,
"version"
:
"3.0.6"
,
"resolved"
:
"https://registry.npm.taobao.org/vue-quill-editor/download/vue-quill-editor-3.0.6.tgz"
,
"resolved"
:
"https://registry.npm.taobao.org/vue-quill-editor/download/vue-quill-editor-3.0.6.tgz"
,
...
...
package.json
View file @
2534f67
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"el-tree-transfer"
:
"^2.4.7"
,
"el-tree-transfer"
:
"^2.4.7"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
"glsx-common"
:
"^1.4.9"
,
"glsx-common"
:
"^1.4.9"
,
"glsx-components"
:
"^1.
4.7
"
,
"glsx-components"
:
"^1.
5.1
"
,
"glsx-vue-components"
:
"^1.0.15"
,
"glsx-vue-components"
:
"^1.0.15"
,
"jquery"
:
"^3.6.0"
,
"jquery"
:
"^3.6.0"
,
"vue"
:
"^2.6.14"
,
"vue"
:
"^2.6.14"
,
...
...
src/components/equity-dialog/index.vue
View file @
2534f67
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"equity-dialog"
>
<div
class=
"equity-dialog"
>
<GLDialog
mode=
"mid"
:title=
"type == 1 ? '添加汽车权益' : '添加商品权益'"
v-if=
"show"
:visible
.
sync=
"show"
:show-close=
"true"
:close-on-press-escape=
"false"
:close-on-click-modal=
"false"
:before-close=
"closeListPoup"
>
<GLDialog
mode=
"mid"
:title=
"type == 1 ? '添加汽车权益' : '添加商品权益'"
v-if=
"show"
:visible
.
sync=
"show"
:show-close=
"true"
:close-on-press-escape=
"false"
:close-on-click-modal=
"false"
:before-close=
"closeListPoup"
>
<div
class=
"form"
>
<div
class=
"form"
>
<el-form
class=
"equityForm"
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"right"
label-width=
"
auto
"
>
<el-form
class=
"equityForm"
:model=
"form"
:rules=
"rules"
ref=
"ruleForm"
label-position=
"right"
label-width=
"
154px
"
>
<el-form-item
v-if=
"type == 1"
label=
"服务提供方"
prop=
"supplier"
>
<el-form-item
v-if=
"type == 1"
label=
"服务提供方"
prop=
"supplier"
>
<el-select
v-model=
"form.supplier"
@
change=
"changeSupplier"
size=
"small"
>
<el-select
v-model=
"form.supplier"
@
change=
"changeSupplier"
size=
"small"
>
<el-option
v-for=
"item in supplierList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
<el-option
v-for=
"item in supplierList"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
...
@@ -277,11 +277,11 @@ export default {
...
@@ -277,11 +277,11 @@ export default {
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
padding-bottom
:
18px
;
padding-bottom
:
18px
;
}
}
.form
{
/*
.form {
padding
:
32px
20px
32px
1
16px
;
padding: 16px;
}
}
*/
.equity-dialog
.el-dialog__body
{
.equity-dialog
.el-dialog__body
{
padding
:
0px
0px
;
/* padding: 0px 0px; */
color
:
#606266
;
color
:
#606266
;
font-size
:
14px
;
font-size
:
14px
;
word-break
:
break-all
;
word-break
:
break-all
;
...
@@ -289,7 +289,7 @@ export default {
...
@@ -289,7 +289,7 @@ export default {
.equityForm
.el-input--small
.el-input__inner
{
.equityForm
.el-input--small
.el-input__inner
{
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
width
:
320
px
!important
;
width
:
432
px
!important
;
}
}
.suggestion
{
.suggestion
{
font-size
:
14px
;
font-size
:
14px
;
...
...
src/views/collection/index.vue
View file @
2534f67
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
<el-form-item
style=
"margin-left: 120px"
label=
"已激活:"
>
{{
cardsInformationForm
.
recipientCount
||
'0'
}}
(
{{
ChangeDecimalToPercentage
(
this
.
cardsInformationForm
.
recipientCount
/
this
.
cardsInformationForm
.
num
)
}}
)
</el-form-item>
<el-form-item
style=
"margin-left: 120px"
label=
"已激活:"
>
{{
cardsInformationForm
.
recipientCount
||
'0'
}}
(
{{
ChangeDecimalToPercentage
(
this
.
cardsInformationForm
.
recipientCount
/
this
.
cardsInformationForm
.
num
)
}}
)
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
<div
class=
"dialogtitleText"
style=
"margin-top:
2
0px; margin-left: 20px"
>
权益明细:
</div>
<div
class=
"dialogtitleText"
style=
"margin-top: 0px; margin-left: 20px"
>
权益明细:
</div>
<div
class=
"contain equity-wrap"
style=
"margin:
20px 0px 2
0px 0px !important"
>
<div
class=
"contain equity-wrap"
style=
"margin:
0px 0px
0px 0px !important"
>
<el-form
:inline=
"true"
label-width=
"70px"
>
<el-form
:inline=
"true"
label-width=
"70px"
>
<el-row
style=
"align-items: center"
>
<el-row
style=
"align-items: center"
>
<el-form-item
label=
" 卡号:"
>
<el-form-item
label=
" 卡号:"
>
...
@@ -56,8 +56,8 @@
...
@@ -56,8 +56,8 @@
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
style=
"float: right; margin-right: 0px !important"
>
<el-form-item
size=
"small"
style=
"float: right; margin-right: 0px !important"
>
<el-button
plain
size=
"small"
@
click=
"batchdetailSelect('reset')"
class=
"selectBtn"
>
重置
</el-button>
<el-button
plain
size=
"small"
@
click=
"batchdetailSelect('reset')"
class=
"selectBtn"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"batchdetailSelect('select')"
class=
"selectBtn"
>
搜索
</el-button>
<el-button
size=
"small"
@
click=
"batchdetailSelect('select')"
class=
"selectBtn"
>
搜索
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"exportbatchdetail"
class=
"selectBtn"
>
导出
</el-button>
<el-button
size=
"small"
@
click=
"exportbatchdetail"
class=
"selectBtn"
>
导出
</el-button>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
</GLDialog>
</GLDialog>
<!-- 批量生成权益卡弹窗 -->
<!-- 批量生成权益卡弹窗 -->
<GLDialog
mode=
"mid"
title=
"批量生成权益卡"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleClose"
>
<GLDialog
mode=
"mid"
title=
"批量生成权益卡"
:visible
.
sync=
"dialogVisible"
:before-close=
"handleClose"
>
<el-form
:inline=
"true"
:model=
"generateRightCardsForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"
90
px"
class=
"addCardsForm"
>
<el-form
:inline=
"true"
:model=
"generateRightCardsForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"
154
px"
class=
"addCardsForm"
>
<div
class=
"form"
>
<div
class=
"form"
>
<el-row>
<el-row>
<el-form-item
label=
"关联门店:"
prop=
"merchantName"
>
<el-form-item
label=
"关联门店:"
prop=
"merchantName"
>
...
@@ -80,16 +80,16 @@
...
@@ -80,16 +80,16 @@
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"新建张数:"
prop=
"num"
>
<el-form-item
label=
"新建张数
/张
:"
prop=
"num"
>
<div
class=
"dialogLine"
>
<div
class=
"dialogLine"
>
<el-input-number
:min=
"1"
v-model=
"generateRightCardsForm.num"
size=
"mini"
></el-input-number>
<el-input-number
:min=
"1"
v-model=
"generateRightCardsForm.num"
size=
"mini"
></el-input-number>
<
span
style=
"margin-left: 1px"
>
张
</span
>
<
!--
<span
style=
"margin-left: 1px"
>
张
</span>
--
>
</div>
</div>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
<el-row>
<el-row>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-form-item
label=
"备注"
prop=
"remarks"
>
<el-input
type=
"textarea"
v-model=
"generateRightCardsForm.remarks"
maxlength=
"200"
style=
"width:
320
px"
></el-input>
<el-input
type=
"textarea"
v-model=
"generateRightCardsForm.remarks"
maxlength=
"200"
style=
"width:
432
px"
></el-input>
</el-form-item>
</el-form-item>
</el-row>
</el-row>
</div>
</div>
...
@@ -785,8 +785,8 @@ h2 {
...
@@ -785,8 +785,8 @@ h2 {
}
}
.dialogLine
{
.dialogLine
{
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
height
:
40px
;
}
}
.InputContainer
{
.InputContainer
{
display
:
flex
;
display
:
flex
;
...
@@ -956,7 +956,7 @@ flex-wrap: nowrap;
...
@@ -956,7 +956,7 @@ flex-wrap: nowrap;
}
}
.detailFont
,
.detailFont
,
.el-form-item__content
{
.el-form-item__content
{
line-height
:
36px
!important
;
/* line-height: 36px !important; */
margin-bottom
:
0px
;
margin-bottom
:
0px
;
}
}
.batchDetailBox
.el-dialog__header
{
.batchDetailBox
.el-dialog__header
{
...
@@ -972,9 +972,9 @@ flex-wrap: nowrap;
...
@@ -972,9 +972,9 @@ flex-wrap: nowrap;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
border-top
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
}
}
.form
{
/*
.form {
padding: 32px 20px 32px 48px;
padding: 32px 20px 32px 48px;
}
}
*/
.batchDialog
.el-dialog__header
{
.batchDialog
.el-dialog__header
{
padding
:
20px
20px
20px
;
padding
:
20px
20px
20px
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
...
@@ -998,7 +998,7 @@ flex-wrap: nowrap;
...
@@ -998,7 +998,7 @@ flex-wrap: nowrap;
.addCardsForm
.el-input--small
.el-input__inner
{
.addCardsForm
.el-input--small
.el-input__inner
{
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
width
:
320
px
;
width
:
432
px
;
}
}
.equity-wrap
.tapItem
{
.equity-wrap
.tapItem
{
margin
:
0px
;
margin
:
0px
;
...
...
src/views/goods/addGoods.vue
View file @
2534f67
<
template
>
<
template
>
<div
class=
"equity-wrap allWrap"
>
<div
class=
"equity-wrap allWrap"
>
<div
class=
"equity-wrap contain"
>
<div
class=
"equity-wrap contain"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"15
0
px"
size=
"medium"
:key=
"resetTime"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"15
4
px"
size=
"medium"
:key=
"resetTime"
>
<div
class=
"box"
>
<div
class=
"box"
>
<!--
<back
/>
-->
<!--
<back
/>
-->
<div
class=
"title"
>
商品类型
</div>
<div
class=
"title"
>
商品类型
</div>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"title baseTitle"
>
基本信息
</div>
<div
class=
"title baseTitle"
>
基本信息
</div>
<el-form-item
label=
"产品提供方"
required
>
<el-form-item
label=
"产品提供方"
required
>
<el-select
v-model=
"ruleForm.supplier"
:disabled=
"isEdit"
>
<el-select
:style=
"
{'width':defaultwidth+'px'}"
v-model="ruleForm.supplier" :disabled="isEdit">
<el-option
label=
"海威"
value=
"HW"
></el-option>
<el-option
label=
"海威"
value=
"HW"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -24,15 +24,15 @@
...
@@ -24,15 +24,15 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品编码"
prop=
"productId"
>
<el-form-item
label=
"商品编码"
prop=
"productId"
>
<el-input
v-model=
"ruleForm.productId"
:disabled=
"isEdit"
placeholder=
"365淘券所对应的商品编码"
maxlength=
"20"
@
blur=
"getEquityOutGoodsBySupplierProductId"
></el-input>
<el-input
:style=
"
{'width':defaultwidth+'px'}"
v-model="ruleForm.productId" :disabled="isEdit" placeholder="365淘券所对应的商品编码" maxlength="20" @blur="getEquityOutGoodsBySupplierProductId">
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"品牌名称"
prop=
"brandName"
>
<el-form-item
label=
"品牌名称"
prop=
"brandName"
>
<el-select
filterable
v-model=
"ruleForm.brandName"
@
change=
"changeBrandName"
:disabled=
"isEdit"
>
<el-select
:style=
"
{'width':defaultwidth+'px'}"
filterable v-model="ruleForm.brandName" @change="changeBrandName" :disabled="isEdit">
<el-option
v-for=
"item in brandNameList"
:key=
"item.brandId"
:label=
"item.brandName"
:value=
"item.brandName"
></el-option>
<el-option
v-for=
"item in brandNameList"
:key=
"item.brandId"
:label=
"item.brandName"
:value=
"item.brandName"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品名称"
prop=
"productName"
>
<el-form-item
label=
"商品名称"
prop=
"productName"
>
<el-input
v-model=
"ruleForm.productName"
maxlength=
"30"
></el-input>
<el-input
:style=
"
{'width':defaultwidth+'px'}"
v-model="ruleForm.productName" maxlength="30">
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品图片"
:required=
"ruleForm.appearance == 1"
prop=
"goodsImage"
>
<el-form-item
label=
"商品图片"
:required=
"ruleForm.appearance == 1"
prop=
"goodsImage"
>
...
@@ -48,41 +48,37 @@
...
@@ -48,41 +48,37 @@
<div
class=
"box"
>
<div
class=
"box"
>
<div
class=
"title priceMsgTitle"
>
价格信息
</div>
<div
class=
"title priceMsgTitle"
>
价格信息
</div>
<el-form-item
v-if=
"ruleForm.appearance != 1"
label=
"直充面额"
prop=
"denomination"
>
<el-form-item
v-if=
"ruleForm.appearance != 1"
label=
"直充面额"
prop=
"denomination"
>
<el-input
v-model=
"ruleForm.denomination"
maxlength=
"10"
></el-input>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.denomination"
maxlength=
"10"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"会员价"
prop=
"salesPrice"
>
<el-form-item
label=
"会员价/元"
prop=
"salesPrice"
>
<el-input
v-model=
"ruleForm.salesPrice"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.salesPrice"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"非会员价"
prop=
"noMemberPrice"
>
<el-form-item
label=
"非会员价/元"
prop=
"noMemberPrice"
>
<el-input
v-model=
"ruleForm.noMemberPrice"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.noMemberPrice"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"成本含税价"
prop=
"costPrice"
>
<el-form-item
label=
"成本含税价/元"
prop=
"costPrice"
>
<el-input
v-model=
"ruleForm.costPrice"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.costPrice"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"官方价/划线价"
prop=
"lineationPrice"
>
<el-form-item
label=
"官方价/划线价/元"
prop=
"lineationPrice"
>
<el-input
v-model=
"ruleForm.lineationPrice"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.lineationPrice"
>
<span
slot=
"suffix"
>
元
</span>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品质保期"
prop=
"warrantyPeriod"
:required=
"ruleForm.appearance == 1"
>
<el-form-item
label=
"商品质保期
/小时
"
prop=
"warrantyPeriod"
:required=
"ruleForm.appearance == 1"
>
<el-input
v-model
.
number=
"ruleForm.warrantyPeriod"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model
.
number=
"ruleForm.warrantyPeriod"
>
<
template
slot=
"append"
>
小时
</
template
>
<
!-- <template slot="append">小时</template> --
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品有效期"
>
<el-form-item
label=
"商品有效期"
>
<el-input
v-model
.
number=
"ruleForm.validityPeriod"
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model
.
number=
"ruleForm.validityPeriod"
>
<
template
slot=
"prepend"
>
兑换到账户内
</
template
>
<
template
slot=
"prepend"
>
兑换到账户内
</
template
>
<
template
slot=
"append"
>
天有效
</
template
>
<
template
slot=
"append"
>
天有效
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品库存"
>
<el-form-item
label=
"商品库存"
>
<el-input
v-model=
"ruleForm.stock"
disabled
>
<el-input
:style=
"{'width':defaultwidth+'px'}"
v-model=
"ruleForm.stock"
disabled
>
<
template
slot=
"append"
>
保存或上架商品后将自动检查库存
</
template
>
<
template
slot=
"append"
>
保存或上架商品后将自动检查库存
</
template
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
...
@@ -212,6 +208,7 @@ export default {
...
@@ -212,6 +208,7 @@ export default {
name
:
''
,
name
:
''
,
data
()
{
data
()
{
return
{
return
{
defaultwidth
:
432
,
eventBus
:
new
Vue
(),
eventBus
:
new
Vue
(),
isEdit
:
false
,
isEdit
:
false
,
isNewGoods
:
false
,
isNewGoods
:
false
,
...
...
src/views/rightsCard/cardDetail.vue
View file @
2534f67
...
@@ -9,9 +9,9 @@
...
@@ -9,9 +9,9 @@
</glsx-combi-form>
</glsx-combi-form>
<div
style=
"padding:0 20px 20px"
>
<div
style=
"padding:0 20px 20px"
>
<div
style=
"float: right; margin-right: 0;margin-bottom:10px;"
>
<div
style=
"float: right; margin-right: 0;margin-bottom:10px;"
>
<el-butto
n
size=
"small"
@
click=
"handleReset('reset')"
>
重置
</el-button>
<el-button
plai
n
size=
"small"
@
click=
"handleReset('reset')"
>
重置
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
size=
"small"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"handleExport"
class=
"selectBtn"
>
导出
</el-button>
<el-button
size=
"small"
@
click=
"handleExport"
class=
"selectBtn"
>
导出
</el-button>
</div>
</div>
<GLTable
ref=
"userDetailTable"
:hasNum=
"false"
@
hook:mounted=
"setTabelHeight"
:searchForm=
"searchForm"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
:pageConf=
"batchPageConf"
:noDataImg=
"url"
:beforeSearchFn=
"beforeSearchFn"
>
<GLTable
ref=
"userDetailTable"
:hasNum=
"false"
@
hook:mounted=
"setTabelHeight"
:searchForm=
"searchForm"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
:pageConf=
"batchPageConf"
:noDataImg=
"url"
:beforeSearchFn=
"beforeSearchFn"
>
<div
slot=
"status"
slot-scope=
"scope"
>
<div
slot=
"status"
slot-scope=
"scope"
>
...
...
src/views/rightsCard/index.vue
View file @
2534f67
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
</GLDialog>
</GLDialog>
<!-- 新建权益卡弹窗 -->
<!-- 新建权益卡弹窗 -->
<GLDialog
mode=
"big"
bigTitle=
"基本信息"
v-if=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
:before-close=
"closeDialog"
>
<GLDialog
mode=
"big"
bigTitle=
"基本信息"
v-if=
"dialogVisible"
:visible
.
sync=
"dialogVisible"
:before-close=
"closeDialog"
>
<el-form
class=
"dialogForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"
auto"
label-position=
"left
"
>
<el-form
class=
"dialogForm"
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"
154px
"
>
<!-- 基础表单 -->
<!-- 基础表单 -->
<div
class=
"form"
>
<div
class=
"form"
>
<el-form-item
label=
"名称:"
prop=
"cardClassName"
id=
"name"
>
<el-form-item
label=
"名称:"
prop=
"cardClassName"
id=
"name"
>
...
@@ -79,11 +79,10 @@
...
@@ -79,11 +79,10 @@
<span
class=
"codeTxt"
>
用于关联流量卡服务测的商品
</span>
<span
class=
"codeTxt"
>
用于关联流量卡服务测的商品
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"使用说明:"
prop=
"usageNotes"
>
<el-form-item
label=
"使用说明:"
prop=
"usageNotes"
>
<el-input
type=
"textarea"
v-model=
"ruleForm.usageNotes"
style=
"width:
320
px"
maxlength=
"500"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"ruleForm.usageNotes"
style=
"width:
432
px"
maxlength=
"500"
size=
"small"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
" 售价:"
prop=
"price"
>
<el-form-item
label=
" 售价
/元
:"
prop=
"price"
>
<el-input-number
v-model=
"ruleForm.price"
controls-position=
"right"
size=
"mini"
:min=
"1"
:max=
"9999.99"
></el-input-number>
<el-input-number
v-model=
"ruleForm.price"
controls-position=
"right"
size=
"mini"
:min=
"1"
:max=
"9999.99"
></el-input-number>
元
</el-form-item>
</el-form-item>
</div>
</div>
<div
class=
"baseinformation2"
><span
class=
"titleText"
>
其他信息
</span></div>
<div
class=
"baseinformation2"
><span
class=
"titleText"
>
其他信息
</span></div>
...
@@ -693,7 +692,7 @@ export default {
...
@@ -693,7 +692,7 @@ export default {
.codeTxt
{
.codeTxt
{
color
:
#8c939d
;
color
:
#8c939d
;
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
198
px
;
margin-left
:
310
px
;
}
}
.code
{
.code
{
color
:
#8c939d
;
color
:
#8c939d
;
...
@@ -740,13 +739,13 @@ export default {
...
@@ -740,13 +739,13 @@ export default {
color
:
#4c4c4c
;
color
:
#4c4c4c
;
line-height
:
20px
;
line-height
:
20px
;
}
}
.form
{
//
.form
{
padding
:
32px
20px
32px
48px
;
//
padding
:
32px
20px
32px
48px
;
}
//
}
.dialogForm
.el-input--small
.el-input__inner
{
.dialogForm
.el-input--small
.el-input__inner
{
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
width
:
320
px
!important
;
width
:
432
px
!important
;
}
}
.el-dialog__body
{
.el-dialog__body
{
padding
:
0
;
padding
:
0
;
...
@@ -776,4 +775,7 @@ export default {
...
@@ -776,4 +775,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.el-button
+
.el-button
{
margin-left
:
8px
!important
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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