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
610cc728
Commit
610cc728
authored
Oct 28, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
69ca0af2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
13 deletions
+10
-13
serviceProductEdit.vue
src/components/offlineService/serviceProductEdit.vue
+10
-13
No files found.
src/components/offlineService/serviceProductEdit.vue
View file @
610cc728
<
template
>
<div
class=
"goodsListEdit"
>
<div
class=
"head-title"
>
<span
@
click=
"CommonJump('
goods
List')"
class=
"blue point"
>
商品列表
</span>
<span
@
click=
"CommonJump('
serviceProduct
List')"
class=
"blue point"
>
商品列表
</span>
/ 添加商品
</div>
<div
style=
"background:#fff;margin-top:10px;padding:10px 20px 20px"
>
...
...
@@ -210,10 +210,6 @@
<el-button
slot=
"append"
>
件
</el-button>
</el-input>
</el-form-item>
<el-form-item
label=
"商品总库存"
prop=
"InventoryNum"
style=
"display:none;"
>
<el-input
v-model=
"addMsg.InventoryNum"
type=
"number"
min=
"1"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
></el-input>
</el-form-item>
<el-form-item
label=
"默认规则名"
style=
"display:none;"
>
<el-input
:disabled=
"SpecificationList.length > 0"
v-model=
"addMsg.DefaultSpecificationName"
size=
"small"
placeholder=
"请输入内容"
class=
"input-with-select"
></el-input>
...
...
@@ -1152,7 +1148,7 @@
SendArea
:
''
,
//发货仓库
VideoType
:
1
,
//视频填充方式(0默认,1-填充)
Remark
:
''
,
//备注
DepositMoney
:
''
,
//定金
DepositMoney
:
0
,
//定金
GoodsClassify
:
3
,
//商品分类 0正常商品 1司导商品 2教育商品,3-线下服务产品
StoresIds
:
''
,
//门店编号
IsChooseServicePerson
:
0
//是否选择服务人员 0-不选 1选择
...
...
@@ -1783,11 +1779,6 @@
if
(
this
.
SpecificationList
.
length
==
0
)
{
this
.
addMsg
.
IsCustomSpecification
=
2
;
}
// if (this.addMsg.IsCustomSpecification != 1 && this.SpecificationList.length == 0) {
// this.Error("请选择规格项目!");
// return
// }
if
(
this
.
Stores
.
length
>
0
)
{
this
.
addMsg
.
StoresIds
=
JSON
.
stringify
(
this
.
Stores
);
}
...
...
@@ -2063,11 +2054,13 @@
this
.
getData
()
},
getData
()
{
console
.
log
(
'进入1'
);
this
.
apipost
(
"/api/OSGoods/GetGoodsInfo"
,
{
GoodsId
:
this
.
GoodsId
},
res
=>
{
console
.
log
(
res
,
'进入2'
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
addMsg
=
res
.
data
.
data
;
if
(
!
this
.
$route
.
query
.
GoodsId
)
{
...
...
@@ -2080,8 +2073,12 @@
this
.
BuyOrderNumState
=
false
}
this
.
initShareSettings
();
this
.
SpecificationPriceList
=
this
.
addMsg
.
SpecificationPriceList
;
this
.
ComTreeList
=
this
.
addMsg
.
DistributionCommissionTreeList
;
if
(
this
.
addMsg
.
SpecificationPriceList
){
this
.
SpecificationPriceList
=
this
.
addMsg
.
SpecificationPriceList
;
}
if
(
this
.
addMsg
.
DistributionCommissionTreeList
){
this
.
ComTreeList
=
this
.
addMsg
.
DistributionCommissionTreeList
;
}
if
(
this
.
addMsg
.
SpecificationList
)
{
this
.
SpecificationList
=
this
.
addMsg
.
SpecificationList
;
}
...
...
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