Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
E
etao-sjht-sd
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张志伟
etao-sjht-sd
提交
f3882b19
提交
f3882b19
编写于
4月 24, 2024
作者:
zhangzhiwei
浏览文件
操作
浏览文件
下载
差异文件
.
上级
864dd8ed
45de3f68
变更
2
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
22 行增加
和
28 行删除
+22
-28
details.vue
src/pages/goods/details.vue
+2
-2
newProduct.vue
src/pages/goods/newProduct.vue
+20
-26
未找到文件。
src/pages/goods/details.vue
浏览文件 @
f3882b19
...
...
@@ -77,12 +77,12 @@
<span>
{{
scope
.
row
.
purchasePrice
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"salePrice"
label=
"优惠价(¥)"
align=
"center"
v-if=
"!priceformulaId"
>
<el-table-column
prop=
"salePrice"
label=
"优惠价(¥)"
align=
"center"
v-if=
"!priceformulaId
&&false
"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
salePrice
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"productPrice"
label=
"零售价(¥)"
align=
"center"
v-if=
"!priceformulaId"
>
<el-table-column
prop=
"productPrice"
label=
"零售价(¥)"
align=
"center"
v-if=
"!priceformulaId
&&false
"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
productPrice
}}
</span>
</
template
>
...
...
src/pages/goods/newProduct.vue
浏览文件 @
f3882b19
...
...
@@ -209,7 +209,7 @@
</div>
<div
class=
"m_t_20 m_b_20"
>
商品SKU设置
<span
class=
"f_14 f_c_disable form_tip"
>
SKU图必须为高清无底图,图片像素为800*800PX, 大小不可超过512k,格式为png
</span>
<span
class=
"f_14 f_c_disable form_tip"
>
SKU图必须为高清无底图,
推荐
图片像素为800*800PX, 大小不可超过512k,格式为png
</span>
</div>
<div
class=
"sku_list"
v-loading=
"loading_list"
>
<!-- <div class="button" v-if="skuList.filter(v => v.isShow !== false).length > 0">
...
...
@@ -295,7 +295,7 @@
<el-table-column
prop=
"supplyPrice"
label=
"供货价"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<el-popover
v-if=
"hasFormula==1"
v-if=
"hasFormula==1
&false
"
placement=
"top"
width=
"160"
trigger=
"click"
...
...
@@ -343,7 +343,7 @@
</el-table-column>
<el-table-column
prop=
"salePrice"
label=
"优惠价"
width=
"120"
v-if=
"!priceformulaId"
>
<el-table-column
prop=
"salePrice"
label=
"优惠价"
width=
"120"
v-if=
"!priceformulaId
&&false
"
>
<!-- <template slot="header" slot-scope="scope">
<el-tooltip placement="top" effect="light" v-if="youhuiTip">
<div slot="content">
...
...
@@ -364,7 +364,7 @@
</el-input>
</
template
>
</el-table-column>
<el-table-column
prop=
"productPrice"
label=
"零售价"
width=
"120"
v-if=
"!priceformulaId"
>
<el-table-column
prop=
"productPrice"
label=
"零售价"
width=
"120"
v-if=
"!priceformulaId
&&false
"
>
<!-- <template slot="header" slot-scope="scope">
<el-tooltip placement="top" effect="light" v-if="lingshouTip">
<div slot="content">
...
...
@@ -485,7 +485,7 @@
<el-form
:label-position=
"labelPosition"
label-width=
"100px"
>
<el-form-item
label=
"商品主图"
required
prop=
"imgsJson.supMainImgs"
>
<div
class=
"form_tip"
>
商品主图像素
要求
800*800px,并且确保商品位于图中间600*800px的安全区域,以免在不同展示环境下裁切时显示不完整;
商品主图像素
推荐
800*800px,并且确保商品位于图中间600*800px的安全区域,以免在不同展示环境下裁切时显示不完整;
大小不可超过512k,格式为jpg或png,最多可上传5张。
<!-- <span class="green checktip m_l_20">查看重要注意事项</span> -->
</div>
...
...
@@ -686,7 +686,7 @@
<el-form
:label-position=
"labelPosition"
label-width=
"100px"
>
<el-form-item
label=
"详情描述"
required
prop=
"imgsJson.detailImgs"
>
<div
class=
"form_tip"
>
详情页的规格
统一
宽度为
<span
class=
"red"
>
790px
</span>
,
详情页的规格
推荐
宽度为
<span
class=
"red"
>
790px
</span>
,
单张切片大小不超过
<span
class=
"red"
>
2M
</span>
,支持JPG和PNG格式
</div>
...
...
@@ -929,10 +929,7 @@ export default {
volume
:[{
validator
:
checkNum
,
trigger
:
'blur'
}],
// sellingPoint:[{ required: true, message: '商品卖点不能为空'}]
},
supplyPrice
:[{
required
:
true
,
message
:
'供货价不能为空'
}],
purchasePrice
:[{
required
:
true
,
message
:
'采购价不能为空'
}],
salePrice
:[{
required
:
true
,
message
:
'优惠价不能为空'
}],
productPrice
:[{
required
:
true
,
message
:
'零售价不能为空'
}],
moq
:[
{
required
:
true
,
message
:
'起订量不能为空'
},
{
type
:
'number'
,
message
:
'起订量有误'
}
...
...
@@ -1805,11 +1802,9 @@ export default {
const
rules
=
{
'mainImg'
:{
vSize
:
512
,
vImgWH
:[
800
,
800
]
},
'supMainImgs'
:{
vSize
:
512
,
vImgWH
:[
800
,
800
]
},
'video'
:{
vIsVideo
:
true
,
...
...
@@ -1817,14 +1812,12 @@ export default {
},
'higImg'
:{
vSize
:
1024
,
vImgWH
:[
1600
,
1600
]
},
// 'model3D':{
// vSize:102400,
// },
'detailImgs'
:{
vSize
:
2048
,
vImgW
:[
790
]
}
}
// 文件上传
...
...
@@ -2143,16 +2136,18 @@ export default {
},{
key
:
'supplyPrice'
,
tip
:
'供货价不能为空'
},{
key
:
'purchasePrice'
,
tip
:
'采购价不能为空'
},{
key
:
'salePrice'
,
tip
:
'优惠价不能为空'
},{
key
:
'productPrice'
,
tip
:
'零售价不能为空'
},{
},
// {
// key:'purchasePrice',
// tip:'采购价不能为空'
// },{
// key:'salePrice',
// tip:'优惠价不能为空'
// },{
// key:'productPrice',
// tip:'零售价不能为空'
// },
{
key
:
'moq'
,
tip
:
'起订量不能为空'
},
...
...
@@ -2176,8 +2171,7 @@ export default {
}]
}]
let
tipsDialog
=
(
msg
)
=>
{
this
.
$notify
({
title
:
'警告'
,
this
.
$message
({
message
:
msg
,
type
:
'warning'
});
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录