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
b9261ffd
Commit
b9261ffd
authored
Jun 29, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
空运添加编辑提货单
parent
7b444552
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
2 deletions
+39
-2
indexAir.vue
src/views/ecw/box/indexAir.vue
+39
-2
No files found.
src/views/ecw/box/indexAir.vue
View file @
b9261ffd
...
...
@@ -107,7 +107,8 @@
<el-dropdown-item
command=
"error"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"batchMarkup"
>
{{
$t
(
'
批量加价
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.ldStatus
<46
"
command=
"editLadingBill"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
<!--
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
-->
</el-dropdown-menu>
</el-dropdown>
...
...
@@ -179,16 +180,20 @@ import {
downloadFileByUrl
,
formatDate
,
}
from
"
./shippingAir/utils
"
;
import
{
getCabinetPage
}
from
"
@/api/ecw/cabinet
"
;
import
LadingBill
from
"
@/views/ecw/box/ladingBill/index.vue
"
;
export
default
{
name
:
'
indexAir
'
,
components
:
{
LadingBill
,
costForm
,
regError
,
editAirForm
}
,
data
()
{
return
{
cabinetList
:[],
dateTypes
:
[
{
value
:
'
1
'
,
label
:
this
.
$t
(
'
分拣时间
'
)
}
,
{
value
:
'
2
'
,
label
:
this
.
$t
(
'
装柜时间
'
)
}
,
...
...
@@ -266,6 +271,16 @@ export default {
}
}
,
computed
:
{
getCabinetName
()
{
return
(
cabinetId
)
=>
{
for
(
let
index
in
this
.
cabinetList
)
{
let
cabinetItem
=
this
.
cabinetList
[
index
];
if
(
cabinetItem
.
id
==
cabinetId
)
{
return
cabinetItem
.
name
;
}
}
}
;
}
,
exportWarehouseList
()
{
return
this
.
warehouseList
.
filter
((
item
)
=>
item
.
tradeType
==
'
2
'
||
item
.
type
==
'
3
'
)
}
,
...
...
@@ -286,6 +301,9 @@ export default {
}
}
,
created
()
{
getCabinetPage
({
status
:
0
}
).
then
((
response
)
=>
{
this
.
cabinetList
=
response
.
data
.
list
;
}
);
this
.
transportTypes
=
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ECW_TRANSPORT_TYPE
).
filter
((
item
)
=>
item
.
value
==
"
3
"
);
console
.
log
(
this
.
getDictDatas
(
...
...
@@ -389,7 +407,7 @@ export default {
/** 导出按钮操作 */
handleExport
()
{
// 处理查询参数
let
params
=
{
...
this
.
queryParams
}
let
params
=
{
...
this
.
queryParams
}
params
.
pageNo
=
undefined
params
.
pageSize
=
undefined
this
.
addBeginAndEndTime
(
params
,
this
.
dateRangeCreateTime
,
'
createTime
'
)
...
...
@@ -423,9 +441,28 @@ export default {
case
'
delete
'
:
this
.
handleDelete
(
row
);
break
;
case
"
editLadingBill
"
:
const
cabinetLabel
=
this
.
getCabinetName
(
row
.
cabinetId
);
const
title
=
this
.
$t
(
"
查看提单 {selfNo
}
柜号:{cubNo
}
柜型:{cabinetLabel
}
"
,
{
selfNo
:
row
.
selfNo
,
cubNo
:
row
.
cubNo
,
cabinetLabel
:
cabinetLabel
,
}
);
this
.
$set
(
this
.
dialogCfg
,
"
title
"
,
title
);
this
.
$set
(
this
.
dialogCfg
,
"
fullscreen
"
,
true
);
break
;
case
'
batchMarkup
'
:
this
.
$router
.
push
(
'
batch_markup?shipmentId=
'
+
row
.
id
)
}
if
([
"
editLadingBill
"
,
"
cost
"
,
"
error
"
].
includes
(
command
))
{
this
.
currRow
=
row
;
this
.
$set
(
this
.
dialogCfg
,
"
dialogType
"
,
command
);
this
.
$set
(
this
.
dialogCfg
,
"
width
"
,
"
600px
"
);
this
.
$set
(
this
.
dialogCfg
,
"
open
"
,
true
);
}
}
,
}
}
...
...
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