Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
lanbaoming
jiedao-app-operator-master
Commits
e677d5c1
Commit
e677d5c1
authored
Oct 11, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
佣金客户修改
parent
d8897ab2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
4 deletions
+23
-4
index.vue
src/views/ecw/customerCommission/index.vue
+23
-4
No files found.
src/views/ecw/customerCommission/index.vue
View file @
e677d5c1
...
...
@@ -4,8 +4,19 @@
<!-- 搜索工作栏 -->
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"客户名称"
prop=
"customerId"
>
<el-input
v-model=
"queryParams.customerId"
placeholder=
"请选择客户id"
clearable
size=
"small"
>
</el-input>
<el-select
clearable
filterable
v-model=
"queryParams.customerId"
placeholder=
"请输入关键词"
>
<el-option
v-for=
"(item, index) in customeList"
:key=
"index"
:value=
"item.id"
:label=
"item.name"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"联系电话"
prop=
"type"
>
<el-input
v-model=
"queryParams.defaultContactPhone"
placeholder=
"请输入电话"
clearable
size=
"small"
>
...
...
@@ -128,6 +139,7 @@
import
{
deleteCustomerCommission
,
getCustomerCommissionPage
,
exportCustomerCommissionExcel
}
from
"
@/api/ecw/customerCommission
"
;
import
{
DICT_TYPE
,
getDictDatas
}
from
"
@/utils/dict
"
;
import
{
getTradeCityList
}
from
"
@/api/ecw/region
"
;
import
{
customerDropDownList
}
from
"
@/api/ecw/customerCommissionInfo
"
;
export
default
{
name
:
"
CustomerCommission
"
,
...
...
@@ -173,7 +185,8 @@ export default {
customerId
:
[{
required
:
true
,
message
:
"
客户id不能为空
"
,
trigger
:
"
change
"
}],
type
:
[{
required
:
true
,
message
:
"
佣金类型不能为空
"
,
trigger
:
"
change
"
}],
darkReturnType
:
[{
required
:
true
,
message
:
"
暗佣类型 1产品2达标不能为空
"
,
trigger
:
"
change
"
}],
}
},
customeList
:[],
};
},
computed
:{
...
...
@@ -187,8 +200,14 @@ export default {
},
},
created
()
{
customerDropDownList
().
then
(
res
=>
{
console
.
log
(
res
);
if
(
res
.
code
===
0
)
{
this
.
customeList
=
res
.
data
}
})
if
(
this
.
$route
.
query
.
customerId
){
this
.
queryParams
.
customerId
=
this
.
$route
.
query
.
customerId
this
.
queryParams
.
customerId
=
Number
(
this
.
$route
.
query
.
customerId
)
}
this
.
getList
();
getTradeCityList
().
then
(
res
=>
{
...
...
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