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
80c99779
Commit
80c99779
authored
Oct 08, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复一些出货bug
parent
034d9aa6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
90 additions
and
2 deletions
+90
-2
cancelClear.vue
src/views/ecw/box/cancelClear.vue
+72
-0
queryAir.vue
src/views/ecw/box/queryAir.vue
+17
-1
arrival.vue
src/views/ecw/box/shippingAir/nodePage/arrival.vue
+1
-1
No files found.
src/views/ecw/box/cancelClear.vue
0 → 100644
View file @
80c99779
<
template
>
<div
class=
"shipping-update-error"
>
<div
class=
"message-title"
>
{{
$t
(
`您确定撤销${cancelClearInfo.orderNo
}
已清关状态吗?`
)
}}
<
/div
>
<
el
-
form
ref
=
"
arrivalForm
"
:
rules
=
"
rules
"
:
model
=
"
cusClearanceObj
"
label
-
width
=
"
120px
"
>
<
el
-
form
-
item
:
label
=
"
$t('撤销理由')
"
prop
=
"
clEstTime
"
>
<
el
-
input
v
-
model
=
"
cusClearanceObj.applyReason
"
type
=
"
textarea
"
:
rows
=
"
4
"
><
/el-input
>
<
/el-form-item
>
<
/el-form
>
<
el
-
row
class
=
"
operate-button
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
onSubmit
"
>
{{
$t
(
'
确定
'
)
}}
<
/el-button
>
<
el
-
button
@
click
=
"
cancel
"
>
{{
$t
(
'
取消
'
)
}}
<
/el-button
>
<
/el-row
>
<
/div
>
<
/template
>
<
script
>
import
{
approvalCreate
}
from
"
@/api/ecw/boxSea
"
;
export
default
{
name
:
"
updateError
"
,
inheritAttrs
:
false
,
components
:
{
}
,
props
:
{
shipmentObj
:
Object
,
cancelClearInfo
:
Object
,
}
,
data
()
{
return
{
// 到港对象
cusClearanceObj
:
{
}
,
// 校验
rules
:
{
applyReason
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
}
,
]
}
}
;
}
,
methods
:
{
onSubmit
()
{
this
.
$refs
[
"
arrivalForm
"
].
validate
((
valid
)
=>
{
if
(
valid
)
{
approvalCreate
({
shipmentId
:
this
.
shipmentObj
.
id
,
approvalStatus
:
0
,
approvalType
:
21
,
orderId
:
this
.
cancelClearInfo
.
orderId
,
applyReason
:
this
.
cusClearanceObj
.
applyReason
}
).
then
(()
=>
{
this
.
$message
.
success
(
"
成功
"
);
this
.
cancel
()
}
)
}
}
);
}
,
cancel
()
{
this
.
$emit
(
"
closeDialog
"
);
}
,
}
,
}
;
<
/script
>
<
style
lang
=
"
scss
"
scoped
>
.
shipping
-
update
-
error
{
.
message
-
title
{
text
-
align
:
center
;
font
-
size
:
20
px
;
margin
:
0
20
px
10
px
;
}
}
<
/style
>
src/views/ecw/box/queryAir.vue
View file @
80c99779
...
...
@@ -108,6 +108,7 @@
<el-table-column
prop=
""
:label=
"$t('操作')"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"small"
:disabled=
"scope.row.abnormalDealStatus === 1"
@
click=
"()=>updateStatus('single', scope.row)"
>
{{
$t
(
'
更新状态
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
:disabled=
"shipmentObj.clStatus!=132&&shipmentObj.clearanceInfo&&(shipmentObj.clearanceInfo.clearanceOrderList.findIndex(ff=>ff.orderId == scope.row.orderId) !== -1)"
@
click=
"()=>cancleClear(scope.row)"
>
{{
$t
(
'
撤销清关申请
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -213,6 +214,9 @@
<
template
v-if=
"dialogConfig.type === 'updateClear'"
>
<updateClear
v-if=
"dialogConfig.visible"
@
closeDialog=
"closeDialog"
:shipmentObj=
"shipmentObj"
:clearInfo=
"clearInfo"
/>
</
template
>
<
template
v-if=
"dialogConfig.type === 'cancelClear'"
>
<cancelClear
v-if=
"dialogConfig.visible"
@
closeDialog=
"closeDialog"
:shipmentObj=
"shipmentObj"
:cancelClearInfo=
"cancelClearInfo"
/>
</
template
>
</el-dialog>
</div>
</template>
...
...
@@ -244,6 +248,7 @@ import editForm from "./editForm.vue";
import
updateError
from
"
./updateError.vue
"
;
import
updateArrival
from
"
./updateArrival.vue
"
;
import
updateClear
from
"
./updateClear.vue
"
;
import
cancelClear
from
"
./cancelClear.vue
"
;
import
{
listUser
}
from
"
@/api/system/user
"
;
export
default
{
...
...
@@ -257,7 +262,8 @@ export default {
editForm
,
updateError
,
updateArrival
,
updateClear
updateClear
,
cancelClear
},
created
()
{
this
.
transportTypes
=
this
.
getDictDatas
(
...
...
@@ -352,6 +358,7 @@ export default {
clearInfo
:
{
orderList
:
[]
},
cancelClearInfo
:
{}
};
},
methods
:
{
...
...
@@ -419,6 +426,11 @@ export default {
this
.
$set
(
this
.
clearInfo
,
"
type
"
,
type
);
this
.
handleCommand
(
"
updateClear
"
);
},
/* 更新清关状态 */
cancleClear
(
val
)
{
this
.
cancelClearInfo
=
val
this
.
handleCommand
(
"
cancelClear
"
);
},
getErrorType
()
{
for
(
const
[
key
,
value
]
of
Object
.
entries
(
this
.
shipmentObj
))
{
// 报关异常 customsHasAbnormal
...
...
@@ -603,6 +615,10 @@ export default {
this
.
$set
(
this
.
dialogConfig
,
"
visible
"
,
true
);
this
.
$set
(
this
.
dialogConfig
,
"
type
"
,
"
updateClear
"
);
break
;
case
"
cancelClear
"
:
this
.
$set
(
this
.
dialogConfig
,
"
visible
"
,
true
);
this
.
$set
(
this
.
dialogConfig
,
"
type
"
,
"
cancelClear
"
);
break
;
}
},
// 关闭弹框
...
...
src/views/ecw/box/shippingAir/nodePage/arrival.vue
View file @
80c99779
...
...
@@ -124,7 +124,7 @@ export default {
}
if
(
!
this
.
airArrivalInfo
.
arriveType
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveType
'
,
0
)
if
(
this
.
airArrivalInfo
.
arrivalOrderList
)
this
.
$set
(
this
.
airArrivalInfo
,
'
arriveOrderIdList
'
,[])
if
(
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
.
arrivalOrderList
)
this
.
arrivalOrderList
=
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
.
arrivalOrderList
this
.
arrivalOrderList
=
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
?
this
.
$attrs
.
shipmentObj
.
airArrivalInfo
?.
arrivalOrderList
.
arrivalOrderList
:[]
shipmentOrderList
(
this
.
$attrs
.
shipmentObj
.
id
).
then
(
r
=>
{
this
.
orderList
=
r
.
data
this
.
orderListFilter
=
r
.
data
...
...
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