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
16534a56
Commit
16534a56
authored
Oct 28, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
39c46ffb
3eedac78
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
94 additions
and
12 deletions
+94
-12
boxAir.js
src/api/ecw/boxAir.js
+2
-2
indexAir.vue
src/views/ecw/box/indexAir.vue
+8
-2
cusClearance.vue
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
+1
-1
preinstall.vue
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
+38
-2
preinstall.vue
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
+45
-5
No files found.
src/api/ecw/boxAir.js
View file @
16534a56
...
@@ -369,9 +369,9 @@ export function updateAllOrderClearance(data) {
...
@@ -369,9 +369,9 @@ export function updateAllOrderClearance(data) {
* @param {*} data
* @param {*} data
* @return {*}
* @return {*}
*/
*/
export
function
getLineInfo
List
(
params
)
{
export
function
getLineInfo
(
params
)
{
return
request
({
return
request
({
url
:
`/ecw/warehouse/getLineInfo
List
`
,
url
:
`/ecw/warehouse/getLineInfo`
,
method
:
"
get
"
,
method
:
"
get
"
,
params
params
});
});
...
...
src/views/ecw/box/indexAir.vue
View file @
16534a56
...
@@ -120,7 +120,7 @@
...
@@ -120,7 +120,7 @@
<el-dropdown-item
command=
"error"
v-has-permi=
"['shipment:air:exception']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"error"
v-has-permi=
"['shipment:air:exception']"
>
{{
$t
(
'
异常登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-has-permi=
"['shipment:air:fee']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"cost"
v-has-permi=
"['shipment:air:fee']"
>
{{
$t
(
'
费用登记
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"batchMarkup"
v-has-permi=
"['shipment:air:batchMarkup']"
>
{{
$t
(
'
批量加价
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"batchMarkup"
v-has-permi=
"['shipment:air:batchMarkup']"
>
{{
$t
(
'
批量加价
'
)
}}
</el-dropdown-item>
<el-dropdown-item
:disabled=
"scope.row.prStatus
<25
"
command=
"editLadingBill"
v-has-permi=
"['shipment:air:editLadingBill']"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
<el-dropdown-item
command=
"editLadingBill"
v-has-permi=
"['shipment:air:editLadingBill']"
>
{{
$t
(
'
编辑提货单
'
)
}}
</el-dropdown-item>
<!--
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
-->
<!--
<el-dropdown-item
command=
"delete"
>
{{
$t
(
'
删除
'
)
}}
</el-dropdown-item>
-->
</el-dropdown-menu>
</el-dropdown-menu>
...
@@ -206,7 +206,7 @@ import {
...
@@ -206,7 +206,7 @@ import {
dealCustomsSplitNotify
,
dealCustomsSplitNotify
,
exportPreloadGoodsList
,
downloadReceivableList
,
getAirNoticeList
,
zipDownload
,
downloadAirReceivableList
exportPreloadGoodsList
,
downloadReceivableList
,
getAirNoticeList
,
zipDownload
,
downloadAirReceivableList
}
from
'
@/api/ecw/box
'
}
from
'
@/api/ecw/box
'
import
{
getLineInfo
List
}
from
'
@/api/ecw/boxAir
'
import
{
getLineInfo
}
from
'
@/api/ecw/boxAir
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
getChannelList
}
from
'
@/api/ecw/channel
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
{
getWarehouseList
}
from
'
@/api/ecw/warehouse
'
import
costForm
from
'
./costForm.vue
'
import
costForm
from
'
./costForm.vue
'
...
@@ -518,6 +518,12 @@ export default {
...
@@ -518,6 +518,12 @@ export default {
this
.
handleDelete
(
row
);
this
.
handleDelete
(
row
);
break
;
break
;
case
"
editLadingBill
"
:
case
"
editLadingBill
"
:
getLineInfo
({
startWarehouseId
:
row
.
startWarehouseId
,
destWarehouseId
:
row
.
destWarehouseId
,
transportType
:
row
.
transportType
}
)
console
.
log
(
row
,
12121
)
if
(
1
){
this
.
$message
.
error
(
this
.
$t
(
"
此出货单状态未到提单节点
"
));
return
}
const
cabinetLabel
=
this
.
getCabinetName
(
row
.
cabinetId
);
const
cabinetLabel
=
this
.
getCabinetName
(
row
.
cabinetId
);
const
title
=
this
.
$t
(
const
title
=
this
.
$t
(
"
查看提单 {selfNo
}
"
,
"
查看提单 {selfNo
}
"
,
...
...
src/views/ecw/box/shippingAir/nodePage/cusClearance.vue
View file @
16534a56
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
sumVolume
}}
/
{{
scope
.
row
.
sumWeight
}}
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
sumVolume
}}
/
{{
scope
.
row
.
sumWeight
}}
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('到港状态')"
prop=
"arrival"
/>
<el-table-column
:label=
"$t('到港状态')"
prop=
"arrival"
/>
<el-table-column
:label=
"$t('
到港
状态')"
prop=
"clear"
/>
<el-table-column
:label=
"$t('
清关
状态')"
prop=
"clear"
/>
<el-table-column
:label=
"$t('控货')"
>
<el-table-column
:label=
"$t('控货')"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
cargoControlStatus
[
scope
.
row
.
cargoControlStatus
]
}}
{{
cargoControlStatus
[
scope
.
row
.
cargoControlStatus
]
}}
...
...
src/views/ecw/box/shippingAir/nodePage/preinstall.vue
View file @
16534a56
...
@@ -288,7 +288,7 @@
...
@@ -288,7 +288,7 @@
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
warehouseInInfoVO.cartonsNum
"
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
warehouseInInfoVO.cartonsNum
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
span
style
=
"
color: blue;
"
v
-
if
=
"
scope.row.mixStatus == 1
"
>
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
{{
$t
(
'
(混箱)
'
)
}}
<
/spa
n
>
<
el
-
button
v
-
if
=
"
scope.row.mixStatus == 1
"
type
=
"
text
"
@
click
=
"
seeBox(scope.row.orderId,scope.row.orderItemId)
"
>
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
{{
$t
(
'
(混箱)
'
)
}}
<
/el-butto
n
>
<
template
v
-
else
>
<
template
v
-
else
>
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
<
/template
>
<
/template
>
...
@@ -373,6 +373,16 @@
...
@@ -373,6 +373,16 @@
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
/el-row
>
<
/el-row
>
<
/el-dialog
>
<
/el-dialog
>
<
el
-
dialog
:
title
=
"
$t('箱明细')
"
:
visible
.
sync
=
"
boxShow
"
:
before
-
close
=
"
closeBox
"
:
close
-
on
-
click
-
modal
=
"
false
"
append
-
to
-
body
width
=
"
1024px
"
>
<
el
-
form
v
-
if
=
"
boxShow
"
>
<
WarehouseRecordDetailItem
v
-
for
=
"
(item, index) in boxData
"
:
key
=
"
index
"
v
-
model
=
"
boxData[index]
"
:
index
=
"
index
"
:
attr
-
list
=
"
attrList
"
:
readonly
=
"
true
"
/>
<
/el-form
>
<
/el-dialog
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
@@ -391,6 +401,8 @@ import {
...
@@ -391,6 +401,8 @@ import {
getAllRelateOrderList
getAllRelateOrderList
}
from
"
@/api/ecw/boxSea
"
;
}
from
"
@/api/ecw/boxSea
"
;
import
{
createGoods
,
preloadPage
}
from
"
@/api/ecw/boxAir
"
import
{
createGoods
,
preloadPage
}
from
"
@/api/ecw/boxAir
"
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
{
getOrderWarehouseIn
}
from
'
@/api/ecw/order
'
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
{
getChannelList
}
from
"
@/api/ecw/channel
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
userSelect
from
"
./common/userSelect.vue
"
;
import
{
import
{
...
@@ -403,6 +415,7 @@ import {
...
@@ -403,6 +415,7 @@ import {
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
Decimal
from
"
decimal.js
"
;
import
Decimal
from
"
decimal.js
"
;
import
WarehouseRecordDetailItem
from
"
@/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
"
;
/**
/**
* 分拣
* 分拣
...
@@ -410,7 +423,7 @@ import Decimal from "decimal.js";
...
@@ -410,7 +423,7 @@ import Decimal from "decimal.js";
export
default
{
export
default
{
name
:
"
preinstall
"
,
name
:
"
preinstall
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
userSelect
,
WorkFlow
}
,
components
:
{
userSelect
,
WorkFlow
,
WarehouseRecordDetailItem
}
,
data
()
{
data
()
{
return
{
return
{
// 状态
// 状态
...
@@ -472,6 +485,10 @@ export default {
...
@@ -472,6 +485,10 @@ export default {
visible
:
false
,
visible
:
false
,
data
:
[]
data
:
[]
}
,
}
,
// 特性列表
attrList
:
[],
boxShow
:
false
,
boxData
:
[]
}
;
}
;
}
,
}
,
...
@@ -626,6 +643,25 @@ export default {
...
@@ -626,6 +643,25 @@ export default {
this
.
queryParams
=
{
}
;
this
.
queryParams
=
{
}
;
this
.
$refs
[
"
queryForm
"
].
resetFields
();
this
.
$refs
[
"
queryForm
"
].
resetFields
();
}
,
}
,
closeBox
(){
this
.
boxData
=
[]
this
.
boxShow
=
false
}
,
seeBox
(
orderId
,
orderItemId
){
getOrderWarehouseIn
(
orderId
).
then
(
async
(
res
)
=>
{
let
orderwarehouseList
=
res
.
data
var
warehouseItem
=
orderwarehouseList
.
find
(
item
=>
item
.
orderItemId
==
orderItemId
)
warehouseItem
.
orderWarehouseInBackItemDoList
.
forEach
(
item
=>
{
if
(
item
.
orderWarehouseInDetailsVOList
){
item
.
orderWarehouseInDetailsVOList
.
forEach
(
w
=>
{
this
.
boxData
.
push
(
w
)
}
)
}
}
)
this
.
attrList
=
(
await
getProductAttrList
()).
data
this
.
boxShow
=
true
}
)
}
,
/** 提交 */
/** 提交 */
onSubmit
()
{
onSubmit
()
{
this
.
$refs
[
"
operatorForm
"
].
validate
((
valid
,
errors
)
=>
{
this
.
$refs
[
"
operatorForm
"
].
validate
((
valid
,
errors
)
=>
{
...
...
src/views/ecw/box/shippingSea/nodePage/preinstall.vue
View file @
16534a56
...
@@ -258,7 +258,14 @@
...
@@ -258,7 +258,14 @@
<
dict
-
tag
:
type
=
"
DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL
"
:
value
=
"
row.feeType
"
/>
{{
$t
(
'
)
'
)
}}
<
dict
-
tag
:
type
=
"
DICT_TYPE.BRAND_CUSTOMER_CHARGING_MODEL
"
:
value
=
"
row.feeType
"
/>
{{
$t
(
'
)
'
)
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
warehouseInInfoVO.cartonsNum
"
/>
<
el
-
table
-
column
:
label
=
"
$t('箱数')
"
align
=
"
center
"
prop
=
"
warehouseInInfoVO.cartonsNum
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
el
-
button
v
-
if
=
"
scope.row.mixStatus == 1
"
type
=
"
text
"
@
click
=
"
seeBox(scope.row.orderId,scope.row.orderItemId)
"
>
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
{{
$t
(
'
(混箱)
'
)
}}
<
/el-button
>
<
template
v
-
else
>
{{
scope
.
row
.
warehouseInInfoVO
.
cartonsNum
}}
<
/template
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
:
label
=
"
$t('体积') +'/' + $t('重量')
"
align
=
"
center
"
prop
=
"
volumeWeight
"
>
<
el
-
table
-
column
:
label
=
"
$t('体积') +'/' + $t('重量')
"
align
=
"
center
"
prop
=
"
volumeWeight
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
template
slot
-
scope
=
"
scope
"
>
<
p
v
-
if
=
"
scope.row.warehouseInInfoVO && scope.row.warehouseInInfoVO.volume
"
>
{{
getTotlContent
(
scope
.
row
.
warehouseInInfoVO
,[
'
volume
'
])
}}
<
/p
>
<
p
v
-
if
=
"
scope.row.warehouseInInfoVO && scope.row.warehouseInInfoVO.volume
"
>
{{
getTotlContent
(
scope
.
row
.
warehouseInInfoVO
,[
'
volume
'
])
}}
<
/p
>
...
@@ -336,7 +343,16 @@
...
@@ -336,7 +343,16 @@
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
el
-
button
type
=
"
primary
"
@
click
=
"
relationOrderListDialog.visible = false
"
>
{{
$t
(
'
关闭窗口
'
)
}}
<
/el-button
>
<
/el-row
>
<
/el-row
>
<
/el-dialog
>
<
/el-dialog
>
<
el
-
dialog
:
title
=
"
$t('箱明细')
"
:
visible
.
sync
=
"
boxShow
"
:
before
-
close
=
"
closeBox
"
:
close
-
on
-
click
-
modal
=
"
false
"
append
-
to
-
body
width
=
"
1024px
"
>
<
el
-
form
v
-
if
=
"
boxShow
"
>
<
WarehouseRecordDetailItem
v
-
for
=
"
(item, index) in boxData
"
:
key
=
"
index
"
v
-
model
=
"
boxData[index]
"
:
index
=
"
index
"
:
attr
-
list
=
"
attrList
"
:
readonly
=
"
true
"
/>
<
/el-form
>
<
/el-dialog
>
<
/div
>
<
/div
>
<
/template
>
<
/template
>
...
@@ -366,14 +382,16 @@ import {
...
@@ -366,14 +382,16 @@ import {
import
dayjs
from
"
dayjs
"
;
import
dayjs
from
"
dayjs
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
WorkFlow
from
"
@/components/WorkFlow
"
;
import
Decimal
from
"
decimal.js
"
;
import
Decimal
from
"
decimal.js
"
;
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
{
getOrderWarehouseIn
}
from
'
@/api/ecw/order
'
import
WarehouseRecordDetailItem
from
"
@/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
"
;
/**
/**
* 预装
* 预装
*/
*/
export
default
{
export
default
{
name
:
"
preinstall
"
,
name
:
"
preinstall
"
,
inheritAttrs
:
false
,
inheritAttrs
:
false
,
components
:
{
userSelect
,
WorkFlow
}
,
components
:
{
userSelect
,
WorkFlow
,
WarehouseRecordDetailItem
}
,
data
()
{
data
()
{
return
{
return
{
// 状态
// 状态
...
@@ -433,7 +451,10 @@ export default {
...
@@ -433,7 +451,10 @@ export default {
visible
:
false
,
visible
:
false
,
data
:
[]
data
:
[]
}
,
}
,
// 特性列表
attrList
:
[],
boxShow
:
false
,
boxData
:
[]
}
;
}
;
}
,
}
,
computed
:
{
computed
:
{
...
@@ -548,6 +569,25 @@ export default {
...
@@ -548,6 +569,25 @@ export default {
this
.
queryParams
=
{
}
;
this
.
queryParams
=
{
}
;
this
.
$refs
[
"
queryForm
"
].
resetFields
();
this
.
$refs
[
"
queryForm
"
].
resetFields
();
}
,
}
,
closeBox
(){
this
.
boxData
=
[]
this
.
boxShow
=
false
}
,
seeBox
(
orderId
,
orderItemId
){
getOrderWarehouseIn
(
orderId
).
then
(
async
(
res
)
=>
{
let
orderwarehouseList
=
res
.
data
var
warehouseItem
=
orderwarehouseList
.
find
(
item
=>
item
.
orderItemId
==
orderItemId
)
warehouseItem
.
orderWarehouseInBackItemDoList
.
forEach
(
item
=>
{
if
(
item
.
orderWarehouseInDetailsVOList
){
item
.
orderWarehouseInDetailsVOList
.
forEach
(
w
=>
{
this
.
boxData
.
push
(
w
)
}
)
}
}
)
this
.
attrList
=
(
await
getProductAttrList
()).
data
this
.
boxShow
=
true
}
)
}
,
/** 提交 */
/** 提交 */
onSubmit
()
{
onSubmit
()
{
this
.
$refs
[
"
operatorForm
"
].
validate
((
valid
,
errors
)
=>
{
this
.
$refs
[
"
operatorForm
"
].
validate
((
valid
,
errors
)
=>
{
...
...
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