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
1f490409
Commit
1f490409
authored
May 12, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/release' into release
parents
73aaa79e
449a95c5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
12 deletions
+31
-12
box.js
src/api/ecw/box.js
+1
-0
order.js
src/api/ecw/order.js
+13
-1
operatelog.js
src/api/system/operatelog.js
+2
-0
indexFutureBox.vue
src/views/ecw/box/indexFutureBox.vue
+6
-2
index.vue
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
+1
-1
detail.vue
src/views/ecw/order/detail.vue
+5
-2
index.vue
src/views/ecw/order/index.vue
+2
-5
index.vue
src/views/ecw/order/warehousing/index.vue
+1
-1
No files found.
src/api/ecw/box.js
View file @
1f490409
...
@@ -49,6 +49,7 @@ export function exportboxExcel(query) {
...
@@ -49,6 +49,7 @@ export function exportboxExcel(query) {
url
:
"
/shipment/box/export-excel
"
,
url
:
"
/shipment/box/export-excel
"
,
method
:
"
get
"
,
method
:
"
get
"
,
params
:
query
,
params
:
query
,
timeout
:
5
*
60000
,
responseType
:
"
blob
"
,
responseType
:
"
blob
"
,
});
});
}
}
...
...
src/api/ecw/order.js
View file @
1f490409
...
@@ -558,6 +558,7 @@ export function orderExportSearch(params){
...
@@ -558,6 +558,7 @@ export function orderExportSearch(params){
return
request
({
return
request
({
url
:
'
/ecw/order/export/search
'
,
url
:
'
/ecw/order/export/search
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
timeout
:
5
*
60000
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
params
params
})
})
...
@@ -569,6 +570,7 @@ export function orderExportMySearch(params){
...
@@ -569,6 +570,7 @@ export function orderExportMySearch(params){
url
:
'
/ecw/order/export/my/search
'
,
url
:
'
/ecw/order/export/my/search
'
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
timeout
:
5
*
60000
,
params
params
})
})
}
}
...
@@ -579,6 +581,7 @@ export function orderExportDeptSearch(params){
...
@@ -579,6 +581,7 @@ export function orderExportDeptSearch(params){
url
:
'
/ecw/order/export/dept/search
'
,
url
:
'
/ecw/order/export/dept/search
'
,
method
:
'
GET
'
,
method
:
'
GET
'
,
responseType
:
'
arraybuffer
'
,
responseType
:
'
arraybuffer
'
,
timeout
:
5
*
60000
,
params
params
})
})
}
}
...
@@ -589,6 +592,7 @@ export function exportAbnormal(params){
...
@@ -589,6 +592,7 @@ export function exportAbnormal(params){
url
:
'
/ecw/order/export/export-exception
'
,
url
:
'
/ecw/order/export/export-exception
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -600,6 +604,7 @@ export function exportHeavyOrder(params){
...
@@ -600,6 +604,7 @@ export function exportHeavyOrder(params){
url
:
'
/ecw/order/export/export-heavyOrder
'
,
url
:
'
/ecw/order/export/export-heavyOrder
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -610,6 +615,7 @@ export function exportReturnOrder(params){
...
@@ -610,6 +615,7 @@ export function exportReturnOrder(params){
url
:
'
/ecw/order/export/export-returnOrder
'
,
url
:
'
/ecw/order/export/export-returnOrder
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -620,6 +626,7 @@ export function exportSaleRepay(params){
...
@@ -620,6 +626,7 @@ export function exportSaleRepay(params){
url
:
'
/ecw/order/export/export-saleRepay
'
,
url
:
'
/ecw/order/export/export-saleRepay
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -631,6 +638,7 @@ export function exportCustomsDatas(params){
...
@@ -631,6 +638,7 @@ export function exportCustomsDatas(params){
url
:
'
/ecw/order/export/export-customDatas
'
,
url
:
'
/ecw/order/export/export-customDatas
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -642,6 +650,7 @@ export function exportShippingDatas(params){
...
@@ -642,6 +650,7 @@ export function exportShippingDatas(params){
url
:
'
/ecw/order/export/export-shipDatas
'
,
url
:
'
/ecw/order/export/export-shipDatas
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -653,6 +662,7 @@ export function exportShipFee(params){
...
@@ -653,6 +662,7 @@ export function exportShipFee(params){
url
:
'
/ecw/order/export/export-shipFee
'
,
url
:
'
/ecw/order/export/export-shipFee
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -664,6 +674,7 @@ export function exportUnload(params){
...
@@ -664,6 +674,7 @@ export function exportUnload(params){
url
:
'
/ecw/order/export/export-excel
'
,
url
:
'
/ecw/order/export/export-excel
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
,
params
:
params
,
timeout
:
5
*
60000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
...
@@ -673,6 +684,7 @@ export function operateLogPage(params){
...
@@ -673,6 +684,7 @@ export function operateLogPage(params){
return
request
({
return
request
({
url
:
'
/ecw/order-operate-log/page
'
,
url
:
'
/ecw/order-operate-log/page
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
params
params
:
params
,
timeout
:
5
*
60000
})
})
}
}
src/api/system/operatelog.js
View file @
1f490409
...
@@ -5,6 +5,7 @@ export function listOperateLog(query) {
...
@@ -5,6 +5,7 @@ export function listOperateLog(query) {
return
request
({
return
request
({
url
:
'
/system/operate-log/page
'
,
url
:
'
/system/operate-log/page
'
,
method
:
'
get
'
,
method
:
'
get
'
,
timeout
:
5
*
6000
,
params
:
query
params
:
query
})
})
}
}
...
@@ -15,6 +16,7 @@ export function exportOperateLog(query) {
...
@@ -15,6 +16,7 @@ export function exportOperateLog(query) {
url
:
'
/system/operate-log/export
'
,
url
:
'
/system/operate-log/export
'
,
method
:
'
get
'
,
method
:
'
get
'
,
params
:
query
,
params
:
query
,
timeout
:
5
*
6000
,
responseType
:
'
blob
'
responseType
:
'
blob
'
})
})
}
}
src/views/ecw/box/indexFutureBox.vue
View file @
1f490409
...
@@ -338,10 +338,11 @@ export default {
...
@@ -338,10 +338,11 @@ export default {
//在仓 = 已入仓-已封柜
//在仓 = 已入仓-已封柜
//this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
//},
//},
/* 2023-05-06 微信群@郑屹反馈确认,由接口计算,前端无需处理
'form.loadingNumber'(){
'form.loadingNumber'(){
//在仓 = 已入仓-已封柜
//在仓 = 已入仓-已封柜
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
this.$set(this.form, 'warehousingNumber', Decimal(this.form.warehousedNumber).minus(this.form.loadingNumber))
}
}
*/
},
},
methods
:
{
methods
:
{
getVolume
(){
getVolume
(){
...
@@ -354,10 +355,13 @@ export default {
...
@@ -354,10 +355,13 @@ export default {
}
}
let
data
=
{
let
data
=
{
transportId
:
this
.
form
.
transportType
,
transportId
:
this
.
form
.
transportType
,
channelId
:
this
.
form
.
shippingChannelId
,
departureId
:
this
.
form
.
startWarehouseId
,
departureId
:
this
.
form
.
startWarehouseId
,
objectiveId
:
this
.
form
.
destWarehouseId
objectiveId
:
this
.
form
.
destWarehouseId
}
}
// 空运才需要渠道
if
(
data
.
transportId
==
4
){
data
.
channelId
=
this
.
form
.
shippingChannelId
}
// 获得已封柜方数
// 获得已封柜方数
getBoxedVolume
(
data
).
then
(
res
=>
{
getBoxedVolume
(
data
).
then
(
res
=>
{
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
res
.
data
||
0
)
this
.
$set
(
this
.
form
,
'
loadingNumber
'
,
res
.
data
||
0
)
...
...
src/views/ecw/box/shippingSea/nodePage/tally/index.vue
View file @
1f490409
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
list
.
push
({
list
.
push
({
...
oItem
,
...
oItem
,
warehouseInInfo
,
warehouseInInfo
,
//
multiSpecification: item.multiSpecification,
multiSpecification
:
item
.
multiSpecification
,
positionNo
:
oItem
.
positionNo
,
positionNo
:
oItem
.
positionNo
,
tallyStatus
:
item
.
tallyStatus
,
tallyStatus
:
item
.
tallyStatus
,
tallyTime
:
item
.
tallyTime
,
tallyTime
:
item
.
tallyTime
,
...
...
src/views/ecw/order/detail.vue
View file @
1f490409
...
@@ -286,7 +286,7 @@
...
@@ -286,7 +286,7 @@
</el-tab-pane>
</el-tab-pane>
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<!-- 这个地方v-hasPermi不生效,所以换checkPermi函数检查 -->
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-tab-pane
:label=
"$t('操作日志')"
name=
"five"
v-if=
"checkPermi(['ecw:order:logs'])"
>
<el-table
:data=
"logs"
>
<el-table
:data=
"logs"
v-loading=
"logsLoading"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<el-table-column
:label=
"$t('时间')"
width=
"150"
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
<
template
slot-scope=
"{row}"
>
{{
parseTime
(
row
.
createTime
)
}}
</
template
>
</el-table-column>
</el-table-column>
...
@@ -441,7 +441,7 @@ export default {
...
@@ -441,7 +441,7 @@ export default {
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showWarehouseInItemId
:
null
,
// 当前显示的入仓
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
showFeeDetailDialog
:
null
,
// 是否显示费用详情弹层
feeDetail
:
null
,
// 费用详情
feeDetail
:
null
,
// 费用详情
logsLoading
:
false
,
// 日志加载中
logs
:
[],
// 操作日志
logs
:
[],
// 操作日志
}
}
}
,
}
,
...
@@ -640,8 +640,11 @@ export default {
...
@@ -640,8 +640,11 @@ export default {
}
,
}
,
// 加载操作日志
// 加载操作日志
loadLogs
(){
loadLogs
(){
this
.
logsLoading
=
true
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
operateLogPage
({
orderId
:
this
.
orderId
,
page
:
1
,
rows
:
10000
}
).
then
(
res
=>
{
this
.
logs
=
res
.
data
.
list
this
.
logs
=
res
.
data
.
list
}
).
finally
(()
=>
{
this
.
logsLoading
=
false
}
)
}
)
}
,
}
,
downloadPackingList
(){
downloadPackingList
(){
...
...
src/views/ecw/order/index.vue
View file @
1f490409
...
@@ -318,9 +318,7 @@
...
@@ -318,9 +318,7 @@
<!-- 合单日志,提货日志 -->
<!-- 合单日志,提货日志 -->
<
template
v-if=
"(
<
template
v-if=
"(
scope.row.status > 2 &&
scope.row.status > 2
exclude(scope.row.status + '-' + scope.row.shipmentState, ['17-391', '18-392', '15-332', '15-330']) &&
exclude(scope.row.status + '-' + scope.row.inWarehouseState, ['16-202'])
)"
>
)"
>
<el-dropdown-item
@
click.native=
"showMergedLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:merge_log']"
>
{{
$t
(
'
合单日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showMergedLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:merge_log']"
>
{{
$t
(
'
合单日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showPickupLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:split_log']"
>
{{
$t
(
'
提货日志
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"showPickupLogOrderNo=scope.row.orderNo"
v-hasPermi=
"['ecw:order:split_log']"
>
{{
$t
(
'
提货日志
'
)
}}
</el-dropdown-item>
...
@@ -342,13 +340,12 @@
...
@@ -342,13 +340,12 @@
<el-button
type=
"text"
>
{{
$t
(
'
仓库
'
)
}}
</el-button>
<el-button
type=
"text"
>
{{
$t
(
'
仓库
'
)
}}
</el-button>
<el-dropdown-menu
slot=
"dropdown"
>
<el-dropdown-menu
slot=
"dropdown"
>
<!-- 入仓操作 -->
<!-- 入仓操作 -->
<template
v-if=
"include(scope.row.status, [0,2]) ||
include(scope.row.abnormalState, [1]) ||
scope.row.inWarehouseState == 208"
>
<template
v-if=
"include(scope.row.status, [0,2]) || scope.row.inWarehouseState == 208"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:warehouse_add']"
>
{{
$t
(
'
入仓操作
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:warehouse_add']"
>
{{
$t
(
'
入仓操作
'
)
}}
</el-dropdown-item>
</
template
>
</
template
>
<!-- 入仓补充 -->
<!-- 入仓补充 -->
<
template
v-if=
"
<
template
v-if=
"
include(scope.row.inWarehouseState, [201,202, 202, 210, 202, 211, 202, 214, 215, 216]) &&
include(scope.row.inWarehouseState, [201,202, 202, 210, 202, 211, 202, 214, 215, 216]) &&
scope.row.abnormalState != 1 &&
include(scope.row.status, [2,3,5,10,9,8])
include(scope.row.status, [2,3,5,10,9,8])
"
>
"
>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-add?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:warehouse_replenish']"
>
{{
$t
(
'
入仓补充
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push('/order/warehousing-add?id=' + scope.row.orderId)"
v-hasPermi=
"['ecw:order:warehouse_replenish']"
>
{{
$t
(
'
入仓补充
'
)
}}
</el-dropdown-item>
...
...
src/views/ecw/order/warehousing/index.vue
View file @
1f490409
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
:label=
"$t('入库货物属性')"
>
:label=
"$t('入库货物属性')"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<template
v-if=
"row.warehouseInInfoVO"
>
<template
v-if=
"row.warehouseInInfoVO"
>
{{
$t
(
'
品牌
'
)
}}
:
{{
[
$t
(
'
无牌
'
),
$t
(
'
有牌
'
),
$t
(
'
中性
'
)][
row
.
feeType
]
}}
<br>
{{
$t
(
'
品牌
'
)
}}
:
{{
row
.
brandName
}}
<br>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
{{
$t
(
'
箱数
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
cartonsNum
}}
<br>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
{{
$t
(
'
体积
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
volume
}}
m³
<br>
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
{{
$t
(
'
重量
'
)
}}
:
{{
row
.
warehouseInInfoVO
.
weight
}}
Kg
...
...
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