Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 b685f236
authored
Mar 18, 2026
by
Jaxon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat: 嘀加上架 - 上架商品及套餐 - 套餐类型 - UI对齐
1 parent
663f0bc2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
18 deletions
src/views/goods/shelfManage/components/productShelving/components/combo/components/modify/index.vue
src/views/goods/shelfManage/components/productShelving/components/combo/index.vue
src/views/goods/shelfManage/components/productShelving/components/product/components/modify/index.vue
src/views/goods/shelfManage/components/productShelving/index.vue
src/views/goods/shelfManage/components/productShelving/components/combo/components/modify/index.vue
View file @
b685f23
...
@@ -3,10 +3,10 @@
...
@@ -3,10 +3,10 @@
<div
class=
"combo-edit-wrapper"
>
<div
class=
"combo-edit-wrapper"
>
<el-form
ref=
"packageFrom"
<el-form
ref=
"packageFrom"
class=
"product-package-form-wrapper d2-container-content"
class=
"product-package-form-wrapper d2-container-content"
label-width=
"1
3
0px"
label-width=
"1
5
0px"
:model=
"packageForm"
:model=
"packageForm"
:rules=
"packageFormRules"
>
:rules=
"packageFormRules"
>
<el-row>
<el-row
:gutter=
"32"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"套餐名称:"
prop=
"packageName"
>
<el-form-item
label=
"套餐名称:"
prop=
"packageName"
>
<el-input
v-model=
"packageForm.packageName"
<el-input
v-model=
"packageForm.packageName"
...
@@ -127,15 +127,17 @@
...
@@ -127,15 +127,17 @@
</div>
</div>
<el-divider
class=
"divider"
/>
<el-divider
class=
"divider"
/>
<div>
<div>
<Product
v-for=
"(goodsForm) in goodsList"
<div
v-for=
"(goodsForm, index) in goodsList"
:key=
"goodsForm.id"
:key=
"goodsForm.id"
>
:ref=
"`productForm$
{goodsForm.id}`"
<Product
:ref=
"`productForm$
{goodsForm.id}`"
:parent-mode="VIEW_MODE.EDIT"
:product="goodsForm"
:product="goodsForm"
:mode="VIEW_MODE.EDIT"
:show-business-line="false"
:show-business-line="false"
:show-sales-proportion-percent="false"
:show-sales-proportion-percent="false"
:show-settlement-type="false"
:show-settlement-type="false" />
use-parent-mode />
<el-divider
v-if=
"index !== (goodsList.length - 1)"
class=
"divider-product"
/>
</div>
</div>
</div>
</div>
</div>
...
@@ -284,8 +286,12 @@ export default {
...
@@ -284,8 +286,12 @@ export default {
margin
:
4px
16px
0
;
margin
:
4px
16px
0
;
width
:
calc
(
100%
-
32px
);
width
:
calc
(
100%
-
32px
);
}
}
.divider-product
{
margin
:
4px
0
;
background-color
:
#e5e5e5
;
}
.product-package-form-wrapper
{
.product-package-form-wrapper
{
padding
-bottom
:
0
!important
;
padding
:
20px
20px
0
!important
;
&.d2-container-content
{
&.d2-container-content
{
background
:
#ffffff
;
background
:
#ffffff
;
margin-top
:
0
!important
;
margin-top
:
0
!important
;
...
@@ -318,11 +324,16 @@ export default {
...
@@ -318,11 +324,16 @@ export default {
}
}
::v-deep
.el-form-item
{
::v-deep
.el-form-item
{
width
:
100%
;
width
:
100%
;
padding-right
:
20%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
overflow
:
hidden
;
overflow
:
hidden
;
margin-bottom
:
20px
;
.el-form-item__label
{
padding-right
:
0
;
line-height
:
32px
;
}
.el-form-item__content
{
.el-form-item__content
{
overflow
:
hidden
;
overflow
:
hidden
;
line-height
:
32px
;
.el-input-number
{
.el-input-number
{
width
:
100%
;
width
:
100%
;
.el-input__inner
{
.el-input__inner
{
...
...
src/views/goods/shelfManage/components/productShelving/components/combo/index.vue
View file @
b685f23
...
@@ -8,11 +8,6 @@
...
@@ -8,11 +8,6 @@
v-bind=
"$attrs"
v-bind=
"$attrs"
v-on=
"$listeners"
/>
v-on=
"$listeners"
/>
</div>
</div>
<el-button
@
click=
"handleChangeMode"
>
编辑
</el-button>
</div>
</div>
</
template
>
</
template
>
...
@@ -29,10 +24,15 @@ export default {
...
@@ -29,10 +24,15 @@ export default {
},
},
inheritAttrs
:
false
,
inheritAttrs
:
false
,
props
:
{
mode
:
{
type
:
String
,
default
:
VIEW_MODE
.
VIEW
,
},
},
data
()
{
data
()
{
return
{
return
{
VIEW_MODE
,
VIEW_MODE
,
mode
:
VIEW_MODE
.
VIEW
,
};
};
},
},
methods
:
{
methods
:
{
...
...
src/views/goods/shelfManage/components/productShelving/components/product/components/modify/index.vue
View file @
b685f23
...
@@ -267,10 +267,9 @@ export default {
...
@@ -267,10 +267,9 @@ export default {
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
.good-from-wrapper
{
.good-from-wrapper
{
padding
:
20px
!important
;
padding
:
20px
20px
0
!important
;
&.d2-container-content
{
&.d2-container-content
{
background
:
#ffffff
;
background
:
#ffffff
;
margin-top
:
0
!important
;
margin-top
:
0
!important
;
}
}
.el_select
{
.el_select
{
...
...
src/views/goods/shelfManage/components/productShelving/index.vue
View file @
b685f23
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