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
de2b5593
Commit
de2b5593
authored
Apr 02, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓修改功能完善
parent
ffd0db89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
order.js
src/api/ecw/order.js
+1
-1
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+3
-3
index.vue
src/views/ecw/order/warehousing/index.vue
+11
-2
No files found.
src/api/ecw/order.js
View file @
de2b5593
...
@@ -166,7 +166,7 @@ export function orderWarehouseIn(data){
...
@@ -166,7 +166,7 @@ export function orderWarehouseIn(data){
// 入仓修改
// 入仓修改
export
function
orderWarehouseInUpdateApply
(
data
){
export
function
orderWarehouseInUpdateApply
(
data
){
return
request
({
return
request
({
url
:
'
/order/order-warehouse-in/update-
a
pply
'
,
url
:
'
/order/order-warehouse-in/update-
or-updateA
pply
'
,
method
:
'
put
'
,
method
:
'
put
'
,
data
data
})
})
...
...
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
de2b5593
...
@@ -359,7 +359,7 @@
...
@@ -359,7 +359,7 @@
</el-tab-pane>
</el-tab-pane>
</el-tabs>
</el-tabs>
<div
v-if=
"edit"
>
<div
v-if=
"edit
&& order.status !== 3
"
>
<h2>
{{ $t('审批流程') }}
</h2>
<h2>
{{ $t('审批流程') }}
</h2>
<work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
<work-flow
xmlkey=
"free_apply"
v-model=
"selectedUsers"
/>
<!-- <div>选择的用户:{{selectedUsers}}</div>-->
<!-- <div>选择的用户:{{selectedUsers}}</div>-->
...
@@ -688,10 +688,10 @@ export default {
...
@@ -688,10 +688,10 @@ export default {
copyUserId
:
this
.
selectedUsers
copyUserId
:
this
.
selectedUsers
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
data
)
{
if
(
r
.
data
)
{
this
.
$message
.
success
(
'
入仓修改发起成功
'
)
this
.
$message
.
success
(
r
.
msg
||
'
入仓修改发起成功
'
)
this
.
handleClose
()
this
.
handleClose
()
}
else
{
}
else
{
this
.
$message
.
success
(
'
入仓修改发起失败
'
)
this
.
$message
.
success
(
r
.
msg
||
'
入仓修改发起失败
'
)
}
}
})
})
}
else
{
}
else
{
...
...
src/views/ecw/order/warehousing/index.vue
View file @
de2b5593
...
@@ -84,6 +84,7 @@
...
@@ -84,6 +84,7 @@
<
template
v-slot=
"{ row, column, $index }"
>
<
template
v-slot=
"{ row, column, $index }"
>
<warehouse
<warehouse
v-if=
"isEdit"
v-if=
"isEdit"
:edit=
"true"
:order-item-a=
"order.orderItemVOList[$index]"
:order-item-a=
"order.orderItemVOList[$index]"
:order-item-b=
"orderItemList[$index]"
:order-item-b=
"orderItemList[$index]"
:title=
"$t('修改')"
:title=
"$t('修改')"
...
@@ -101,6 +102,13 @@
...
@@ -101,6 +102,13 @@
:title=
"$t('追加')"
:title=
"$t('追加')"
:order=
"order"
:order=
"order"
@
close=
"getList"
></warehouse>
@
close=
"getList"
></warehouse>
<warehouse
:edit=
"true"
:order-item-a=
"order.orderItemVOList[$index]"
:order-item-b=
"orderItemList[$index]"
:title=
"$t('修改')"
:order=
"order"
@
close=
"getList"
></warehouse>
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row)"
>
{{
$t
(
'
追加
'
)
}}
</el-button>
-->
<!--
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousing(row)"
>
{{
$t
(
'
追加
'
)
}}
</el-button>
-->
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
{{
$t
(
'
退仓
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"handleWarehousingReturn(row)"
>
{{
$t
(
'
退仓
'
)
}}
</el-button>
<!--
</
template
>
-->
<!--
</
template
>
-->
...
@@ -168,7 +176,7 @@
...
@@ -168,7 +176,7 @@
<image-and-video-upload
:fileSize=
"50"
:isShowTip=
"true"
v-model=
"form.urls"
></image-and-video-upload>
<image-and-video-upload
:fileSize=
"50"
:isShowTip=
"true"
v-model=
"form.urls"
></image-and-video-upload>
</div>
</div>
</el-card>
</el-card>
<div
style=
"text-align: center;margin-top: 15px"
v-if=
"
!isEdit
"
>
<div
style=
"text-align: center;margin-top: 15px"
v-if=
"
order.status === 3
"
>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
{{$t('转异')}}
</el-button>
<el-button
@
click=
"escapeBol = true;"
type=
"primary"
>
{{$t('转异')}}
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
{{$t('完成入仓')}}
</el-button>
<el-button
type=
"primary"
@
click=
"finishVisible = true"
>
{{$t('完成入仓')}}
</el-button>
</div>
</div>
...
@@ -511,7 +519,8 @@ export default {
...
@@ -511,7 +519,8 @@ export default {
return
this
.
$route
.
path
===
"
/order/warehousing-add
"
return
this
.
$route
.
path
===
"
/order/warehousing-add
"
},
},
isEdit
()
{
isEdit
()
{
return
this
.
$route
.
path
===
"
/order/warehousing-update
"
return
this
.
order
.
status
!==
3
// return this.$route.path === "/order/warehousing-update"
},
},
title
()
{
title
()
{
return
this
.
$i18n
.
locale
===
'
en_US
'
?
this
.
$route
.
meta
.
titleEn
:
this
.
$route
.
name
return
this
.
$i18n
.
locale
===
'
en_US
'
?
this
.
$route
.
meta
.
titleEn
:
this
.
$route
.
name
...
...
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