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
0d516899
Commit
0d516899
authored
May 17, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save
parent
fc9bcd9c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
64 additions
and
20 deletions
+64
-20
productOrderList.vue
src/components/SalesModule/Common/productOrderList.vue
+64
-20
No files found.
src/components/SalesModule/Common/productOrderList.vue
View file @
0d516899
<
style
>
<
style
>
@import
"../../../assets/css/newTravelManager.css"
;
@import
"../../../assets/css/newTravelManager.css"
;
.people-item
{
margin-top
:
5px
;
font-size
:
14px
;
}
.people-item-title
{
font-size
:
12px
;
color
:
#666
;
margin-right
:
4px
;
}
.productQueryList
{
.productQueryList
{
width
:
100%
;
width
:
100%
;
min-width
:
1366px
;
min-width
:
1366px
;
...
@@ -532,8 +540,29 @@
...
@@ -532,8 +540,29 @@
}}{{
$t
(
"salesModule.PeoPle"
)
}}
)
}}{{
$t
(
"salesModule.PeoPle"
)
}}
)
</p>
</p>
</div>
</div>
<div
class=
"d5"
>
联运人数:
{{
item
.
IntermodalCount
}}
<div
class=
"d5"
>
<div>
签证人数:
{{
item
.
VisaNum
==-
1
?
item
.
NeedVisaNum
:
item
.
VisaNum
}}
</div></div>
<span
style=
"font-size: 12px"
><span
class=
"people-item-title"
>
联运人数:
</span>
{{
item
.
IntermodalCount
}}
</span>
<div
class=
"people-item"
>
<span
class=
"people-item-title"
>
签证人数:
</span>
{{
item
.
VisaNum
==
-
1
?
item
.
NeedVisaNum
:
item
.
VisaNum
}}
</div>
<div
class=
"people-item"
v-if=
"!isVisa"
>
<span
class=
"people-item-title"
>
团OP:
</span>
{{
item
.
OpName
}}
</div>
<div
class=
"people-item"
v-if=
"!isVisa"
>
<span
class=
"people-item-title"
>
助手:
</span>
{{
item
.
AssistantList
&&
item
.
AssistantList
.
map
(
item
=>
item
.
Name
).
join
(
','
)
}}
</div>
<div
class=
"people-item"
>
<span
class=
"people-item-title"
>
签证OP:
</span>
{{
item
.
VisaOPName
}}
</div>
<div
class=
"people-item"
>
<span
class=
"people-item-title"
>
签证助手:
</span>
{{
item
.
VisaAssistantList
&&
item
.
VisaAssistantList
.
map
(
item
=>
item
.
Name
).
join
(
','
)
}}
</div>
</div>
<div
class=
"d5"
>
出团公司:
{{
item
.
OutBranchName
}}
</div>
<div
class=
"d5"
>
出团公司:
{{
item
.
OutBranchName
}}
</div>
<div>
<div>
<div
class=
"flex-center"
>
<div
class=
"flex-center"
>
...
@@ -548,7 +577,12 @@
...
@@ -548,7 +577,12 @@
<div
class=
"noData"
v-else
>
<div
class=
"noData"
v-else
>
{{
$t
(
"system.content_noData"
)
}}
{{
$t
(
"system.content_noData"
)
}}
</div>
</div>
<el-dialog
title=
"编辑"
:visible
.
sync=
"showDialog"
width=
"600px"
height=
"40%"
>
<el-dialog
title=
"编辑"
:visible
.
sync=
"showDialog"
width=
"600px"
height=
"40%"
>
<div
v-if=
"!isVisa"
>
<div
v-if=
"!isVisa"
>
<span
style=
"width: 15%; display: inline-block"
>
团OP
</span>
<span
style=
"width: 15%; display: inline-block"
>
团OP
</span>
<el-select
<el-select
...
@@ -587,6 +621,7 @@
...
@@ -587,6 +621,7 @@
<div
style=
"margin-top: 10px"
>
<div
style=
"margin-top: 10px"
>
<span
style=
"width: 15%; display: inline-block"
>
签证OP
</span>
<span
style=
"width: 15%; display: inline-block"
>
签证OP
</span>
<el-select
<el-select
filterable
style=
"width: 80%"
style=
"width: 80%"
v-model=
"queryData.VisaOPId"
v-model=
"queryData.VisaOPId"
:placeholder=
"$t('pub.pleaseSel')"
:placeholder=
"$t('pub.pleaseSel')"
...
@@ -628,7 +663,9 @@
...
@@ -628,7 +663,9 @@
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"showDialog = false"
>
取 消
</el-button>
<el-button
@
click=
"showDialog = false"
>
取 消
</el-button>
<el-button
style=
"margin-right: 24px"
type=
"primary"
@
click=
"submitOP"
>
确 定
</el-button>
<el-button
style=
"margin-right: 24px"
type=
"primary"
@
click=
"submitOP"
>
确 定
</el-button
>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -739,12 +776,12 @@ export default {
...
@@ -739,12 +776,12 @@ export default {
params
.
AssistantId
=
this
.
queryData
.
AssistantId
.
join
(
","
);
params
.
AssistantId
=
this
.
queryData
.
AssistantId
.
join
(
","
);
}
}
}
}
if
(
!
this
.
queryData
.
VisaOPId
)
{
if
(
!
this
.
queryData
.
VisaOPId
)
{
this
.
$message
.
error
(
"请选择签证OP"
);
this
.
$message
.
error
(
"请选择签证OP"
);
return
;
return
;
}
else
{
}
else
{
params
.
VisaOPId
=
this
.
queryData
.
VisaOPId
;
params
.
VisaOPId
=
this
.
queryData
.
VisaOPId
;
}
}
if
(
if
(
!
this
.
queryData
.
VisaAssistantId
||
!
this
.
queryData
.
VisaAssistantId
||
!
this
.
queryData
.
VisaAssistantId
.
length
!
this
.
queryData
.
VisaAssistantId
.
length
...
@@ -758,8 +795,8 @@ export default {
...
@@ -758,8 +795,8 @@ export default {
if
(
!
this
.
queryData
.
VisaNum
)
{
if
(
!
this
.
queryData
.
VisaNum
)
{
this
.
$message
.
error
(
"请填写签证人数"
);
this
.
$message
.
error
(
"请填写签证人数"
);
return
;
return
;
}
else
if
(
this
.
queryData
.
VisaNum
>
this
.
editObj
.
NeedVisaNum
)
{
}
else
if
(
this
.
queryData
.
VisaNum
>
this
.
editObj
.
NeedVisaNum
)
{
this
.
$message
.
error
(
"签证人数最多"
+
this
.
editObj
.
NeedVisaNum
+
'人'
);
this
.
$message
.
error
(
"签证人数最多"
+
this
.
editObj
.
NeedVisaNum
+
"人"
);
return
;
return
;
}
else
{
}
else
{
params
.
VisaNum
=
this
.
queryData
.
VisaNum
;
params
.
VisaNum
=
this
.
queryData
.
VisaNum
;
...
@@ -780,14 +817,20 @@ export default {
...
@@ -780,14 +817,20 @@ export default {
},
},
editItem
(
item
)
{
editItem
(
item
)
{
this
.
TCIDs
=
item
.
TCID
;
this
.
TCIDs
=
item
.
TCID
;
this
.
editObj
=
item
this
.
editObj
=
item
;
console
.
log
(
"editItem"
,
item
);
console
.
log
(
"editItem"
,
item
);
this
.
queryData
=
{
this
.
queryData
=
{
OPId
:
item
.
OPId
||
""
,
OPId
:
item
.
OPId
||
""
,
AssistantId
:(
!
item
.
AssistantId
||
item
.
AssistantId
==
'0'
)
?[]:
item
.
AssistantId
.
split
(
','
).
map
(
item
=>
Number
(
item
)),
AssistantId
:
VisaOPId
:
item
.
VisaOPId
||
""
,
!
item
.
AssistantId
||
item
.
AssistantId
==
"0"
VisaAssistantId
:(
!
item
.
VisaAssistantId
||
item
.
VisaAssistantId
==
'0'
)
?[]:
item
.
VisaAssistantId
.
split
(
','
).
map
(
item
=>
Number
(
item
)),
?
[]
VisaNum
:
item
.
VisaNum
==-
1
?
item
.
NeedVisaNum
:
item
.
VisaNum
:
item
.
AssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
)),
VisaOPId
:
item
.
VisaOPId
||
""
,
VisaAssistantId
:
!
item
.
VisaAssistantId
||
item
.
VisaAssistantId
==
"0"
?
[]
:
item
.
VisaAssistantId
.
split
(
","
).
map
((
item
)
=>
Number
(
item
)),
VisaNum
:
item
.
VisaNum
==
-
1
?
item
.
NeedVisaNum
:
item
.
VisaNum
,
};
};
this
.
editNum
=
true
;
this
.
editNum
=
true
;
this
.
showDialog
=
true
;
this
.
showDialog
=
true
;
...
@@ -812,7 +855,8 @@ VisaNum: item.VisaNum==-1 ? item.NeedVisaNum : item.VisaNum
...
@@ -812,7 +855,8 @@ VisaNum: item.VisaNum==-1 ? item.NeedVisaNum : item.VisaNum
//根据当前员工所在部门获取该部门及子部门员工信息
//根据当前员工所在部门获取该部门及子部门员工信息
getEmployeeList
()
{
getEmployeeList
()
{
this
.
apipost
(
this
.
apipost
(
"admin_get_EmployeeGetList"
,
{},
"admin_get_EmployeeGetList"
,
{},
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
this
.
EmployeeList
=
res
.
data
.
data
;
...
...
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