Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
1b6ed010
Commit
1b6ed010
authored
6 years ago
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改少价管理
parent
94ce4a74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
11 deletions
+13
-11
LessPriceManagement.vue
src/components/systemManagement/LessPriceManagement.vue
+13
-11
No files found.
src/components/systemManagement/LessPriceManagement.vue
View file @
1b6ed010
...
...
@@ -75,7 +75,7 @@
<table
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
class=
"LP_table"
v-loading=
"this.loading"
>
<tr>
<th
width=
"200"
>
公司
</th>
<th
width=
"
40
0"
>
线路/系列
</th>
<th
width=
"
35
0"
>
线路/系列
</th>
<th>
所有人
</th>
<th>
部门主管
</th>
<th>
分公司总经理
</th>
...
...
@@ -88,17 +88,16 @@
</td>
<td>
<div
v-for=
"subItem in item.LessPriceList"
class=
"comLessDiv"
>
<el-select
class=
'w150'
v-model=
"subItem.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(subItem)"
>
<el-select
class=
'w150'
v-model=
"subItem.LineId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getLineTeamList(subItem)
,resetLineTeamId(subItem)
"
>
<el-option
label=
"不限"
:value=
'commonSelect'
></el-option>
<el-option
v-for=
"item in LineList"
:label=
'item.LineName'
:value=
'item.LineID'
:key=
'item.LineID'
>
</el-option>
</el-select>
{{
subItem
.
LineTeamList
}}
<!--
<el-select
class=
'w150'
v-model=
"subItem.LineTeamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
class=
'w150'
v-model=
"subItem.LineTeamId"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
:value=
'commonSelect'
></el-option>
<el-option
v-for=
"sitem in subItem.LineTeamList"
:label=
'sitem.LtName'
:value=
'sitem.LtID'
:key=
'sitem.LtID'
>
</el-option>
</el-select>
-->
</el-select>
</div>
</td>
<td>
...
...
@@ -152,12 +151,13 @@
methods
:
{
//保存少价管理
SaveLessPrice
(
subItem
)
{
subItem
.
LineTeamList
=
[];
this
.
apipost
(
"lessprice_post_Set"
,
subItem
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
//
this.getList();
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -166,7 +166,7 @@
);
},
//获取列表
GetLess
List
()
{
get
List
()
{
this
.
loading
=
true
;
var
that
=
this
;
that
.
apipost
(
...
...
@@ -181,7 +181,6 @@
})
})
that
.
dataList
=
data
;
console
.
log
(
that
.
dataList
,
'resssss'
);
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -205,7 +204,7 @@
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
that
.
Success
(
"操作成功!"
);
//
that.getList();
that
.
getList
();
}
else
{
that
.
Error
(
res
.
data
.
message
);
}
...
...
@@ -231,11 +230,14 @@
isTOOP
:
1
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
//subItem.LineTeamId = 0;
subItem
.
LineTeamList
=
res
.
data
.
data
;
}
});
},
//系列重置默认不限
resetLineTeamId
(
subItem
){
subItem
.
LineTeamId
=
0
;
},
//点击添加
addLessPrice
(
item
){
var
obj
=
{
...
...
@@ -260,7 +262,7 @@
},
mounted
()
{
this
.
getLineList
();
this
.
GetLess
List
();
this
.
get
List
();
},
};
...
...
This diff is collapsed.
Click to expand it.
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