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
ed60a285
Commit
ed60a285
authored
May 17, 2023
by
沈良进
Browse files
Options
Browse Files
Download
Plain Diff
save
parents
0d516899
01743653
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
52 additions
and
26 deletions
+52
-26
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+10
-15
OPCommissionDetail.vue
...nents/FinancialModule/OpCommission/OPCommissionDetail.vue
+2
-2
OpComPersonDetails.vue
...nents/FinancialModule/OpCommission/OpComPersonDetails.vue
+1
-2
productQuery.vue
src/components/SalesModule/productQuery.vue
+2
-2
TeamBalancePayment.vue
...omponents/TravelManager/TravelList/TeamBalancePayment.vue
+2
-4
index.js
src/plug/index.js
+35
-1
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
ed60a285
...
@@ -1308,6 +1308,7 @@ import myGZBill from "./FinancialSubmodule/GZBillModule.vue";
...
@@ -1308,6 +1308,7 @@ import myGZBill from "./FinancialSubmodule/GZBillModule.vue";
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
isTerminate
:
-
1
,
hbMsg
:
{
hbMsg
:
{
FrIDList
:
[],
FrIDList
:
[],
Type
:
1
Type
:
1
...
@@ -1501,6 +1502,7 @@ export default {
...
@@ -1501,6 +1502,7 @@ export default {
};
};
},
},
created
()
{
created
()
{
this
.
isTerminate
=
-
1
let
userinfo
=
this
.
getLocalStorage
();
let
userinfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userinfo
.
ActionMenuCode
;
let
ActionMenuCode
=
userinfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
"F_AccountantFinanceMerge"
)
!=
-
1
)
{
if
(
ActionMenuCode
.
indexOf
(
"F_AccountantFinanceMerge"
)
!=
-
1
)
{
...
@@ -2110,17 +2112,6 @@ export default {
...
@@ -2110,17 +2112,6 @@ export default {
},
},
// 切换table栏
// 切换table栏
getActive
(
active
,
Conditon
,
BOSSBtn
){
getActive
(
active
,
Conditon
,
BOSSBtn
){
// if(this.loading==true){
// this.Error("当前正在请求,请稍后片刻切换!");
// return
// }else{
// this.active = active
// this.msg.Conditon = Conditon
// if(BOSSBtn){
// this.BOSSBtn = false
// }
// this.getPageList(0,1)
// }
this
.
active
=
active
this
.
active
=
active
this
.
msg
.
Conditon
=
Conditon
this
.
msg
.
Conditon
=
Conditon
if
(
BOSSBtn
){
if
(
BOSSBtn
){
...
@@ -2129,6 +2120,7 @@ export default {
...
@@ -2129,6 +2120,7 @@ export default {
this
.
getPageList
(
0
,
1
)
this
.
getPageList
(
0
,
1
)
},
},
getPageList
(
t
,
active
)
{
getPageList
(
t
,
active
)
{
this
.
isTerminate
++
// 获取列表数据
// 获取列表数据
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
checkAllList
=
[];
this
.
checkAllList
=
[];
...
@@ -2169,6 +2161,9 @@ export default {
...
@@ -2169,6 +2161,9 @@ export default {
"Financial_post_GetPageList"
,
"Financial_post_GetPageList"
,
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
if
(
this
.
msg
.
Conditon
==
7
)
{
this
.
getMyRejectFinanceCount
();
}
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
data
=
[];
let
data
=
[];
if
(
t
==
1
&&
this
.
BOSSBtn
&&
this
.
msg
.
Conditon
==
3
)
{
if
(
t
==
1
&&
this
.
BOSSBtn
&&
this
.
msg
.
Conditon
==
3
)
{
...
@@ -2202,11 +2197,11 @@ export default {
...
@@ -2202,11 +2197,11 @@ export default {
}
}
// this.queryInfoInit();
// this.queryInfoInit();
},
},
err
=>
{}
err
=>
{},
''
,
this
.
isTerminate
,
);
);
if
(
this
.
msg
.
Conditon
==
7
)
{
this
.
getMyRejectFinanceCount
();
}
},
},
financeRemove
(
id
)
{
financeRemove
(
id
)
{
//作废
//作废
...
...
src/components/FinancialModule/OpCommission/OPCommissionDetail.vue
View file @
ed60a285
...
@@ -375,7 +375,7 @@
...
@@ -375,7 +375,7 @@
path
:
path
,
path
:
path
,
query
:
{
query
:
{
PeriodId
:
this
.
$route
.
query
.
PeriodId
,
PeriodId
:
this
.
$route
.
query
.
PeriodId
,
OutBranchId
:
item
.
RB_Branch_Id
,
//
OutBranchId: item.RB_Branch_Id,
UserId
:
item
.
EmployeeId
,
UserId
:
item
.
EmployeeId
,
blank
:
'y'
,
blank
:
'y'
,
tab
:
'同业提现详情'
tab
:
'同业提现详情'
...
@@ -405,7 +405,7 @@
...
@@ -405,7 +405,7 @@
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
msg
.
EmployeeIdUser
=
userInfo
.
EmployeeId
msg
.
EmployeeIdUser
=
userInfo
.
EmployeeId
var
fileName
=
"OP提成分组表.xls"
;
var
fileName
=
"OP提成分组表.xls"
;
this
.
GetLocalFile
(
"opcommission_GetNewOPCommissionEmpListToExcel"
,
this
.
msg
,
fileName
);
this
.
GetLocalFile
(
"opcommission_GetNewOPCommissionEmpListToExcel"
,
msg
,
fileName
);
}
}
}
}
...
...
src/components/FinancialModule/OpCommission/OpComPersonDetails.vue
View file @
ed60a285
...
@@ -113,7 +113,6 @@
...
@@ -113,7 +113,6 @@
<em>
提成方式
</em>
<em>
提成方式
</em>
<el-select
v-model=
"msg.Way"
class=
"w200 HworkInput"
<el-select
v-model=
"msg.Way"
class=
"w200 HworkInput"
@
change=
"handleCurrentChange(1)"
>
@
change=
"handleCurrentChange(1)"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in WayTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
<el-option
v-for=
"item in WayTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
</el-select>
</li>
</li>
...
@@ -181,7 +180,7 @@
...
@@ -181,7 +180,7 @@
<td
style=
"width: 100px;"
>
{{
item
.
PeopleCount
?
item
.
PeopleCount
:
'-'
}}
</td>
<td
style=
"width: 100px;"
>
{{
item
.
PeopleCount
?
item
.
PeopleCount
:
'-'
}}
</td>
<td>
{{
item
.
TCProfit
?
item
.
TCProfit
:
'-'
}}
</td>
<td>
{{
item
.
TCProfit
?
item
.
TCProfit
:
'-'
}}
</td>
<td>
{{
item
.
Way
==
1
?
'人头奖励'
:
'利润比例'
}}
</td>
<td>
{{
item
.
Way
==
1
?
'人头奖励'
:
'利润比例'
}}
</td>
<td>
{{
item
.
Rate
&&
item
.
Way
==
2
?
item
.
Rate
+
'%'
:
item
.
Rate
&&
item
.
Way
==
1
?
item
.
Rate
+
''
:
'-'
}}
</td>
<td>
{{
item
.
Rate
&&
item
.
Way
==
2
?
item
.
Rate
+
'%'
:
item
.
Rate
&&
item
.
Way
==
1
?
item
.
Rate
+
'
/人
'
:
'-'
}}
</td>
<td>
{{
item
.
CommissionMoney
?
item
.
CommissionMoney
:
'-'
}}
</td>
<td>
{{
item
.
CommissionMoney
?
item
.
CommissionMoney
:
'-'
}}
</td>
<td>
{{
item
.
PeriodsReissue
}}
</td>
<td>
{{
item
.
PeriodsReissue
}}
</td>
<td>
{{
item
.
Description
?
item
.
Description
:
'-'
}}
</td>
<td>
{{
item
.
Description
?
item
.
Description
:
'-'
}}
</td>
...
...
src/components/SalesModule/productQuery.vue
View file @
ed60a285
...
@@ -1919,7 +1919,7 @@
...
@@ -1919,7 +1919,7 @@
>
客户名称:{{ item.CustomerName }}
>
客户名称:{{ item.CustomerName }}
</span>
</span>
</p>
</p>
<p
v-if=
"item.PriceOfferUrl && item.PriceOfferUrl != ''"
>
<
!-- <
p v-if="item.PriceOfferUrl && item.PriceOfferUrl != ''">
<a
<a
style="color: blue"
style="color: blue"
:href="item.PriceOfferUrl"
:href="item.PriceOfferUrl"
...
@@ -1927,7 +1927,7 @@
...
@@ -1927,7 +1927,7 @@
target="_blank"
target="_blank"
>下载报价单</a
>下载报价单</a
>
>
</p>
</p>
-->
</div>
</div>
</div>
</div>
<div
class=
"d2"
>
<div
class=
"d2"
>
...
...
src/components/TravelManager/TravelList/TeamBalancePayment.vue
View file @
ed60a285
...
@@ -2436,10 +2436,8 @@
...
@@ -2436,10 +2436,8 @@
}
}
let
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
let
ActionMenuCode
=
userInfo
.
ActionMenuCode
;
if
(
ActionMenuCode
.
indexOf
(
'S_CheckBranchOrder'
)
!=
-
1
// 查看团队收支明细权限
||
ActionMenuCode
.
indexOf
(
'S_CheckAllOrder'
)
!=
-
1
if
(
ActionMenuCode
.
indexOf
(
'isIncomeExpenditure'
)
!=
-
1
){
||
ActionMenuCode
.
indexOf
(
'F_Query_SelfBranch'
)
!=
-
1
||
ActionMenuCode
.
indexOf
(
'F_Query_AllIncomPay'
)
!=
-
1
){
this
.
isIncomeExpenditure
=
true
this
.
isIncomeExpenditure
=
true
}
}
this
.
checkHasAuth
();
this
.
checkHasAuth
();
...
...
src/plug/index.js
View file @
ed60a285
...
@@ -4,6 +4,7 @@ import co from 'co'
...
@@ -4,6 +4,7 @@ import co from 'co'
import
OSS
from
'ali-oss'
import
OSS
from
'ali-oss'
import
MsgBus
from
'../assets/utils/msgBus'
import
MsgBus
from
'../assets/utils/msgBus'
import
routerConfig
from
'../router/config'
;
import
routerConfig
from
'../router/config'
;
import
axios
from
'axios'
export
default
{
export
default
{
data
:
{
data
:
{
loginUser
:
{},
loginUser
:
{},
...
@@ -119,8 +120,13 @@ export default {
...
@@ -119,8 +120,13 @@ export default {
let
crmUrl
=
""
;
//crm API
let
crmUrl
=
""
;
//crm API
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
// domainUrl = "http://192.168.10.128";
// domainUrl = "http://192.168.10.128";
<<<<<<<
HEAD
// domainUrl = "http://192.168.10.9:8083" // 刘东电脑
// domainUrl = "http://192.168.10.9:8083" // 刘东电脑
domainUrl
=
"http://192.168.10.226:8015"
;
domainUrl
=
"http://192.168.10.226:8015"
;
=======
domainUrl
=
"http://192.168.10.9:8083"
// 刘东电脑
// domainUrl = "http://192.168.10.226:8015";
>>>>>>>
0174365330048
ea2c9cbfd58a13172ca717c4acf
// domainUrl = "http://reborn.oytour.com";
// domainUrl = "http://reborn.oytour.com";
let
crmLocalFileStreamDownLoadUrl
=
""
;
let
crmLocalFileStreamDownLoadUrl
=
""
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
crmLocalFileStreamDownLoadUrl
=
locationName
.
indexOf
(
'oytour'
)
!==
-
1
?
"http://crm.oytour.com"
:
"http://testcrm.oytour.com"
;
...
@@ -252,7 +258,7 @@ export default {
...
@@ -252,7 +258,7 @@ export default {
}
}
//HTTP提交数据
//HTTP提交数据
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
,
isTerminate
)
{
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
if
(
this
.
$route
.
name
.
indexOf
(
'login'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'clientConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'confirmationOrderDownLoad'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'PrintPage'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'TravelContractConfirm'
)
===
-
1
&&
this
.
$route
.
name
.
indexOf
(
'ViittoContractConfirm'
)
===
-
1
&&
...
@@ -334,6 +340,31 @@ export default {
...
@@ -334,6 +340,31 @@ export default {
"sign"
:
md5Str
,
"sign"
:
md5Str
,
"languageId"
:
tempLanguage
"languageId"
:
tempLanguage
}
}
let
pending
=
[];
//声明一个数组用于存储每个请求的取消函数和axios标识
let
cancelToken
=
axios
.
CancelToken
;
let
removePending
=
(
config
)
=>
{
for
(
let
p
in
pending
){
if
(
pending
[
p
].
u
===
config
.
url
+
'&'
+
config
.
method
)
{
//当当前请求在数组中存在时执行函数体
pending
[
p
].
f
();
//执行取消操作
pending
.
splice
(
p
,
1
);
}
}
}
// 我的财务单防止多次请求导致数据混乱
if
(
isTerminate
>
0
){
this
.
$http
.
interceptors
.
request
.
use
(
config
=>
{
removePending
(
config
);
//在一个axios发送前执行一下取消操作
config
.
cancelToken
=
new
cancelToken
((
c
)
=>
{
// 这里的axios标识我是用请求地址&请求方式拼接的字符串,当然你可以选择其他的一些方式
pending
.
push
({
u
:
config
.
url
+
'&'
+
config
.
method
,
f
:
c
});
});
return
Promise
.
resolve
(
config
)
},
error
=>
{
return
Promise
.
reject
(
error
)
})
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
this
.
$http
.
post
(
apiurl
,
postData
,
{
headers
:
{
headers
:
{
'Content-Type'
:
'application/json'
,
'Content-Type'
:
'application/json'
,
...
@@ -351,6 +382,9 @@ export default {
...
@@ -351,6 +382,9 @@ export default {
successCall
(
res
);
successCall
(
res
);
}
}
},
faildCall
)
},
faildCall
)
},
},
// CRM接口
// CRM接口
Vue
.
prototype
.
crmapipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
Vue
.
prototype
.
crmapipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
...
...
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