Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
c1ae7e4f
Commit
c1ae7e4f
authored
Mar 02, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
71cd23e5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
14 deletions
+17
-14
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+17
-14
No files found.
src/components/CommodityMan/goodsListEdit.vue
View file @
c1ae7e4f
...
...
@@ -67,7 +67,7 @@
show-word-limit
:rows=
"4"
>
</el-input>
</el-form-item>
<el-form-item
label=
"供应商"
prop=
"SupplierId"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-form-item
label=
"供应商"
prop=
"SupplierId"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-select
class=
"w150"
style=
"margin-right: 10px;"
v-model=
"SupplierId"
size=
"small"
placeholder=
"请选择"
@
change=
'changeSupplier'
>
<el-option
v-for=
"item in options"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
...
...
@@ -101,14 +101,14 @@
</div>
</div>
</el-form-item>
<el-form-item
label=
"商品视频"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-form-item
label=
"商品视频"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-input
v-model=
"addMsg.VideoAddress"
size=
"small"
placeholder=
"请输入内容"
>
<el-button
@
click=
"changeState1 = true"
slot=
"append"
>
添加视频
</el-button>
</el-input>
<a
v-if=
"addMsg.VideoAddress != ''"
class=
"blue noline"
:href=
"addMsg.VideoAddress"
target=
"_blank"
>
视频链接
</a>
</el-form-item>
<el-form-item
label=
"视频填充方式"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-form-item
label=
"视频填充方式"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议横屏使用默认,竖屏使用填充"
placement=
"top"
style=
"position: absolute;left: -22px;top:12px"
>
<i
class=
"el-tooltip el-icon-info"
></i>
...
...
@@ -150,7 +150,7 @@
<span
class=
"point"
@
click=
"imgDig = true"
>
查看图例
</span>
</p>
</el-form-item>
<el-form-item
label=
"直播商品"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-form-item
label=
"直播商品"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-switch
v-model=
"addMsg.IsLiveGoods"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
</el-switch>
...
...
@@ -160,7 +160,7 @@
:inactive-value=
"2"
>
</el-switch>
</el-form-item>
<el-form-item
label=
"是否可开发票"
v-if=
"isShowTax"
>
<el-form-item
label=
"是否可开发票"
v-if=
"isShowTax"
>
<el-switch
v-model=
"addMsg.IsNoTax"
active-color=
"#409EFF"
:active-value=
"0"
:inactive-value=
"1"
>
</el-switch>
</el-form-item>
...
...
@@ -177,7 +177,7 @@
</el-col>
</el-row>
</el-card>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
价格库存
</span>
</div>
...
...
@@ -406,7 +406,7 @@
</el-col>
</el-row>
</el-card>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
商品服务
</span>
</div>
...
...
@@ -523,7 +523,7 @@
</el-col>
</el-row>
</el-card>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<el-card
style=
"margin-top:20px"
shadow=
"never"
v-if=
"currentUserInfo.IsKorea==0"
>
<div
slot=
"header"
class=
"clearfix"
>
<span>
营销设置
</span>
</div>
...
...
@@ -1179,7 +1179,7 @@
GoodsCountry
:
""
,
//商品国家
FatCode
:
""
,
//海关代码/关税率
GoodsUrl
:
""
,
//商品官网
IsKorea
:
0
,
//是否为韩国馆
IsKorea
:
0
,
//是否为韩国馆
},
predefineColors
:
[
'#000000'
,
...
...
@@ -1287,7 +1287,7 @@
My_cateList
:
[],
//分类类型
isShowPlat
:
true
,
//是否显示上架版面和分类
isShowTax
:
false
,
//赞羊显示是否可开发票
currentUserInfo
:
{},
//当前登录用户
currentUserInfo
:
{},
//当前登录用户
};
},
created
()
{
...
...
@@ -1298,7 +1298,7 @@
this
.
FxState
=
this
.
$route
.
query
.
FxState
;
}
this
.
currentUserInfo
=
JSON
.
parse
(
localStorage
.
mall_userInfo
);
this
.
addMsg
.
IsKorea
=
this
.
currentUserInfo
.
IsKorea
;
this
.
addMsg
.
IsKorea
=
this
.
currentUserInfo
.
IsKorea
;
this
.
getService
();
this
.
getRule
();
this
.
getSpeciList
();
...
...
@@ -1804,6 +1804,7 @@
});
},
Save
(
formName
)
{
this
.
addMsg
.
IsKorea
=
this
.
currentUserInfo
.
IsKorea
;
this
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
let
content
=
this
.
$refs
.
ue
.
getUEContent
();
...
...
@@ -1818,7 +1819,8 @@
if
(
this
.
SpecificationList
.
length
==
0
)
{
this
.
addMsg
.
IsCustomSpecification
=
2
;
}
if
(
this
.
addMsg
.
IsKorea
==
0
&&
this
.
addMsg
.
IsCustomSpecification
!=
1
&&
this
.
SpecificationList
.
length
==
0
)
{
if
(
this
.
addMsg
.
IsKorea
==
0
&&
this
.
addMsg
.
IsCustomSpecification
!=
1
&&
this
.
SpecificationList
.
length
==
0
)
{
this
.
Error
(
"请选择规格项目!"
);
return
}
...
...
@@ -1839,8 +1841,9 @@
this
.
addMsg
.
MemberPriceList
=
this
.
memberList2
;
this
.
addMsg
.
MemberPriceTreeList
=
this
.
memberList2
;
}
if
(
this
.
addMsg
.
IsKorea
==
0
&&
this
.
currentUserInfo
.
TenantId
==
1
&&
this
.
currentUserInfo
.
MallBaseId
==
1
&&
this
.
SupplierId
==
''
)
{
if
(
this
.
addMsg
.
IsKorea
==
0
&&
this
.
currentUserInfo
.
TenantId
==
1
&&
this
.
currentUserInfo
.
MallBaseId
==
1
&&
this
.
SupplierId
==
''
)
{
this
.
Error
(
"请选择供应商!"
);
return
}
else
{
...
...
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