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
e1aa8569
Commit
e1aa8569
authored
Mar 23, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台-订单入仓后品名支持修改 -前端
https://zentao.test.jdshangmen.com/task-view-1506.html
parent
3d908885
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
editDialog.vue
src/views/ecw/order/warehousing/components/editDialog.vue
+11
-3
No files found.
src/views/ecw/order/warehousing/components/editDialog.vue
View file @
e1aa8569
...
...
@@ -11,11 +11,13 @@
<el-descriptions
border
:column=
"2"
>
<el-descriptions-item>
<template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
中文品名
'
)
}}
</
template
>
{{ warehousing.prodTitleZh }}
<product-selector
v-if=
"edit && !this.order.parentOrderId"
v-model=
"form.prodId"
@
change=
"onProductChange0"
/>
<span
v-else
>
{{ warehousing.prodTitleZh }}
</span>
</el-descriptions-item>
<el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
英文品名
'
)
}}
</
template
>
{{ warehousing.prodTitleEn }}
<product-selector
v-if=
"edit && !this.order.parentOrderId"
lang=
"En"
v-model=
"form.prodId"
@
change=
"onProductChange0"
/>
<span
v-else
>
{{ warehousing.prodTitleEn }}
</span>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('品牌')"
>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
品牌
'
)
}}
</
template
>
...
...
@@ -531,6 +533,7 @@ export default {
},
opened
(
val
)
{
if
(
val
)
{
this
.
form
.
prodId
=
this
.
warehousing
.
prodId
this
.
form
.
material
=
this
.
warehousing
.
material
if
(
this
.
warehousing
.
brand
&&
this
.
warehousing
.
brand
!==
0
){
this
.
form
.
brand
=
this
.
warehousing
.
brand
.
toString
()
||
''
...
...
@@ -592,6 +595,11 @@ export default {
this
.
form1
.
prodTitleZh
=
product
.
titleZh
this
.
form1
.
prodTitleEn
=
product
.
titleEn
},
onProductChange0
(
product
){
this
.
form
.
prodTitleZh
=
product
.
titleZh
this
.
form
.
prodTitleEn
=
product
.
titleEn
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
},
handleTabs
(){
if
(
this
.
activeName
===
'
first
'
){
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
...
...
@@ -682,7 +690,7 @@ export default {
num
:
this
.
warehousing
.
num
,
volume
:
(
+
this
.
warehousing
.
volume
)?.
toFixed
(
2
)
||
''
,
weight
:
(
+
this
.
warehousing
.
weight
)?.
toFixed
(
2
)
||
''
,
prodId
:
this
.
warehousing
.
prodId
,
prodId
:
this
.
form
.
prodId
,
"
orderWarehouseInUpdateItemDoList
"
:
this
.
tableData
.
map
(
e
=>
{
return
{
...
e
,
...
...
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