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
86c69880
Commit
86c69880
authored
Apr 27, 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
b662aa67
c67ae120
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
10 deletions
+39
-10
box.js
src/api/ecw/box.js
+8
-1
order.js
src/api/ecw/order.js
+9
-1
en_US.json
src/i18n/languages/en_US.json
+2
-2
index.vue
src/views/ecw/order/index.vue
+20
-6
No files found.
src/api/ecw/box.js
View file @
86c69880
...
@@ -257,6 +257,7 @@ export function downloadAgentListFiles(params) {
...
@@ -257,6 +257,7 @@ export function downloadAgentListFiles(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadAgentListFiles
"
,
url
:
"
/ecw/box-preload-goods/downloadAgentListFiles
"
,
method
:
"
get
"
,
method
:
"
get
"
,
timeout
:
3
*
60
*
1000
,
params
,
params
,
});
});
}
}
...
@@ -266,6 +267,7 @@ export function downloadSoncapFiles(params) {
...
@@ -266,6 +267,7 @@ export function downloadSoncapFiles(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadSoncapFiles
"
,
url
:
"
/ecw/box-preload-goods/downloadSoncapFiles
"
,
method
:
"
get
"
,
method
:
"
get
"
,
timeout
:
3
*
60
*
1000
,
params
,
params
,
});
});
}
}
...
@@ -275,6 +277,7 @@ export function downloadCustomFiles(params) {
...
@@ -275,6 +277,7 @@ export function downloadCustomFiles(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadCustomFiles
"
,
url
:
"
/ecw/box-preload-goods/downloadCustomFiles
"
,
method
:
"
get
"
,
method
:
"
get
"
,
timeout
:
3
*
60
*
1000
,
params
,
params
,
});
});
}
}
...
@@ -284,6 +287,7 @@ export function downloadLoadGoodsList(params) {
...
@@ -284,6 +287,7 @@ export function downloadLoadGoodsList(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadLoadGoodsList
"
,
url
:
"
/ecw/box-preload-goods/downloadLoadGoodsList
"
,
responseType
:
"
blob
"
,
responseType
:
"
blob
"
,
timeout
:
3
*
60
*
1000
,
method
:
"
get
"
,
method
:
"
get
"
,
params
,
params
,
});
});
...
@@ -294,6 +298,7 @@ export function downloadPreloadGoodsList(params) {
...
@@ -294,6 +298,7 @@ export function downloadPreloadGoodsList(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadPreloadGoodsList
"
,
url
:
"
/ecw/box-preload-goods/downloadPreloadGoodsList
"
,
responseType
:
"
blob
"
,
responseType
:
"
blob
"
,
timeout
:
3
*
60
*
1000
,
method
:
"
get
"
,
method
:
"
get
"
,
params
,
params
,
});
});
...
@@ -304,6 +309,7 @@ export function downloadReceivableList(params) {
...
@@ -304,6 +309,7 @@ export function downloadReceivableList(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-preload-goods/downloadReceivableList
"
,
url
:
"
/ecw/box-preload-goods/downloadReceivableList
"
,
responseType
:
"
blob
"
,
responseType
:
"
blob
"
,
timeout
:
3
*
60
*
1000
,
method
:
"
get
"
,
method
:
"
get
"
,
params
,
params
,
});
});
...
@@ -314,6 +320,7 @@ export function downloadLadingCopy(params) {
...
@@ -314,6 +320,7 @@ export function downloadLadingCopy(params) {
return
request
({
return
request
({
url
:
"
/ecw/box-lading-copy/downloadLadingCopy
"
,
url
:
"
/ecw/box-lading-copy/downloadLadingCopy
"
,
method
:
"
get
"
,
method
:
"
get
"
,
timeout
:
3
*
60
*
1000
,
params
,
params
,
});
});
}
}
...
@@ -334,4 +341,4 @@ export function updateUrl(data) {
...
@@ -334,4 +341,4 @@ export function updateUrl(data) {
method
:
"
put
"
,
method
:
"
put
"
,
data
,
data
,
});
});
}
}
\ No newline at end of file
src/api/ecw/order.js
View file @
86c69880
import
request
from
'
@/utils/request
'
import
request
from
'
@/utils/request
'
import
{
param
}
from
"
@/utils
"
;
// 创建订单
// 创建订单
export
function
createOrder
(
data
)
{
export
function
createOrder
(
data
)
{
...
@@ -676,3 +675,12 @@ export function operateLogPage(params){
...
@@ -676,3 +675,12 @@ export function operateLogPage(params){
params
:
params
params
:
params
})
})
}
}
// 取消拆单申请
export
function
splitCancelApply
(
data
){
return
request
({
url
:
'
/order/split/cancel-apply
'
,
method
:
'
put
'
,
data
})
}
src/i18n/languages/en_US.json
View file @
86c69880
...
@@ -204,8 +204,8 @@
...
@@ -204,8 +204,8 @@
"未来计划方数"
:
"CBM of future plans"
,
"未来计划方数"
:
"CBM of future plans"
,
"未来实际方数"
:
" Actual CBM in the future"
,
"未来实际方数"
:
" Actual CBM in the future"
,
"创建人"
:
"founder"
,
"创建人"
:
"founder"
,
"未来"
:
"
future
"
,
"未来"
:
"
Number of containers in the next
"
,
"天货柜数"
:
"
Number of containers per day
"
,
"天货柜数"
:
"
days
"
,
"未来{futureNumber}天计划方数"
:
"Planned cbm in the future {futureNumber} days"
,
"未来{futureNumber}天计划方数"
:
"Planned cbm in the future {futureNumber} days"
,
"未来{futureNumber}天实际方数"
:
"Actual cbm in the future {futureNumber} days"
,
"未来{futureNumber}天实际方数"
:
"Actual cbm in the future {futureNumber} days"
,
"添加预定舱计划"
:
"Add booking plan"
,
"添加预定舱计划"
:
"Add booking plan"
,
...
...
src/views/ecw/order/index.vue
View file @
86c69880
...
@@ -316,6 +316,12 @@
...
@@ -316,6 +316,12 @@
<el-dropdown-item
@
click.native=
"$router.push(`/order/splitApply?orderId=$
{scope.row.orderId}`)" v-hasPermi="['ecw:order:split']">
{{
$t
(
'
拆单申请
'
)
}}
</el-dropdown-item>
<el-dropdown-item
@
click.native=
"$router.push(`/order/splitApply?orderId=$
{scope.row.orderId}`)" v-hasPermi="['ecw:order:split']">
{{
$t
(
'
拆单申请
'
)
}}
</el-dropdown-item>
</
template
>
</
template
>
<!--撤销拆单,拆单的子订单,预装前显示,预装后变灰不可点击-->
<
template
v-if=
"scope.row.parentOrderId"
>
<el-dropdown-item
@
click.native=
"cancelSplit(scope.row)"
v-hasPermi=
"['ecw:order:cancel_split']"
>
{{
$t
(
'
撤销拆单
'
)
}}
</el-dropdown-item>
</
template
>
<!-- 合单日志,提货日志 -->
<!-- 合单日志,提货日志 -->
<
template
v-if=
"(
<
template
v-if=
"(
scope.row.status > 2 &&
scope.row.status > 2 &&
...
@@ -491,7 +497,7 @@ import {
...
@@ -491,7 +497,7 @@ import {
exportCustomsDatas
,
exportCustomsDatas
,
exportShippingDatas
,
exportShippingDatas
,
exportShipFee
,
exportShipFee
,
exportUnload
exportUnload
,
splitCancelApply
}
from
"
@/api/ecw/order
"
;
}
from
"
@/api/ecw/order
"
;
/* import { getDictDatas, DICT_TYPE } from '@/utils/dict'; */
/* import { getDictDatas, DICT_TYPE } from '@/utils/dict'; */
import
PrintTag
from
'
./components/PrintTag
'
import
PrintTag
from
'
./components/PrintTag
'
...
@@ -652,6 +658,15 @@ export default {
...
@@ -652,6 +658,15 @@ export default {
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
getCurrencyPage
(
this
.
params
).
then
(
res
=>
this
.
currencyList
=
res
.
data
.
list
)
},
},
methods
:
{
methods
:
{
// 取消拆单申请
cancelSplit
(
row
){
this
.
$prompt
(
'
请输入撤销理由
'
).
then
(
res
=>
{
console
.
log
(
"
res
"
,
res
)
return
splitCancelApply
({
orderId
:
row
.
orderId
,
reason
:
res
.
value
})
}).
then
(()
=>
{
this
.
getList
()
})
},
// 获得导出函数
// 获得导出函数
getExportFunc
(){
getExportFunc
(){
let
func
=
orderExportSearch
let
func
=
orderExportSearch
...
@@ -744,10 +759,10 @@ export default {
...
@@ -744,10 +759,10 @@ export default {
return
this
.
$alert
(
'
不支持此操作
'
)
return
this
.
$alert
(
'
不支持此操作
'
)
}
}
this
.
$confirm
(
action
.
confirm
)
this
.
$confirm
(
action
.
confirm
)
.
then
(
res
=>
{
.
then
(
()
=>
{
return
action
.
callable
(
orderId
)
return
action
.
callable
(
orderId
)
})
})
.
then
(
res
=>
{
.
then
(
()
=>
{
this
.
getList
()
this
.
getList
()
})
})
},
},
...
@@ -844,14 +859,13 @@ export default {
...
@@ -844,14 +859,13 @@ export default {
specialRendering
(
val
){
specialRendering
(
val
){
if
(
val
!==
undefined
){
if
(
val
!==
undefined
){
let
i
=
val
.
split
(
'
,
'
)
let
i
=
val
.
split
(
'
,
'
)
let
special
=
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
e
=>
{
return
this
.
getDictDatas
(
this
.
DICT_TYPE
.
ORDER_SPECIAL_NEEDS
).
filter
(
e
=>
{
return
i
.
indexOf
(
e
.
value
)
>
-
1
return
i
.
indexOf
(
e
.
value
)
>
-
1
})
})
return
special
}
}
},
},
deleteSpecial
(
id
,
orderId
){
deleteSpecial
(
id
,
orderId
){
this
.
$confirm
(
this
.
$t
(
'
确定删除此特需么?
'
)).
then
(
res
=>
{
this
.
$confirm
(
this
.
$t
(
'
确定删除此特需么?
'
)).
then
(
()
=>
{
return
orderSpecialNeed
({
orderId
:
orderId
,
advanceType
:
id
})
return
orderSpecialNeed
({
orderId
:
orderId
,
advanceType
:
id
})
}).
then
(()
=>
{
}).
then
(()
=>
{
this
.
getList
()
this
.
getList
()
...
...
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