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
2bec89ef
Commit
2bec89ef
authored
Nov 11, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改强制到仓逻辑修改
parent
7103d87d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
6 deletions
+21
-6
order.js
src/api/ecw/order.js
+3
-2
startUnloading.vue
...ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
+9
-2
startUnloading.vue
...ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
+9
-2
No files found.
src/api/ecw/order.js
View file @
2bec89ef
...
...
@@ -1088,8 +1088,9 @@ export function copyOrder(orderId) {
// 强制到仓
export
function
order_warehouse_check_force
(
data
)
{
return
request
({
url
:
"
/order/order-warehouse-check/force/
"
+
data
.
orderId
,
method
:
"
post
"
url
:
"
/order/order-warehouse-check/force/
"
,
method
:
"
post
"
,
data
})
}
...
...
src/views/ecw/box/shippingAir/nodePage/unloading/startUnloading.vue
View file @
2bec89ef
...
...
@@ -146,7 +146,7 @@
<el-button
type=
"danger"
size=
"small"
@
click=
"openError(scope.row)"
>
{{
$t
(
"
异常
"
)
}}
</el-button>
<el-button
v-if=
"pageData.boxCustomsBackVO && pageData.boxCustomsBackVO.overMachineStatus == 2 && pageData.boxCustomsBackVO.overMachineAbnormalStatus == 2"
plain
type=
"primary"
size=
"small"
@
click=
"$router.push('/order/warehousing-update?id=' + scope.row.orderId)"
>
{{
$t
(
"
入仓修改
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_revoke(scope.row.orderId)"
v-if=
"scope.row.inWarehouseState == 218"
>
{{
$t
(
"
撤销到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_force(scope.row.orderId)"
v-if=
"scope.row.unloadNum > 0 && scope.row.installNum > scope.row.unloadNum"
>
{{
$t
(
"
强制到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_force(scope.row.orderId)"
v-if=
"scope.row.
inWarehouseState == 0 && scope.row.
unloadNum > 0 && scope.row.installNum > scope.row.unloadNum"
>
{{
$t
(
"
强制到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/order/warehousingTo-update?id=' + scope.row.orderId)"
v-if=
"scope.row.inWarehouseState == 218"
>
{{
$t
(
"
到仓修改
"
)
}}
</el-button>
</div>
</
template
>
...
...
@@ -308,8 +308,15 @@ export default {
})
},
order_warehouse_check_force
(
orderId
)
{
if
(
!
this
.
ulWarehouseTime
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请选择到仓时间
"
))
return
}
this
.
$confirm
(
this
.
$t
(
"
确定要强制到仓么?
"
)).
then
(
async
()
=>
{
let
r
=
await
order_warehouse_check_force
({
orderId
})
let
params
=
{}
params
.
orderId
=
orderId
params
.
unloadTime
=
this
.
ulWarehouseTime
let
r
=
await
order_warehouse_check_force
(
params
)
this
.
getLoadGoodsList
()
})
},
...
...
src/views/ecw/box/shippingSea/nodePage/unloading/startUnloading.vue
View file @
2bec89ef
...
...
@@ -136,7 +136,7 @@
<div
class=
"btns"
>
<el-button
type=
"danger"
size=
"small"
@
click=
"openError(scope.row)"
>
{{
$t
(
"
异常
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_revoke(scope.row.orderId)"
v-if=
"scope.row.inWarehouseState == 218"
>
{{
$t
(
"
撤销到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_force(scope.row.orderId)"
v-if=
"scope.row.unloadNum > 0 && scope.row.installNum > scope.row.unloadNum"
>
{{
$t
(
"
强制到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"order_warehouse_check_force(scope.row.orderId)"
v-if=
"scope.row.
inWarehouseState == 0 && scope.row.
unloadNum > 0 && scope.row.installNum > scope.row.unloadNum"
>
{{
$t
(
"
强制到仓
"
)
}}
</el-button>
<el-button
type=
"primary"
size=
"small"
@
click=
"$router.push('/order/warehousingTo-update?id=' + scope.row.orderId)"
v-if=
"scope.row.inWarehouseState == 218"
>
{{
$t
(
"
到仓修改
"
)
}}
</el-button>
</div>
</
template
>
...
...
@@ -290,8 +290,15 @@ export default {
})
},
order_warehouse_check_force
(
orderId
)
{
if
(
!
this
.
ulWarehouseTime
)
{
this
.
$message
.
error
(
this
.
$t
(
"
请选择到仓时间
"
))
return
}
this
.
$confirm
(
this
.
$t
(
"
确定要强制到仓么?
"
)).
then
(
async
()
=>
{
let
r
=
await
order_warehouse_check_force
({
orderId
})
let
params
=
{}
params
.
orderId
=
orderId
params
.
unloadTime
=
this
.
ulWarehouseTime
let
r
=
await
order_warehouse_check_force
(
params
)
this
.
getLoadGoodsList
()
})
},
...
...
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