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
a20b6703
Commit
a20b6703
authored
Aug 21, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f366fab4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
18 deletions
+25
-18
goodsListEdit.vue
src/components/CommodityMan/goodsListEdit.vue
+25
-18
No files found.
src/components/CommodityMan/goodsListEdit.vue
View file @
a20b6703
...
...
@@ -70,7 +70,7 @@
<p
style=
"color:#c9c9c9;margin-bottom: 12px;"
>
第一张图片为缩略图,其它图片为轮播图,建议像素750*750,最多支持上传9张
</p>
<!-- <div flex="dir:left">
<div v-for="(item, index) in addMsg.CarouselImageList" :key="index+'2'"
style="margin-right: 20px; position: relative; ">
...
...
@@ -96,14 +96,14 @@
circle
></el-button>
</div>
</draggable>
</div>
<div
@
click=
"openChangeDig(1)"
v-if=
"addMsg.CarouselImageList.length<9"
class=
"add-image-btn 2222"
>
+ 添加图片
</div>
</div>
</div>
</div>
</el-form-item>
<el-form-item
label=
"商品视频"
>
<el-input
v-model=
"addMsg.VideoAddress"
size=
"small"
placeholder=
"请输入内容"
>
...
...
@@ -543,7 +543,7 @@
</el-checkbox>
</el-form-item>
<el-form-item
label=
"商品赠送VIP"
v-if=
"FxState==1"
>
<el-select
class=
"w150"
style=
"margin-left:15px"
v-model=
"addMsg.PresentFXGrade"
size=
"small"
clearable
<el-select
class=
"w150"
style=
"margin-left:15px"
v-model=
"addMsg.PresentFXGrade"
size=
"small"
clearable
placeholder=
"请选择"
@
change=
'changeVIP'
>
<el-option
v-for=
"item in FXlevelList"
:key=
"item.Id"
:label=
"item.GradeName"
:value=
"item.Id"
>
</el-option>
...
...
@@ -552,14 +552,14 @@
<el-form-item
label=
"赠送日期"
v-if=
"FxState==1 && giveDate==true"
>
<el-input
v-model=
"addMsg.PresentFXMonth"
style=
"width:100%;margin-left:15px"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-button
slot=
"append"
>
月
</el-button>
</el-input>
</el-form-item>
<el-form-item
label=
"广告词"
>
<el-input
v-model=
"addMsg.Advertising"
style=
"width:100%;margin-left:15px"
type=
"textarea"
:rows=
"3"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
></el-input>
</el-form-item>
...
...
@@ -569,7 +569,7 @@
<el-radio
v-model=
"addMsg.MarketingLogo.iswords"
:label=
"0"
>
无模式
</el-radio>
</el-form-item>
<el-form-item
label=
"标签文字"
v-if=
"addMsg.MarketingLogo.iswords==1"
>
<el-input
v-model=
"addMsg.MarketingLogo.words"
style=
"width:100%;margin-left:15px"
<el-input
v-model=
"addMsg.MarketingLogo.words"
style=
"width:100%;margin-left:15px"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
maxlength=
'10'
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"标签字体颜色"
v-if=
"addMsg.MarketingLogo.iswords==1"
>
...
...
@@ -605,7 +605,7 @@
</div>
</el-form-item>
</el-col>
</el-row>
</el-card>
...
...
@@ -1769,6 +1769,13 @@
if
(
this
.
SpecificationList
.
length
>
0
)
{
this
.
addMsg
.
IsCustomSpecification
=
1
;
}
if
(
this
.
SpecificationList
.
length
==
0
)
{
this
.
addMsg
.
IsCustomSpecification
=
2
;
}
if
(
this
.
addMsg
.
IsCustomSpecification
!=
1
&&
this
.
SpecificationList
.
length
==
0
){
this
.
Error
(
"请选择规格项目!"
);
return
}
if
(
this
.
addMsg
.
SeparateDistributionType
==
1
)
{
this
.
disList1
=
[{
SpecificationSort
:
""
,
...
...
@@ -1791,7 +1798,7 @@
this
.
Error
(
"请选择供应商!"
);
return
}
else
{
this
.
addMsg
.
SupplierId
=
this
.
SupplierId
!=
''
?
this
.
SupplierId
:
0
;
this
.
addMsg
.
SupplierId
=
this
.
SupplierId
!=
''
?
this
.
SupplierId
:
0
;
}
this
.
addMsg
.
SpecificationPriceList
=
this
.
SpecificationPriceList
;
this
.
addMsg
.
SpecificationList
=
this
.
SpecificationList
;
...
...
@@ -2104,10 +2111,10 @@
}
this
.
getSuggestPrice
();
this
.
getFXDGradeList2
();
}
}
);
},
...
...
@@ -2267,7 +2274,7 @@
data
.
forEach
(
x
=>
{
let
obj
=
{};
// if(x.IsGuest !=1){
if
(
x
.
IsGuest
==
3
){
//只显示vip
if
(
x
.
IsGuest
==
3
){
//只显示vip
let
obj
=
x
List
.
push
(
obj
)
}
...
...
@@ -2278,10 +2285,10 @@
});
},
getFXDGradeList2
(){
this
.
apipost
(
"/api/user/GetFXDistributorGradeList"
,
{
GradeName
:
''
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
data
!=
null
){
res
.
data
.
data
.
forEach
(
x
=>
{
if
(
x
.
Id
==
this
.
addMsg
.
PresentFXGrade
){
...
...
@@ -2296,7 +2303,7 @@
}
}
});
},
changeVIP
(){
if
(
this
.
addMsg
.
PresentFXGrade
==
''
||
this
.
addMsg
.
PresentFXGrade
==
0
){
...
...
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