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
d3e6cb36
Commit
d3e6cb36
authored
Apr 29, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台入仓时添加商品 / 后台入仓时添加商品-前端 追加的时候不能添加新品名
https://zentao.test.jdshangmen.com/task-view-1921.html
parent
34d4c71d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+4
-9
No files found.
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
d3e6cb36
...
...
@@ -14,14 +14,14 @@
<template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
中文品名
'
)
}}
</
template
>
<span
style=
"min-width: 200px;margin-right: 15px;display: inline-block"
>
<product-selector
v-if=
"!order.parentOrderId && !isAdd"
v-model=
"form.prodId"
@
change=
"onProductChange"
/>
<span
v-else
>
{{
prodTitleZh ||
warehousing.prodTitleZh }}
</span>
<span
v-else
>
{{ warehousing.prodTitleZh }}
</span>
</span>
<el-button
type=
"text"
@
click=
"isShowProduct = true"
>
添加新商品
</el-button>
<el-button
v-if=
"!order.parentOrderId && !isAdd"
type=
"text"
@
click=
"isShowProduct = true"
>
添加新商品
</el-button>
</el-descriptions-item>
<el-descriptions-item>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
英文品名
'
)
}}
</
template
>
<product-selector
v-if=
"!order.parentOrderId && !isAdd"
lang=
"En"
v-model=
"form.prodId"
@
change=
"onProductChange"
/>
<span
v-else
>
{{
prodTitleEn ||
warehousing.prodTitleEn }}
</span>
<span
v-else
>
{{ warehousing.prodTitleEn }}
</span>
</el-descriptions-item>
<el-descriptions-item
:label=
"$t('品牌')"
>
<
template
slot=
"label"
><span
style=
"color: red"
>
*
</span>
{{
$t
(
'
品牌
'
)
}}
</
template
>
...
...
@@ -641,10 +641,7 @@ export default {
//类型列表
typeList
:
[],
// 特性列表
attrList
:
[],
// 添加商品时的临时名字
prodTitleZh
:
''
,
prodTitleEn
:
''
attrList
:
[]
}
},
...
...
@@ -909,8 +906,6 @@ export default {
this
.
$modal
.
msgSuccess
(
this
.
$t
(
"
新增成功
"
))
if
(
this
.
activeName
===
'
first
'
)
{
this
.
form
.
prodId
=
response
.
data
this
.
prodTitleZh
=
this
.
productForm
.
titleZh
this
.
prodTitleEn
=
this
.
productForm
.
titleEn
}
else
{
this
.
form1
.
prodId
=
response
.
data
}
...
...
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