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
35a653dc
Commit
35a653dc
authored
Apr 12, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料组辅助输入动态定制组件
parent
de8aaa87
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
2 deletions
+130
-2
edit.vue
src/views/ccgl/jcsj/cgywh/edit.vue
+5
-2
wlz.vue
src/views/ccgl/jcsj/cgywh/wlz.vue
+125
-0
No files found.
src/views/ccgl/jcsj/cgywh/edit.vue
View file @
35a653dc
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
</RelDialog>
</RelDialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
wlz
from
'./wlz.vue'
import
{
import
{
editMixin
editMixin
}
from
'common'
}
from
'common'
...
@@ -41,8 +42,10 @@
...
@@ -41,8 +42,10 @@
required
:
true
,
required
:
true
,
type
:
'AuxInput'
,
type
:
'AuxInput'
,
typeConfig
:
{
typeConfig
:
{
isRequest
:
true
,
isRequest
:
false
,
code
:
'WLZID'
,
dynamic
:
true
,
code
:
true
,
component
:
wlz
,
label
:
'wlzName'
,
label
:
'wlzName'
,
transform
:
{
transform
:
{
value
:
'id'
,
value
:
'id'
,
...
...
src/views/ccgl/jcsj/cgywh/wlz.vue
0 → 100644
View file @
35a653dc
<
template
>
<BasePage
ref=
"basePage"
:power=
'power'
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!-- 嵌入默认页面工具栏的插槽 ctx.pagePage来操作默认页面 -->
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
示例按钮
</el-button>
-->
</
template
>
</BasePage>
</template>
<
script
>
export
default
{
data
()
{
return
{
power
:
{
add
:
false
,
copy
:
false
,
delButton
:
false
,
editButton
:
false
,
operateButtons
:
false
,
workFlow
:
false
,
/* 表格 */
showSelection
:
false
,
saveSelected
:
false
},
config
:
{
/* 基本配置*/
url
:
'lxyl/jcsj/uwlz'
,
tableTitle
:
[
{
title
:
"编码"
,
field
:
"code"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"名称"
,
field
:
"name"
,
width
:
140
},
{
title
:
"库区编码"
,
field
:
"kqCode"
,
width
:
140
},
{
title
:
"库区"
,
field
:
"kqid"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/kq/query"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"工厂编码"
,
field
:
"hzCode"
,
width
:
140
},
{
title
:
"工厂名称"
,
field
:
"hzName"
,
width
:
140
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
240
},
{
title
:
"维护人"
,
field
:
"whr"
,
width
:
120
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
"ftDateTime"
},
],
queryParams
:
[
[{
label
:
'编码'
,
prop
:
'wlz'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
label
:
'库区编码'
,
prop
:
'kqCode'
,
span
:
6
,
type
:
'input'
,
value
:
''
}
]
],
/* 默认启停用 */
showqt
:
false
,
}
}
},
methods
:
{
/* 示例*/
// demo(basePage){
// }
},
components
:
{
}
}
</
script
>
<
style
>
</
style
>
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