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
ca626087
Commit
ca626087
authored
Jan 25, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add function SJGZ
parent
94612cfc
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
281 additions
and
25 deletions
+281
-25
index.js
src/router/index.js
+30
-0
index.vue
src/views/ccgl/rkgl/sjrw/top/index.vue
+1
-25
dialog.vue
src/views/ccgl/zygz/sjgz/dialog.vue
+45
-0
edit.vue
src/views/ccgl/zygz/sjgz/edit.vue
+86
-0
index.vue
src/views/ccgl/zygz/sjgz/index.vue
+119
-0
No files found.
src/router/index.js
View file @
ca626087
...
...
@@ -638,6 +638,36 @@ export const powerRoutes = [
}
]
},
/* 上架规则*/
{
erpComponent
:
true
,
component
:
'template/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"作业规则"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920020000'
,
},
redirect
:
'sjgz'
,
name
:
'zygz'
,
path
:
"zygz"
,
children
:
[{
component
:
'ccgl/zygz/sjgz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"上架规则"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
920020100
,
},
name
:
'sjgz'
,
path
:
"sjgz"
,
}
]
},
/* 库内管理*/
{
erpComponent
:
false
,
...
...
src/views/ccgl/rkgl/sjrw/top/index.vue
View file @
ca626087
...
...
@@ -146,31 +146,7 @@
endValue
:
new
Date
().
getTime
(),
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'库区'
,
prop
:
'kqid'
,
span
:
8
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
"wms/jcsj/kq/query"
,
linkage
:
true
,
linkParams
:[
'ckid'
]
},
},
],[
{
...
...
src/views/ccgl/zygz/sjgz/dialog.vue
0 → 100644
View file @
ca626087
<
template
>
<DefaultDialog
:app=
'app'
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
DialogTitle:'新增',
showDialog:false,
</div>
<div
slot=
"reFooter"
class=
"refooter"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"app.showDialog=false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"save()"
>
保 存
</el-button>
</span>
</div>
</DefaultDialog>
</
template
>
<
script
>
export
default
{
props
:
{
app
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
async
mounted
()
{
},
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ccgl/zygz/sjgz/edit.vue
0 → 100644
View file @
ca626087
<
template
>
<RelDialog
width=
"50%"
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-row
:gutter=
"20"
:app=
"this"
>
<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-row>
</el-form>
</RelDialog>
</
template
>
<
script
>
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
data
()
{
return
{
editColItemList
:
[
{
label
:
'执行顺序'
,
prop
:
'zxsx'
,
span
:
12
,
type
:
'input'
,
},
{
"label"
:
"规则"
,
"prop"
:
"gzid"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"lxyl/zygz/usjgz/init/gz"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
}
},
{
"label"
:
"库区"
,
"prop"
:
"kqid"
,
"span"
:
12
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"wms/jcsj/kq/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
},
linkage
:
true
,
linkParams
:
[
'ckid'
]
}
},
{
label
:
'备注'
,
prop
:
'bz'
,
span
:
24
,
type
:
'input'
},
]
}
}
}
</
script
>
src/views/ccgl/zygz/sjgz/index.vue
0 → 100644
View file @
ca626087
<
template
>
<BasePage
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
>
import
Edit
from
'./edit.vue'
export
default
{
data
()
{
return
{
config
:
{
/* 基本配置*/
url
:
'lxyl/zygz/usjgz'
,
tableTitle
:
[{
title
:
"执行顺序"
,
field
:
"zxsx"
,
width
:
140
},
{
title
:
"规则"
,
field
:
"gzid"
,
width
:
140
,
"transform"
:
{
"url"
:
"lxyl/zygz/usjgz/init/gz"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
130
},
{
title
:
"库区"
,
field
:
"kqName"
,
width
:
130
},
{
title
:
"备注"
,
field
:
"bz"
},
],
queryParams
:
[
[{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'库区'
,
prop
:
'kqid'
,
span
:
8
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
"wms/jcsj/kq/query"
,
linkage
:
true
,
linkParams
:
[
'ckid'
]
},
},
]
],
/* 默认启停用 */
showqt
:
true
,
// qtUrl:'',
/* 树的支持*/
// hasTree:false,
// treeTitle:'',
// treeDefaultProps: {
// children: 'children',
// label: 'name',
// fatherId: 'pid',
// sonId: 'id',
// rootName: "全部",
// rootId:'root'
// },
// treeQueryParams:{
// },
// treeUrl:''
}
}
},
methods
:
{
/* 示例*/
// demo(basePage){
// }
},
components
:
{
Edit
}
}
</
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