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
2651c387
Commit
2651c387
authored
Oct 22, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
a4e463ae
a0be8085
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
92 additions
and
10 deletions
+92
-10
cancelClear.vue
src/views/ecw/box/cancelClear.vue
+17
-3
queryAir.vue
src/views/ecw/box/queryAir.vue
+1
-1
index.vue
src/views/ecw/box/shippingAir/nodePage/mergePkg/index.vue
+1
-1
unPkgPage.vue
...views/ecw/box/shippingAir/nodePage/mergePkg/unPkgPage.vue
+1
-0
twoWayTakeoff.vue
src/views/ecw/box/shippingAir/nodePage/twoWayTakeoff.vue
+5
-1
utils.js
src/views/ecw/box/shippingAir/utils.js
+21
-0
showContacts.vue
...iews/ecw/productBrank/Empower/components/showContacts.vue
+37
-0
index.vue
src/views/ecw/productBrank/Empower/index.vue
+9
-4
No files found.
src/views/ecw/box/cancelClear.vue
View file @
2651c387
...
@@ -3,12 +3,16 @@
...
@@ -3,12 +3,16 @@
<div
class=
"message-title"
>
{{
$t
(
`您确定撤销${cancelClearInfo.orderNo
}
已清关状态吗?`
)
}}
<
/div
>
<div
class=
"message-title"
>
{{
$t
(
`您确定撤销${cancelClearInfo.orderNo
}
已清关状态吗?`
)
}}
<
/div
>
<
el
-
form
ref
=
"
arrivalForm
"
:
rules
=
"
rules
"
:
model
=
"
cusClearanceObj
"
label
-
width
=
"
120px
"
>
<
el
-
form
ref
=
"
arrivalForm
"
:
rules
=
"
rules
"
:
model
=
"
cusClearanceObj
"
label
-
width
=
"
120px
"
>
<
el
-
form
-
item
:
label
=
"
$t('撤销理由')
"
prop
=
"
clEstTime
"
>
<
el
-
form
-
item
:
label
=
"
$t('撤销理由')
"
prop
=
"
clEstTime
"
>
<
el
-
input
v
-
model
=
"
cusClearanceObj.applyReason
"
type
=
"
textarea
"
:
rows
=
"
4
"
><
/el-input
>
<
el
-
input
v
-
if
=
"
flag
"
v
-
model
=
"
cusClearanceObj.applyReason
"
type
=
"
textarea
"
:
rows
=
"
4
"
><
/el-input
>
<
template
v
-
else
>
{{
apply
.
applyReason
}}
<
/template
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<
el
-
row
class
=
"
operate-button
"
>
<
el
-
row
class
=
"
operate-button
"
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
onSubmit
"
>
{{
$t
(
'
确定
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
flag
"
type
=
"
primary
"
@
click
=
"
onSubmit
"
>
{{
$t
(
'
确定
'
)
}}
<
/el-button
>
<
el
-
button
v
-
if
=
"
!flag
"
type
=
"
primary
"
@
click
=
"
$router.push({path: '/bpm/process-instance/detail', query: {id: apply.bpmProcessId
}}
)
"
>
{{
$t
(
'
审核中
'
)
}}
<
/el-button
>
<
el
-
button
@
click
=
"
cancel
"
>
{{
$t
(
'
取消
'
)
}}
<
/el-button
>
<
el
-
button
@
click
=
"
cancel
"
>
{{
$t
(
'
取消
'
)
}}
<
/el-button
>
<
/el-row
>
<
/el-row
>
<
/div
>
<
/div
>
...
@@ -34,9 +38,19 @@ export default {
...
@@ -34,9 +38,19 @@ export default {
applyReason
:
[
applyReason
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
}
,
{
required
:
true
,
message
:
this
.
$t
(
"
必填
"
),
trigger
:
"
change
"
}
,
]
]
}
}
,
apply
:
{
}
,
flag
:
true
}
;
}
;
}
,
}
,
created
()
{
let
orders
=
this
.
shipmentObj
.
clearanceInfo
?.
clearanceOrderBackList
let
order
=
orders
.
find
(
item
=>
item
.
orderId
==
this
.
cancelClearInfo
.
orderId
)
if
(
order
){
this
.
apply
=
order
this
.
flag
=
false
}
}
,
methods
:
{
methods
:
{
onSubmit
()
{
onSubmit
()
{
this
.
$refs
[
"
arrivalForm
"
].
validate
((
valid
)
=>
{
this
.
$refs
[
"
arrivalForm
"
].
validate
((
valid
)
=>
{
...
...
src/views/ecw/box/queryAir.vue
View file @
2651c387
...
@@ -108,7 +108,7 @@
...
@@ -108,7 +108,7 @@
<el-table-column
prop=
""
:label=
"$t('操作')"
align=
"center"
width=
"120px"
>
<el-table-column
prop=
""
:label=
"$t('操作')"
align=
"center"
width=
"120px"
>
<
template
slot-scope=
"scope"
>
<
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=
"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>
<el-button
type=
"primary"
size=
"small"
:disabled=
"shipmentObj.clStatus==132||
(shipmentObj.clearanceInfo == null) ||
(shipmentObj.clearanceInfo&&shipmentObj.clearanceInfo.clearanceOrderList.findIndex(ff=>ff.orderId == scope.row.orderId) == -1)"
@
click=
"()=>cancleClear(scope.row)"
>
{{
$t
(
'
撤销清关申请
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
...
src/views/ecw/box/shippingAir/nodePage/mergePkg/index.vue
View file @
2651c387
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
<el-radio-button
:label=
"2"
>
{{ $t('已装箱列表') }}
</el-radio-button>
<el-radio-button
:label=
"2"
>
{{ $t('已装箱列表') }}
</el-radio-button>
</el-radio-group>
</el-radio-group>
</div>
</div>
<un-pkg-page
v-if=
"pkgPageType == 1"
:pkgData=
"pkgData"
:shipmentObj=
"shipmentObj"
/>
<un-pkg-page
v-if=
"pkgPageType == 1"
:pkgData=
"pkgData"
:shipmentObj=
"shipmentObj"
@
reload=
"getList"
/>
<pkg-page
v-if=
"pkgPageType == 2"
:pkgData=
"pkgData"
:shipmentObj=
"shipmentObj"
@
closeDialog=
"closeDialog"
@
reload=
"getList"
/>
<pkg-page
v-if=
"pkgPageType == 2"
:pkgData=
"pkgData"
:shipmentObj=
"shipmentObj"
@
closeDialog=
"closeDialog"
@
reload=
"getList"
/>
</el-dialog>
</el-dialog>
<!-- 打印标签 -->
<!-- 打印标签 -->
...
...
src/views/ecw/box/shippingAir/nodePage/mergePkg/unPkgPage.vue
View file @
2651c387
...
@@ -125,6 +125,7 @@ export default {
...
@@ -125,6 +125,7 @@ export default {
createPkgOrder
(
data
).
then
(()
=>
{
createPkgOrder
(
data
).
then
(()
=>
{
this
.
$message
.
success
(
this
.
$t
(
'
装箱成功
'
))
this
.
$message
.
success
(
this
.
$t
(
'
装箱成功
'
))
this
.
getList
()
this
.
getList
()
this
.
$emit
(
'
reload
'
)
})
})
},
},
// 选中
// 选中
...
...
src/views/ecw/box/shippingAir/nodePage/twoWayTakeoff.vue
View file @
2651c387
...
@@ -4,10 +4,13 @@
...
@@ -4,10 +4,13 @@
<el-form-item
:label=
"$t('预计起飞时间')"
>
<el-form-item
:label=
"$t('预计起飞时间')"
>
{{
getTakeOffTime
()
}}
{{
getTakeOffTime
()
}}
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('预计到港时间')"
prop=
"est_time"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.est_time"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
<el-form-item
:label=
"$t('实际起飞时间')"
prop=
"dtRealFlyTime"
>
<el-form-item
:label=
"$t('实际起飞时间')"
prop=
"dtRealFlyTime"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.dtRealFlyTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.dtRealFlyTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"dtRealHeadTimeFlag"
:label=
"$t('
实际头程
时间')"
prop=
"dtRealHeadTime"
>
<el-form-item
v-if=
"dtRealHeadTimeFlag"
:label=
"$t('
预计二程起飞
时间')"
prop=
"dtRealHeadTime"
>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.dtRealHeadTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
<el-date-picker
type=
"datetime"
:placeholder=
"$t('请选择日期')"
v-model=
"twoWayTakeoffObj.dtRealHeadTime"
value-format=
"yyyy-MM-dd HH:mm:ss"
></el-date-picker>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -62,6 +65,7 @@ export default {
...
@@ -62,6 +65,7 @@ export default {
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
let
oldData
=
{
...
this
.
$attrs
.
shipmentObj
[
voName
]
};
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealFlyTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealFlyTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealHeadTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
dtRealHeadTime
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
oldData
=
formatDateStr
(
oldData
,
[
"
est_time
"
],
"
YYYY-MM-DD HH:mm:ss
"
);
this
.
twoWayTakeoffObj
=
oldData
;
this
.
twoWayTakeoffObj
=
oldData
;
if
(
this
.
$attrs
.
shipmentObj
[
'
bookAirInfo
'
].
voyage
&&
this
.
$attrs
.
shipmentObj
[
'
bookAirInfo
'
].
voyage
==
2
){
if
(
this
.
$attrs
.
shipmentObj
[
'
bookAirInfo
'
].
voyage
&&
this
.
$attrs
.
shipmentObj
[
'
bookAirInfo
'
].
voyage
==
2
){
this
.
dtRealHeadTimeFlag
=
true
this
.
dtRealHeadTimeFlag
=
true
...
...
src/views/ecw/box/shippingAir/utils.js
View file @
2651c387
...
@@ -752,6 +752,27 @@ function getColmnMapping() {
...
@@ -752,6 +752,27 @@ function getColmnMapping() {
key
:
"
operator
"
,
key
:
"
operator
"
,
},
},
],
],
boxAirFlyInfo
:
[
{
title
:
i18n
.
$t
(
"
预计到港时间
"
),
key
:
"
dtRealFlyTime
"
,
type
:
"
datetime
"
,
},
{
title
:
i18n
.
$t
(
"
实际起飞时间
"
),
key
:
"
dtRealFlyTime
"
,
type
:
"
datetime
"
,
},
{
title
:
i18n
.
$t
(
"
预计二程起飞时间
"
),
key
:
"
dtRealHeadTime
"
,
type
:
"
datetime
"
,
},
{
title
:
i18n
.
$t
(
"
业务员
"
),
key
:
"
operator
"
,
},
],
clearanceDocInfo
:
[
clearanceDocInfo
:
[
{
{
title
:
"
agent list
"
,
title
:
"
agent list
"
,
...
...
src/views/ecw/productBrank/Empower/components/showContacts.vue
0 → 100644
View file @
2651c387
<
script
>
export
default
{
name
:
"
showContacts
"
,
props
:{
phoneString
:[
String
]
},
data
(){
return
{
phoneList
:[],
}
},
mounted
()
{
let
phone
=
this
.
phoneString
this
.
phoneList
=
phone
.
split
(
'
(;)
'
);
console
.
log
(
this
.
phoneList
)
}
}
</
script
>
<
template
>
<div>
<div
v-for=
"(item, index) in phoneList"
:key=
"index"
>
<div>
<span>
联系人
{{
index
+
1
}}
:
</span>
<span>
{{
item
.
split
(
'
(@)
'
)[
1
]
}}
</span>
</div>
<div>
<span>
联系电话
{{
index
+
1
}}
:
</span>
<span>
+
{{
item
.
split
(
'
(@)
'
)[
0
]
}}
</span>
</div>
</div>
</div>
</
template
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/ecw/productBrank/Empower/index.vue
View file @
2651c387
...
@@ -43,9 +43,10 @@
...
@@ -43,9 +43,10 @@
:label=
"$t('客户名称')"
>
:label=
"$t('客户名称')"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"phone"
:formatter=
"(row, column, cellValue) => '+' + cellValue"
:label=
"$t('客户号码')"
>
:label=
"$t('客户号码')"
>
<template
v-slot=
"
{row}">
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"feeScale"
prop=
"feeScale"
...
@@ -78,9 +79,11 @@
...
@@ -78,9 +79,11 @@
:label=
"$t('客户名称')"
>
:label=
"$t('客户名称')"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"phone"
width=
"210"
:formatter=
"(row, column, cellValue) => '+' + cellValue"
:label=
"$t('客户号码')"
>
:label=
"$t('客户号码')"
>
<
template
v-slot=
"{row}"
>
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"fileUrl"
prop=
"fileUrl"
...
@@ -211,10 +214,12 @@ import DictSelector from "@/components/DictSelector"
...
@@ -211,10 +214,12 @@ import DictSelector from "@/components/DictSelector"
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
FileUpload
from
'
@/components/FileUpload
'
import
FileUpload
from
'
@/components/FileUpload
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
ShowContacts
from
"
@/views/ecw/productBrank/Empower/components/showContacts.vue
"
;
export
default
{
export
default
{
name
:
"
Empower
"
,
name
:
"
Empower
"
,
components
:
{
components
:
{
ShowContacts
,
DictSelector
,
DictSelector
,
FileUpload
FileUpload
}
,
}
,
...
...
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