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 87199701
authored
Dec 10, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单样式
1 parent
2bcb95f5
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
100 additions
and
52 deletions
src/components/glsx-combi-form/index.vue
src/views/classifyList/editClassify.vue
src/views/classifyList/index.vue
src/views/homeSet/index.vue
src/views/orderComment/index.vue
src/views/orderManage/index.vue
src/views/orderShare/editShare.vue
src/views/orderShare/index.vue
src/views/productGroup/editProduct.vue
src/views/productGroup/index.vue
src/views/productStore/index.vue
src/views/takeGood/index.vue
src/views/zoneList/editZone.vue
src/views/zoneList/index.vue
src/components/glsx-combi-form/index.vue
View file @
8719970
<!-- 搜索 -->
<!-- 搜索 -->
<
template
>
<
template
>
<div
class=
"glsx-combi-form"
>
<div
class=
"glsx-combi-form"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:
label-width=
"labelWidth"
:
rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<el-form
:ref=
"formRef"
:inline=
"true"
:model=
"formObj"
:rules=
"formRules"
size=
"small"
class=
"glsx-combi-form-block"
>
<template
v-for=
"(item, index) in formData"
>
<template
v-for=
"(item, index) in formData"
>
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:
class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{
...item.style }" :label="item.label" :prop="item.name">
<el-form-item
v-if=
"!item.isHide"
:key=
"index"
:id=
"item.name"
:
labelWidth=
"isEdit ? '144px' : labelWidth"
:class=
"
{ 'no-label': !item.label, isBlock: isBlock }" :style="{ 'margin-bottom': isEdit ? '24px' : '', 'margin-right': isEdit ? '0px': '30px',
...item.style }" :label="item.label" :prop="item.name">
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
v-if=
"!item.isHide && item.tips"
class=
"tips-block"
slot=
"label"
>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<span
class=
"tips-label"
>
{{
item
.
label
}}
</span>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<el-tooltip
popper-class=
"tooltip-class"
effect=
"dark"
:content=
"item.tips"
:placement=
"item.placement || 'top'"
>
<span
class=
"tips-icon"
></span>
<span
class=
"tips-icon"
></span>
</el-tooltip>
</el-tooltip>
{{
item
.
label
?
':'
:
''
}}
{{
item
.
label
}}
</span>
<span
v-else-if=
"!item.isHide && item.label"
slot=
"label"
>
<span
class=
"combi-form-label"
:style=
"
{ width: item.labelWidth ? (item.labelWidth + labelPaddingRight) + 'px' : '', 'padding-right': isEdit ? '12px' : (labelPaddingRight + 'px') }">
{{
item
.
label
}}
</span>
</span>
</span>
<slot
v-if=
"item.addHtml"
:name=
"item.addHtml"
:scope=
"item"
></slot>
<slot
v-if=
"item.addHtml"
:name=
"item.addHtml"
:scope=
"item"
></slot>
<div
v-else-if=
"item.type === 'input'"
>
<div
v-else-if=
"item.type === 'input'"
>
...
@@ -20,28 +23,28 @@
...
@@ -20,28 +23,28 @@
<slot
:name=
"item.suffixSlot"
:scope=
"item"
></slot>
<slot
:name=
"item.suffixSlot"
:scope=
"item"
></slot>
</div>
</div>
<!-- 选择-输入框 -->
<!-- 选择-输入框 -->
<el-input
v-else-if=
"item.type === 'selectInput'"
:placeholder=
"'请输入' + item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).label"
:maxlength=
"item.maxlength"
v-model
.
trim=
"searchSelectObj[item.selectName].value"
:clearable=
"item.isClear || false"
:style=
"
{ width: item.inputWidth || defaultWidth }" class="input-with-select">
<
!--
<
el-input
v-else-if=
"item.type === 'selectInput'"
:placeholder=
"'请输入' + item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).label"
:maxlength=
"item.maxlength"
v-model
.
trim=
"searchSelectObj[item.selectName].value"
:clearable=
"item.isClear || false"
:style=
"
{ width: item.inputWidth || defaultWidth }" class="input-with-select">
<el-select
v-model=
"searchSelectObj[item.selectName].attr"
:style=
"
{ width: item.selectWidth ||
labelWidth
}" slot="prepend" placeholder="请选择" @change="item.handleSelectChange">
<el-select
v-model=
"searchSelectObj[item.selectName].attr"
:style=
"
{ width: item.selectWidth ||
(labelWidth + 'px')
}" slot="prepend" placeholder="请选择" @change="item.handleSelectChange">
<el-option
v-for=
"(subItem, subIndex) in item.selectOption"
:key=
"subIndex"
:label=
"subItem.label"
:value=
"subItem.name"
></el-option>
<el-option
v-for=
"(subItem, subIndex) in item.selectOption"
:key=
"subIndex"
:label=
"subItem.label"
:value=
"subItem.name"
></el-option>
</el-select>
</el-select>
</el-input>
</el-input>
-->
<!-- 选择-时间选择框 -->
<!-- 选择-时间选择框 -->
<template
v-else-if=
"item.type === 'selectDatePicker'"
>
<
!--
<
template
v-else-if=
"item.type === 'selectDatePicker'"
>
<el-select
v-model=
"searchSelectObj[item.selectName].attr"
:style=
"
{ width: item.selectWidth ||
labelWidth
}" placeholder="请选择" @change="item.handleSelectChange">
<el-select
v-model=
"searchSelectObj[item.selectName].attr"
:style=
"
{ width: item.selectWidth ||
(labelWidth + 'px')
}" placeholder="请选择" @change="item.handleSelectChange">
<el-option
v-for=
"(subItem, subIndex) in item.selectOption"
:key=
"subIndex"
:label=
"subItem.label"
:value=
"subItem.name"
></el-option>
<el-option
v-for=
"(subItem, subIndex) in item.selectOption"
:key=
"subIndex"
:label=
"subItem.label"
:value=
"subItem.name"
></el-option>
</el-select>
</el-select>
<el-date-picker
v-model=
"searchSelectObj[item.selectName].value"
:style=
"
{ width: item.width || defaultWidth }" :type="item.dateType || 'daterange'" :clearable="item.isClear || false" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOption[item.pickerOptions]">
</el-date-picker>
<el-date-picker
v-model=
"searchSelectObj[item.selectName].value"
:style=
"
{ width: item.width || defaultWidth }" :type="item.dateType || 'daterange'" :clearable="item.isClear || false" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期" :picker-options="pickerOption[item.pickerOptions]">
</el-date-picker>
</
template
>
</
template
>
-->
<!-- 双选择框 -->
<!-- 双选择框 -->
<
template
v-else-if=
"item.type === 'selectDouble'"
>
<
!-- <
template v-else-if="item.type === 'selectDouble'">
<el-select
v-model=
"searchSelectObj[item.selectName].attr"
:style=
"
{ width: item.selectWidth ||
labelWidth
}" placeholder="请选择" @change="item.handleSelectChange">
<el-select v-model="searchSelectObj[item.selectName].attr" :style="{ width: item.selectWidth ||
(labelWidth + 'px')
}" placeholder="请选择" @change="item.handleSelectChange">
<el-option v-for="(subItem, subIndex) in item.selectOption" :key="subIndex" :label="subItem.label" :value="subItem.name"></el-option>
<el-option v-for="(subItem, subIndex) in item.selectOption" :key="subIndex" :label="subItem.label" :value="subItem.name"></el-option>
</el-select>
</el-select>
<el-select v-model="searchSelectObj[item.selectName].value" :style="{ width: item.width || defaultWidth }" :placeholder="'请选择' + item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).label">
<el-select v-model="searchSelectObj[item.selectName].value" :style="{ width: item.width || defaultWidth }" :placeholder="'请选择' + item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).label">
<el-option label="全部" value=""></el-option>
<el-option label="全部" value=""></el-option>
<el-option v-for="subItem in item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).optionList" :key="subItem[item.optionId]" :label="subItem[item.optionLabel]" :value="subItem[item.optionId]"></el-option>
<el-option v-for="subItem in item.selectOption.find(k => k.name === searchSelectObj[item.selectName].attr).optionList" :key="subItem[item.optionId]" :label="subItem[item.optionLabel]" :value="subItem[item.optionId]"></el-option>
</el-select>
</el-select>
</
template
>
</template>
-->
<!-- 选择框 -->
<!-- 选择框 -->
<div
v-else-if=
"item.type === 'select'"
>
<div
v-else-if=
"item.type === 'select'"
>
<el-select
:style=
"{ width: item.width || defaultWidth }"
v-model=
"formObj[item.name]"
:clearable=
"item.isClear || false"
:placeholder=
"'请选择' + item.label"
:filterable=
"!item.noFilter"
:disabled=
"item.isDisabled"
:no-data-text=
"item.noDataText || '无数据'"
:multiple=
"item.multiple || false"
:collapse-tags=
"item.collapseTags || true"
@
change=
"selectAddAttr($event, item)"
>
<el-select
:style=
"{ width: item.width || defaultWidth }"
v-model=
"formObj[item.name]"
:clearable=
"item.isClear || false"
:placeholder=
"'请选择' + item.label"
:filterable=
"!item.noFilter"
:disabled=
"item.isDisabled"
:no-data-text=
"item.noDataText || '无数据'"
:multiple=
"item.multiple || false"
:collapse-tags=
"item.collapseTags || true"
@
change=
"selectAddAttr($event, item)"
>
...
@@ -135,9 +138,18 @@ export default {
...
@@ -135,9 +138,18 @@ export default {
type
:
String
,
type
:
String
,
default
:
'formRef'
default
:
'formRef'
},
},
isEdit
:
{
type
:
Boolean
,
default
:
false
},
labelWidth
:
{
labelWidth
:
{
type
:
String
,
type
:
Number
,
default
:
'85px'
// 默认是四个字符长度
default
:
56
},
labelPaddingRight
:
{
type
:
Number
,
default
:
15
},
},
formData
:
{
formData
:
{
type
:
Array
,
type
:
Array
,
...
@@ -250,10 +262,18 @@ export default {
...
@@ -250,10 +262,18 @@ export default {
/* .glsx-combi-form .el-form-item {
/* .glsx-combi-form .el-form-item {
width: 65%;
width: 65%;
} */
} */
.glsx-combi-form
.no-label.el-form-item--small
.el-form-item__content
,
.glsx-combi-form
.no-label.el-form-item--small
.el-form-item__content
{
.el-form-item--small
.el-form-item__label
{
width
:
100%
;
width
:
100%
;
}
}
.glsx-combi-form
.el-form-item--small.el-form-item
{
margin
:
0
30px
20px
0
;
}
.glsx-combi-form
.el-form-item--small
.el-form-item__label
{
padding
:
0
;
}
/* .glsx-combi-form .el-form-item--small .el-form-item__content {
/* .glsx-combi-form .el-form-item--small .el-form-item__content {
width: calc(100% - 85px);
width: calc(100% - 85px);
} */
} */
...
@@ -294,7 +314,7 @@ export default {
...
@@ -294,7 +314,7 @@ export default {
right
:
14px
;
right
:
14px
;
margin-right
:
4px
;
margin-right
:
4px
;
cursor
:
pointer
;
cursor
:
pointer
;
border
:
1px
soli
d
#7f7f7f
;
border
:
1px
dotte
d
#7f7f7f
;
border-radius
:
50%
;
border-radius
:
50%
;
}
}
.glsx-combi-form
.tips-icon
::before
{
.glsx-combi-form
.tips-icon
::before
{
...
@@ -309,6 +329,10 @@ export default {
...
@@ -309,6 +329,10 @@ export default {
/* .glsx-combi-form .tips {
/* .glsx-combi-form .tips {
margin: 0;
margin: 0;
} */
} */
.glsx-combi-form
.combi-form-label
{
display
:
inline-block
;
box-sizing
:
border-box
;
}
/* 图片上传 */
/* 图片上传 */
.glsx-combi-form
.photo-top-tips
{
.glsx-combi-form
.photo-top-tips
{
/* height: 36px; */
/* height: 36px; */
...
@@ -323,7 +347,7 @@ export default {
...
@@ -323,7 +347,7 @@ export default {
position
:
relative
;
position
:
relative
;
color
:
#999999
;
color
:
#999999
;
background-color
:
#F7F7F7
;
background-color
:
#F7F7F7
;
border
:
1px
soli
d
#d9d9d9
;
border
:
1px
dotte
d
#d9d9d9
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
...
...
src/views/classifyList/editClassify.vue
View file @
8719970
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"edit-classify marketing p-t-20 edit-box"
>
<div
class=
"edit-classify marketing p-t-20 edit-box"
>
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"selectProBtn"
slot-scope=
"scope"
class=
"select-pro"
>
<div
slot=
"selectProBtn"
slot-scope=
"scope"
class=
"select-pro"
>
<el-button
type=
"primary"
@
click=
"handleMutiProClose(scope)"
>
{{
editForm
.
goodsRefList
.
length
?
'更换'
:
'请选择'
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleMutiProClose(scope)"
>
{{
editForm
.
goodsRefList
.
length
?
'更换'
:
'请选择'
}}
</el-button>
</div>
</div>
...
@@ -66,6 +66,7 @@ export default {
...
@@ -66,6 +66,7 @@ export default {
searchProForm
:
{},
searchProForm
:
{},
selectedProList
:
[],
selectedProList
:
[],
// getGoodsListApi: this.$apis.common.getGoodsListApi,
// getGoodsListApi: this.$apis.common.getGoodsListApi,
isEdit
:
true
,
editForm
:
{
editForm
:
{
classifyName
:
''
,
classifyName
:
''
,
goodsRefList
:
[],
goodsRefList
:
[],
...
...
src/views/classifyList/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/homeSet/index.vue
View file @
8719970
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<div
class=
"home-set-form flex-grow"
>
<div
class=
"home-set-form flex-grow"
>
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container
p-l-40 m-b-60"
ref=
"editFormRef
"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"item.editChildRef"
:formObj=
"editForm"
:formData=
"item.editFormData"
:formRules=
"item.editRule"
>
<glsx-combi-form
class=
"edit-form-container
m-b-60"
ref=
"editFormRef"
:isEdit=
"isEdit
"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"item.editChildRef"
:formObj=
"editForm"
:formData=
"item.editFormData"
:formRules=
"item.editRule"
>
<div
slot=
"merchantQrcode"
slot-scope=
"scope"
:style=
"
{ 'margin-left': labelWidth, width: '120px', 'text-align': 'center' }">
<div
slot=
"merchantQrcode"
slot-scope=
"scope"
:style=
"
{ 'margin-left': labelWidth, width: '120px', 'text-align': 'center' }">
<p>
<p>
<img
class=
"img-120"
:src=
"editForm[scope.scope.name]"
/>
<img
class=
"img-120"
:src=
"editForm[scope.scope.name]"
/>
...
@@ -207,7 +207,8 @@ export default {
...
@@ -207,7 +207,8 @@ export default {
{
confId
:
'2'
,
confName
:
'图文介绍'
},
{
confId
:
'2'
,
confName
:
'图文介绍'
},
{
confId
:
'3'
,
confName
:
'视频介绍'
}
{
confId
:
'3'
,
confName
:
'视频介绍'
}
],
],
labelWidth
:
'90px'
,
labelWidth
:
'144px'
,
isEdit
:
true
,
externalFormList
:
[
externalFormList
:
[
{
{
title
:
'门店小程序码'
,
title
:
'门店小程序码'
,
...
@@ -631,10 +632,10 @@ export default {
...
@@ -631,10 +632,10 @@ export default {
margin-right
:
10px
;
margin-right
:
10px
;
}
}
.home-set
.edit-tips
{
.home-set
.edit-tips
{
line-height
:
18
px
;
line-height
:
20
px
;
font-size
:
1
3
px
;
font-size
:
1
4
px
;
color
:
#
666666
;
color
:
#
999999
;
width
:
3
00
px
;
width
:
3
38
px
;
}
}
.home-set
.show-pro-box
{
.home-set
.show-pro-box
{
padding
:
8px
12px
;
padding
:
8px
12px
;
...
...
src/views/orderComment/index.vue
View file @
8719970
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"marketing p-t-20"
>
<div
class=
"marketing p-t-20"
>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/orderManage/index.vue
View file @
8719970
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
</span>
</span>
</div>
</div>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData1"
>
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData2"
>
</glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData3"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
@@ -41,15 +45,15 @@
...
@@ -41,15 +45,15 @@
</div>
</div>
<!-- 快递信息 -->
<!-- 快递信息 -->
<glsx-dialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
:isVisible
.
sync=
"isExpressVisible"
@
confirmDialog=
"handleExpressConfirm"
@
closeDialog=
"handleExpressClose"
>
<glsx-dialog
v-if=
"isExpressVisible"
title=
"输入快递信息"
:isVisible
.
sync=
"isExpressVisible"
@
confirmDialog=
"handleExpressConfirm"
@
closeDialog=
"handleExpressClose"
>
<glsx-combi-form
ref=
"expressRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
<glsx-combi-form
ref=
"expressRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"expressForm"
:formData=
"expressFormData"
:formRules=
"expressRules"
></glsx-combi-form>
</glsx-dialog>
</glsx-dialog>
<!-- 订单核销 -->
<!-- 订单核销 -->
<glsx-dialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
:isVisible
.
sync=
"isWriteOffVisible"
@
confirmDialog=
"handleWriteOffConfirm"
@
closeDialog=
"handleWriteOffClose"
>
<glsx-dialog
v-if=
"isWriteOffVisible"
title=
"订单核销(请确保用户到店后核销,避免引起不必要问题)"
:isVisible
.
sync=
"isWriteOffVisible"
@
confirmDialog=
"handleWriteOffConfirm"
@
closeDialog=
"handleWriteOffClose"
>
<glsx-combi-form
ref=
"writeOffRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
<glsx-combi-form
ref=
"writeOffRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"writeOffForm"
:formData=
"writeOffFormData"
:formRules=
"writeOffRules"
></glsx-combi-form>
</glsx-dialog>
</glsx-dialog>
<!-- 退款审核 -->
<!-- 退款审核 -->
<glsx-dialog
v-if=
"isExamineVisible"
title=
"退款审核"
width=
"50%"
:isVisible
.
sync=
"isExamineVisible"
@
confirmDialog=
"handleExamineConfirm"
@
closeDialog=
"handleExamineClose"
>
<glsx-dialog
v-if=
"isExamineVisible"
title=
"退款审核"
width=
"50%"
:isVisible
.
sync=
"isExamineVisible"
@
confirmDialog=
"handleExamineConfirm"
@
closeDialog=
"handleExamineClose"
>
<el-form
label-width=
"14
0
px"
>
<el-form
label-width=
"14
4
px"
>
<el-form-item
label=
"售后类型"
>
<el-form-item
label=
"售后类型"
>
<span>
{{
orderInfo
.
refundTypeName
}}
</span>
<span>
{{
orderInfo
.
refundTypeName
}}
</span>
</el-form-item>
</el-form-item>
...
@@ -72,7 +76,7 @@
...
@@ -72,7 +76,7 @@
</el-radio-group>
</el-radio-group>
</el-form-item>
</el-form-item>
<template
v-if=
"orderInfo.refundType == 1 && examineForm.isAllowed == '1'"
>
<template
v-if=
"orderInfo.refundType == 1 && examineForm.isAllowed == '1'"
>
<glsx-combi-form
ref=
"examineRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
<glsx-combi-form
ref=
"examineRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"examineForm"
:formData=
"examineFormData"
:formRules=
"examineRules"
></glsx-combi-form>
</
template
>
</
template
>
</el-form>
</el-form>
</glsx-dialog>
</glsx-dialog>
...
@@ -111,6 +115,7 @@ export default {
...
@@ -111,6 +115,7 @@ export default {
return
{
return
{
size
:
'small'
,
size
:
'small'
,
activeName
:
'allOrder'
,
activeName
:
'allOrder'
,
isEdit
:
true
,
orderCode
:
''
,
orderCode
:
''
,
oldVal
:
{
oldVal
:
{
orderStatuses
:
[]
orderStatuses
:
[]
...
@@ -130,7 +135,7 @@ export default {
...
@@ -130,7 +135,7 @@ export default {
payPriceTotal
:
''
payPriceTotal
:
''
},
},
// 搜索
// 搜索
searchFormData
:
[
searchFormData
1
:
[
{
{
label
:
'订单编号'
,
label
:
'订单编号'
,
name
:
'orderCode'
,
name
:
'orderCode'
,
...
@@ -171,8 +176,11 @@ export default {
...
@@ -171,8 +176,11 @@ export default {
{
{
label
:
'门店'
,
label
:
'门店'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
type
:
'input'
,
},
labelWidth
:
56
}
],
searchFormData2
:
[
{
{
label
:
'客户姓名'
,
label
:
'客户姓名'
,
name
:
'customerName'
,
name
:
'customerName'
,
...
@@ -193,7 +201,9 @@ export default {
...
@@ -193,7 +201,9 @@ export default {
optionId
:
'confId'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionLabel
:
'confName'
,
optionsName
:
'orderSourceList'
optionsName
:
'orderSourceList'
},
}
],
searchFormData3
:
[
{
{
label
:
'结算方式'
,
label
:
'结算方式'
,
name
:
'deliveryType'
,
name
:
'deliveryType'
,
...
@@ -367,7 +377,9 @@ export default {
...
@@ -367,7 +377,9 @@ export default {
mounted
()
{
mounted
()
{
this
.
getCount
()
this
.
getCount
()
this
.
getOptionsList
(
'searchFormData'
)
this
.
getOptionsList
(
'searchFormData1'
)
this
.
getOptionsList
(
'searchFormData2'
)
this
.
getOptionsList
(
'searchFormData3'
)
},
},
methods
:
{
methods
:
{
...
@@ -618,6 +630,7 @@ export default {
...
@@ -618,6 +630,7 @@ export default {
setTableFinishFun
()
{
setTableFinishFun
()
{
//接收到的数据为空
//接收到的数据为空
this
.
$refs
.
allOrderRef
.
data
.
length
?
(
this
.
$refs
.
allOrderRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
allOrderRef
.
setTableHeightFun
()
this
.
$refs
.
allOrderRef
.
data
.
length
?
(
this
.
$refs
.
allOrderRef
.
tableHeightValues
=
''
)
:
this
.
$refs
.
allOrderRef
.
setTableHeightFun
()
this
.
getCount
()
},
},
handleSearch
()
{
handleSearch
()
{
...
@@ -626,7 +639,6 @@ export default {
...
@@ -626,7 +639,6 @@ export default {
handleTabClick
()
{
handleTabClick
()
{
this
.
handleSearch
()
this
.
handleSearch
()
this
.
getCount
()
},
},
handleExport
(
row
)
{
handleExport
(
row
)
{
...
...
src/views/orderShare/editShare.vue
View file @
8719970
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"edit-share marketing edit-box"
>
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
labelWidth=
"140px
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit
"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<template
slot=
"selectPro"
slot-scope=
"scope"
>
<template
slot=
"selectPro"
slot-scope=
"scope"
>
<el-button
type=
"primary"
@
click=
"handleRelateProClose(scope)"
>
{{
editForm
.
goodsId
?
'更换'
:
'请选择'
}}
</el-button>
<el-button
type=
"primary"
@
click=
"handleRelateProClose(scope)"
>
{{
editForm
.
goodsId
?
'更换'
:
'请选择'
}}
</el-button>
<div
class=
"m-t-10"
v-show=
"editForm.goodsId"
>
<div
class=
"m-t-10"
v-show=
"editForm.goodsId"
>
...
@@ -43,6 +43,7 @@ export default {
...
@@ -43,6 +43,7 @@ export default {
// 商品选择
// 商品选择
isSingleSelectVisible
:
false
,
isSingleSelectVisible
:
false
,
selectedProInfo
:
{},
selectedProInfo
:
{},
isEdit
:
true
,
editForm
:
{
editForm
:
{
videoUrl
:
''
,
videoUrl
:
''
,
imgUrls
:
[],
imgUrls
:
[],
...
...
src/views/orderShare/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/productGroup/editProduct.vue
View file @
8719970
...
@@ -8,9 +8,10 @@
...
@@ -8,9 +8,10 @@
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<div
v-for=
"(item, index) in externalFormList"
:key=
"index"
>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<p
class=
"edit-title"
>
{{
item
.
title
}}
</p>
<glsx-combi-form
<glsx-combi-form
class=
"edit-form-container
p-l-40
m-b-60"
class=
"edit-form-container m-b-60"
ref=
"editFormRef"
ref=
"editFormRef"
:labelWidth=
"labelWidth"
:labelWidth=
"labelWidth"
:isEdit=
"isEdit"
defaultWidth=
"320px"
defaultWidth=
"320px"
:isBlock=
"true"
:isBlock=
"true"
:formRef=
"item.editChildRef"
:formRef=
"item.editChildRef"
...
@@ -77,7 +78,7 @@
...
@@ -77,7 +78,7 @@
<
template
slot=
"proSpecsBtn"
>
<
template
slot=
"proSpecsBtn"
>
<el-button
:disabled=
"isDisabled"
type=
"primary"
@
click=
"handleSpecsEdit(1)"
>
添加规格
</el-button>
<el-button
:disabled=
"isDisabled"
type=
"primary"
@
click=
"handleSpecsEdit(1)"
>
添加规格
</el-button>
</
template
>
</
template
>
<div
slot=
"proSpecs"
style=
"margin-left: 110px;
"
>
<div
slot=
"proSpecs"
:style=
"{ 'margin-left': labelWidth }
"
>
<div
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
<div
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
<div>
<div>
<span>
规格名:
</span>
<span>
规格名:
</span>
...
@@ -109,7 +110,7 @@
...
@@ -109,7 +110,7 @@
</div>
</div>
<div
slot=
"specsDetail"
class=
"flex"
>
<div
slot=
"specsDetail"
class=
"flex"
>
<span
class=
"spesc-label"
:style=
"{ width: labelWidth }"
>
规格明细:
</span>
<span
class=
"spesc-label"
:style=
"{ width: labelWidth }"
>
规格明细:
</span>
<div
style=
"width: calc(100% - 100px);
"
>
<div
:style=
"{ width: `calc(100% - ${labelWidth} )` }
"
>
<table
class=
"table-spesc"
>
<table
class=
"table-spesc"
>
<tbody>
<tbody>
<tr>
<tr>
...
@@ -474,7 +475,8 @@ export default {
...
@@ -474,7 +475,8 @@ export default {
expressFee
:
''
,
expressFee
:
''
,
supplyMerchantList
:
[]
supplyMerchantList
:
[]
},
},
labelWidth
:
'110px'
,
isEdit
:
true
,
labelWidth
:
'144px'
,
externalFormList
:
[
externalFormList
:
[
{
{
title
:
'基本信息'
,
title
:
'基本信息'
,
...
@@ -584,7 +586,7 @@ export default {
...
@@ -584,7 +586,7 @@ export default {
rows
:
5
,
rows
:
5
,
maxlength
:
'200'
,
maxlength
:
'200'
,
style
:
{
style
:
{
'margin-left'
:
'1
10
px'
'margin-left'
:
'1
44
px'
}
}
},
},
{
{
...
...
src/views/productGroup/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/productStore/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/takeGood/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
...
...
src/views/zoneList/editZone.vue
View file @
8719970
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"edit-zone marketing p-t-20 edit-box"
>
<div
class=
"edit-zone marketing p-t-20 edit-box"
>
<div
class=
"container edit-container"
>
<div
class=
"container edit-container"
>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:
isEdit=
"isEdit"
:
labelWidth=
"labelWidth"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"selectMerchant"
slot-scope=
"scope"
class=
"select-merchant"
>
<div
slot=
"selectMerchant"
slot-scope=
"scope"
class=
"select-merchant"
>
<el-button
type=
"default"
@
click=
"handleRelateStoreClose(scope)"
>
{{
editForm
.
merchantList
.
length
?
'更换门店'
:
'+选择门店'
}}
</el-button>
<el-button
type=
"default"
@
click=
"handleRelateStoreClose(scope)"
>
{{
editForm
.
merchantList
.
length
?
'更换门店'
:
'+选择门店'
}}
</el-button>
</div>
</div>
...
@@ -57,7 +57,7 @@ export default {
...
@@ -57,7 +57,7 @@ export default {
addOrEdit
:
1
,
addOrEdit
:
1
,
id
:
''
id
:
''
},
},
labelWidth
:
'14
0
px'
,
labelWidth
:
'14
4
px'
,
editForm
:
{
editForm
:
{
// 专区类型(1发现频道,2商城专区)
// 专区类型(1发现频道,2商城专区)
zoneType
:
'2'
,
zoneType
:
'2'
,
...
@@ -70,6 +70,7 @@ export default {
...
@@ -70,6 +70,7 @@ export default {
zoneImg
:
[{
required
:
true
,
message
:
'请选择专区图片'
,
trigger
:
'change'
}],
zoneImg
:
[{
required
:
true
,
message
:
'请选择专区图片'
,
trigger
:
'change'
}],
merchantList
:
[{
required
:
true
,
message
:
'请选择门店'
,
trigger
:
'change'
}]
merchantList
:
[{
required
:
true
,
message
:
'请选择门店'
,
trigger
:
'change'
}]
},
},
isEdit
:
true
,
editFormData
:
[
editFormData
:
[
{
{
label
:
'专区名称'
,
label
:
'专区名称'
,
...
@@ -81,6 +82,9 @@ export default {
...
@@ -81,6 +82,9 @@ export default {
label
:
'专区图片'
,
label
:
'专区图片'
,
name
:
'zoneImg'
,
name
:
'zoneImg'
,
type
:
'upload'
,
type
:
'upload'
,
style
:
{
'margin-bottom'
:
'10px'
},
limitSize
:
10
,
limitSize
:
10
,
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
...
@@ -96,7 +100,10 @@ export default {
...
@@ -96,7 +100,10 @@ export default {
{
{
label
:
'门店'
,
label
:
'门店'
,
name
:
'merchantList'
,
name
:
'merchantList'
,
addHtml
:
'selectMerchant'
addHtml
:
'selectMerchant'
,
style
:
{
'margin-bottom'
:
'10px'
}
},
},
{
{
// label: '',
// label: '',
...
...
src/views/zoneList/index.vue
View file @
8719970
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</div>
</div>
<div
class=
"container"
>
<div
class=
"container"
>
<div>
<div>
<glsx-combi-form
ref=
"showSearch"
labelWidth=
"90px"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleReset"
>
重置
</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