Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
8046b71d
Commit
8046b71d
authored
Jul 03, 2025
by
wuqian
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://47.122.114.111:9999/qinjianhui/factory_front
into dev
parents
4e153d6a
116afe3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
src/components/VxeTable.tsx
+18
-2
src/views/logistics/logisticsPartition.vue
+5
-0
No files found.
src/components/VxeTable.tsx
View file @
8046b71d
...
...
@@ -51,12 +51,17 @@ export default defineComponent({
type
:
Boolean
,
default
:
true
,
},
otherAttrs
:
{
type
:
Object
,
default
:
()
=>
({}),
},
},
emits
:
[
'update:modelValue'
,
'checkbox-change'
,
'getCheckboxRecords'
],
setup
(
props
,
{
emit
,
attrs
})
{
const
tableRef
=
ref
<
VxeTableInstance
|
null
>
(
null
)
const
tableData
=
ref
<
Record
<
string
,
unknown
>
[]
>
([])
const
tableColumns
=
ref
<
TableColumn
[]
>
([])
const
editConfig
=
computed
(()
=>
{
return
{
trigger
:
'dblclick'
,
...
...
@@ -139,10 +144,21 @@ export default defineComponent({
{
...
this
.
attrs
}
>
{
this
.
isShowCheckBox
&&
(
<
vxe
-
column
type=
"checkbox"
width=
"50"
align=
"center"
></
vxe
-
column
>
<
vxe
-
column
type=
"checkbox"
width=
"50"
align=
"center"
{
...
this
.
otherAttrs
}
></
vxe
-
column
>
)
}
<
vxe
-
column
align=
"center"
type=
"seq"
width=
"50"
title=
"序号"
/>
<
vxe
-
column
align=
"center"
type=
"seq"
width=
"50"
title=
"序号"
{
...
this
.
otherAttrs
}
/>
{
this
.
tableColumns
.
map
((
item
:
TableColumn
,
index
:
number
)
=>
(
<
vxe
-
column
key=
{
index
}
...
...
src/views/logistics/logisticsPartition.vue
View file @
8046b71d
...
...
@@ -43,6 +43,9 @@
align=
"center"
border=
"full"
@
getCheckboxRecords=
"handleCheckboxRecords"
:otherAttrs=
"{
fixed: 'left',
}"
></CustomizeTable>
</div>
</div>
...
...
@@ -232,6 +235,7 @@ async function getList(data?: {
{
prop
:
'zoneName'
,
label
:
'分区'
,
attrs
:
{
'min-width'
:
'100px'
,
fixed
:
'left'
},
},
]
const
newConfig
=
[]
...
...
@@ -243,6 +247,7 @@ async function getList(data?: {
label
:
key
,
attrs
:
{
'edit-render'
:
{},
'min-width'
:
'300px'
,
},
render
:
{
edit
:
({
...
...
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