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
17318a6a
Commit
17318a6a
authored
Jul 23, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
835693d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
111 additions
and
0 deletions
+111
-0
FinancialDocuments.vue
src/components/FinancialModule/FinancialDocuments.vue
+111
-0
No files found.
src/components/FinancialModule/FinancialDocuments.vue
View file @
17318a6a
...
...
@@ -812,6 +812,7 @@
<el-dropdown-item><span
@
click=
"ToPICDetial()"
>
PIC资金预算
</span></el-dropdown-item>
<el-dropdown-item><span
@
click=
"ToYFDetial()"
>
压房明细
</span></el-dropdown-item>
<el-dropdown-item><span
@
click=
"ToHotelNoFDetial()"
>
酒店临期未制单
</span></el-dropdown-item>
<el-dropdown-item><span
@
click=
"outerVisible4=true"
>
车资回送费分摊
</span></el-dropdown-item>
</
template
>
<
template
v-if=
"ActionMenuCode.indexOf('isManageFinance')!=-1 || ActionMenuCode.indexOf('Finance_ExpenseType')!=-1"
>
<el-dropdown-item><span
@
click=
"openAirPayDialog()"
>
机票今日应付款
</span></el-dropdown-item>
...
...
@@ -1825,6 +1826,60 @@
<
/el-dialog
>
<
el
-
dialog
custom
-
class
=
'w700'
title
=
"导入车资回送费分摊"
:
visible
.
sync
=
"outerVisible4"
center
>
<
el
-
upload
drag
class
=
"upload-demo"
:
action
=
"importFileUrl6"
:
on
-
success
=
"handleAvatarSuccess3"
:
before
-
upload
=
"beforeAvatarUpload2"
>
<
i
class
=
"el-icon-upload"
><
/i
>
<
div
class
=
"el-upload__text"
>
{{
$t
(
"tips.tuodongwenjian"
)
}}
<
em
>
{{
$t
(
'tips.dianjishanhcuan'
)
}}
<
/em></
div
>
<
div
slot
=
"tip"
class
=
"el-upload__tip"
>
{{
$t
(
"ground.znscexcel"
)
}}
<
/div
>
<
/el-upload
>
<
div
class
=
"_addUpload_box clearfix"
>
<
el
-
form
class
=
"cdForm"
label
-
width
=
"80px"
>
<
el
-
form
-
item
label
=
"预付单号"
prop
=
"KingdeeBId"
>
<
el
-
input
class
=
"w220"
v
-
model
=
"carBackMsg.KingdeeBId"
><
/el-input
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"制单汇率"
prop
=
"KingdeeBId"
>
<
el
-
input
class
=
"w220"
v
-
model
=
"carBackMsg.OrderId"
><
/el-input
>
<
/el-form-item
>
<
/el-form
>
<
template
v
-
for
=
"(file,fIndex) in carBackMsg.Image"
>
<
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
>
<!--
<
img
:
src
=
"file.Url?file.Url:file.Content"
@
click
=
"showUpLoadFile(file,index)"
style
=
"height:16px;"
>
-->
<
/div
>
<
span
class
=
"iconfont icon-guanbi1"
style
=
"font-size:12px;"
@
click
=
"deleteCarBackUploadFile(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
=
"deleteCarBackUploadFile(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
=
"deleteCarBackUploadFile(fIndex,index)"
><
/span
>
<
/div
>
<
/template
>
<
div
class
=
"_pic_upload financiaUpload"
>
<
el
-
upload
drag
:
http
-
request
=
"uploadFileCarBackBtn"
:
multiple
=
"true"
:
show
-
file
-
list
=
"false"
action
=
""
>
<
i
class
=
"el-icon-plus avatar-uploader-icon"
><
/i
>
<
div
class
=
"el-upload__text"
>
附件凭证
<
/div
>
<
/el-upload
>
<
/div
>
<
/div
>
<
/el-dialog
>
<
editExchangeRate
v
-
if
=
"costmodeHL"
:
hlData
=
"trabeListHL"
@
success
=
"resetPageIndex(),
getPageList(),
costmodeHL=false"
@
cancel
=
"costmodeHL=false"
><
/editExchangeRate
>
...
...
@@ -2065,6 +2120,7 @@
outerVisible
:
false
,
outerVisible2
:
false
,
outerVisible3
:
false
,
outerVisible4
:
false
,
importData
:
""
,
importDataIndex
:
0
,
picObj
:
[],
...
...
@@ -2081,6 +2137,15 @@
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=21"
,
importFileUrl4
:
this
.
domainManager
().
UploadFileUrl
+
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=21"
,
importFileUrl6
:
this
.
domainManager
().
UploadFileUrl
+
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=27"
,
importFileUrl7
:
this
.
domainManager
().
UploadFileUrl
+
"?cmd=dmc_post_LocalFileUpload&fileType=1&fileLimit=1&RB_Group_id=2&Type=27"
,
carBackMsg
:
{
Image
:[],
KingdeeBId
:
''
,
OrderId
:
''
}
,
hbMsg
:
{
FrIDList
:
[],
Type
:
1
...
...
@@ -2570,6 +2635,52 @@
// this.saveMsgInvoice.splice(i, 1);
this
.
expressageMsg
.
splice
(
i
,
1
);
}
,
uploadFileCarBackBtn
(
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
.
carBackMsg
.
Image
=
[];
this
.
carBackMsg
.
Image
.
push
({
Content
:
x
.
data
.
FilePath
,
ID
:
0
,
Type
:
fileTypeNumber
,
Url
:
this
.
domainManager
().
ViittoFileUrl
+
x
.
data
.
FilePath
,
}
)
this
.
importFileUrl6
=
this
.
importFileUrl7
+
'&CreateByName='
+
this
.
carBackMsg
.
Image
[
0
].
Url
+
'&KingdeeBId='
+
this
.
carBackMsg
.
KingdeeBId
+
'&OrderId='
+
this
.
carBackMsg
.
OrderId
;
this
.
$message
.
success
(
this
.
$t
(
'tips.scchenggong'
))
}
,
1
);
}
,
deleteCarBackUploadFile
(
i
)
{
// 删除上传文件
// this.saveMsgInvoice.splice(i, 1);
this
.
carBackMsg
.
Image
.
splice
(
i
,
1
);
}
,
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
[]
this
.
checkList
=
[]
...
...
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