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
0e5d8f9d
Commit
0e5d8f9d
authored
Jun 13, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
7fb46a5d
859189d6
Changes
9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
405 additions
and
13 deletions
+405
-13
order.js
src/api/ecw/order.js
+8
-0
index.vue
src/components/ImageAndVideoUpload/index.vue
+7
-2
editAirForm.vue
src/views/ecw/box/editAirForm.vue
+18
-8
PackHistory.vue
src/views/ecw/order/components/PackHistory.vue
+85
-0
PackHistoryDetail.vue
src/views/ecw/order/components/PackHistoryDetail.vue
+227
-0
WarehouseDetail.vue
src/views/ecw/order/components/WarehouseDetail.vue
+4
-0
detail.vue
src/views/ecw/order/detail.vue
+19
-2
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+26
-1
index.vue
src/views/ecw/order/warehousing/index.vue
+11
-0
No files found.
src/api/ecw/order.js
View file @
0e5d8f9d
...
...
@@ -833,3 +833,11 @@ export function batchException(data){
data
})
}
// 打包记录列表
export
function
orderItemPackLogPage
(
params
){
return
request
({
url
:
'
/order/item-pack-log/page
'
,
method
:
'
get
'
,
params
})
}
\ No newline at end of file
src/components/ImageAndVideoUpload/index.vue
View file @
0e5d8f9d
...
...
@@ -5,10 +5,11 @@
<el-image
@
click=
"dialogImageUrl = item.url; dialogVisible = true; "
style=
"height: 148px; width:148px;"
fit=
"fit"
:src=
"item.url"
>
<video
controls
width=
"148px"
height=
"148px"
slot=
"error"
:src=
"item.url"
></video>
</el-image>
<div
@
click=
"handleRemove(index)"
class=
"el-icon-error"
style=
"font-size: 25px;cursor: pointer;position: absolute;right: -10px; top: -10px"
></div>
<div
v-if=
"!readonly"
@
click=
"handleRemove(index)"
class=
"el-icon-error"
style=
"font-size: 25px;cursor: pointer;position: absolute;right: -10px; top: -10px"
></div>
</div>
<div>
<el-upload
v-if=
"!readonly"
multiple
:action=
"uploadImgUrl"
list-type=
"picture-card"
...
...
@@ -23,7 +24,7 @@
<i
class=
"el-icon-plus"
></i>
</el-upload>
<!-- 上传提示 -->
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip"
>
<div
class=
"el-upload__tip"
slot=
"tip"
v-if=
"showTip
&& !readonly
"
>
{{
$t
(
'
请上传
'
)
}}
<template
v-if=
"fileSize"
>
{{
$t
(
'
大小不超过
'
)
}}
<b
style=
"color: #f56c6c"
>
{{
fileSize
}}
MB
</b>
</
template
>
<br>
<
template
v-if=
"fileType"
>
{{
$t
(
'
格式为
'
)
}}
<b
style=
"color: #f56c6c"
>
{{
fileType
.
join
(
"
/
"
)
}}
</b>
</
template
>
{{ $t('的文件') }}
</div>
...
...
@@ -63,6 +64,10 @@ export default {
isShowTip
:
{
type
:
Boolean
,
default
:
true
},
readonly
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
...
...
src/views/ecw/box/editAirForm.vue
View file @
0e5d8f9d
...
...
@@ -25,22 +25,22 @@
<el-option
v-for=
"item in importWarehouseList"
:label=
"$l(item, 'title')"
:value=
"item.id"
:key=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的港清关')"
prop=
"
transportTyp
e"
>
<el-radio-group
v-model=
"form.
qingguan
"
>
<el-form-item
:label=
"$t('目的港清关')"
prop=
"
destinationClearanc
e"
>
<el-radio-group
v-model=
"form.
destinationClearanceSelect"
@
input=
"destinationClearanceSelect
"
>
<el-radio
:label=
"1"
>
{{
$t
(
'
我司
'
)
}}
</el-radio>
<el-radio
:label=
"
2
"
>
{{
$t
(
'
客户
'
)
}}
</el-radio>
<el-radio
:label=
"
3
"
>
{{
$t
(
'
客户
'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
v-if=
"form.
qingguan==1"
prop=
"qingguan2
"
:rules=
"[
<el-form-item
v-if=
"form.
destinationClearanceSelect==1"
prop=
"destinationClearance
"
:rules=
"[
{ required: true, message: this.$t('清关方式不能为空'), trigger: 'blur' }
]">
<el-radio-group
v-model=
"form.
qingguan2
"
>
<el-radio-group
v-model=
"form.
destinationClearance
"
>
<el-radio
:label=
"1"
>
{{
$t
(
'
我司清关
'
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'
合作方清关
'
)
}}
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
:label=
"$t('发货方式')"
prop=
"
transport
Type"
>
<el-radio-group
v-model=
"form.
fahuo
"
>
<el-form-item
:label=
"$t('发货方式')"
prop=
"
delivery
Type"
>
<el-radio-group
v-model=
"form.
deliveryType
"
>
<el-radio
:label=
"1"
>
{{
$t
(
'
多票
'
)
}}
</el-radio>
<el-radio
:label=
"2"
>
{{
$t
(
'
单票
'
)
}}
</el-radio>
</el-radio-group>
...
...
@@ -69,12 +69,17 @@ export default {
},
created
()
{
this
.
form
=
{
...
this
.
shipmentObj
};
if
(
this
.
form
.
destinationClearance
&&
this
.
form
.
destinationClearance
!=
3
){
this
.
form
.
destinationClearanceSelect
=
1
}
this
.
getChannelList
()
},
data
()
{
return
{
// 表单参数
form
:
{},
form
:
{
destinationClearance
:
null
},
channelList
:
[],
// 表单校验
rules
:
{
...
...
@@ -94,6 +99,11 @@ export default {
getChannelList
()
{
getChannelList
().
then
((
res
)
=>
(
this
.
channelList
=
res
.
data
))
},
destinationClearanceSelect
(
val
)
{
if
(
val
==
3
){
this
.
form
.
destinationClearance
=
val
}
},
/** 提交按钮 */
submitForm
()
{
this
.
$refs
[
'
form
'
].
validate
((
valid
)
=>
{
...
...
src/views/ecw/order/components/PackHistory.vue
0 → 100644
View file @
0e5d8f9d
<
template
>
<!-- 订单获取入仓记录 -->
<el-dialog
:title=
"title"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"800px"
>
<el-table
v-if=
"packData"
:data=
"packData"
>
<el-table-column
type=
"index"
:label=
"$t('序号')"
/>
<el-table-column
:label=
"$t('打包人')"
prop=
"name"
>
<template
slot-scope=
"
{row}">
{{
row
.
creatorName
}}
</
template
>
</el-table-column>
isNoNeedToPack
<el-table-column
:label=
"$t('打包时间')"
prop=
"time"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
createTime
|
parseTime
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('备注')"
prop=
"time"
>
<
template
slot-scope=
"{row}"
>
{{
row
.
isNoNeedToPack
?
this
.
$t
(
'
无需打包
'
):
''
}}
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('操作')"
>
<
template
slot-scope=
"{row}"
>
<el-button
type=
"primary"
@
click=
"showPackDetail(row)"
>
{{
$t
(
'
详情
'
)
}}
</el-button>
</
template
>
</el-table-column>
</el-table>
<!-- 分页组件 -->
<pagination
v-show=
"total > 0"
:total=
"total"
:page.sync=
"queryParams.page"
:limit.sync=
"queryParams.rows"
@
pagination=
"getList"
/>
</el-dialog>
</template>
<
script
>
import
{
orderItemPackLogPage
}
from
'
@/api/ecw/order
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
export
default
{
filters
:
{
parseTime
},
props
:{
order
:
Object
,
orderItemId
:
Number
,
},
data
(){
return
{
total
:
0
,
queryParams
:{
page
:
1
,
rows
:
10
},
packData
:[]
}
},
computed
:{
title
(){
if
(
!
this
.
order
||!
this
.
orderItemId
)
return
this
.
$t
(
'
打包历史
'
)
var
orderItem
=
this
.
order
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
this
.
orderItemId
)
if
(
!
orderItem
)
return
this
.
$t
(
'
打包历史
'
)
return
orderItem
.
prodTitleZh
+
'
(
'
+
orderItem
.
prodTitleEn
+
'
)
'
+
this
.
$t
(
'
打包历史
'
)
}
},
created
(){
this
.
show
=
true
if
(
this
.
order
&&
this
.
orderItemId
){
this
.
queryParams
.
orderId
=
this
.
order
.
orderId
;
this
.
queryParams
.
orderItemId
=
this
.
orderItemId
;
orderItemPackLogPage
(
this
.
queryParams
).
then
(
res
=>
{
this
.
packData
=
[]
this
.
$nextTick
(()
=>
{
this
.
packData
=
res
.
data
.
list
})
this
.
total
=
res
.
data
.
total
;
})
}
},
methods
:{
getList
(){
},
closeDialog
(){
this
.
show
=
false
this
.
$emit
(
'
close
'
);
},
showPackDetail
(
orderWarehouseInContent
){
this
.
$emit
(
'
showPackDetail
'
,
orderWarehouseInContent
);
}
}
}
</
script
>
src/views/ecw/order/components/PackHistoryDetail.vue
0 → 100644
View file @
0e5d8f9d
This diff is collapsed.
Click to expand it.
src/views/ecw/order/components/WarehouseDetail.vue
View file @
0e5d8f9d
<
template
>
<!-- 订单获取入仓记录 -->
<el-dialog
:title=
"title"
visible
:before-close=
"closeDialog"
:close-on-click-modal=
"false"
width=
"1000px"
>
<el-button
v-if=
"info.transportId==3"
style=
"position:absolute;top:15px;left:340px"
type=
"primary"
@
click=
"seePackLog"
>
{{
$t
(
'
查看打包历史
'
)
}}
</el-button>
<el-table
v-if=
"warehouseItem && warehouseItem.orderWarehouseInBackItemDoList"
:data=
"warehouseItem.orderWarehouseInBackItemDoList"
>
<el-table-column
type=
"index"
:label=
"$t('序号')"
/>
<el-table-column
:label=
"$t('箱数')"
prop=
"cartonsNum"
/>
...
...
@@ -110,6 +111,9 @@ export default {
getOrderWarehouseIn
(
this
.
info
.
orderId
).
then
(
res
=>
{
this
.
warehouseList
=
res
.
data
})
},
seePackLog
(){
this
.
$emit
(
'
openPackHistory
'
,
2
)
}
}
}
...
...
src/views/ecw/order/detail.vue
View file @
0e5d8f9d
...
...
@@ -376,7 +376,7 @@
<
print
-
warehouse
-
receipt
v
-
if
=
"
showWarehouseReceipt
"
:
order
-
id
=
"
order.orderId
"
@
close
=
"
showWarehouseReceipt=false
"
/>
<
print
-
lading
-
bill
v
-
if
=
"
showLadingBill
"
:
order
-
id
=
"
order.orderId
"
:
transport
-
type
=
"
order.transportId
"
@
close
=
"
showLadingBill=false
"
/>
<
warehouse
-
detail
:
order
=
"
order
"
:
orderItemId
=
"
showWarehouseInItemId
"
v
-
if
=
"
showWarehouseInItemId
"
@
close
=
"
showWarehouseInItemId=null
"
/>
<
warehouse
-
detail
:
order
=
"
order
"
@
openPackHistory
=
"
openPackHistory
"
:
orderItemId
=
"
showWarehouseInItemId
"
v
-
if
=
"
showWarehouseInItemId
"
@
close
=
"
showWarehouseInItemId=null
"
/>
<
el
-
dialog
:
title
=
"
$t('付款人')
"
:
visible
.
sync
=
"
showDarweeDialog
"
v
-
if
=
"
order && order.customDraweeVOList
"
>
<
el
-
table
:
data
=
"
order.customDraweeVOList
"
v
-
if
=
"
order.drawee==3
"
>
<
el
-
table
-
column
:
label
=
"
$t('费用类型')
"
prop
=
"
label
"
width
=
"
200px
"
>
...
...
@@ -444,6 +444,10 @@
<!--
日志详情
-->
<
operate
-
log
-
detail
v
-
if
=
"
showLogDetailId
"
:
log
-
id
=
"
showLogDetailId
"
@
close
=
"
showLogDetailId=null
"
><
/operate-log-detail
>
<!--
打包历史
-->
<
pack
-
history
v
-
if
=
"
shopPackId
"
:
order
=
"
order
"
:
orderItemId
=
"
shopPackId
"
@
showPackDetail
=
"
showPackDetail
"
@
close
=
"
shopPackId=null
"
><
/pack-history
>
<!--
打包历史详情
-->
<
pack
-
history
-
detail
v
-
if
=
"
packAfterData
"
:
order
=
"
order
"
:
packAfterData
=
"
packAfterData
"
:
orderItemId
=
"
showWarehouseInItemId
"
@
close
=
"
packAfterData=null
"
><
/pack-history-detail
>
<
/div
>
<
/template
>
...
...
@@ -464,11 +468,13 @@ import { parseTime } from '@/utils/ruoyi';
import
WarehouseAreaSelect
from
"
@/components/WarehouseAreaSelect
"
import
{
checkPermi
}
from
'
@/utils/permission
'
import
OperateLogDetail
from
"
@/views/ecw/order/components/OprateLogDetail
"
;
import
PackHistory
from
'
./components/PackHistory
'
;
import
PackHistoryDetail
from
'
./components/PackHistoryDetail
'
;
export
default
{
name
:
"
detail
"
,
components
:
{
OperateLogDetail
,
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
,
WarehouseAreaSelect
PrintWarehouseReceipt
,
PrintLadingBill
,
WarehouseDetail
,
WarehouseAreaSelect
,
PackHistory
,
PackHistoryDetail
}
,
filters
:
{
customsTypeFilter
(
e
,
customsTypeList
)
{
...
...
@@ -513,6 +519,8 @@ export default {
showMore
:
false
,
consigneeText
:
this
.
$t
(
'
更多
'
),
showLogDetailId
:
null
,
// 显示日志详情的ID
shopPackId
:
null
,
//显示打包历史的ID
packAfterData
:
null
,
//显示打包历史详情
}
}
,
computed
:{
...
...
@@ -745,6 +753,15 @@ export default {
parseLogNote
(
note
){
if
(
!
note
)
return
[]
return
JSON
.
parse
(
note
)
}
,
//查看打包历史
openPackHistory
(){
this
.
shopPackId
=
this
.
showWarehouseInItemId
}
,
//查看打包历史详情
showPackDetail
(
packAfterData
){
this
.
packAfterData
=
packAfterData
}
}
}
;
...
...
src/views/ecw/order/prepayDeal.vue
View file @
0e5d8f9d
...
...
@@ -478,6 +478,7 @@
:
key
=
"
dict.value
"
:
label
=
"
dict.label
"
:
value
=
"
dict.value
"
/>
<
/el-select
>
<
/el-form-item
>
<!--
不可出渠道异常
-->
<
div
v
-
if
=
"
orderExceptionData.orderExceptionType=='not_shipping_channel_exception'&&handlerParams.orderExceptionHandlerResult=='change_channel'
"
>
<
el
-
form
-
item
:
label
=
"
$t('出货渠道')
"
prop
=
"
channelId
"
v
-
if
=
"
getDictData(DICT_TYPE.ECW_TRANSPORT_TYPE, orderData.transportId).cssClass == 'channel'
"
>
<!--
嵌套一个
form
来脱离
disabled
控制
-->
...
...
@@ -501,6 +502,30 @@
<
/option
>
<
/select
>
<
/div
>
<
div
v
-
if
=
"
orderExceptionData.orderExceptionType=='not_shipping_channel_exception'&&(handlerParams.orderExceptionHandlerResult=='change_channel'||handlerParams.orderExceptionHandlerResult=='hand_confirm')
"
>
<
div
>
<
el
-
form
-
item
:
label
=
"
$t('运费成交单价')+':'
"
size
=
"
medium
"
>
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
style
=
"
width: 120px !important;
"
clearable
:
disabled
=
"
orderExceptionData.orderExceptionStatus==2
"
>
<
el
-
option
v
-
for
=
"
dict in currencyList
"
:
key
=
"
dict.id
"
:
label
=
"
dict.titleZh
"
:
value
=
"
dict.id
"
/>
<
/el-select
>
<
/el-form-item
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
span
style
=
"
margin:0 20px;font-size:16px
"
>
/</
span
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
/div
>
<
div
>
<
el
-
form
-
item
:
label
=
"
$t('清关费成交单价')+':'
"
size
=
"
medium
"
>
<
el
-
select
v
-
model
=
"
handlerParams.currency
"
style
=
"
width: 12 0px !important;
"
clearable
:
disabled
=
"
orderExceptionData.orderExceptionStatus==2
"
>
<
el
-
option
v
-
for
=
"
dict in currencyList
"
:
key
=
"
dict.id
"
:
label
=
"
dict.titleZh
"
:
value
=
"
dict.id
"
/>
<
/el-select
>
<
/el-form-item
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
span
style
=
"
margin:0 20px;font-size:16px
"
>
/</
span
>
<
el
-
input
style
=
"
width: 100px;
"
type
=
"
text
"
v
-
model
=
"
handlerParams.amount
"
/>
<
/div
>
<
/div
>
<
/el-row
>
<
/div
>
<
/el-form
>
...
...
@@ -732,7 +757,7 @@
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
// that.orderExceptionData.orderExceptionType = 'order_miss_exception'
// that.orderExceptionData.orderExceptionType = 'not_customer_service_exception'
//
that.orderExceptionData.orderExceptionType = 'not_shipping_channel_exception'
that
.
orderExceptionData
.
orderExceptionType
=
'
not_shipping_channel_exception
'
that
.
loading
=
false
;
that
.
orderId
=
response
.
data
.
orderId
that
.
getOrderData
()
...
...
src/views/ecw/order/warehousing/index.vue
View file @
0e5d8f9d
...
...
@@ -158,6 +158,15 @@
<span
slot=
"append"
>
kg
</span>
</el-input>
</el-form-item>
<el-card
style=
"margin-top: 15px;"
>
<div
slot=
"header"
class=
"clearfix"
>
<span
style=
"font-size: 18px"
>
{{$t('入仓影像')}}
</span>
</div>
<div>
<image-and-video-upload
readonly
:fileSize=
"50"
:isShowTip=
"true"
:value=
"[...form.urls, ...this.orderItemList.map(e => e.pictureUrls).flat()]"
></image-and-video-upload>
</div>
</el-card>
<div
style=
"text-align: center;margin-top: 15px"
v-if=
"!(order.status !== 3 && isEdit)"
>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
{{$t('转异')}}
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
{{$t('完成入仓')}}
</el-button>
...
...
@@ -222,6 +231,7 @@ import PrintTag from "@/views/ecw/order/components/PrintTag"
import
PrintWarehouseReceipt
from
"
@/views/ecw/order/components/PrintWarehouseReceipt
"
import
imageUpload
from
"
@/components/ImageUpload
"
;
import
{
parseTime
}
from
"
@/utils/ruoyi
"
import
ImageAndVideoUpload
from
'
@/components/ImageAndVideoUpload
'
import
Warehouse
from
"
@/views/ecw/order/warehousing/components/Warehouse
"
export
default
{
name
:
"
Warehousing
"
,
...
...
@@ -232,6 +242,7 @@ export default {
PrintTag
,
PrintWarehouseReceipt
,
imageUpload
,
ImageAndVideoUpload
,
Warehouse
},
...
...
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