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
c6758962
Commit
c6758962
authored
Apr 03, 2023
by
Marcus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入仓添加新品名,选择品牌默认显示填单货物的品牌了
https://zentao.test.jdshangmen.com/bug-view-2751.html
parent
a6476f69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
Warehouse.vue
src/views/ecw/order/warehousing/components/Warehouse.vue
+10
-8
No files found.
src/views/ecw/order/warehousing/components/Warehouse.vue
View file @
c6758962
...
...
@@ -202,10 +202,10 @@
filterable
remote
@
change=
"handleBrandChange"
:remote-method=
"getProductBrandPage"
:remote-method=
"getProductBrandPage
1
"
clearable
>
<el-option
v-for=
"item in brandList"
v-for=
"item in brandList
1
"
:key=
"item.id"
:label=
"item.titleZh"
:value=
"item.id"
>
...
...
@@ -504,6 +504,7 @@ export default {
visible
(
val
){
if
(
val
)
{
this
.
getProductBrandPage
(
this
.
warehousing
.
brandName
)
this
.
getProductBrandPage1
()
this
.
handleBrandChange
(
parseInt
(
this
.
form
.
brand
))
this
.
init
()
}
else
{
...
...
@@ -556,6 +557,7 @@ export default {
recordMode
:
undefined
},
brandList
:
[],
brandList1
:
[],
formRules
:
{
prodId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品名
"
),
trigger
:
"
change
"
}],
brand
:
[{
required
:
true
,
message
:
this
.
$t
(
"
请选择品牌
"
),
trigger
:
"
change
"
}],
...
...
@@ -761,12 +763,12 @@ export default {
},
getProductBrandPage
(
titleZh
=
undefined
)
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
this
.
brandList
=
r
.
data
.
list
.
map
(
e
=>
{
// if(e.id){
// e.id = e.id.toString()
// }
return
e
})
this
.
brandList
=
r
.
data
.
list
})
},
getProductBrandPage1
(
titleZh
=
undefined
)
{
getProductBrankPage
({
pageSize
:
20
,
titleZh
}).
then
(
r
=>
{
this
.
brandList1
=
r
.
data
.
list
})
},
handleBrandChange
(
v
){
...
...
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