Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
胡宝山
template_vue
Commits
7176b8cf
Commit
7176b8cf
authored
May 21, 2024
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.设置三级菜单
parent
4ed171f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
18 deletions
+31
-18
outcomeWmsJbapplyTemp.vue
src/views/template/outcomeWmsJbapplyTemp.vue
+31
-18
No files found.
src/views/template/outcomeWmsJbapplyTemp.vue
View file @
7176b8cf
...
@@ -65,6 +65,16 @@
...
@@ -65,6 +65,16 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cj"
prop=
"dealStatus"
>
<el-select
v-model=
"queryParams.cj"
placeholder=
"请选择cj"
clearable
size=
"small"
:maxlength=
"1"
>
<el-option
v-for=
"(dict,index) in manufacturer"
:key=
"index"
:label=
"dict.label"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item>
<el-form-item>
<el-button
<el-button
:class=
"commonField.queryClass"
:class=
"commonField.queryClass"
...
@@ -227,20 +237,6 @@
...
@@ -227,20 +237,6 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cj"
prop=
"cj"
>
<el-select
v-model=
"form.cj"
class=
"normalSelect"
placeholder=
"请选择厂家"
>
<el-option
v-for=
"item in manufacturer"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"ptype"
prop=
"ptype"
>
<el-form-item
label=
"ptype"
prop=
"ptype"
>
<el-select
<el-select
v-model=
"form.ptype"
v-model=
"form.ptype"
...
@@ -259,6 +255,22 @@
...
@@ -259,6 +255,22 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"cj"
prop=
"cj"
:rules=
"[{required: form.ptype === '1', message: '请输入rank的值', trigger: 'blur' }]"
>
<el-select
:disabled=
"isDisabled"
v-model=
"form.cj"
style=
"width: 100%"
class=
"normalSelect"
placeholder=
"请选择厂家"
>
<el-option
v-for=
"item in manufacturer"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
/>
</el-select>
</el-form-item>
<el-form-item
label=
"code"
prop=
"orderCode"
>
<el-form-item
label=
"code"
prop=
"orderCode"
>
<el-input
<el-input
v-model
.
trim=
"form.orderCode"
v-model
.
trim=
"form.orderCode"
...
@@ -503,7 +515,7 @@ export default {
...
@@ -503,7 +515,7 @@ export default {
value
:
'20'
value
:
'20'
}
}
],
],
manufacturer
:
{}
,
manufacturer
:
[]
,
// 导入列表
// 导入列表
files
:
[],
files
:
[],
// 下载模板loading
// 下载模板loading
...
@@ -659,7 +671,6 @@ export default {
...
@@ -659,7 +671,6 @@ export default {
},
},
created
()
{
created
()
{
console
.
log
(
'manufacturer'
,
manufacturer
)
this
.
manufacturer
=
manufacturer
this
.
manufacturer
=
manufacturer
this
.
getList
()
// 列表查询
this
.
getList
()
// 列表查询
this
.
getwareHouse
()
// 查询数据字典
this
.
getwareHouse
()
// 查询数据字典
...
@@ -690,12 +701,13 @@ export default {
...
@@ -690,12 +701,13 @@ export default {
this
.
warehousedata
.
qty
=
null
this
.
warehousedata
.
qty
=
null
}
}
}
else
if
(
this
.
form
.
ptype
&&
this
.
form
.
ptype
!==
''
&&
this
.
form
.
ptype
===
'1'
)
{
}
else
if
(
this
.
form
.
ptype
&&
this
.
form
.
ptype
!==
''
&&
this
.
form
.
ptype
===
'1'
)
{
if
(
this
.
form
.
pn
&&
this
.
form
.
pn
!==
''
&&
this
.
form
.
lot
&&
this
.
form
.
lot
!==
''
&&
this
.
form
.
rank
&&
this
.
form
.
rank
!==
''
)
{
if
(
this
.
form
.
pn
&&
this
.
form
.
pn
!==
''
&&
this
.
form
.
lot
&&
this
.
form
.
lot
!==
''
&&
this
.
form
.
rank
&&
this
.
form
.
rank
!==
''
&&
this
.
form
.
cj
&&
this
.
form
.
cj
!==
''
)
{
const
obj
=
{
const
obj
=
{
pn
:
this
.
form
.
pn
,
pn
:
this
.
form
.
pn
,
lot
:
this
.
form
.
lot
,
lot
:
this
.
form
.
lot
,
ptype
:
this
.
form
.
ptype
,
ptype
:
this
.
form
.
ptype
,
rank
:
this
.
form
.
rank
rank
:
this
.
form
.
rank
,
cj
:
this
.
form
.
cj
}
}
queryByPnAndPtypeAndLot
(
obj
).
then
(
res
=>
{
queryByPnAndPtypeAndLot
(
obj
).
then
(
res
=>
{
this
.
warehousedata
.
qty
=
res
.
data
this
.
warehousedata
.
qty
=
res
.
data
...
@@ -789,6 +801,7 @@ export default {
...
@@ -789,6 +801,7 @@ export default {
},
},
clearRank
()
{
clearRank
()
{
this
.
form
.
rank
=
null
this
.
form
.
rank
=
null
this
.
form
.
cj
=
null
},
},
// 获取所选行详情信息操作
// 获取所选行详情信息操作
handleDetail
(
row
)
{
handleDetail
(
row
)
{
...
...
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