Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
0e2423c2
authored
Aug 12, 2025
by
孙美琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
隐藏商城系统-商品中心-商品列表编辑中的字段
parent
711b434c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
69 deletions
+45
-69
src/views/mall/product/spu/components/SkuList.vue
+44
-44
src/views/mall/product/spu/form/index.vue
+0
-24
src/views/mall/product/spu/index.vue
+1
-1
No files found.
src/views/mall/product/spu/components/SkuList.vue
View file @
0e2423c2
...
...
@@ -29,11 +29,11 @@
</
template
>
</el-table-column>
</template>
<
el-table-column
align=
"center"
label=
"商品条码"
min-width=
"168"
>
<
template
#
default=
"{ row }"
>
<el-input
v-model=
"row.barCode"
class=
"w-100%"
/
>
</
template
>
<
/el-table-column
>
<
!-- <el-table-column align="center" label="商品条码" min-width="168">--
>
<!-- <template #default="{ row }">--
>
<!-- <el-input v-model="row.barCode" class="w-100%" />--
>
<!-- </template>--
>
<
!-- </el-table-column>--
>
<el-table-column
align=
"center"
label=
"销售价"
min-width=
"168"
>
<
template
#
default=
"{ row }"
>
<el-input-number
...
...
@@ -75,30 +75,30 @@
<el-input-number
v-model=
"row.stock"
:min=
"0"
class=
"w-100%"
controls-position=
"right"
/>
</
template
>
</el-table-column>
<
el-table-column
align=
"center"
label=
"重量(kg)"
min-width=
"168"
>
<
template
#
default=
"{ row }"
>
<el-input-number
v-model=
"row.weight"
:min=
"0"
:precision=
"2"
:step=
"0.1"
class=
"w-100%"
controls-position=
"right"
/
>
</
template
>
<
/el-table-column
>
<
el-table-column
align=
"center"
label=
"体积(m^3)"
min-width=
"168"
>
<
template
#
default=
"{ row }"
>
<el-input-number
v-model=
"row.volume"
:min=
"0"
:precision=
"2"
:step=
"0.1"
class=
"w-100%"
controls-position=
"right"
/
>
</
template
>
<
/el-table-column
>
<
!-- <el-table-column align="center" label="重量(kg)" min-width="168">--
>
<!-- <template #default="{ row }">--
>
<!-- <el-input-number-->
<!-- v-model="row.weight"-->
<!-- :min="0"-->
<!-- :precision="2"-->
<!-- :step="0.1"-->
<!-- class="w-100%"-->
<!-- controls-position="right"-->
<!-- />--
>
<!-- </template>--
>
<
!-- </el-table-column>--
>
<
!-- <el-table-column align="center" label="体积(m^3)" min-width="168">--
>
<!-- <template #default="{ row }">--
>
<!-- <el-input-number-->
<!-- v-model="row.volume"-->
<!-- :min="0"-->
<!-- :precision="2"-->
<!-- :step="0.1"-->
<!-- class="w-100%"-->
<!-- controls-position="right"-->
<!-- />--
>
<!-- </template>--
>
<
!-- </el-table-column>--
>
<
template
v-if=
"formData!.subCommissionType"
>
<el-table-column
align=
"center"
label=
"一级返佣(元)"
min-width=
"168"
>
<template
#
default=
"
{ row }">
...
...
@@ -173,11 +173,11 @@
</
template
>
</el-table-column>
</template>
<
el-table-column
align=
"center"
label=
"商品条码"
min-width=
"100"
>
<
template
#
default=
"{ row }"
>
{{
row
.
barCode
}}
</
template
>
<
/el-table-column
>
<
!-- <el-table-column align="center" label="商品条码" min-width="100">--
>
<!-- <template #default="{ row }">--
>
<!-- {{ row.barCode }}-->
<!-- </template>--
>
<
!-- </el-table-column>--
>
<el-table-column
align=
"center"
label=
"销售价(元)"
min-width=
"80"
>
<
template
#
default=
"{ row }"
>
{{
row
.
price
}}
...
...
@@ -198,16 +198,16 @@
{{
row
.
stock
}}
</
template
>
</el-table-column>
<
el-table-column
align=
"center"
label=
"重量(kg)"
min-width=
"80"
>
<
template
#
default=
"{ row }"
>
{{
row
.
weight
}}
</
template
>
<
/el-table-column
>
<
el-table-column
align=
"center"
label=
"体积(m^3)"
min-width=
"80"
>
<
template
#
default=
"{ row }"
>
{{
row
.
volume
}}
</
template
>
<
/el-table-column
>
<
!-- <el-table-column align="center" label="重量(kg)" min-width="80">--
>
<!-- <template #default="{ row }">--
>
<!-- {{ row.weight }}-->
<!-- </template>--
>
<
!-- </el-table-column>--
>
<
!-- <el-table-column align="center" label="体积(m^3)" min-width="80">--
>
<!-- <template #default="{ row }">--
>
<!-- {{ row.volume }}-->
<!-- </template>--
>
<
!-- </el-table-column>--
>
<
template
v-if=
"formData!.subCommissionType"
>
<el-table-column
align=
"center"
label=
"一级返佣(元)"
min-width=
"80"
>
<template
#
default=
"
{ row }">
...
...
src/views/mall/product/spu/form/index.vue
View file @
0e2423c2
...
...
@@ -17,30 +17,6 @@
:propFormData=
"formData"
/>
</el-tab-pane>
<el-tab-pane
label=
"物流设置"
name=
"delivery"
>
<DeliveryForm
ref=
"deliveryRef"
v-model:activeName=
"activeName"
:is-detail=
"isDetail"
:propFormData=
"formData"
/>
</el-tab-pane>
<el-tab-pane
label=
"商品详情"
name=
"description"
>
<DescriptionForm
ref=
"descriptionRef"
v-model:activeName=
"activeName"
:is-detail=
"isDetail"
:propFormData=
"formData"
/>
</el-tab-pane>
<el-tab-pane
label=
"其它设置"
name=
"other"
>
<OtherForm
ref=
"otherRef"
v-model:activeName=
"activeName"
:is-detail=
"isDetail"
:propFormData=
"formData"
/>
</el-tab-pane>
</el-tabs>
<el-form>
<el-form-item
style=
"float: right"
>
...
...
src/views/mall/product/spu/index.vue
View file @
0e2423c2
...
...
@@ -181,7 +181,7 @@
/>
<el-table-column
align=
"center"
fixed=
"right"
label=
"操作"
min-width=
"200"
>
<
template
#
default=
"{ row }"
>
<el-button
link
type=
"primary"
@
click=
"openDetail(row.id)"
>
详情
</el-button>
<el-button
link
type=
"primary"
@
click=
"openDetail(row.id)"
>
详情
</el-button>
<el-button
v-hasPermi=
"['product:spu:update']"
link
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment