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
f3c554be
Commit
f3c554be
authored
Jul 17, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员客户添加交易额
parent
99b0fa47
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
10 deletions
+39
-10
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+39
-10
No files found.
src/components/SalesModule/customerTransfer.vue
View file @
f3c554be
...
@@ -35,6 +35,20 @@
...
@@ -35,6 +35,20 @@
</span>
</span>
<el-input
v-model=
"msg.CustomerName"
placeholder=
"请输入门店名称或电话"
></el-input>
<el-input
v-model=
"msg.CustomerName"
placeholder=
"请输入门店名称或电话"
></el-input>
</li>
</li>
<li>
<span>
<em>
所属品牌
</em>
</span>
<el-select
filterable
class=
'multiple_input'
v-model=
'msg.Brand'
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
'item in CustomerBrandList'
:label=
'item.name'
:value=
'item.id'
:key=
'item.id'
>
</el-option>
</el-select>
</li>
<li
style=
"float:right;padding-top:10px;color:#111111"
>
交易额总计:
{{
datainfo
.
sumMoney
}}
</li>
<li>
<li>
<input
<input
type=
"button"
type=
"button"
...
@@ -93,17 +107,18 @@
...
@@ -93,17 +107,18 @@
<th
width=
"15%"
>
门店名称
<th
width=
"15%"
>
门店名称
<!--
<label><input
type=
"checkbox"
v-model=
"isCkedAll"
@
click=
'checkedAll()'
style=
"vertical-align: middle;"
/>
门店名称
</label>
-->
<!--
<label><input
type=
"checkbox"
v-model=
"isCkedAll"
@
click=
'checkedAll()'
style=
"vertical-align: middle;"
/>
门店名称
</label>
-->
</th>
</th>
<th
width=
"
10
%"
>
联系人
</th>
<th
width=
"
7
%"
>
联系人
</th>
<th
width=
"10%"
>
联系电话
</th>
<th
width=
"10%"
>
联系电话
</th>
<th
width=
"20%"
>
地址
</th>
<th
width=
"20%"
>
地址
</th>
<th
width=
"8%"
>
所属销售
</th>
<th
width=
"8%"
>
所属销售
</th>
<th
width=
"8%"
>
客户状态
</th>
<th
width=
"8%"
>
客户状态
</th>
<th
width=
"5%"
>
交易额
</th>
<th
width=
"5%"
>
幸福存折
</th>
<th
width=
"5%"
>
幸福存折
</th>
<th
width=
"10%"
>
备注
</th>
<th
width=
"10%"
>
备注
</th>
<th
width=
"1
2
%"
>
操作
</th>
<th
width=
"1
4
%"
>
操作
</th>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"
8
"
align=
"center"
v-show=
"list.length==0"
>
暂无数据
</td>
<td
colspan=
"
10
"
align=
"center"
v-show=
"list.length==0"
>
暂无数据
</td>
</tr>
</tr>
<tr
v-for=
"(item,index) in list"
>
<tr
v-for=
"(item,index) in list"
>
<td>
<td>
...
@@ -127,6 +142,7 @@
...
@@ -127,6 +142,7 @@
<td>
{{
item
.
Address
}}
</td>
<td>
{{
item
.
Address
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td>
{{
item
.
EmName
}}
</td>
<td>
{{
valueToWord
(
item
.
CustomerStatus
)
}}
</td>
<td>
{{
valueToWord
(
item
.
CustomerStatus
)
}}
</td>
<td>
{{
item
.
TotalPrice
}}
</td>
<td>
{{
item
.
CL_Balance
}}
</td>
<td>
{{
item
.
CL_Balance
}}
</td>
<td>
{{
item
.
Remark
}}
</td>
<td>
{{
item
.
Remark
}}
</td>
...
@@ -453,6 +469,8 @@ export default {
...
@@ -453,6 +469,8 @@ export default {
children
:
node
.
ChildList
children
:
node
.
ChildList
};
};
},
},
datainfo
:{},
CustomerBrandList
:[],
DepartmentId
:
null
,
DepartmentId
:
null
,
isSelLayer
:
false
,
isSelLayer
:
false
,
layerShow
:
false
,
layerShow
:
false
,
...
@@ -461,7 +479,8 @@ export default {
...
@@ -461,7 +479,8 @@ export default {
pageSize
:
15
,
pageSize
:
15
,
CustomerName
:
""
,
CustomerName
:
""
,
CreateBy
:
"-1"
,
CreateBy
:
"-1"
,
DepartmentId
:
"-1"
DepartmentId
:
"-1"
,
Brand
:
-
1
,
},
},
RecipientMsg
:
{
RecipientMsg
:
{
CustomerIdArr
:
[],
CustomerIdArr
:
[],
...
@@ -522,7 +541,6 @@ export default {
...
@@ -522,7 +541,6 @@ export default {
HousePhotos
:
""
,
HousePhotos
:
""
,
Images
:
""
,
Images
:
""
,
isOldPerson
:
false
,
isOldPerson
:
false
,
CustomerBrandList
:
[],
provinceList
:
[],
provinceList
:
[],
cityList
:
[],
cityList
:
[],
regionList
:
[],
regionList
:
[],
...
@@ -572,6 +590,15 @@ export default {
...
@@ -572,6 +590,15 @@ export default {
};
};
},
},
methods
:
{
methods
:
{
getCustomerBrandList
(){
// 获取品牌
this
.
apipost
(
'app_get_customer_brand'
,{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
CustomerBrandList
=
res
.
data
.
data
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
)
}
},
err
=>
{})
},
getUrl
(
item
){
getUrl
(
item
){
this
.
$router
.
push
({
name
:
"CustomerAnalysis"
,
query
:{
"customerId"
:
item
.
CustomerIdS
,
blank
:
'y'
}
})
this
.
$router
.
push
({
name
:
"CustomerAnalysis"
,
query
:{
"customerId"
:
item
.
CustomerIdS
,
blank
:
'y'
}
})
},
},
...
@@ -959,9 +986,9 @@ export default {
...
@@ -959,9 +986,9 @@ export default {
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
loading
=
false
;
this
.
loading
=
false
;
this
.
allLength
=
res
.
data
.
data
.
pageData
.
length
;
this
.
allLength
=
res
.
data
.
data
.
page
s
.
page
Data
.
length
;
this
.
customerListAll
=
[];
this
.
customerListAll
=
[];
res
.
data
.
data
.
pageData
.
forEach
(
item
=>
{
res
.
data
.
data
.
page
s
.
page
Data
.
forEach
(
item
=>
{
this
.
customerListAll
.
push
(
item
.
CustomerId
);
this
.
customerListAll
.
push
(
item
.
CustomerId
);
item
.
CustomerIdS
=
item
.
CustomerId
;
item
.
CustomerIdS
=
item
.
CustomerId
;
item
.
CustomerId
=
item
.
CustomerId
=
...
@@ -973,8 +1000,9 @@ export default {
...
@@ -973,8 +1000,9 @@ export default {
item
[
"disabled"
]
=
false
;
item
[
"disabled"
]
=
false
;
item
.
Address
=
item
.
Address
.
split
(
","
).
join
(
""
);
item
.
Address
=
item
.
Address
.
split
(
","
).
join
(
""
);
});
});
this
.
list
=
res
.
data
.
data
.
pageData
;
this
.
datainfo
=
res
.
data
.
data
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
list
=
res
.
data
.
data
.
pages
.
pageData
;
this
.
total
=
res
.
data
.
data
.
pages
.
count
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
loading
=
false
;
this
.
loading
=
false
;
...
@@ -1055,7 +1083,7 @@ export default {
...
@@ -1055,7 +1083,7 @@ export default {
ContactNumber
:
""
,
ContactNumber
:
""
,
Address
:
""
,
Address
:
""
,
remark
:
""
,
remark
:
""
,
brandIds
:
[]
Brand
:
[]
};
};
(
this
.
BusinessCardPhotos
=
""
),
(
this
.
BusinessCardPhotos
=
""
),
(
this
.
HousePhotos
=
""
),
(
this
.
HousePhotos
=
""
),
...
@@ -1149,6 +1177,7 @@ export default {
...
@@ -1149,6 +1177,7 @@ export default {
this
.
getJycs
();
this
.
getJycs
();
this
.
getZw
();
this
.
getZw
();
this
.
getKhly
();
this
.
getKhly
();
this
.
getCustomerBrandList
();
}
}
};
};
</
script
>
</
script
>
...
...
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