Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
c6929db2
Commit
c6929db2
authored
Jun 01, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a5bf1c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
20 deletions
+21
-20
orderList.vue
src/components/customerManage/orderList.vue
+11
-10
Agreement.vue
src/components/guestManagement/Agreement.vue
+10
-10
No files found.
src/components/customerManage/orderList.vue
View file @
c6929db2
...
...
@@ -375,6 +375,7 @@ export default {
},
mounted
()
{
let
$this
=
this
;
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
MsgBus
.
$on
(
"closeaddContacts"
,
function
()
{
$this
.
commissionPopUpVisible
=
false
;
});
...
...
@@ -494,7 +495,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
endOfLossfun
(
row
)
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
endOfLossfun
(
row
)
...
...
@@ -532,7 +533,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
lossOperationfun
(
row
)
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
lossOperationfun
(
row
)
...
...
@@ -552,7 +553,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
orderCompletedfun
(
row
)
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
orderCompletedfun
(
row
)
...
...
@@ -590,7 +591,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
convertOrderfun
(
row
)
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
convertOrderfun
(
row
)
...
...
@@ -654,7 +655,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
makeAdocumentFunction
(
row
,
index
,
num
)
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
makeAdocumentFunction
(
row
,
index
,
num
)
...
...
@@ -762,7 +763,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
AmendVisafun
(
row
);
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
AmendVisafun
(
row
);
...
...
@@ -787,7 +788,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
ModifyStatusfun
(
row
);
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
ModifyStatusfun
(
row
);
...
...
@@ -818,7 +819,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
cancelOrderfun
(
row
);
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
cancelOrderfun
(
row
);
...
...
@@ -877,7 +878,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
editOrderfun
(
row
);
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
editOrderfun
(
row
);
...
...
@@ -908,7 +909,7 @@ export default {
if
(
this
.
superManage
)
{
this
.
editOrderAmountfun
(
row
);
}
else
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
editOrderAmountfun
(
row
);
...
...
src/components/guestManagement/Agreement.vue
View file @
c6929db2
...
...
@@ -647,7 +647,7 @@
},
// 订单收损完结
endOfLoss
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
endOfLossfun
(
row
)
...
...
@@ -681,7 +681,7 @@
},
// 收损
lossOperation
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
lossOperationfun
(
row
)
...
...
@@ -697,7 +697,7 @@
},
// 订单完结
orderCompleted
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
orderCompletedfun
(
row
)
...
...
@@ -730,7 +730,7 @@
},
// 转换订单
convertOrder
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
();
}
else
{
this
.
convertOrderfun
(
row
)
...
...
@@ -809,7 +809,7 @@
let
url
=
this
.
domainManager
().
erpRoutingUrl
let
data
let
list
=
row
.
OrderType
&&
row
.
OrderType
.
split
(
','
)
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
!=
'2'
)
{
...
...
@@ -893,7 +893,7 @@
},
// 修改签证状态
AmendVisa
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
this
.
AmendVisafun
(
row
);
...
...
@@ -914,7 +914,7 @@
},
// 修改出票状态
modifyStatus
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
==
2
)
{
...
...
@@ -933,7 +933,7 @@
},
// 取消订单
cancelOrder
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
OrderStatus
!=
'2'
&&
row
.
IncomeFinance
.
length
==
0
&&
row
.
BackFinance
.
length
==
0
&&
row
...
...
@@ -972,7 +972,7 @@
},
// 编辑订单
editOrder
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
TicketStatus
==
1
&&
row
.
OrderStatus
==
1
)
{
...
...
@@ -985,7 +985,7 @@
},
// 编辑订单金额
editOrderAmount
(
row
)
{
if
(
this
.
userInfo
.
Em
Name
!=
row
.
EnterName
)
{
if
(
this
.
userInfo
.
Em
ployeeId
!=
row
.
EnterID
&&
this
.
userInfo
.
EmployeeId
!=
row
.
CreateBy
)
{
this
.
ValidateOperator
()
}
else
{
if
(
row
.
TicketStatus
==
1
&&
row
.
OrderStatus
==
1
)
{
...
...
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