Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
ee47ae6e
Commit
ee47ae6e
authored
Aug 06, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
【2.0-空运】CNA233764出货操作-报关放行报错
parent
699cfdab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
cusDeclaration.vue
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
+9
-5
No files found.
src/views/ecw/box/shippingAir/nodePage/cusDeclaration.vue
View file @
ee47ae6e
...
...
@@ -236,6 +236,9 @@ export default {
dcDecTime
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
},
],
overMachineStatus
:
[
{
pattern
:
/^
[
12
]
$/
,
message
:
this
.
$t
(
"
必填
"
)}
],
},
// 弹窗配置
dialogConfig
:
{
...
...
@@ -288,11 +291,11 @@ export default {
]);
oldData
.
overDealUser
=
this
.
strToArray
(
oldData
.
overDealUser
)
oldData
.
overOrders
=
this
.
strToArray
(
oldData
.
overOrders
)
this
.
cusDeclarationObj
=
oldData
;
console
.
log
(
this
.
cusDeclarationObj
.
overDealUser
)
this
.
cusDeclarationObj
=
oldData
;
},
methods
:
{
strToArray
(
str
)
{
if
(
str
==
0
)
return
[]
let
array
=
str
?.
split
(
"
,
"
)
??
[]
return
array
.
map
(
item
=>
{
return
Number
(
item
)})
},
...
...
@@ -352,10 +355,11 @@ export default {
return
newList
.
length
>=
2
?
this
.
$t
(
"
混合报关
"
)
:
this
.
$t
(
"
VGM声明
"
);
},
submitCustomsCreate
(
operateType
)
{
this
.
cusDeclarationObj
.
overDealUser
=
this
.
cusDeclarationObj
.
overDealUser
.
join
(
'
,
'
)
this
.
cusDeclarationObj
.
overOrders
=
this
.
cusDeclarationObj
.
overOrders
.
join
(
'
,
'
)
let
parems
=
{...
this
.
cusDeclarationObj
}
parems
.
overDealUser
=
!
Array
.
isArray
(
parems
.
overDealUser
)?
null
:
parems
.
overDealUser
.
join
(
'
,
'
)
parems
.
overOrders
=
!
Array
.
isArray
(
parems
.
overOrders
)?
null
:
parems
.
overOrders
.
join
(
'
,
'
)
customsCreate
({
...
this
.
cusDeclarationObj
,
...
parems
,
shipmentId
:
this
.
shipmentObj
.
id
,
operateType
,
}).
then
((
res
)
=>
{
...
...
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