Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
fulixin
dsk-operate-sys-cscec
Commits
3143f9dc
Commit
3143f9dc
authored
Mar 01, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
e21500d6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
index.vue
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
+6
-4
No files found.
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
View file @
3143f9dc
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
</div>
</div>
<el-divider></el-divider>
<el-divider></el-divider>
<div
class=
"pro-btns"
>
<div
class=
"pro-btns"
>
<el-button
type=
"primary"
size=
"small"
@
click=
"importdata"
>
导入数据
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"importdata"
v-if=
"!prodetail"
>
导入数据
</el-button>
<el-button
size=
"small"
@
click=
"goback"
>
返回
</el-button>
<el-button
size=
"small"
@
click=
"goback"
>
返回
</el-button>
</div>
</div>
...
@@ -296,13 +296,15 @@
...
@@ -296,13 +296,15 @@
importdata
(){
importdata
(){
this
.
visible
=
true
this
.
visible
=
true
let
valid
=
true
let
valid
=
true
if
(
this
.
directExpense
&&
this
.
quantitySummary
&&
this
.
measureProject
&&
this
.
otherProject
&&
this
.
sceneExpense
&&
this
.
cbSummary
){
if
(
this
.
directExpense
.
length
>
0
&&
this
.
quantitySummary
.
length
>
0
&&
this
.
measureProject
.
length
>
0
&&
this
.
otherProject
.
length
>
0
&&
this
.
sceneExpense
.
length
>
0
&&
this
.
cbSummary
.
length
>
0
){
valid
=
true
valid
=
true
importData
(
this
.
formdata
.
id
).
then
(
res
=>
{})
}
else
{
}
else
{
valid
=
false
valid
=
false
}
}
if
(
valid
)
{
if
(
valid
)
{
importData
(
this
.
formdata
.
id
).
then
(
res
=>
{})
this
.
issub
=
true
this
.
issub
=
true
this
.
directExpense
.
forEach
(
item
=>
{
this
.
directExpense
.
forEach
(
item
=>
{
item
.
fileParseStatus
=
1
item
.
fileParseStatus
=
1
...
...
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