Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
19107c82
Commit
19107c82
authored
Aug 04, 2023
by
xiangjiaojunxp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
be91e179
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
33 deletions
+41
-33
ruoyi-ui/src/views/system/supplies/indexupload.vue
ruoyi-ui/src/views/system/supplies/indexupload.vue
+41
-33
No files found.
ruoyi-ui/src/views/system/supplies/indexupload.vue
View file @
19107c82
...
@@ -297,6 +297,7 @@ export default {
...
@@ -297,6 +297,7 @@ export default {
name1
=
exportJson
.
sheets
[
0
].
name
;
name1
=
exportJson
.
sheets
[
0
].
name
;
let
array
=
[];
let
array
=
[];
let
r
=
this
.
row
-
1
;
let
r
=
this
.
row
-
1
;
try
{
for
(
let
i
=
r
;
i
<
d1
.
length
;
i
++
)
{
for
(
let
i
=
r
;
i
<
d1
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<=
d1
[
0
].
length
;
j
++
)
{
for
(
let
j
=
0
;
j
<=
d1
[
0
].
length
;
j
++
)
{
...
@@ -340,13 +341,20 @@ export default {
...
@@ -340,13 +341,20 @@ export default {
type
:
"
success
"
});
type
:
"
success
"
});
}
}
}
catch
(
err
){
this
.
$message
({
message
:
"
导入失败,导入文件与对比文件有所不匹
"
,
type
:
"
error
"
});
}
}
}
)
)
},
},
/** 导出设置 */
/** 导出设置 */
handleExport
:
debounce
(
function
()
{
handleExport
:
debounce
(
function
()
{
// 处理点击事件
// 处理点击事件
exportExcel
(
luckysheet
.
getAllSheets
(),
fileName
)
exportExcel
(
luckysheet
.
getAllSheets
(),
fileName
+
"
(对比后数据)
"
)
},
500
),
// 设置延迟时间,单位为毫秒
},
500
),
// 设置延迟时间,单位为毫秒
}
}
// 配置项111
// 配置项111
...
...
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