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
6f25fd94
Commit
6f25fd94
authored
Oct 26, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复箱明细用途回显异常
parent
9f3fb039
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
WarehouseRecordDetailItem.vue
...rder/warehousing/components/WarehouseRecordDetailItem.vue
+10
-5
No files found.
src/views/ecw/order/warehousing/components/WarehouseRecordDetailItem.vue
View file @
6f25fd94
...
...
@@ -40,13 +40,16 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('用途')"
>
<dict-selector
<el-checkbox-group
v-model=
"usageIds"
>
<el-checkbox
v-for=
"item in getDictDatas(DICT_TYPE.WAREHOUSING_RECORD_DETAIL_USAGE)"
:key=
"item.value"
:label=
"item.value"
:disabled=
"readonly"
>
{{
$l
(
item
,
'
label
'
)
}}
</el-checkbox>
</el-checkbox-group>
<!--
<dict-selector
v-model=
"usageIds"
:type=
"DICT_TYPE.WAREHOUSING_RECORD_DETAIL_USAGE"
multiple
form-type=
"checkbox"
:disabled=
"readonly"
></dict-selector>
></dict-selector>
-->
</el-form-item>
</el-col>
</el-row>
...
...
@@ -101,7 +104,7 @@
import
ProductSelector
from
"
@/components/ProductSelector/index.vue
"
import
{
getProductBrank
,
getProductBrankPage
}
from
'
@/api/ecw/productBrank
'
import
{
getProductAttrList
}
from
"
@/api/ecw/productAttr
"
import
{
DICT_TYPE
}
from
'
@/utils/dict
'
import
{
DICT_TYPE
,
getDictDatas
}
from
'
@/utils/dict
'
export
default
{
name
:
"
WarehouseRecordDetailItem
"
,
...
...
@@ -141,10 +144,10 @@ export default {
boxGauge3
:
''
,
}
},
mounted
()
{
async
mounted
()
{
// 品牌回显
if
(
this
.
value
.
brand
)
{
getProductBrank
(
this
.
value
.
brand
).
then
(
r
=>
{
await
getProductBrank
(
this
.
value
.
brand
).
then
(
r
=>
{
this
.
brandList
=
[
r
.
data
]
})
}
...
...
@@ -155,6 +158,7 @@ export default {
if
(
this
.
value
.
usageIds
)
{
console
.
log
(
'
this.value.usageIds
'
,
this
.
value
.
usageIds
)
await
this
.
$nextTick
()
this
.
usageIds
=
this
.
value
.
usageIds
.
split
(
'
,
'
)
||
[]
}
...
...
@@ -168,6 +172,7 @@ export default {
}
},
methods
:
{
getDictDatas
,
/** 获取产品属性列表 */
getAttrList
()
{
getProductAttrList
().
then
(
response
=>
{
...
...
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