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
87d1c45c
Commit
87d1c45c
authored
Jun 11, 2019
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加 黑名单功能
parent
aadaee09
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4504 additions
and
4146 deletions
+4504
-4146
App.vue
src/App.vue
+1
-1
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+58
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+4
-2
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+3538
-3400
RegistrationList.vue
src/components/TravelManager/TravelList/RegistrationList.vue
+903
-742
No files found.
src/App.vue
View file @
87d1c45c
...
...
@@ -113,7 +113,7 @@ export default {
}
</
script
>
<
style
>
@import
"//at.alicdn.com/t/font_635492_
p5609mvb4qe
.css"
;
@import
"//at.alicdn.com/t/font_635492_
l8xc381dki8
.css"
;
@import
"./assets/css/Semibold.css"
;
@import
"./assets/css/global/config.css"
;
@import
"./assets/css/fileIcon.css"
;
...
...
src/components/SalesModule/customerTransfer.vue
View file @
87d1c45c
...
...
@@ -194,6 +194,40 @@
@
click=
"deletelist(item)"
></el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"加入黑名单"
placement=
"top-start"
>
<el-button
v-if=
"item.CustomerStatus == 2"
type=
"warning"
class
icon=
"iconfont icon-jiaruheimingdan"
circle
@
click=
"getBlacklist(item)"
>
</el-button>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"移除黑名单"
placement=
"top-start"
>
<el-button
v-if=
"item.CustomerStatus == 4"
type=
"info"
class
icon=
"iconfont icon-yichuheimingdan"
circle
@
click=
"getBlacklist(item)"
>
</el-button>
</el-tooltip>
</td>
</tr>
</table>
...
...
@@ -522,7 +556,8 @@ export default {
],
Address
:
[{
required
:
true
,
message
:
"请输入地址"
,
trigger
:
"blur"
}]
},
employeeList1
:
[]
employeeList1
:
[],
HightUnitPrice
:
'2'
,
};
},
methods
:
{
...
...
@@ -1017,6 +1052,28 @@ export default {
resetForm
(
formName
)
{
// 重置表单
this
.
$refs
[
formName
].
resetFields
();
},
getBlacklist
(
item
){
let
DisabledType
let
CustomerId
=
item
.
CustomerId
.
split
(
'|'
)[
0
]
if
(
item
.
CustomerStatus
==
2
){
DisabledType
=
1
}
else
if
(
item
.
CustomerStatus
==
4
){
DisabledType
=
2
}
this
.
apipost
(
"app_customer_DisabledCustomer"
,
{
CustomerId
:
CustomerId
,
DisabledType
:
DisabledType
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
()
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{}
);
}
},
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
87d1c45c
...
...
@@ -838,7 +838,7 @@
<el-col
:span=
"4"
>
<el-form-item
label=
"成交单价"
prop=
"Unit_Price"
v-if=
"HightUnitPrice === '2'"
>
<el-select
v-model=
'addMsg.Unit_Price'
filterable
:placeholder=
"$t('pub.pleaseSel')"
@
change=
"getTotalPrice()"
>
<el-option
v-for=
"
item in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'item.ID
'
>
<el-option
v-for=
"
(item,index) in Unit_PriceList"
:label=
'item.LessMoney'
:value=
'item.ID'
:key=
'index
'
>
</el-option>
</el-select>
<!--
<el-input
v-model=
'addMsg.Unit_Price'
:disabled=
"true"
@
keyup
.
native=
"checkPrice(addMsg,'Unit_Price');getTotalPrice()"
></el-input>
-->
...
...
@@ -883,7 +883,7 @@
<el-col
:span=
"4"
v-if=
'IsChildrenTour==1'
>
<el-form-item
label=
"婴儿人数"
prop=
"BabyNum"
v-show=
"addMsg.GroupType !== '4'"
>
<el-input
v-model=
'addMsg.BabyNum'
@
keyup
.
native=
"checkInteger(addMsg,'BabyNum')"
@
input=
'getNumber();getTotalPrice()
;getTotalPrice()
'
></el-input>
@
input=
'getNumber();getTotalPrice()'
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -2916,6 +2916,7 @@
let
maxPeopleNum
=
(
Number
(
this
.
addMsg
.
ManNum
)
+
Number
(
this
.
addMsg
.
ChirdNoNeedBedNum
)
+
Number
(
this
.
addMsg
.
ChirdNeedBedNum
)
+
Number
(
this
.
addMsg
.
OldPeopleNum
)
+
Number
(
this
.
addMsg
.
AirticketNum
)
)
this
.
Unit_PriceList
=
[];
this
.
apipost
(
'sellorder_post_GetLessPrice'
,
{
"TCID"
:
this
.
addMsg
.
TCID
,
"MaxPeopleNum"
:
maxPeopleNum
...
...
@@ -2949,6 +2950,7 @@
obj
.
LessMoney
=
this
.
addMsg
.
Unit_Price
;
this
.
Unit_PriceList
.
push
(
obj
);
}
},
err
=>
{})
},
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
87d1c45c
This diff is collapsed.
Click to expand it.
src/components/TravelManager/TravelList/RegistrationList.vue
View file @
87d1c45c
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