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
95873cdf
Commit
95873cdf
authored
Feb 01, 2024
by
hehongwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料页面修改
parent
879234d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ruoyi-ui/src/views/system/supplies/index_vue.vue
ruoyi-ui/src/views/system/supplies/index_vue.vue
+2
-2
No files found.
ruoyi-ui/src/views/system/supplies/index_vue.vue
View file @
95873cdf
...
...
@@ -633,13 +633,13 @@
//直接luck表格初始化 替换数据
//找到所在的行数,按照 -的前后去找,前面是标题,后面是标题后的小分类,如选煤,洗煤等
CompositeTable
[
0
].
data
=
luckysheet
.
transToData
(
h
e
[
0
][
"
celldata
"
])
CompositeTable
[
0
].
data
=
luckysheet
.
transToData
(
CompositeTabl
e
[
0
][
"
celldata
"
])
newobj
[
0
].
forEach
((
item
)
=>
{
if
(
item
.
v
.
m
!==
undefined
)
{
let
index
=
item
.
v
.
m
.
indexOf
(
"
-
"
);
if
(
index
!==
-
1
)
{
let
substrBeforeDash
=
item
.
v
.
m
.
slice
(
0
,
index
);
let
DepartColumns
=
h
e
[
0
][
"
celldata
"
].
flat
().
find
(
obj
=>
let
DepartColumns
=
CompositeTabl
e
[
0
][
"
celldata
"
].
flat
().
find
(
obj
=>
obj
.
v
&&
obj
.
v
.
v
&&
typeof
obj
.
v
.
v
===
'
string
'
&&
obj
.
v
.
v
.
includes
(
item
.
v
.
m
.
slice
(
0
,
index
))
);
...
...
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