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
c61b01ec
Commit
c61b01ec
authored
Nov 13, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/superman
parents
f3545e50
6b477d65
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
511 additions
and
111 deletions
+511
-111
zh.js
src/assets/common/lang/zh.js
+3
-0
BasicDocuments.vue
src/components/FinancialModule/BasicDocuments.vue
+2
-0
BillModule.vue
...ponents/FinancialModule/FinancialSubmodule/BillModule.vue
+9
-0
addFinancialDocuments.vue
src/components/FinancialModule/addFinancialDocuments.vue
+1
-1
AlipayManagementDetail.vue
src/components/LeaderManagement/AlipayManagementDetail.vue
+366
-92
leaderReimbursement.vue
src/components/LeaderManagement/leaderReimbursement.vue
+11
-12
companyalipay.vue
src/components/commonPage/companyalipay.vue
+112
-4
leaderPay2.vue
src/components/leaderPay2.vue
+7
-2
No files found.
src/assets/common/lang/zh.js
View file @
c61b01ec
...
@@ -1090,6 +1090,9 @@ export const fnc = {
...
@@ -1090,6 +1090,9 @@ export const fnc = {
qqdizhi
:
'请求地址'
,
qqdizhi
:
'请求地址'
,
zfxinxi
:
'支付信息'
,
zfxinxi
:
'支付信息'
,
shsiyao
:
'商户私钥'
,
shsiyao
:
'商户私钥'
,
tbshxx
:
'同步商户信息'
,
djfjs
:
'地接费结算'
,
shxx
:
'商户信息'
,
ptgongyao
:
'平台公钥'
,
ptgongyao
:
'平台公钥'
,
banbenhao
:
'版本号'
,
banbenhao
:
'版本号'
,
shoukuandan
:
'收款单'
,
shoukuandan
:
'收款单'
,
...
...
src/components/FinancialModule/BasicDocuments.vue
View file @
c61b01ec
...
@@ -814,6 +814,7 @@
...
@@ -814,6 +814,7 @@
@
click=
"goUrlApplication('Application',GetDetail.FrID)"
>
@
click=
"goUrlApplication('Application',GetDetail.FrID)"
>
<span
v-show=
"huijiShow"
@
click=
"goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)"
<span
v-show=
"huijiShow"
@
click=
"goPrintPageNew(GetDetail.Type,GetDetail.FrID,GetDetail.Is_Merge,OrderSource)"
style=
"color: #3980C8;font-size:12px;text-align:right;cursor: pointer;width:830px;margin-bottom:20px"
>
{{
$t
(
'objFill.pzdy'
)
}}
</span>
style=
"color: #3980C8;font-size:12px;text-align:right;cursor: pointer;width:830px;margin-bottom:20px"
>
{{
$t
(
'objFill.pzdy'
)
}}
</span>
<span
v-if=
"GetDetail.FApplyForNumber&&GetDetail.FApplyForNumber!=''"
>
{{
$t
(
'objFill.sqs'
)
}}{{
GetDetail
.
FApplyForNumber
}}{{
$t
(
'objFill.xz'
)
}}
</span>
<span
v-if=
"GetDetail.FApplyForNumber&&GetDetail.FApplyForNumber!=''"
>
{{
$t
(
'objFill.sqs'
)
}}{{
GetDetail
.
FApplyForNumber
}}{{
$t
(
'objFill.xz'
)
}}
</span>
<span
v-else
>
{{
$t
(
'objFill.weitijiaosqs'
)
}}
</span>
<span
v-else
>
{{
$t
(
'objFill.weitijiaosqs'
)
}}
</span>
</div>
</div>
...
@@ -821,6 +822,7 @@
...
@@ -821,6 +822,7 @@
<template
v-if=
"!otherTable"
>
<template
v-if=
"!otherTable"
>
<!-- 付款 -->
<!-- 付款 -->
<template
v-if=
"GetDetail.Type!==1 && GetDetail.Type!==7 && GetDetail.Type!=4 && showModel"
>
<template
v-if=
"GetDetail.Type!==1 && GetDetail.Type!==7 && GetDetail.Type!=4 && showModel"
>
<my-Bill
:ID=
"FrID"
:GetDetail=
"GetDetail"
v-on:headCallBack=
"headCall"
:width=
"widthSon"
:color=
"colorSon"
>
<my-Bill
:ID=
"FrID"
:GetDetail=
"GetDetail"
v-on:headCallBack=
"headCall"
:width=
"widthSon"
:color=
"colorSon"
>
</my-Bill>
</my-Bill>
</
template
>
</
template
>
...
...
src/components/FinancialModule/FinancialSubmodule/BillModule.vue
View file @
c61b01ec
...
@@ -104,6 +104,7 @@
...
@@ -104,6 +104,7 @@
<i
v-if=
"name===1"
>
{{
$t
(
'fnc.yewulian'
)
}}
</i>
<i
v-if=
"name===1"
>
{{
$t
(
'fnc.yewulian'
)
}}
</i>
<i
v-if=
"name===2"
>
{{
$t
(
'fnc.kuaijilian'
)
}}
</i>
<i
v-if=
"name===2"
>
{{
$t
(
'fnc.kuaijilian'
)
}}
</i>
</p>
</p>
<!--
<p
class=
"_yewudanju"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
$t
(
'fnc.no'
)
}}
</span></p>
-->
<!--
<p
class=
"_yewudanju"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
$t
(
'fnc.no'
)
}}
</span></p>
-->
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==8&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
$t
(
'fnc.no'
)
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"GetDetail.OrderSource==8&&!isPrintPage"
>
{{
$t
(
'hotel.order_Number'
)
}}
:
<span
class=
"_jump_page"
@
click=
"GetDetail.OrderID>0?jumpPage('RegistrationList',GetDetail.TCID,1):''"
>
{{
GetDetail
.
OrderID
?
GetDetail
.
OrderID
:
$t
(
'fnc.no'
)
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"isPrintPage"
>
{{
$t
(
'fnc.dayinshijian'
)
}}
:
<span
>
{{
printTime
}}
</span></p>
<p
class=
"_yewudanju"
v-if=
"isPrintPage"
>
{{
$t
(
'fnc.dayinshijian'
)
}}
:
<span
>
{{
printTime
}}
</span></p>
...
@@ -121,6 +122,14 @@
...
@@ -121,6 +122,14 @@
</p>
</p>
</div>
</div>
<template
v-if=
"GetDetail.OtherType==87"
>
<div
style=
"text-align:right"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"企业支付码"
placement=
"top-start"
style=
"text-align:right;"
>
<span><img
width=
"16"
src=
"https://img.alicdn.com/tfs/TB1qEwuzrj1gK0jSZFOXXc7GpXa-32-32.ico"
></span>
</el-tooltip>
</div>
</
template
>
<div
class=
"rb_top_row _r_mb5"
>
<div
class=
"rb_top_row _r_mb5"
>
<p
v-if=
"GetDetail.Type==1 || GetDetail.Type==5"
>
{{$t('fnc.hnrdanwei')}}:
<span
class=
"_r_name"
>
{{GetDetail.RemitterName}}
</span></p>
<p
v-if=
"GetDetail.Type==1 || GetDetail.Type==5"
>
{{$t('fnc.hnrdanwei')}}:
<span
class=
"_r_name"
>
{{GetDetail.RemitterName}}
</span></p>
...
...
src/components/FinancialModule/addFinancialDocuments.vue
View file @
c61b01ec
...
@@ -530,7 +530,7 @@
...
@@ -530,7 +530,7 @@
</div>
</div>
<table
class=
"Receipt_table"
border=
"1"
bordercolor=
"#106BAF"
style=
"border-collapse:collapse;"
>
<table
class=
"Receipt_table"
border=
"1"
bordercolor=
"#106BAF"
style=
"border-collapse:collapse;"
>
<tr>
<tr>
<th
rowspan=
"2"
width=
"150"
>
{{$t('fnc.fyshuoming')}}
</th>
<th
rowspan=
"2"
width=
"150"
>
{{$t('fnc.fyshuoming')}}
111
</th>
<th
rowspan=
"2"
>
{{$t('restaurant.res_Number')}}
</th>
<th
rowspan=
"2"
>
{{$t('restaurant.res_Number')}}
</th>
<th
rowspan=
"2"
>
{{$t('fnc.danjia')}}
</th>
<th
rowspan=
"2"
>
{{$t('fnc.danjia')}}
</th>
<th
rowspan=
"2"
width=
"100"
>
{{$t('hotel.hotel_Currency')}}
</th>
<th
rowspan=
"2"
width=
"100"
>
{{$t('hotel.hotel_Currency')}}
</th>
...
...
src/components/LeaderManagement/AlipayManagementDetail.vue
View file @
c61b01ec
This diff is collapsed.
Click to expand it.
src/components/LeaderManagement/leaderReimbursement.vue
View file @
c61b01ec
...
@@ -1087,14 +1087,12 @@
...
@@ -1087,14 +1087,12 @@
<input
type=
"button"
:value=
"$t('objFill.preparedocument')"
class=
"normalBtn"
<input
type=
"button"
:value=
"$t('objFill.preparedocument')"
class=
"normalBtn"
@
click=
"goDiJieZhiDan(item,0,leadr,cur)"
/>
@
click=
"goDiJieZhiDan(item,0,leadr,cur)"
/>
</el-tooltip>
</el-tooltip>
<template
v-if=
"item.CompanyAlipay==0&&leadr.CurrencyId===1"
>
<template
v-if=
"item.CompanyAlipay==0&&leadr.CurrencyId===1"
>
<!-- -->
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"top"
:content=
"currencyTypeObj[leadr.CurrencyId]"
>
<el-tooltip
class=
"item"
effect=
"dark"
placement=
"top"
:content=
"currencyTypeObj[leadr.CurrencyId]"
>
<input
style=
"margin-top:5px;"
type=
"button"
<input
style=
"margin-top:5px;"
type=
"button"
:value=
"$t('objFill.v101.LeaderManagement.kaiqiqydsdf')"
class=
"normalBtn"
@
click=
"OpenCompanyAlipay(item,0,leadr,cur)"
/>
:value=
"$t('objFill.v101.LeaderManagement.kaiqiqydsdf')"
class=
"normalBtn"
</el-tooltip>
@
click=
"OpenCompanyAlipay(item,0,leadr,cur)"
/>
</
template
>
</el-tooltip>
</
template
>
<
template
v-else-if=
"item.CompanyAlipay===1&&leadr.CurrencyId===1"
>
<
template
v-else-if=
"item.CompanyAlipay===1&&leadr.CurrencyId===1"
>
<span
style=
"color:red;text-decoration: underline;"
@
click=
"GoCompanyAlipay(item)"
>
<span
style=
"color:red;text-decoration: underline;"
@
click=
"GoCompanyAlipay(item)"
>
{{
$t
(
'objFill.v101.dmc.yikqqydf'
)
}}
</span>
{{
$t
(
'objFill.v101.dmc.yikqqydf'
)
}}
</span>
...
@@ -1192,10 +1190,8 @@
...
@@ -1192,10 +1190,8 @@
</el-carousel-item>
</el-carousel-item>
</el-carousel>
</el-carousel>
</div>
</div>
<el-dialog
:visible
.
sync=
"ShowCompanyAlipay"
width=
"800px"
:title=
"$t('objFill.v101.LeaderManagement.feikongzhid')"
<el-dialog
:visible
.
sync=
"ShowCompanyAlipay"
width=
"1000px"
:title=
"$t('objFill.v101.LeaderManagement.feikongzhid')"
@
close=
"clearMsg()"
>
@
close=
"clearMsg()"
>
<companyalipay
ref=
"companyalipay"
@
change=
"getMsg"
:UseTotalPrice=
"UseTotalPrice"
:CompanyAlipayTCID=
"CompanyAlipayTCID"
:TeamStartDateList=
"TeamStartDateList"
>
<companyalipay
ref=
"companyalipay"
@
change=
"getMsg"
:UseTotalPrice=
"UseTotalPrice"
:CompanyAlipayTCID=
"CompanyAlipayTCID"
:TeamStartDateList=
"TeamStartDateList"
>
</companyalipay>
</companyalipay>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
style=
"text-align: right;margin-bottom:20px;"
<el-col
style=
"text-align: right;margin-bottom:20px;"
...
@@ -2268,11 +2264,14 @@
...
@@ -2268,11 +2264,14 @@
});
});
this
.
CurrencyListMoney
.
forEach
((
cur
,
i
)
=>
{
this
.
CurrencyListMoney
.
forEach
((
cur
,
i
)
=>
{
cur
.
LeaderGetPriceArr
.
forEach
(
lead
=>
{
cur
.
LeaderGetPriceArr
.
forEach
(
lead
=>
{
var
tempMoney
=
(
cur
.
money
*
this
.
comRate
-
cur
.
yiLing
);
var
tempMoney
=
(
cur
.
money
*
this
.
comRate
-
cur
.
yiLing
);
var
tempShowPrice
=
cur
.
money
*
this
.
comRate
;
var
tempShowPrice
=
cur
.
money
*
this
.
comRate
;
//日本
//日本
if
(
this
.
myLineId
==
14
)
{
if
(
this
.
myLineId
==
14
)
{
tempShowPrice
=
Math
.
round
(
tempShowPrice
/
10000
)
*
10000
;
tempShowPrice
=
Math
.
round
(
tempShowPrice
/
10000
)
*
10000
;
}
else
{
}
else
{
tempShowPrice
=
Math
.
round
(
tempShowPrice
/
100
)
*
100
;
tempShowPrice
=
Math
.
round
(
tempShowPrice
/
100
)
*
100
;
}
}
...
...
src/components/commonPage/companyalipay.vue
View file @
c61b01ec
<
style
>
<
style
scoped
>
table
.companyalipay
{
table
.companyalipay
{
font-family
:
verdana
,
arial
,
sans-serif
;
font-family
:
verdana
,
arial
,
sans-serif
;
font-size
:
11px
;
font-size
:
11px
;
...
@@ -21,6 +21,16 @@ table.companyalipay {
...
@@ -21,6 +21,16 @@ table.companyalipay {
padding
:
8px
;
padding
:
8px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
}
}
/* /deep/ .financiaUpload2 .el-upload-dragger {
width: 100px !important;
height: 37px !important;
} */
/
deep
/
.financiaUpload2
.el-upload-dragger
{
width
:
30px
!important
;
height
:
20px
!important
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<el-form
class=
"_info_box clearfix "
:model=
"msg"
:rules=
"rules"
ref=
"msg"
label-width=
"120px"
>
<el-form
class=
"_info_box clearfix "
:model=
"msg"
:rules=
"rules"
ref=
"msg"
label-width=
"120px"
>
...
@@ -68,13 +78,14 @@ table.companyalipay {
...
@@ -68,13 +78,14 @@ table.companyalipay {
<p></p>
<p></p>
<table
class=
"companyalipay"
>
<table
class=
"companyalipay"
>
<tr
style=
"width:100%;"
>
<tr
style=
"width:100%;"
>
<th
colspan=
"
4
"
style=
"color:red !important; "
>
{{
$t
(
'objFill.v101.LeaderManagement.yuangedfpxx'
)
}}
</th>
<th
colspan=
"
5
"
style=
"color:red !important; "
>
{{
$t
(
'objFill.v101.LeaderManagement.yuangedfpxx'
)
}}
</th>
</tr>
</tr>
<tr
style=
"width:100%;"
>
<tr
style=
"width:100%;"
>
<th
style=
"width:10%;"
>
{{
$t
(
'system.table_staffs'
)
}}
</th>
<th
style=
"width:10%;"
>
{{
$t
(
'system.table_staffs'
)
}}
</th>
<th
style=
"width:20%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.edudwy'
)
}}
</th>
<th
style=
"width:20%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.edudwy'
)
}}
</th>
<th
style=
"width:20%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.shifkyzz'
)
}}
</th>
<th
style=
"width:15%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.shifkyzz'
)
}}
</th>
<th
style=
"width:50%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.eduyxsj'
)
}}
</th>
<th
style=
"width:30%;"
>
{{
$t
(
'objFill.v101.LeaderManagement.eduyxsj'
)
}}
</th>
<th
style=
"width:25%;"
>
{{
$t
(
'adm.adm_fujian'
)
}}
</th>
</tr>
</tr>
<tr
v-for=
"(item,index) in msg.QuotaCreateList"
:key=
"index"
>
<tr
v-for=
"(item,index) in msg.QuotaCreateList"
:key=
"index"
>
<td>
{{
item
.
EmployeeName
}}
</td>
<td>
{{
item
.
EmployeeName
}}
</td>
...
@@ -87,6 +98,42 @@ table.companyalipay {
...
@@ -87,6 +98,42 @@ table.companyalipay {
<td>
<td>
<el-date-picker
value-format=
"yyyy-MM-dd"
v-model=
"item.effectiveDateList"
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
</el-date-picker>
<el-date-picker
value-format=
"yyyy-MM-dd"
v-model=
"item.effectiveDateList"
type=
"daterange"
:range-separator=
"$t('OrderList.zhi')"
:start-placeholder=
"$t('OrderList.star')"
:end-placeholder=
"$t('OrderList.end')"
>
</el-date-picker>
</td>
</td>
<td>
<div
class=
"_addUpload_box clearfix"
>
<template
v-for=
"(file,fIndex) in item.vorcherInos"
>
<div
v-if=
"file.Type==3"
style=
"width:30px; float:left;"
>
<div
class=
"iconfont "
>
<el-image
style=
"height:16px;"
:src=
"file.Url?file.Url:file.Content"
:preview-src-list=
"[file.Url?file.Url:file.Content]"
>
</el-image>
</div>
<span
class=
"iconfont icon-guanbi1"
style=
"font-size:12px;"
@
click=
"deleteInvoiceUploadFile(fIndex,index)"
></span>
</div>
<div
v-if=
"file.Type==1"
style=
"width:30px; float:left;"
>
<div
class=
"iconfont "
:class=
"file.Content.substring(file.Content.lastIndexOf('.')+1,file.Content.length).toUpperCase()=='PDF'? 'icon-pdf' : 'icon-excel'"
@
click=
"showUpLoadFile(file)"
>
</div>
<span
class=
"iconfont icon-guanbi1"
style=
"font-size:12px;"
@
click=
"deleteInvoiceUploadFile(fIndex,index)"
></span>
</div>
<div
v-if=
"file.Type==2"
style=
"width:30px; float:left;"
>
<div
class=
"iconfont icon-excel"
@
click=
"showUpLoadFile(file,index)"
>
</div>
<span
class=
"iconfont icon-guanbi1"
style=
"font-size:12px;"
@
click=
"deleteInvoiceUploadFile(fIndex,index)"
></span>
</div>
</
template
>
<div
class=
"_pic_upload financiaUpload2"
@
click=
"importDataIndex=index"
>
<el-upload
drag
:http-request=
"uploadFileInvoiceBtn"
:multiple=
"true"
:show-file-list=
"false"
action=
""
style=
"height:20px"
>
<i
class=
"el-icon-plus avatar-uploader-icon"
></i>
<!-- <div class="el-upload__text" >{{$t('tips.dianjishanhcuan')}}</div> -->
</el-upload>
</div>
</div>
</td>
</tr>
</tr>
</table>
</table>
</template>
</template>
...
@@ -174,6 +221,7 @@ export default {
...
@@ -174,6 +221,7 @@ export default {
EffectiveStartDate
:
""
,
EffectiveStartDate
:
""
,
effectiveDateList
:
this
.
TeamStartDateList
,
effectiveDateList
:
this
.
TeamStartDateList
,
EmployeeName
:
this
.
EmployeeList
[
nameIndex
].
EmName
,
EmployeeName
:
this
.
EmployeeList
[
nameIndex
].
EmName
,
vorcherInos
:[],
};
};
this
.
msg
.
QuotaCreateList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
newQuotaCreateModel
)));
this
.
msg
.
QuotaCreateList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
newQuotaCreateModel
)));
})
})
...
@@ -199,6 +247,7 @@ export default {
...
@@ -199,6 +247,7 @@ export default {
EffectiveStartDate
:
""
,
EffectiveStartDate
:
""
,
effectiveDateList
:
this
.
TeamStartDateList
,
effectiveDateList
:
this
.
TeamStartDateList
,
EmployeeName
:
this
.
EmployeeList
[
nameIndex
].
EmName
,
EmployeeName
:
this
.
EmployeeList
[
nameIndex
].
EmName
,
vorcherInos
:[],
};
};
this
.
msg
.
QuotaCreateList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
newQuotaCreateModel
)));
this
.
msg
.
QuotaCreateList
.
push
(
JSON
.
parse
(
JSON
.
stringify
(
newQuotaCreateModel
)));
}
}
...
@@ -217,6 +266,65 @@ export default {
...
@@ -217,6 +266,65 @@ export default {
}
}
},
err
=>
{})
},
err
=>
{})
},
},
uploadFileInvoiceBtn
(
file
)
{
//上传
if
(
file
.
file
.
size
>
1024
*
1024
*
10
)
{
this
.
$message
.
warning
(
this
.
$t
(
'tips.wjdxbncgsz'
))
return
}
// 1 文档 2 数据 3 图片
let
typeArr
=
[{
stringArr
:
'GIF|JPG|JPEG|PNG|BMP'
,
type
:
3
},
{
stringArr
:
'DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF'
,
type
:
1
},
]
let
ft
=
file
.
file
.
name
.
substring
(
file
.
file
.
name
.
lastIndexOf
(
'.'
)
+
1
,
file
.
file
.
name
.
length
).
toUpperCase
();
let
fileTypeNumber
=
2
;
let
typeOk
=
false
;
typeArr
.
forEach
(
x
=>
{
if
(
x
.
stringArr
.
indexOf
(
ft
)
!=
'-1'
)
{
fileTypeNumber
=
x
.
type
;
typeOk
=
true
;
}
})
if
(
!
typeOk
)
return
this
.
$message
.
error
(
this
.
$t
(
'tips.qscWEfile'
));
let
newArr
=
[];
newArr
.
push
(
file
.
file
)
let
path
=
"/Upload/Temporary/"
this
.
$message
.
info
(
this
.
$t
(
'tips.shangchuanzhong'
))
this
.
UploadSelfFileT
(
path
,
newArr
,
x
=>
{
let
fileSize
=
file
.
file
.
size
<
1024
?
file
.
file
.
size
:
(
file
.
file
.
size
/
1024
).
toFixed
(
0
);
this
.
msg
.
QuotaCreateList
[
this
.
importDataIndex
].
vorcherInos
.
push
({
Content
:
x
.
data
.
FilePath
,
ID
:
0
,
Type
:
fileTypeNumber
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
})
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
))
},
1
);
},
deleteInvoiceUploadFile
(
i
,
index
)
{
// 删除上传文件
let
obj
=
this
.
msg
.
QuotaCreateList
[
index
];
if
(
obj
.
vorcherInos
)
{
obj
.
vorcherInos
.
splice
(
i
,
1
)
}
// this.saveMsgInvoice.splice(i, 1);
},
showUpLoadFile
(
i
,
index
)
{
// 预览上传文件
if
(
i
.
Type
==
3
)
{
this
.
picObj
.
push
(
i
.
Url
);
this
.
picIsShow
=
true
;
}
else
{
if
(
i
.
Content
.
substring
(
i
.
Content
.
lastIndexOf
(
'.'
)
+
1
,
i
.
Content
.
length
).
toUpperCase
()
==
'PDF'
)
{
this
.
previewPDF
(
i
.
Url
)
}
else
{
window
.
open
(
"https://view.officeapps.live.com/op/view.aspx?src="
+
i
.
Url
)
}
}
},
},
},
mounted
(){
mounted
(){
let
userInfo
=
this
.
getLocalStorage
();
// 读取缓存数据
let
userInfo
=
this
.
getLocalStorage
();
// 读取缓存数据
...
...
src/components/leaderPay2.vue
View file @
c61b01ec
...
@@ -859,7 +859,8 @@
...
@@ -859,7 +859,8 @@
</p>
</p>
</
template
>
</
template
>
<
template
v-if=
"item.CompanyAlipay==1"
>
<
template
v-if=
"item.CompanyAlipay==1"
>
<span
@
click=
"GoCompanyAlipay(item)"
style=
"color:red;text-decoration: underline;padding-top:5px;font-size:13px;cursor: pointer;"
>
{{
$t
(
'objFill.v101.dmc.yikqqydf'
)
}}
</span></
template
>
<span
@
click=
"GoCompanyAlipay(item)"
style=
"color:red;text-decoration: underline;padding-top:5px;font-size:13px;cursor: pointer;"
>
{{
$t
(
'objFill.v101.dmc.yikqqydf'
)
}}
</span>
</
template
>
</div>
</div>
</td>
</td>
<td>
<td>
...
@@ -879,6 +880,9 @@
...
@@ -879,6 +880,9 @@
type=
"button"
value=
"地接费结算制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
type=
"button"
value=
"地接费结算制单"
style=
""
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<span
v-else
style=
"color:red"
>
请在APP中提交实际用款详情信息
</span>
<span
v-else
style=
"color:red"
>
请在APP中提交实际用款详情信息
</span>
<input
style=
"margin-top:15px"
type=
"button"
value=
"地接费结算制单"
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<input
style=
"margin-top:15px"
type=
"button"
value=
"地接费结算制单"
class=
"leader2Btn"
@
click=
"goZhiDan(item)"
>
<
template
v-if=
"item.CompanyAlipay==1"
>
<span
@
click=
"GoCompanyAlipay(item)"
style=
"color:red;text-decoration: underline;padding-top:5px;font-size:13px;cursor: pointer;"
>
企业码地接费结算
</span>
</
template
>
<input
style=
"margin-top:15px"
v-if=
"item.FinanceIds && item.FinanceIds.length>0"
type=
"button"
value=
"退款制单"
<input
style=
"margin-top:15px"
v-if=
"item.FinanceIds && item.FinanceIds.length>0"
type=
"button"
value=
"退款制单"
class=
"leader2Btn"
@
click=
"gofzZd(item)"
>
class=
"leader2Btn"
@
click=
"gofzZd(item)"
>
</td>
</td>
...
@@ -2090,7 +2094,8 @@
...
@@ -2090,7 +2094,8 @@
name
:
'AlipayManagementDetail'
,
name
:
'AlipayManagementDetail'
,
query
:
{
query
:
{
Id
:
obj
.
TCID
,
Id
:
obj
.
TCID
,
searchTitle
:
'费控制度详情'
searchTitle
:
'费控制度详情'
,
IsDiJi
:
1
,
}
}
})
})
window
.
open
(
routeData
.
href
,
'_blank'
)
window
.
open
(
routeData
.
href
,
'_blank'
)
...
...
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