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 15cc3137
authored
Dec 11, 2021
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式
1 parent
69511375
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
67 additions
and
27 deletions
src/views/orderComment/commentDetail.vue
src/views/orderComment/index.vue
src/views/orderManage/index.vue
src/views/orderManage/orderDetail.vue
src/views/productGroup/editProduct.vue
src/views/orderComment/commentDetail.vue
View file @
15cc313
...
...
@@ -19,7 +19,9 @@
<div
v-show=
"commentInfo.imgUrls"
class=
"m-t-24"
>
<span
class=
"comment-label"
>
图片:
</span>
<div
class=
"flex"
style=
"flex-wrap: wrap;"
>
<img
class=
"img-100 comment-img"
v-for=
"(item, index) in commentInfo.imgUrls"
:key=
"index"
:src=
"item"
/>
<span
v-for=
"(item, index) in commentInfo.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
</div>
</div>
...
...
src/views/orderComment/index.vue
View file @
15cc313
...
...
@@ -17,7 +17,7 @@
<el-button
v-if=
"scope.scope.commentStatus == '0'"
type=
"text"
@
click=
"handleRevoke(scope.scope)"
>
发布
</el-button>
<el-button
v-if=
"scope.scope.commentStatus == '1'"
type=
"text"
@
click=
"handleRevoke(scope.scope)"
>
撤回
</el-button>
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
<
el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button
>
<
!--
<el-button
type=
"text"
@
click=
"handleDelete(scope.scope)"
>
删除
</el-button>
--
>
</div>
</GLTable>
<!-- 表格区域 end -->
...
...
src/views/orderManage/index.vue
View file @
15cc313
...
...
@@ -67,7 +67,9 @@
<span>
{{
orderInfo
.
remark
||
'-'
}}
</span>
</el-form-item>
<el-form-item
v-if=
"orderInfo.imgUrls"
>
<img
class=
"img-60"
v-for=
"(item, index) in orderInfo.imgUrls"
:key=
"index"
:src=
"item"
/>
<span
v-for=
"(item, index) in orderInfo.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</el-form-item>
<el-form-item
label=
"审核是否通过"
>
<el-radio-group
v-model=
"examineForm.isAllowed"
>
...
...
src/views/orderManage/orderDetail.vue
View file @
15cc313
...
...
@@ -44,8 +44,11 @@
</el-form-item>
</el-row>
</el-form>
<div
class=
"flex"
>
<img
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
class=
"img-60"
:src=
"item"
/>
<div
class=
"flex"
style=
"padding: 0 30px;"
>
<!--
<img
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
class=
"img-60"
:src=
"item"
/>
-->
<span
v-for=
"(item, index) in orderRefund.imgUrls"
:key=
"index"
>
<el-image
class=
"img-60 comment-img"
:src=
"item"
:preview-src-list=
"[item]"
></el-image>
</span>
</div>
</div>
<div
class=
"footer"
:style=
"
{ left: footerLeft + 'px', width: footerWidth + 'px' }">
...
...
@@ -224,4 +227,8 @@ export default {
.marketing.order-detail
.show-table
td
{
padding-right
:
20px
;
}
.order-detail
.comment-img
{
margin-top
:
10px
;
margin-right
:
20px
;
}
</
style
>
src/views/productGroup/editProduct.vue
View file @
15cc313
...
...
@@ -91,27 +91,29 @@
<el-button
:disabled=
"isDisabled"
type=
"default"
@
click=
"handleSpecsEdit(1)"
>
+添加规格项目
</el-button>
</
template
>
<div
slot=
"proSpecs"
:style=
"{ 'margin-left': labelWidth }"
>
<div
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
<div
class=
"sepce-box"
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
<div>
<span>
规格名:
</span>
<span>
{{ subItem.specificationName }}
</span>
<el-button
v-show=
"!isDisabled"
type=
"text"
@
click=
"handleSpecsEdit(2, subItem, subIndex)"
>
编辑
</el-button>
<el-button
v-show=
"!isDisabled"
type=
"text"
@
click=
"handleSpecsDelete(subIndex)"
>
删除
</el-button>
<span
class=
"specs-title"
>
规格名:
</span>
<span
class=
"specs-item"
>
{{ subItem.specificationName }}
</span>
<div
style=
"position: absolute; right: 10px; top: 10px;"
>
<el-button
v-show=
"!isDisabled"
type=
"text"
@
click=
"handleSpecsEdit(2, subItem, subIndex)"
>
编辑
</el-button>
<el-button
v-show=
"!isDisabled"
type=
"text"
@
click=
"handleSpecsDelete(subIndex)"
>
删除
</el-button>
</div>
</div>
<div
class=
"flex"
>
<span
style=
"width: 56px;"
>
规格值:
</span>
<div
style=
"width: calc(100% - 56px);"
>
<div>
<span
class=
"specs-
label
"
class=
"specs-
item
"
v-for=
"(n, idx) in subItem.specificationValueList"
:key=
"idx"
>
{{ n.specificationValue }}
</span>
...
...
@@ -125,7 +127,7 @@
<div
:style=
"{ width: `calc(100% - ${labelWidth} )` }"
>
<table
class=
"table-spesc"
>
<tbody>
<tr>
<tr
style=
"padding: 17px 0; background: #F4F6FC; box-shadow: 0px 1px 5px 0px rgba(38, 38, 38, 0.1);"
>
<td
:style=
"{ width: specsWidth }"
v-for=
"(subItem, subIndex) in specificationDetailList"
...
...
@@ -136,10 +138,10 @@
</tr>
</tbody>
</table>
<table
class=
"table-spesc"
style=
"max-height: 400px;"
>
<table
class=
"table-spesc"
style=
"max-height: 400px;
overflow: scroll;
"
>
<tbody>
<tr
style=
"border-bottom: 1px solid rgb(235, 235, 235);"
style=
"border-bottom: 1px solid rgb(235, 235, 235);
height: 54px; line-height: 54px;
"
v-for=
"(subItem, subIndex) in nameToValSpecsList"
:key=
"subIndex"
>
...
...
@@ -147,6 +149,7 @@
:style=
"{ width: specsWidth }"
v-for=
"(n, idx) in subItem.specsValueList"
:key=
"idx"
:title=
"n"
>
{{ n }}
</td>
<td
:style=
"{ width: specsWidth }"
>
<div
v-if=
"routeInfo.groupOrStore == 1"
>
...
...
@@ -633,7 +636,7 @@ export default {
},
{
// label: '规格明细',
name
:
''
,
name
:
'
specsDetail
'
,
addHtml
:
'specsDetail'
},
{
...
...
@@ -783,6 +786,7 @@ export default {
this
.
getBaseDate
().
then
(()
=>
{
this
.
getOptionsList
(
0
,
'editFormData'
,
false
)
})
this
.
retailStockRule
()
this
.
isDisabled
=
this
.
routeInfo
.
addOrEdit
==
3
this
.
routeInfo
.
groupOrStore
==
2
&&
this
.
storeNoExitAttr
()
this
.
routeInfo
.
addOrEdit
!=
1
?
this
.
getInfo
()
:
''
...
...
@@ -854,12 +858,18 @@ export default {
},
retailStockRule
()
{
var
list
=
[
'retailPrice'
,
'goodsStock'
]
var
otherList
=
[
'specificationDetailList'
,
'specsDetail'
]
var
idx
=
''
list
.
forEach
(
item
=>
{
// this.externalFormList[1].editRule[item][0].required = !this.specificationDetailList.length
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!!
this
.
specificationDetailList
.
length
})
otherList
.
forEach
(
item
=>
{
idx
=
this
.
externalFormList
[
1
].
editFormData
.
findIndex
(
subItem
=>
subItem
.
name
==
item
)
console
.
log
(
this
.
externalFormList
[
1
].
editFormData
[
idx
])
this
.
externalFormList
[
1
].
editFormData
[
idx
].
isHide
=
!
this
.
specificationDetailList
.
length
})
},
handleRetailPriceInput
(
e
,
idx
)
{
var
newValue
=
e
.
target
.
value
...
...
@@ -1330,14 +1340,14 @@ export default {
}
</
script
>
<
style
>
.edit-pro
.specs-label
{
/*
.edit-pro .specs-label {
padding: 1px 10px;
font-size: 13px;
border-radius: 2px;
display: inline-block;
border: 1px solid #cccccc;
margin-right: 10px;
}
}
*/
.edit-pro
.spesc-label
{
box-sizing
:
border-box
;
width
:
110px
;
...
...
@@ -1394,7 +1404,7 @@ export default {
padding
:
6px
11px
;
}
.edit-pro
.wechat-container
.price
{
font-size
:
2
8
px
;
font-size
:
2
4
px
;
color
:
#fc5b32
;
margin-right
:
4px
;
}
...
...
@@ -1406,7 +1416,7 @@ export default {
}
.edit-pro
.wechat-container
.good-name
{
font-size
:
1
8
px
;
font-size
:
1
2
px
;
width
:
200px
;
font-weight
:
bold
;
margin
:
8px
0
6px
;
...
...
@@ -1458,6 +1468,25 @@ export default {
.edit-pro
.table-spesc
.el-input--small.border-red
.el-input__inner
{
border
:
1px
solid
#eb4e4e
;
}
.edit-pro
.sepce-box
{
position
:
relative
;
padding
:
30px
34px
;
color
:
#3A3A3A
;
background
:
#F7F7F7
;
border
:
1px
solid
#DCDFE6
;
margin-bottom
:
10px
;
}
.edit-pro
.sepce-box
.specs-title
{
height
:
60px
;
line-height
:
60px
;
}
.edit-pro
.sepce-box
.specs-item
{
background
:
#E6E9FF
;
border-radius
:
4px
;
padding
:
9px
16px
;
color
:
#717171
;
margin-right
:
12px
;
}
.color-red
{
color
:
#eb4e4e
;
cursor
:
pointer
;
...
...
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