Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
5e63d5d3
提交
5e63d5d3
authored
12月 28, 2021
作者:
郑伟娜
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
57e7c4b4
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
8 行增加
和
10 行删除
+8
-10
goodsimg2.vue
src/views/system/goods/add/components/goodsimg2.vue
+1
-1
goodsparameter.vue
src/views/system/goods/add/components/goodsparameter.vue
+6
-8
goodsspecifications.vue
...views/system/goods/add/components/goodsspecifications.vue
+1
-1
没有找到文件。
src/views/system/goods/add/components/goodsimg2.vue
浏览文件 @
5e63d5d3
...
...
@@ -83,6 +83,6 @@
z-index
:
1000
!important
;
}
/
deep
/
.w-e-toolbar
{
z-index
:
100
0
!important
;
z-index
:
100
1
!important
;
}
</
style
>
src/views/system/goods/add/components/goodsparameter.vue
浏览文件 @
5e63d5d3
...
...
@@ -64,8 +64,7 @@
<!-- </el-table-column>-->
</el-table>
</div>
<div
v-show=
"orgGoodsPam.pamTableList.length > 0"
v-for=
"(item,index) in orgGoodsPam.pamTableList"
:key=
"index"
<div
v-if=
"orgGoodsPam.pamTableList.length > 0"
v-for=
"(item,index) in orgGoodsPam.pamTableList"
:key=
"index"
class=
"single-spe-con"
>
<p
style=
"margin: 10px 0;color: #333;font-size: 14px;font-weight: 400;"
>
<span
v-show=
"orgGoodsPam.pamNameList.length === 1"
>
...
...
@@ -86,7 +85,7 @@
<el-table-column
align=
"center"
prop=
"js_price"
label=
"协议价"
>
<
template
slot=
"header"
>
<span>
协议价
</span>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
DataList.length >
1"
>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
TableList.length >=
1"
>
<span
slot=
"content"
>
点击可批量设置价格
</span>
<span
class=
"spe-ali-icon0435 iconfont icon-iconset0435"
@
click=
"applyAllTable('js_price')"
></span>
</el-tooltip>
...
...
@@ -103,7 +102,7 @@
<el-table-column
align=
"center"
prop=
"price"
label=
"指导价"
>
<
template
slot=
"header"
>
<span>
指导价
</span>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
DataList.length >
1"
>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
TableList.length >=
1"
>
<span
slot=
"content"
>
点击可批量设置价格
</span>
<span
class=
"spe-ali-icon0435 iconfont icon-iconset0435"
@
click=
"applyAllTable('price')"
></span>
</el-tooltip>
...
...
@@ -115,7 +114,7 @@
<el-table-column
align=
"center"
prop=
"sc_price"
label=
"市场价"
>
<
template
slot=
"header"
>
<span>
市场价
</span>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
DataList.length >
1"
>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
TableList.length >=
1"
>
<span
slot=
"content"
>
点击可批量设置价格
</span>
<span
class=
"spe-ali-icon0435 iconfont icon-iconset0435"
@
click=
"applyAllTable('sc_price')"
></span>
</el-tooltip>
...
...
@@ -127,7 +126,7 @@
<el-table-column
align=
"center"
prop=
"stock"
label=
"库存量"
>
<
template
slot=
"header"
>
<span>
库存量
</span>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
DataList.length >
1"
>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
TableList.length >=
1"
>
<span
slot=
"content"
>
点击可批量设置价格
</span>
<span
class=
"spe-ali-icon0435 iconfont icon-iconset0435"
@
click=
"applyAllTable('stock')"
></span>
</el-tooltip>
...
...
@@ -139,7 +138,7 @@
<el-table-column
align=
"center"
prop=
"weight"
label=
"重量"
>
<
template
slot=
"header"
>
<span>
重量
</span>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
DataList.length >
1"
>
<el-tooltip
placemetn=
"top"
v-if=
"index==0 && orgGoodsPam.pam
TableList.length >=
1"
>
<span
slot=
"content"
>
点击可批量设置价格
</span>
<span
class=
"spe-ali-icon0435 iconfont icon-iconset0435"
@
click=
"applyAllTable('weight')"
></span>
</el-tooltip>
...
...
@@ -247,7 +246,6 @@ export default {
'parameterdata'
:
function
(
val
)
{
//debugger
this
.
orgGoodsPam
=
val
;
//console.log("监听",this.orgGoodsPam);
},
},
created
()
{
...
...
src/views/system/goods/add/components/goodsspecifications.vue
浏览文件 @
5e63d5d3
...
...
@@ -182,7 +182,7 @@ export default {
addSpeParam
(
index
)
{
let
valueObj
=
{
value
:
''
}
this
.
$set
(
this
.
speData
[
index
].
spec_value
,
this
.
speData
[
index
].
spec_value
.
length
,
valueObj
);
console
.
log
(
1111
,
this
.
speData
);
//
console.log(1111,this.speData);
},
/** 删除 规格参数 */
deleteSpeParam
(
index
,
indexSV
)
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论