Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
lxyl-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
李苏
lxyl-vue
Commits
489cf0c6
Commit
489cf0c6
authored
Jun 24, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定制外侧库位
parent
0154a9b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
4 deletions
+27
-4
edit.vue
src/views/ccgl/jcsj/kwgl/edit.vue
+27
-4
No files found.
src/views/ccgl/jcsj/kwgl/edit.vue
View file @
489cf0c6
...
...
@@ -2,7 +2,7 @@
<RelDialog
@
getForm=
'getForm'
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<!-- 填写表单内容,slot=form必写-->
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"80px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
>
<el-row
:
app=
"this"
:
gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
v-rule=
"
{
required:true,
...
...
@@ -41,11 +41,16 @@
<RelSelect
style=
"width: 100%;"
src=
'jcsj/kw/init/kwfl'
clearable
:match=
"
{value:'id',label:'name'}" v-model='form.kwlx' >
</RelSelect>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<!--
<el-col
:span=
"12"
>
<el-form-item
label=
"外侧库位"
ref=
"wckwid"
prop=
"wckwid"
>
<RelSelect
filterable
style=
"width: 100%;"
src=
'jcsj/kw/query'
@
change=
"wckwidChange"
linkage
:linkParams=
"
{ckid:form.ckid}" :params="{tybz:'N'}" clearable :match="{value:'id',label:'code'}" v-model='form.wckwid' >
</RelSelect>
</el-form-item>
</el-col>
</el-col>
-->
<EditColItem
:required=
"item.required||false"
:readonly=
"item.readonly?true:false "
v-for=
"(item,index) in editColItemList "
:value=
"item.value"
:span=
"item.span"
:label=
"item.label"
:prop=
'item.prop'
:key=
"item.prop"
:type=
"item.type"
:typeConfig=
'item.typeConfig'
:rule=
"item.rule"
/>
<el-col
:span=
"12"
>
<el-form-item
label=
"ABC"
ref=
"abc"
prop=
"abc"
>
<el-input
:readonly=
"readonly"
v-model=
"form.abc"
></el-input>
...
...
@@ -102,6 +107,24 @@
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data
()
{
return
{
editColItemList
:[
{
label
:
'外侧库位'
,
prop
:
'wckwid'
,
span
:
12
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
false
,
code
:
'WMSKWWH'
,
label
:
'wcKwCode'
,
transform
:
{
value
:
'id'
,
label
:
'code'
}
},
}
],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form
:
{
code
:
''
,
...
...
@@ -111,7 +134,7 @@
kqid
:
''
,
kwlx
:
''
,
nckwbz
:
'N'
,
wckwid
:
''
,
kwx
:
''
,
kwy
:
''
,
kwz
:
''
,
...
...
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