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
b6138559
Commit
b6138559
authored
Apr 14, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 更新报关信息打开谈款数据未清空bug修改
parent
e24b3539
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
10 deletions
+15
-10
src/views/order/factoryOrderNew/index.vue
+15
-10
No files found.
src/views/order/factoryOrderNew/index.vue
View file @
b6138559
...
@@ -701,7 +701,7 @@
...
@@ -701,7 +701,7 @@
修改地址
修改地址
<
/ElButton
>
<
/ElButton
>
<
ElButton
<
ElButton
v
-
if
=
"
showPendingLogisticsRefreshAddress()
"
v
-
if
=
"
row.status === 'PENDING_CREATE_LOGISTICS'
"
type
=
"primary"
type
=
"primary"
link
link
size
=
"small"
size
=
"small"
...
@@ -780,6 +780,7 @@
...
@@ -780,6 +780,7 @@
@
show
-
result
=
"createLogisticsSuccess"
@
show
-
result
=
"createLogisticsSuccess"
/>
/>
<
UpdateCustomDeclarationInfoDialog
<
UpdateCustomDeclarationInfoDialog
ref
=
"updateCustomsDialogRef"
v
-
model
=
"updateCustomsDialogVisible"
v
-
model
=
"updateCustomsDialogVisible"
:
order
-
selection
=
"selectedRows"
:
order
-
selection
=
"selectedRows"
:
is
-
new
-
order
=
"true"
:
is
-
new
-
order
=
"true"
...
@@ -1081,11 +1082,7 @@ const receiverAddressForm = ref<AddressInfo>({
...
@@ -1081,11 +1082,7 @@ const receiverAddressForm = ref<AddressInfo>({
}
)
}
)
const
showPendingLogisticsUpdateAddress
=
(
row
:
FactoryOrderNewListData
)
=>
const
showPendingLogisticsUpdateAddress
=
(
row
:
FactoryOrderNewListData
)
=>
status
.
value
===
'PENDING_CREATE_LOGISTICS'
&&
row
.
shipmentType
===
1
row
.
status
===
'PENDING_CREATE_LOGISTICS'
&&
row
.
shipmentType
===
1
const
showPendingLogisticsRefreshAddress
=
()
=>
{
if
(
status
.
value
!==
'PENDING_CREATE_LOGISTICS'
)
return
false
}
const
submitFactoryOrderReceiverAddress
=
(
data
:
AddressInfo
)
=>
const
submitFactoryOrderReceiverAddress
=
(
data
:
AddressInfo
)
=>
updateReceiverAddressApi
(
data
)
updateReceiverAddressApi
(
data
)
...
@@ -1224,7 +1221,7 @@ const mainColumns = [
...
@@ -1224,7 +1221,7 @@ const mainColumns = [
minWidth
:
160
,
minWidth
:
160
,
align
:
'center'
,
align
:
'center'
,
}
,
}
,
{
prop
:
'weight'
,
label
:
'总克重'
,
minWidth
:
120
,
align
:
'right'
}
,
{
prop
:
'weight'
,
label
:
'总克重
(g)
'
,
minWidth
:
120
,
align
:
'right'
}
,
{
{
prop
:
'productNum'
,
prop
:
'productNum'
,
label
:
'商品总数量'
,
label
:
'商品总数量'
,
...
@@ -1352,7 +1349,7 @@ const baseProductColumns = computed(() => [
...
@@ -1352,7 +1349,7 @@ const baseProductColumns = computed(() => [
}
,
}
,
{
{
prop
:
'weight'
,
prop
:
'weight'
,
label
:
'克重'
,
label
:
'克重
(g)
'
,
minWidth
:
100
,
minWidth
:
100
,
align
:
'right'
,
align
:
'right'
,
}
,
}
,
...
@@ -1659,12 +1656,20 @@ const handleLogisticsCommand = async (command: string) => {
...
@@ -1659,12 +1656,20 @@ const handleLogisticsCommand = async (command: string) => {
}
}
const
handleSuspend
=
()
=>
{
const
handleSuspend
=
()
=>
{
if
(
!
ensureSelection
())
return
if
(
!
ensureSelection
())
return
const
ids
=
getSelectedIds
()
let
ids
:
(
number
|
string
)[]
if
(
isCardLayout
.
value
)
{
ids
=
cardSelectList
.
value
.
map
((
row
)
=>
row
.
podOrderId
as
number
)
}
else
{
ids
=
selectedRows
.
value
.
map
((
row
)
=>
row
.
id
)
}
suspendDialogRef
.
value
?.
open
(
ids
)
suspendDialogRef
.
value
?.
open
(
ids
)
}
}
const
handleUpdateCustomsInfo
=
()
=>
{
const
updateCustomsDialogRef
=
ref
()
const
handleUpdateCustomsInfo
=
async
()
=>
{
if
(
!
ensureSelection
())
return
if
(
!
ensureSelection
())
return
updateCustomsDialogVisible
.
value
=
true
updateCustomsDialogVisible
.
value
=
true
await
nextTick
()
updateCustomsDialogRef
.
value
?.
resetForm
()
}
}
const
handleTransferToArrange
=
async
()
=>
{
const
handleTransferToArrange
=
async
()
=>
{
...
...
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