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 {
...
@@ -236,6 +236,9 @@ export default {
dcDecTime
:
[
dcDecTime
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
},
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
},
],
],
overMachineStatus
:
[
{
pattern
:
/^
[
12
]
$/
,
message
:
this
.
$t
(
"
必填
"
)}
],
},
},
// 弹窗配置
// 弹窗配置
dialogConfig
:
{
dialogConfig
:
{
...
@@ -288,11 +291,11 @@ export default {
...
@@ -288,11 +291,11 @@ export default {
]);
]);
oldData
.
overDealUser
=
this
.
strToArray
(
oldData
.
overDealUser
)
oldData
.
overDealUser
=
this
.
strToArray
(
oldData
.
overDealUser
)
oldData
.
overOrders
=
this
.
strToArray
(
oldData
.
overOrders
)
oldData
.
overOrders
=
this
.
strToArray
(
oldData
.
overOrders
)
this
.
cusDeclarationObj
=
oldData
;
this
.
cusDeclarationObj
=
oldData
;
console
.
log
(
this
.
cusDeclarationObj
.
overDealUser
)
},
},
methods
:
{
methods
:
{
strToArray
(
str
)
{
strToArray
(
str
)
{
if
(
str
==
0
)
return
[]
let
array
=
str
?.
split
(
"
,
"
)
??
[]
let
array
=
str
?.
split
(
"
,
"
)
??
[]
return
array
.
map
(
item
=>
{
return
Number
(
item
)})
return
array
.
map
(
item
=>
{
return
Number
(
item
)})
},
},
...
@@ -352,10 +355,11 @@ export default {
...
@@ -352,10 +355,11 @@ export default {
return
newList
.
length
>=
2
?
this
.
$t
(
"
混合报关
"
)
:
this
.
$t
(
"
VGM声明
"
);
return
newList
.
length
>=
2
?
this
.
$t
(
"
混合报关
"
)
:
this
.
$t
(
"
VGM声明
"
);
},
},
submitCustomsCreate
(
operateType
)
{
submitCustomsCreate
(
operateType
)
{
this
.
cusDeclarationObj
.
overDealUser
=
this
.
cusDeclarationObj
.
overDealUser
.
join
(
'
,
'
)
let
parems
=
{...
this
.
cusDeclarationObj
}
this
.
cusDeclarationObj
.
overOrders
=
this
.
cusDeclarationObj
.
overOrders
.
join
(
'
,
'
)
parems
.
overDealUser
=
!
Array
.
isArray
(
parems
.
overDealUser
)?
null
:
parems
.
overDealUser
.
join
(
'
,
'
)
parems
.
overOrders
=
!
Array
.
isArray
(
parems
.
overOrders
)?
null
:
parems
.
overOrders
.
join
(
'
,
'
)
customsCreate
({
customsCreate
({
...
this
.
cusDeclarationObj
,
...
parems
,
shipmentId
:
this
.
shipmentObj
.
id
,
shipmentId
:
this
.
shipmentObj
.
id
,
operateType
,
operateType
,
}).
then
((
res
)
=>
{
}).
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