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
0
Merge Requests
0
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
2a825f89
Commit
2a825f89
authored
Jul 03, 2025
by
linjinhong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修复打包错误
parent
dcb5cae7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
5 deletions
+26
-5
src/components/VxeTable.tsx
+18
-2
src/types/api/podUsOrder.ts
+2
-2
src/views/logistics/logisticsPartition.vue
+5
-0
src/views/order/podUs/index.vue
+1
-1
No files found.
src/components/VxeTable.tsx
View file @
2a825f89
...
...
@@ -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/types/api/podUsOrder.ts
View file @
2a825f89
...
...
@@ -85,8 +85,8 @@ export interface ProductList {
templatePrice
?:
number
variantImage
?:
string
craftPrice
?:
number
craftCode
:
string
platform
:
string
craftCode
?
:
string
platform
?
:
string
imageAry
?:
string
designImages
?:
string
categoryId
?:
number
...
...
src/views/logistics/logisticsPartition.vue
View file @
2a825f89
...
...
@@ -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
:
({
...
...
src/views/order/podUs/index.vue
View file @
2a825f89
...
...
@@ -1159,7 +1159,7 @@
>
<
template
#
top_right
v
-
if
=
"['ZPZY', 'CXZY', 'THZY'].includes(cardItem.craftCode)"
v
-
if
=
"['ZPZY', 'CXZY', 'THZY'].includes(cardItem.craftCode
as string
)"
>
<
img
:
src
=
"`/images/pic/${cardItem.craftCode
}
.png`"
...
...
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