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
e87062d8
Commit
e87062d8
authored
Jul 07, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new fun
parent
77ecc9d2
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
292 additions
and
10 deletions
+292
-10
index.js
src/router/index.js
+13
-0
edit.vue
src/views/ccgl/kngl/rqtz/edit.vue
+60
-0
index.vue
src/views/ccgl/kngl/rqtz/index.vue
+9
-10
wym.vue
src/views/ccgl/kngl/rqtz/wym.vue
+210
-0
No files found.
src/router/index.js
View file @
e87062d8
...
...
@@ -1057,6 +1057,19 @@ export const powerRoutes = [
},
name
:
'tprk'
,
path
:
"tprk"
,
},
{
component
:
'ccgl/kngl/rqtz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"库内托盘调整"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
920071900
,
},
name
:
'rqtz'
,
path
:
"rqtz"
,
}
...
...
src/views/ccgl/kngl/rqtz/edit.vue
0 → 100644
View file @
e87062d8
<
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
wym
from
'./wym.vue'
import
{
editMixin
}
from
'common'
export
default
{
mixins
:
[
editMixin
],
data
()
{
return
{
editColItemList
:
[{
label
:
'目标容器'
,
prop
:
'mbrqid'
,
span
:
12
,
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
false
,
code
:
'RQGL'
,
label
:
'rqCode'
,
transform
:
{
value
:
'id'
,
label
:
'code'
},
}
},
{
label
:
'唯一码'
,
prop
:
'packid'
,
span
:
12
,
required
:
true
,
type
:
'AuxInput'
,
typeConfig
:
{
isRequest
:
false
,
dynamic
:
true
,
code
:
true
,
component
:
wym
,
label
:
'packCode'
,
transform
:
{
value
:
'id'
,
label
:
'packCode'
}
},
}
]
}
}
}
</
script
>
src/views/ccgl/kngl/rqtz/index.vue
View file @
e87062d8
<
template
>
<BasePage
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<BasePage
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
...
...
@@ -11,19 +11,19 @@
</template>
<
script
>
//
import Edit from './edit.vue'
import
Edit
from
'./edit.vue'
export
default
{
data
()
{
return
{
power
:
{
add
:
fals
e
,
add
:
tru
e
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
fals
e
,
delButton
:
tru
e
,
/* 手动控制编辑按钮权限 */
editButton
:
fals
e
,
editButton
:
tru
e
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
fals
e
,
operateButtons
:
tru
e
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
...
...
@@ -31,7 +31,6 @@
saveSelected
:
false
},
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'lxy/kcgl/rqtz'
,
tableTitle
:
[
...
...
@@ -82,12 +81,12 @@
}
],
queryParams
:
[
[
,
[
{
label
:
'时间'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
7
,
span
:
12
,
type
:
'RelDaterangeV2'
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
...
...
@@ -149,7 +148,7 @@
}
},
components
:
{
//
Edit
Edit
}
}
...
...
src/views/ccgl/kngl/rqtz/wym.vue
0 → 100644
View file @
e87062d8
<
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
:
'wms/jcsj/pack/queryPackDetail'
,
queryUrl
:
'wms/jcsj/pack/queryPackDetail'
,
tableTitle
:
[
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
140
},
{
title
:
"容器码"
,
field
:
"rqCode"
,
width
:
140
},
{
title
:
"货主编码"
,
field
:
"hzCode"
,
width
:
140
},
{
title
:
"货主"
,
field
:
"hzName"
,
width
:
140
},
{
title
:
"状态"
,
field
:
"packZt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"库存状态"
,
field
:
"packKczt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/kczt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"容量状态"
,
field
:
"packRlzt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/rlzt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"运输状态"
,
field
:
"packYszt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/yszt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
width
:
140
},
{
title
:
"物料批号"
,
field
:
"wlph"
,
width
:
180
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
width
:
140
},
{
title
:
"制令号"
,
field
:
"zlh"
,
width
:
180
},
{
title
:
"数量"
,
field
:
"sl"
,
width
:
140
},
{
title
:
"入库单号"
,
field
:
"rktzDjid"
,
width
:
180
}
],
queryParams
:
[
[{
label
:
'唯一码'
,
prop
:
'packCode'
,
span
:
6
,
type
:
'input'
,
},
{
"label"
:
"状态"
,
"prop"
:
"zt"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"wms/jcsj/pack/init/zt"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
"label"
:
"库存状态"
,
"prop"
:
"kczt"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"wms/jcsj/pack/init/kczt"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'物料批号'
,
prop
:
'wlph'
,
span
:
6
,
type
:
'input'
,
}
],
[{
label
:
'物料'
,
prop
:
'wlid'
,
span
:
6
,
required
:
false
,
type
:
'AuxInput'
,
typeConfig
:
{
give
:
(
row
)
=>
{
},
isRequest
:
false
,
code
:
'WMSWLXX'
,
label
:
'name'
,
transform
:
{
value
:
'id'
,
label
:
'name'
}
}
},
]
],
/* 默认启停用 */
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