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
b89876a1
Commit
b89876a1
authored
Sep 10, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
85ba8f46
225e1cf1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
97 additions
and
18 deletions
+97
-18
domesticCommission.vue
src/components/FinancialModule/domesticCommission.vue
+2
-2
TravelControlList.vue
...components/TravelManager/TravelList/TravelControlList.vue
+29
-12
lineManagement.vue
src/components/systemManagement/lineManagement.vue
+66
-4
No files found.
src/components/FinancialModule/domesticCommission.vue
View file @
b89876a1
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
},
},
YijianZD
(
item
)
{
YijianZD
(
item
)
{
let
Money
let
Money
if
(
this
.
msg
.
OutBranch
>
0
){
if
(
this
.
msg
.
OutBranch
Id
>
0
){
Money
=
item
.
BranchCommission
Money
=
item
.
BranchCommission
}
else
{
}
else
{
Money
=
item
.
SumPrice
Money
=
item
.
SumPrice
...
@@ -254,7 +254,7 @@
...
@@ -254,7 +254,7 @@
IsUploadPic
:
1
,
IsUploadPic
:
1
,
orderObj
:
JSON
.
stringify
(
obj
)
orderObj
:
JSON
.
stringify
(
obj
)
}
}
if
(
this
.
msg
.
OutBranch
>
0
){
if
(
this
.
msg
.
OutBranch
Id
>
0
){
query
.
id
=
30
query
.
id
=
30
query
.
Name
=
"分公司销售提成单"
query
.
Name
=
"分公司销售提成单"
}
else
{
}
else
{
...
...
src/components/TravelManager/TravelList/TravelControlList.vue
View file @
b89876a1
...
@@ -995,10 +995,11 @@
...
@@ -995,10 +995,11 @@
@
click
.
native=
"RemoveHotelJourneyOrder(item.TCID)"
>
@
click
.
native=
"RemoveHotelJourneyOrder(item.TCID)"
>
{{$t('op.HotelXJ')}}
{{$t('op.HotelXJ')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2)"
>
<!-- 结团 -->
<el-dropdown-item
v-if=
"item.Status==1"
@
click
.
native=
"OutGroup(item.TCID,2,item.TravelEndAudit)"
>
{{$t('Operation.Op_jietuan')}}
{{$t('Operation.Op_jietuan')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1)"
>
{{$t('visaT.sale')}}
<el-dropdown-item
v-if=
"item.Status==2"
@
click
.
native=
"OutGroup(item.TCID,1
,item.TravelEndAudit
)"
>
{{$t('visaT.sale')}}
</el-dropdown-item>
</el-dropdown-item>
<el-dropdown-item
v-if=
"item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
<el-dropdown-item
v-if=
"item.Status==2&&showSureOrder('P_Query_Income_ConfirmInfo',item.CreateBy)"
@
click
.
native=
"goSureOrder('priceIncomeConfirmInfo',item.TCID)"
>
{{$t('Operation.Op_shouruDan')}}
@
click
.
native=
"goSureOrder('priceIncomeConfirmInfo',item.TCID)"
>
{{$t('Operation.Op_shouruDan')}}
...
@@ -2200,21 +2201,37 @@
...
@@ -2200,21 +2201,37 @@
});
});
},
},
//结团/正常
//结团/正常
OutGroup
(
TCID
,
Status
)
{
OutGroup
(
TCID
,
Status
,
TravelEndAudit
)
{
let
msg
=
{
let
msg
=
{
TCID
:
TCID
,
TCID
:
TCID
,
Status
:
Status
Status
:
Status
};
};
if
(
TravelEndAudit
==
1
){
let
that
=
this
;
that
.
$confirm
(
'一旦审批,不能再进行再制单的操作?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
that
.
setPriceStatus
(
msg
)
}).
catch
(()
=>
{
});
}
else
{
this
.
setPriceStatus
(
msg
)
}
},
setPriceStatus
(
msg
){
this
.
apipost
(
"travel_post_SetPriceStatus"
,
msg
,
res
=>
{
this
.
apipost
(
"travel_post_SetPriceStatus"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
);
this
.
Success
(
res
.
data
.
message
);
this
.
getControlList
();
this
.
getControlList
();
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
checkDialogAll
=
false
;
this
.
queryCommonData
.
ckedplat
=
[];
this
.
queryCommonData
.
ckedplat
=
[];
}
else
{
}
else
{
this
.
Info
(
res
.
data
.
message
);
this
.
Info
(
res
.
data
.
message
);
}
}
});
});
},
},
//分房表下载
//分房表下载
exportExcel_singleRoom
(
item
)
{
exportExcel_singleRoom
(
item
)
{
...
...
src/components/systemManagement/lineManagement.vue
View file @
b89876a1
...
@@ -541,6 +541,29 @@
...
@@ -541,6 +541,29 @@
:inactive-value=
"isDefaultUnchecked"
></el-switch>
:inactive-value=
"isDefaultUnchecked"
></el-switch>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"2"
>
<el-form-item
label=
"结团审批"
>
<el-switch
v-model=
"addMsg.travelEndAudit"
:active-value=
"isDefaultChecked"
:inactive-value=
"isDefaultUnchecked"
></el-switch>
</el-form-item>
</el-col>
<el-col
:span=
"5"
v-if=
'addMsg.travelEndAudit==1'
>
<el-form-item
label=
"审批人员"
prop=
"auditEmpId"
>
<el-select
v-model=
"addMsg.auditEmpId"
filterable
placeholder=
"审批人员"
@
change=
"$forceUpdate()"
>
<el-option
v-for=
"item in searchList"
:label=
"item.name"
:value=
"item.empId"
:key=
"item.empId"
></el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-form-item
:label=
"$t('Operation.Op_LineDirection')"
prop=
"LineDirection"
>
<el-form-item
:label=
"$t('Operation.Op_LineDirection')"
prop=
"LineDirection"
>
<el-select
v-model=
"addMsg.LineDirection"
:placeholder=
"$t('pub.pleaseSel')"
>
<el-select
v-model=
"addMsg.LineDirection"
:placeholder=
"$t('pub.pleaseSel')"
>
...
@@ -750,6 +773,8 @@
...
@@ -750,6 +773,8 @@
RebateMoney
:
0
,
//人头返佣
RebateMoney
:
0
,
//人头返佣
TripFeatureTopBg
:
""
,
//行程特色顶部图片
TripFeatureTopBg
:
""
,
//行程特色顶部图片
TripFeatureBottomBg
:
""
,
//行程特色顶部图片
TripFeatureBottomBg
:
""
,
//行程特色顶部图片
travelEndAudit
:
0
,
//结团审批
auditEmpId
:
''
,
//审批人
},
},
departCompany
:
""
,
departCompany
:
""
,
departDepartment
:
""
,
departDepartment
:
""
,
...
@@ -799,8 +824,15 @@
...
@@ -799,8 +824,15 @@
required
:
true
,
required
:
true
,
message
:
this
.
$t
(
'op.qingxzxlfx'
),
message
:
this
.
$t
(
'op.qingxzxlfx'
),
trigger
:
"change"
trigger
:
"change"
}]
}],
}
auditEmpId
:
[{
required
:
true
,
message
:
'审批人员不能为空'
,
trigger
:
"blur"
}],
},
searchList
:[]
};
};
},
},
methods
:
{
methods
:
{
...
@@ -923,6 +955,14 @@
...
@@ -923,6 +955,14 @@
};
};
this
.
addMsg
.
lineCountryList
.
push
(
countryObj
);
this
.
addMsg
.
lineCountryList
.
push
(
countryObj
);
});
});
if
(
this
.
addMsg
.
travelEndAudit
==
1
){
//结团审核等于1 的时候 审批人员不能为空
if
(
this
.
addMsg
.
auditEmpId
==
''
){
this
.
Error
(
'请选择结团审批人'
);
return
;
}
}
else
{
this
.
addMsg
.
auditEmpId
=
0
}
this
.
apipost
(
this
.
apipost
(
"line_post_Set"
,
"line_post_Set"
,
this
.
addMsg
,
this
.
addMsg
,
...
@@ -965,6 +1005,8 @@
...
@@ -965,6 +1005,8 @@
this
.
addMsg
.
RebateMoney
=
getInfo
.
rebateMoney
;
this
.
addMsg
.
RebateMoney
=
getInfo
.
rebateMoney
;
this
.
addMsg
.
TripFeatureTopBg
=
getInfo
.
tripFeatureTopBg
;
this
.
addMsg
.
TripFeatureTopBg
=
getInfo
.
tripFeatureTopBg
;
this
.
addMsg
.
TripFeatureBottomBg
=
getInfo
.
tripFeatureBottomBg
;
this
.
addMsg
.
TripFeatureBottomBg
=
getInfo
.
tripFeatureBottomBg
;
this
.
addMsg
.
travelEndAudit
=
getInfo
.
travelEndAudit
;
this
.
addMsg
.
auditEmpId
=
getInfo
.
auditEmpId
==
0
?
''
:
getInfo
.
auditEmpId
;
},
},
deletelist
(
lineID
)
{
deletelist
(
lineID
)
{
var
that
=
this
;
var
that
=
this
;
...
@@ -1309,11 +1351,30 @@
...
@@ -1309,11 +1351,30 @@
x
.
showOpSet
=
true
;
x
.
showOpSet
=
true
;
}
}
});
});
}
},
getEmployee
()
{
//所有人员下拉
let
employeeMsg
=
{
RB_Group_id
:
"0"
,
RB_Branch_id
:
"-1"
,
departmentId
:
"0"
,
IsLeave
:
"-1"
}
this
.
apipost
(
"app_get_company_employee"
,
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
searchList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
},
},
mounted
()
{
mounted
()
{
this
.
getList
();
this
.
getList
();
this
.
getCountry
();
this
.
getCountry
();
this
.
getEmployee
()
},
},
filters
:
{
filters
:
{
getJoinDepName
:
function
(
depList
)
{
getJoinDepName
:
function
(
depList
)
{
...
@@ -1337,7 +1398,8 @@
...
@@ -1337,7 +1398,8 @@
returnStr
=
depName
.
join
(
","
);
returnStr
=
depName
.
join
(
","
);
}
}
return
returnStr
;
return
returnStr
;
}
},
}
}
};
};
...
...
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