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
11136b9b
Commit
11136b9b
authored
Mar 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
8989fc04
573cfe45
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
99 additions
and
20 deletions
+99
-20
OPRules.vue
src/components/FinancialModule/OPRules.vue
+3
-1
addFinancialDocuments2.vue
src/components/FinancialModule/addFinancialDocuments2.vue
+4
-1
addFinancialGZDocuments.vue
src/components/FinancialModule/addFinancialGZDocuments.vue
+4
-1
addReceivablesDocuments.vue
src/components/FinancialModule/addReceivablesDocuments.vue
+4
-1
addReceivablesDocuments2.vue
src/components/FinancialModule/addReceivablesDocuments2.vue
+4
-1
groupTourOrder.vue
src/components/SalesModule/groupTourOrder.vue
+29
-6
groupTourOrderByTuan.vue
src/components/SalesModule/groupTourOrderByTuan.vue
+13
-2
planeTourOrder.vue
src/components/SalesModule/planeTourOrder.vue
+19
-2
VisaProductEditOrder.vue
src/components/SalesVisa/VisaProductEditOrder.vue
+12
-2
CommissionManagement.vue
src/components/administrative/CommissionManagement.vue
+3
-3
index.js
src/plug/index.js
+4
-0
No files found.
src/components/FinancialModule/OPRules.vue
View file @
11136b9b
...
@@ -435,9 +435,11 @@
...
@@ -435,9 +435,11 @@
},
},
linkageDepartment
(
val
)
{
linkageDepartment
(
val
)
{
let
userInfo
=
this
.
getLocalStorage
()
let
ParentCompanyId
=
userInfo
.
ParentCompanyId
;
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
departmentMsg
.
RB_Branch_Id
=
this
.
form
.
BranchId
;
this
.
form
.
DepartmentId
=
-
1
;
this
.
form
.
DepartmentId
=
-
1
;
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
0
)
{
if
(
this
.
departmentMsg
.
RB_Branch_Id
==
ParentCompanyId
)
{
this
.
stateShow
=
false
;
this
.
stateShow
=
false
;
this
.
form
.
EmployeeIdList
=
[];
this
.
form
.
EmployeeIdList
=
[];
this
.
form
.
FZLEmployeeIdList
=
[];
this
.
form
.
FZLEmployeeIdList
=
[];
...
...
src/components/FinancialModule/addFinancialDocuments2.vue
View file @
11136b9b
...
@@ -1134,7 +1134,10 @@
...
@@ -1134,7 +1134,10 @@
this
.
msg
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
msg
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
msg
.
ClientType
=
this
.
msg
.
ClientType
==
0
?
''
:
this
.
msg
.
ClientType
;
this
.
msg
.
ClientType
=
this
.
msg
.
ClientType
==
0
?
''
:
this
.
msg
.
ClientType
;
this
.
msg
.
ClientID
=
this
.
msg
.
ClientID
==
0
?
''
:
this
.
msg
.
ClientID
;
this
.
msg
.
ClientID
=
this
.
msg
.
ClientID
==
0
?
''
:
this
.
msg
.
ClientID
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
let
userInfo
=
this
.
getLocalStorage
()
let
ParentCompanyId
=
userInfo
.
ParentCompanyId
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
||
this
.
msg
.
RB_Branch_Id
==
ParentCompanyId
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
$route
.
query
.
companyID
){
}
else
if
(
this
.
$route
.
query
.
companyID
){
...
...
src/components/FinancialModule/addFinancialGZDocuments.vue
View file @
11136b9b
...
@@ -1203,7 +1203,10 @@ export default {
...
@@ -1203,7 +1203,10 @@ export default {
data
.
IsLeader
=
1
;
data
.
IsLeader
=
1
;
this
.
msg
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
msg
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
this
.
msg
.
ClientType
=
this
.
msg
.
ClientType
==
0
?
''
:
this
.
msg
.
ClientType
;
this
.
msg
.
ClientType
=
this
.
msg
.
ClientType
==
0
?
''
:
this
.
msg
.
ClientType
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
let
userInfo
=
this
.
getLocalStorage
()
let
ParentCompanyId
=
userInfo
.
ParentCompanyId
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
||
this
.
msg
.
RB_Branch_Id
==
ParentCompanyId
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
$route
.
query
.
companyID
){
}
else
if
(
this
.
$route
.
query
.
companyID
){
...
...
src/components/FinancialModule/addReceivablesDocuments.vue
View file @
11136b9b
...
@@ -1359,7 +1359,10 @@ export default {
...
@@ -1359,7 +1359,10 @@ export default {
this
.
msg
.
BankList
.
push
(
obj
)
this
.
msg
.
BankList
.
push
(
obj
)
this
.
msg
.
detailList
=
[];
this
.
msg
.
detailList
=
[];
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
let
userInfo
=
this
.
getLocalStorage
()
let
ParentCompanyId
=
userInfo
.
ParentCompanyId
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
||
this
.
msg
.
RB_Branch_Id
==
ParentCompanyId
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
$route
.
query
.
companyID
){
}
else
if
(
this
.
$route
.
query
.
companyID
){
...
...
src/components/FinancialModule/addReceivablesDocuments2.vue
View file @
11136b9b
...
@@ -1247,7 +1247,10 @@
...
@@ -1247,7 +1247,10 @@
this
.
msg
.
BankList
.
push
(
obj
)
this
.
msg
.
BankList
.
push
(
obj
)
this
.
msg
.
detailList
=
[];
this
.
msg
.
detailList
=
[];
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
let
userInfo
=
this
.
getLocalStorage
()
let
ParentCompanyId
=
userInfo
.
ParentCompanyId
;
this
.
msg
.
RB_Branch_Id
=
this
.
msg
.
RB_Branch_Id
==
0
||
this
.
msg
.
RB_Branch_Id
==
ParentCompanyId
?
this
.
getLocalStorage
().
RB_Branch_id
:
this
.
msg
.
RB_Branch_Id
;
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
if
(
this
.
orderObj
&&
this
.
orderObj
.
companyIDList
&&
this
.
orderObj
.
companyIDList
.
length
>
0
)
{
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
this
.
msg
.
RB_Branch_Id
=
this
.
orderObj
.
companyIDList
[
0
];
}
else
if
(
this
.
$route
.
query
.
companyID
){
}
else
if
(
this
.
$route
.
query
.
companyID
){
...
...
src/components/SalesModule/groupTourOrder.vue
View file @
11136b9b
...
@@ -1805,12 +1805,12 @@
...
@@ -1805,12 +1805,12 @@
<span
v-else
>
{{$t('salesModule.LossReceipt')}}
</span>
<span
v-else
>
{{$t('salesModule.LossReceipt')}}
</span>
</div>
</div>
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
<div
v-if=
'(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0)'
<div
v-if=
'(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0)
&& F_InvoiceManagement
'
@
click=
'goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'
>
{{$t('salesModule.ApplyInvoice')}}
</div>
@
click=
'goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'
>
{{$t('salesModule.ApplyInvoice')}}
</div>
<div
<div
@
click=
'Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'
>
@
click=
'Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'
>
{{$t('pub.ApplyYH')}}
</div>
{{$t('pub.ApplyYH')}}
</div>
<div
<div
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
@
click=
'ShenQingPhoto(item)'
>
@
click=
'ShenQingPhoto(item)'
>
{{$t('salesModule.ApplyPhoto')}}
</div>
{{$t('salesModule.ApplyPhoto')}}
</div>
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0"
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0"
...
@@ -1828,8 +1828,8 @@
...
@@ -1828,8 +1828,8 @@
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
<payurlItem
v-if=
"item.commissionSharePeople !== userId
&&
item.airConfirm!=2"
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum>0"
<payurlItem
v-if=
"item.commissionSharePeople !== userId
&&
item.airConfirm!=2"
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum>0"
v-show=
"item.orderState!='4'&&item.orderState!='3'"
v-on:childByValue=
"childByValue"
></payurlItem>
v-show=
"item.orderState!='4'&&item.orderState!='3'
&& (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)
"
v-on:childByValue=
"childByValue"
></payurlItem>
</td>
</td>
</tr>
</tr>
<tr
style=
"height:20px"
>
<tr
style=
"height:20px"
>
...
@@ -1857,7 +1857,7 @@
...
@@ -1857,7 +1857,7 @@
</span>
</span>
</div>
</div>
<div
v-if=
"item.contractNum.length==0&&item.confirmFileList.length==0"
>
<div
v-if=
"item.contractNum.length==0&&item.confirmFileList.length==0
&&qjGroupId==userInfo.RB_Group_id
"
>
<span
class=
"GO_Contract"
@
click=
"goContract(item,{})"
>
{{$t('salesModule.GetContract')}}
</span>
<span
class=
"GO_Contract"
@
click=
"goContract(item,{})"
>
{{$t('salesModule.GetContract')}}
</span>
</div>
</div>
<div
v-else
>
<div
v-else
>
...
@@ -2362,7 +2362,11 @@
...
@@ -2362,7 +2362,11 @@
SQguestList
:
[],
SQguestList
:
[],
SQcheckdAll
:
true
,
SQcheckdAll
:
true
,
SQPhotoNum
:
''
,
SQPhotoNum
:
''
,
SQOrderId
:
''
SQOrderId
:
''
,
F_InvoiceManagement
:
false
,
//发票权限
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
userInfo
:{},
}
}
},
},
components
:
{
components
:
{
...
@@ -2390,6 +2394,22 @@
...
@@ -2390,6 +2394,22 @@
}
}
},
},
methods
:
{
methods
:
{
GetSupperOrderEditAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
F_InvoiceManagement
;
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
// 发票
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_InvoiceManagement
=
true
;
}
});
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
},
SpecialAppPost
(){
SpecialAppPost
(){
if
(
this
.
SpecialAppMsg
.
ApplyReason
===
''
)
{
if
(
this
.
SpecialAppMsg
.
ApplyReason
===
''
)
{
return
this
.
$message
.
error
(
'请填写申请说明'
)
return
this
.
$message
.
error
(
'请填写申请说明'
)
...
@@ -4258,8 +4278,10 @@
...
@@ -4258,8 +4278,10 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
GetEditOrderCreateByAuth
();
this
.
GetEditOrderCreateByAuth
();
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
let
userMenuCode
=
','
+
userInfo
.
ActionMenuCode
+
','
;
let
userMenuCode
=
','
+
userInfo
.
ActionMenuCode
+
','
;
this
.
TransferMission
=
userMenuCode
.
indexOf
(
',Sale_TurnGroup,'
)
!=
-
1
?
true
:
false
;
this
.
TransferMission
=
userMenuCode
.
indexOf
(
',Sale_TurnGroup,'
)
!=
-
1
?
true
:
false
;
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
...
@@ -4279,6 +4301,7 @@
...
@@ -4279,6 +4301,7 @@
this
.
getDdztList
()
this
.
getDdztList
()
this
.
getJyfs
()
this
.
getJyfs
()
this
.
getFylx
()
this
.
getFylx
()
this
.
GetSupperOrderEditAuth
();
},
},
...
...
src/components/SalesModule/groupTourOrderByTuan.vue
View file @
11136b9b
...
@@ -1924,7 +1924,7 @@
...
@@ -1924,7 +1924,7 @@
<div
v-if=
"item.orderState==2"
<div
v-if=
"item.orderState==2"
@
click=
'Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'
>
@
click=
'Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'
>
申请优惠
</div>
申请优惠
</div>
<div
@
click=
'ShenQingPhoto(item)'
>
<div
v-if=
"qjGroupId==userInfo.RB_Group_id || F_Finance_Create"
@
click=
'ShenQingPhoto(item)'
>
申请照片
</div>
申请照片
</div>
<div
<div
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3')&& item.isCanClear==0"
v-if=
"item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3')&& item.isCanClear==0"
...
@@ -1944,7 +1944,7 @@
...
@@ -1944,7 +1944,7 @@
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
<payurlItem
v-if=
'item.isOwn==1&&item.airConfirm!=2'
:item=
"item"
:showID=
"showID"
<payurlItem
v-if=
'item.isOwn==1&&item.airConfirm!=2'
:item=
"item"
:showID=
"showID"
:photoF=
"item.photoNum>0"
v-show=
"item.orderState!='4'&&item.orderState!='3'"
:photoF=
"item.photoNum>0"
v-show=
"item.orderState!='4'&&item.orderState!='3'
&& (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)
"
v-on:childByValue=
"childByValue"
></payurlItem>
v-on:childByValue=
"childByValue"
></payurlItem>
</td>
</td>
</tr>
</tr>
...
@@ -2567,6 +2567,9 @@
...
@@ -2567,6 +2567,9 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
userInfo
:{},
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单权限
IsSupperOrderEdit
:
false
,
//获取总经理副总经理超级修改权限
IsSupperOrderEdit
:
false
,
//获取总经理副总经理超级修改权限
IsLookOrder
:
false
,
//出纳查看订单权限
IsLookOrder
:
false
,
//出纳查看订单权限
//修改业务员权限,1-有
//修改业务员权限,1-有
...
@@ -5027,11 +5030,17 @@
...
@@ -5027,11 +5030,17 @@
// 获取总经理副总经理超级修改权限
// 获取总经理副总经理超级修改权限
GetSupperOrderEditAuth
()
{
GetSupperOrderEditAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
SupperOrderEdit
;
var
actionCode
=
this
.
$AuthCode
.
SupperOrderEdit
;
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
IsSupperOrderEdit
=
true
;
this
.
IsSupperOrderEdit
=
true
;
}
}
});
});
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
},
},
// 出纳查看订单权限
// 出纳查看订单权限
GetLookOrderAuth
()
{
GetLookOrderAuth
()
{
...
@@ -5044,10 +5053,12 @@
...
@@ -5044,10 +5053,12 @@
},
},
},
},
mounted
()
{
mounted
()
{
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
GetLookOrderAuth
();
this
.
GetLookOrderAuth
();
this
.
GetSupperOrderEditAuth
();
this
.
GetSupperOrderEditAuth
();
this
.
GetEditOrderCreateByAuth
();
this
.
GetEditOrderCreateByAuth
();
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
this
.
userInfo
=
this
.
getLocalStorage
();
let
userMenuCode
=
','
+
userInfo
.
ActionMenuCode
+
','
;
let
userMenuCode
=
','
+
userInfo
.
ActionMenuCode
+
','
;
this
.
TransferMission
=
userMenuCode
.
indexOf
(
',Sale_TurnGroup,'
)
!=
-
1
?
true
:
false
;
this
.
TransferMission
=
userMenuCode
.
indexOf
(
',Sale_TurnGroup,'
)
!=
-
1
?
true
:
false
;
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
;
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
;
...
...
src/components/SalesModule/planeTourOrder.vue
View file @
11136b9b
...
@@ -1306,7 +1306,7 @@
...
@@ -1306,7 +1306,7 @@
</el-popover>
</el-popover>
</el-tooltip>
</el-tooltip>
</el-button-group>
</el-button-group>
<payurlItem
v-if=
"item.commissionSharePeople !== userId"
:item=
"item"
:showID=
"showID"
v-show=
"item.orderState!='4'&&item.orderState!='3'&&!(item.tradeWay=='1'&&item.platformOrder=='')"
v-on:childByValue=
"childByValue"
></payurlItem>
<payurlItem
v-if=
"item.commissionSharePeople !== userId"
:item=
"item"
:showID=
"showID"
v-show=
"item.orderState!='4'&&item.orderState!='3'&&!(item.tradeWay=='1'&&item.platformOrder=='')
&& (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)
"
v-on:childByValue=
"childByValue"
></payurlItem>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -1401,6 +1401,9 @@ import payURL1 from "../commonPage/payURL1.vue";
...
@@ -1401,6 +1401,9 @@ import payURL1 from "../commonPage/payURL1.vue";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
userInfo
:{},
qjGroupId
:
-
1
,
F_Finance_Create
:
false
,
//制单
pickerOptions0
:
{
pickerOptions0
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
let
starTime
=
new
Date
(
this
.
starTime
);
let
starTime
=
new
Date
(
this
.
starTime
);
...
@@ -1608,7 +1611,7 @@ export default {
...
@@ -1608,7 +1611,7 @@ export default {
OldTCNUM
:
''
,
OldTCNUM
:
''
,
TCNUM
:
''
TCNUM
:
''
}
}
}
}
,
};
};
},
},
components
:
{
components
:
{
...
@@ -1630,6 +1633,15 @@ export default {
...
@@ -1630,6 +1633,15 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
GetSupperOrderEditAuth
()
{
var
actionCodeNew
=
this
.
$AuthCode
.
F_Finance_Create
;
// 制单权限
this
.
CheckUserAuth
(
actionCodeNew
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_Finance_Create
=
true
;
}
});
},
// 订单转团
// 订单转团
transfer
:
function
(
item
)
{
transfer
:
function
(
item
)
{
this
.
transferData
.
info
.
OrderId
=
item
.
orderId
this
.
transferData
.
info
.
OrderId
=
item
.
orderId
...
@@ -2585,11 +2597,15 @@ export default {
...
@@ -2585,11 +2597,15 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
qjGroupId
=
this
.
QjGroupId
();
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
;
this
.
userId
=
this
.
getLocalStorage
().
EmployeeId
;
if
(
this
.
$route
.
query
.
id
)
{
if
(
this
.
$route
.
query
.
id
)
{
this
.
msg
.
tempOrderId
=
this
.
$route
.
query
.
id
;
this
.
msg
.
tempOrderId
=
this
.
$route
.
query
.
id
;
}
}
this
.
msg
.
QStartDate
=
new
Date
().
Format
(
'yyyy-MM-dd'
);
this
.
msg
.
QStartDate
=
new
Date
().
Format
(
'yyyy-MM-dd'
);
this
.
GetSupperOrderEditAuth
();
this
.
getEmployee
();
this
.
getEmployee
();
this
.
getList
();
this
.
getList
();
this
.
getLineList
();
this
.
getLineList
();
...
@@ -2600,6 +2616,7 @@ export default {
...
@@ -2600,6 +2616,7 @@ export default {
this
.
getDdztList
();
this
.
getDdztList
();
this
.
getJyfs
();
this
.
getJyfs
();
this
.
getFylx
();
this
.
getFylx
();
}
}
};
};
</
script
>
</
script
>
...
...
src/components/SalesVisa/VisaProductEditOrder.vue
View file @
11136b9b
...
@@ -171,7 +171,7 @@
...
@@ -171,7 +171,7 @@
<el-button
v-show=
'item.visaManagementId>0'
type=
"primary"
style=
'background:#00a1f1; border-color:#00a1f1'
@
click=
'goUrlT(item)'
icon=
"iconfont icon-bumen"
></el-button>
<el-button
v-show=
'item.visaManagementId>0'
type=
"primary"
style=
'background:#00a1f1; border-color:#00a1f1'
@
click=
'goUrlT(item)'
icon=
"iconfont icon-bumen"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
effect=
"dark"
:content=
"$t('salesModule.ApplyInvoice')"
placement=
"top-start"
>
<el-tooltip
effect=
"dark"
:content=
"$t('salesModule.ApplyInvoice')"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#607D8B; border-color:#607D8B'
@
click=
'goUrlAdd("invoicesManagerAdd", item.id, item.visaId, item.CustomerId, 2)'
icon=
"iconfont icon-rizhi1"
></el-button>
<el-button
v-if=
"F_InvoiceManagement"
type=
"primary"
style=
'background:#607D8B; border-color:#607D8B'
@
click=
'goUrlAdd("invoicesManagerAdd", item.id, item.visaId, item.CustomerId, 2)'
icon=
"iconfont icon-rizhi1"
></el-button>
</el-tooltip>
</el-tooltip>
<el-tooltip
v-if=
"item.income
<
=
0
&&(
item
.
visaOrderStatus=
=1||item.visaOrderStatus==3)"
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
>
<el-tooltip
v-if=
"item.income
<
=
0
&&(
item
.
visaOrderStatus=
=1||item.visaOrderStatus==3)"
class=
"item"
effect=
"dark"
:content=
"$t('pub.cancelBtn')"
placement=
"top-start"
>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;'
icon=
"iconfont icon-xingzhuangkaobei"
@
click=
'cancelOrder(item)'
></el-button>
<el-button
type=
"primary"
style=
'background:#E95252; border-color:#E95252;'
icon=
"iconfont icon-xingzhuangkaobei"
@
click=
'cancelOrder(item)'
></el-button>
...
@@ -377,6 +377,7 @@
...
@@ -377,6 +377,7 @@
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
F_InvoiceManagement
:
false
,
// pickerOptions: {
// pickerOptions: {
// disabledDate: (time) => {
// disabledDate: (time) => {
// let endTime=new Date(this.SendStartDate)
// let endTime=new Date(this.SendStartDate)
...
@@ -439,6 +440,14 @@ export default {
...
@@ -439,6 +440,14 @@ export default {
currentPage
:
1
,
currentPage
:
1
,
}
}
},
methods
:{
},
methods
:{
GetSupperOrderEditAuth
()
{
var
actionCode
=
this
.
$AuthCode
.
F_InvoiceManagement
;
this
.
CheckUserAuth
(
actionCode
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
&&
res
.
data
.
data
==
1
)
{
this
.
F_InvoiceManagement
=
true
;
}
});
},
goUrlFinance
(
name
,
path
,
id
,
tcmun
)
{
goUrlFinance
(
name
,
path
,
id
,
tcmun
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
tcmun
:
tcmun
,
blank
:
'y'
,
tab
:
name
}
});
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
tcmun
:
tcmun
,
blank
:
'y'
,
tab
:
name
}
});
},
},
...
@@ -688,7 +697,8 @@ export default {
...
@@ -688,7 +697,8 @@ export default {
},
mounted
(){
},
mounted
(){
this
.
getList
()
this
.
getList
()
this
.
getChinaAirportList
()
this
.
getChinaAirportList
()
this
.
getJapanAirportList
()
this
.
getJapanAirportList
()
this
.
GetSupperOrderEditAuth
();
}
}
}
}
</
script
>
</
script
>
src/components/administrative/CommissionManagement.vue
View file @
11136b9b
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
v-loading=
"loading"
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<tr>
<th>
期数
</th>
<th>
期数
</th>
<th
v-if=
"userInfo.RB_Branch_id==0 || userInfo.RB_Branch_id==49"
>
提成总金额
</th>
<th
v-if=
"userInfo.RB_Branch_id==0 || userInfo.RB_Branch_id==49
|| userInfo.RB_Branch_id==userInfo.ParentCompanyId
"
>
提成总金额
</th>
<th>
{{
$t
(
'admin.admin_czPerson'
)
}}
</th>
<th>
{{
$t
(
'admin.admin_czPerson'
)
}}
</th>
<th>
所属公司提成
</th>
<th>
所属公司提成
</th>
<th>
财务单据
</th>
<th>
财务单据
</th>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
</tr>
</tr>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr
v-for=
"(item,index) in dataList"
:key=
"index"
>
<td>
{{
item
.
periods
}}
</td>
<td>
{{
item
.
periods
}}
</td>
<td
v-if=
"userInfo.RB_Branch_id==0 || userInfo.RB_Branch_id==49"
>
{{
item
.
sumPrice
.
toFixed
(
2
)
}}
</td>
<td
v-if=
"userInfo.RB_Branch_id==0 || userInfo.RB_Branch_id==49
|| userInfo.RB_Branch_id==userInfo.ParentCompanyId
"
>
{{
item
.
sumPrice
.
toFixed
(
2
)
}}
</td>
<td>
{{
item
.
createByStr
}}
</td>
<td>
{{
item
.
createByStr
}}
</td>
<td>
{{
item
.
branchMoney
.
toFixed
(
2
)
}}
</td>
<td>
{{
item
.
branchMoney
.
toFixed
(
2
)
}}
</td>
<td>
<td>
...
@@ -164,7 +164,7 @@
...
@@ -164,7 +164,7 @@
IsUploadPic
:
1
,
IsUploadPic
:
1
,
orderObj
:
JSON
.
stringify
(
obj
)
orderObj
:
JSON
.
stringify
(
obj
)
}
}
if
(
this
.
userInfo
.
RB_Branch_id
==
0
)
{
if
(
this
.
userInfo
.
RB_Branch_id
==
0
||
this
.
userInfo
.
RB_Branch_id
==
this
.
userInfo
.
ParentCompanyId
)
{
query
.
id
=
28
query
.
id
=
28
query
.
Name
=
"总部销售提成单"
query
.
Name
=
"总部销售提成单"
}
else
{
}
else
{
...
...
src/plug/index.js
View file @
11136b9b
...
@@ -12,6 +12,10 @@ export default {
...
@@ -12,6 +12,10 @@ export default {
install
(
Vue
,
options
)
{
install
(
Vue
,
options
)
{
Vue
.
prototype
.
MsgBus
=
MsgBus
;
Vue
.
prototype
.
MsgBus
=
MsgBus
;
Vue
.
prototype
.
md5
=
md5
;
Vue
.
prototype
.
md5
=
md5
;
Vue
.
prototype
.
QjGroupId
=
function
(
msg
)
{
let
GroupId
=
2
;
return
GroupId
;
},
Vue
.
prototype
.
orderBy
=
function
(
source
,
orders
,
type
)
{
Vue
.
prototype
.
orderBy
=
function
(
source
,
orders
,
type
)
{
if
(
if
(
source
instanceof
Array
&&
source
instanceof
Array
&&
...
...
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