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
9110b13e
Commit
9110b13e
authored
Nov 02, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
d6f2eed4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
serviceProductEdit.vue
src/components/offlineService/serviceProductEdit.vue
+21
-2
No files found.
src/components/offlineService/serviceProductEdit.vue
View file @
9110b13e
...
@@ -355,7 +355,7 @@
...
@@ -355,7 +355,7 @@
<el-button
slot=
"append"
>
克
</el-button>
<el-button
slot=
"append"
>
克
</el-button>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"定金"
>
<el-form-item
label=
"定金"
v-if=
"IsOfflinePay"
>
<el-input
v-model=
"addMsg.DepositMoney"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
<el-input
v-model=
"addMsg.DepositMoney"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
>
class=
"input-with-select"
>
</el-input>
</el-input>
...
@@ -1241,6 +1241,7 @@
...
@@ -1241,6 +1241,7 @@
giveDate
:
false
,
giveDate
:
false
,
Stores
:
[],
Stores
:
[],
StoreList
:
[],
//门店下拉数据
StoreList
:
[],
//门店下拉数据
IsOfflinePay
:
false
,
//是否开启线上付款
};
};
},
},
created
()
{
created
()
{
...
@@ -1266,8 +1267,23 @@
...
@@ -1266,8 +1267,23 @@
}
else
{
}
else
{
this
.
getTree
();
this
.
getTree
();
}
}
this
.
getConfig
();
},
},
methods
:
{
methods
:
{
//获取基础配置
getConfig
()
{
this
.
apipost
(
"/api/Reserve/GetReserveBaseInfo"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
jsonData
=
res
.
data
.
data
;
if
(
jsonData
&&
jsonData
.
PayTypeList
)
{
this
.
IsOfflinePay
=
jsonData
.
PayTypeList
.
indexOf
(
2
)
>=
0
;
}
}
}
);
},
setMemberData
()
{
setMemberData
()
{
if
(
this
.
memberList1
&&
this
.
memberList1
.
length
>
0
&&
this
.
addMsg
.
MemberPriceList
&&
this
.
addMsg
if
(
this
.
memberList1
&&
this
.
memberList1
.
length
>
0
&&
this
.
addMsg
.
MemberPriceList
&&
this
.
addMsg
.
MemberPriceList
.
length
>
0
)
{
.
MemberPriceList
.
length
>
0
)
{
...
@@ -1832,6 +1848,10 @@
...
@@ -1832,6 +1848,10 @@
this
.
addMsg
.
MarketingLogo
.
wordsBack
=
''
;
this
.
addMsg
.
MarketingLogo
.
wordsBack
=
''
;
}
}
this
.
addMsg
.
MarketingLogo
=
JSON
.
stringify
(
this
.
addMsg
.
MarketingLogo
)
this
.
addMsg
.
MarketingLogo
=
JSON
.
stringify
(
this
.
addMsg
.
MarketingLogo
)
//没有开启线上付款
if
(
!
this
.
IsOfflinePay
)
{
this
.
addMsg
.
DepositMoney
=
0
;
}
this
.
apipost
(
"/api/OSGoods/SetGoodsInfo"
,
this
.
addMsg
,
res
=>
{
this
.
apipost
(
"/api/OSGoods/SetGoodsInfo"
,
this
.
addMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
...
@@ -2129,7 +2149,6 @@
...
@@ -2129,7 +2149,6 @@
ico
:
""
ico
:
""
}
}
}
}
console
.
log
(
this
.
Stores
,
'Stores'
);
this
.
getSuggestPrice
();
this
.
getSuggestPrice
();
this
.
getFXDGradeList2
();
this
.
getFXDGradeList2
();
this
.
getTree
();
this
.
getTree
();
...
...
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