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
e3a86916
Commit
e3a86916
authored
Oct 29, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
仓域列表 代码和仓库必填
parent
0996f156
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.vue
src/views/ecw/warehouseArea/index.vue
+7
-5
No files found.
src/views/ecw/warehouseArea/index.vue
View file @
e3a86916
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<span>
{{
scope
.
row
.
pid
==
0
?
$t
(
'
库域
'
)
:
$t
(
'
库区
'
)
}}
</span>
<span>
{{
scope
.
row
.
pid
==
0
?
$t
(
'
库域
'
)
:
$t
(
'
库区
'
)
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('仓库')"
align=
"center"
prop=
"warehouse"
width=
"180"
>
<el-table-column
:label=
"$t('仓库')"
align=
"center"
prop=
"warehouse"
width=
"180"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
warehouseName
(
scope
.
row
.
warehouseId
)
}}
</span>
<span>
{{
warehouseName
(
scope
.
row
.
warehouseId
)
}}
</span>
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCreate(scope.row)"
v-if=
"scope.row.pid==0"
<el-button
size=
"mini"
type=
"text"
@
click=
"handleCreate(scope.row)"
v-if=
"scope.row.pid==0"
v-hasPermi=
"['ecw:warehouse-area:create']"
>
{{
$t
(
'
添加库区
'
)
}}
</el-button>
v-hasPermi=
"['ecw:warehouse-area:create']"
>
{{
$t
(
'
添加库区
'
)
}}
</el-button>
<el-button
size=
"mini"
type=
"text"
@
click=
"positionManager(scope.row)"
v-if=
"scope.row.pid>0"
<el-button
size=
"mini"
type=
"text"
@
click=
"positionManager(scope.row)"
v-if=
"scope.row.pid>0"
v-hasPermi=
"['ecw:warehouse-area:create']"
>
{{
$t
(
'
查看储位
'
)
}}
</el-button>
v-hasPermi=
"['ecw:warehouse-area:create']"
>
{{
$t
(
'
查看储位
'
)
}}
</el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -62,10 +62,10 @@
...
@@ -62,10 +62,10 @@
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('仓库')"
prop=
"warehouseId"
>
<el-form-item
:label=
"$t('仓库')"
prop=
"warehouseId"
>
<el-select
v-model=
"form.warehouseId"
clearable
:disabled=
"parentDo"
>
<el-select
v-model=
"form.warehouseId"
clearable
:disabled=
"parentDo"
>
<el-option
v-for=
"warehouse in warehouseList"
:key=
"warehouse.id"
:label=
"$l(warehouse, 'title')"
:value=
"warehouse.id"
/>
<el-option
v-for=
"warehouse in warehouseList"
:key=
"warehouse.id"
:label=
"$l(warehouse, 'title')"
:value=
"warehouse.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{$t('确定')}}
</el-button>
<el-button
type=
"primary"
@
click=
"submitForm"
>
{{$t('确定')}}
</el-button>
...
@@ -119,6 +119,8 @@ export default {
...
@@ -119,6 +119,8 @@ export default {
// 表单校验
// 表单校验
rules
:
{
rules
:
{
name
:
[{
required
:
true
,
message
:
this
.
$t
(
"
名称不能为空
"
),
trigger
:
"
blur
"
}],
name
:
[{
required
:
true
,
message
:
this
.
$t
(
"
名称不能为空
"
),
trigger
:
"
blur
"
}],
code
:
[{
required
:
true
,
message
:
this
.
$t
(
"
代码不能为空
"
),
trigger
:
"
blur
"
}],
warehouseId
:
[{
required
:
true
,
message
:
this
.
$t
(
"
仓库不能为空
"
),
trigger
:
"
blur
"
}],
}
}
};
};
},
},
...
...
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