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
b14090c1
Commit
b14090c1
authored
Feb 02, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kngl=>add the log packCode and rqCode
parent
c2c3a693
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
728 additions
and
1 deletion
+728
-1
index.js
src/router/index.js
+27
-1
index.vue
src/views/ccgl/kngl/rqrz/index.vue
+95
-0
mx.vue
src/views/ccgl/kngl/rqrz/mx.vue
+104
-0
index.vue
src/views/ccgl/kngl/rqrz/top/index.vue
+151
-0
index.vue
src/views/ccgl/kngl/wymrz/index.vue
+95
-0
mx.vue
src/views/ccgl/kngl/wymrz/mx.vue
+105
-0
index.vue
src/views/ccgl/kngl/wymrz/top/index.vue
+151
-0
No files found.
src/router/index.js
View file @
b14090c1
...
...
@@ -788,6 +788,32 @@ export const powerRoutes = [
},
name
:
'phsd'
,
path
:
"phsd"
,
},
{
component
:
'ccgl/kngl/rqrz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"容器日志"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920071500'
,
},
name
:
'rqrz'
,
path
:
"rqrz"
,
},
{
component
:
'ccgl/kngl/wymrz/index'
,
hidden
:
false
,
meta
:
{
"title"
:
"唯一码日志"
,
"icon"
:
""
,
"noCache"
:
false
,
"link"
:
null
,
"mkid"
:
'920071600'
,
},
name
:
'wymrz'
,
path
:
"wymrz"
,
}
...
...
src/views/ccgl/kngl/rqrz/index.vue
0 → 100644
View file @
b14090c1
<
template
>
<div
class=
"outer"
>
<div
class=
" higher flex-column"
>
<!-- 分层-->
<div
class=
"top"
>
<Top
@
getRow=
'topGetRow'
ref=
"top"
></Top>
</div>
<div
class=
"bottom flex"
>
<div
class=
"full"
>
<el-tabs
class=
"full"
v-model=
"activeName"
>
<el-tab-pane
class=
"full"
label=
"明细"
name=
"first"
>
<Mx
ref=
"mx"
class=
"full"
/>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
Top
from
'./top/index.vue'
import
Mx
from
'./mx.vue'
export
default
{
components
:
{
Top
,
Mx
,
},
data
(){
return
{
activeName
:
'first'
}
},
methods
:
{
topGetRow
(
row
)
{
/* dom赋值*/
let
mid
=
row
.
id
this
.
$refs
.
mx
.
$refs
.
basePage
.
queryParams
.
mid
=
mid
this
.
$refs
.
mx
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.outer
{
overflow
:
auto
;
height
:
calc
(
100vh
-
84px
);
width
:
100%
;
.top
{
width
:
100%
;
height
:
45%
;
}
.bottom
{
width
:
100%
;
height
:
55%
;
.left
{
width
:
50%
;
height
:
100%
;
}
.right
{
width
:
50%
;
height
:
100%
;
}
}
}
.higher
{
height
:
140vh
;
}
.flex-column
{
display
:
flex
;
flex-direction
:
column
;
}
::v-deep
.el-tabs__content
{
height
:
calc
(
100%
-
40px
);
}
::v-deep
.el-tabs__nav-scroll
{
padding-left
:
10px
;
}
</
style
>
src/views/ccgl/kngl/rqrz/mx.vue
0 → 100644
View file @
b14090c1
<
template
>
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
</
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/rqlog/query/detail'
,
queryUrl
:
'wms/rqlog/query/detail'
,
tableTitle
:
[
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
120
,
},{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
width
:
140
},
// {
// title: "物料规格",
// field: "wlxxGg",
// width: 140
// },
{
title
:
"物料批号"
,
field
:
"wlph"
,
width
:
140
},
{
title
:
"制令号"
,
field
:
"zlh"
,
width
:
180
,
},
{
title
:
"数量"
,
field
:
"sl"
,
width
:
120
,
}
],
queryParams
:
[],
}
}
},
methods
:
{
getRow
(
val
){
this
.
$emit
(
'getRow'
,
val
)
},
demo
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
console
.
log
(
ctx
.
singleItem
)
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
}
},
components
:
{
}
}
</
script
>
<
style
>
</
style
>
src/views/ccgl/kngl/rqrz/top/index.vue
0 → 100644
View file @
b14090c1
<
template
>
<BasePage
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
</
template
>
</BasePage>
</template>
<
script
>
// import Edit from './edit.vue'
export
default
{
data
()
{
return
{
power
:
{
add
:
false
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
false
,
/* 手动控制编辑按钮权限 */
editButton
:
false
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
false
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
false
,
saveSelected
:
false
},
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'wms/rqlog'
,
tableTitle
:
[{
title
:
"容器"
,
field
:
"rqCode"
,
width
:
140
},
{
title
:
"货主编码"
,
field
:
"hzCode"
,
width
:
140
},
{
title
:
"货主"
,
field
:
"hzName"
,
width
:
140
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"库存状态"
,
field
:
"kczt"
,
width
:
100
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/kczt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"单据类型"
,
field
:
"djlx"
,
width
:
100
,
"transform"
:
{
"url"
:
"wms/rqlog/init/djlx"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"单据来源"
,
field
:
"djly"
,
width
:
100
,
"transform"
:
{
"url"
:
"wms/rqlog/init/djly"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"来源单ID"
,
field
:
"lydjid"
,
width
:
240
},
{
title
:
"来源单号ID"
,
field
:
"lydjdjid"
,
width
:
200
},
{
title
:
"维护人"
,
field
:
"cjr"
,
width
:
140
},
{
title
:
"维护时间"
,
field
:
"cjsj"
,
fieldType
:
'ftDateTime'
},
],
queryParams
:
[
[{
label
:
'容器编码'
,
prop
:
'rqCode'
,
span
:
5
,
type
:
'input'
,
value
:
''
},
{
label
:
'创建时间'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
8
,
type
:
'RelDaterangeV2'
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
}
]
],
/* 默认启停用 */
}
}
},
methods
:
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
}
},
components
:
{
// Edit
}
}
</
script
>
<
style
>
</
style
>
src/views/ccgl/kngl/wymrz/index.vue
0 → 100644
View file @
b14090c1
<
template
>
<div
class=
"outer"
>
<div
class=
" higher flex-column"
>
<!-- 分层-->
<div
class=
"top"
>
<Top
@
getRow=
'topGetRow'
ref=
"top"
></Top>
</div>
<div
class=
"bottom flex"
>
<div
class=
"full"
>
<el-tabs
class=
"full"
v-model=
"activeName"
>
<el-tab-pane
class=
"full"
label=
"明细"
name=
"first"
>
<Mx
ref=
"mx"
class=
"full"
/>
</el-tab-pane>
</el-tabs>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
Top
from
'./top/index.vue'
import
Mx
from
'./mx.vue'
export
default
{
components
:
{
Top
,
Mx
,
},
data
(){
return
{
activeName
:
'first'
}
},
methods
:
{
topGetRow
(
row
)
{
/* dom赋值*/
let
mid
=
row
.
id
this
.
$refs
.
mx
.
$refs
.
basePage
.
queryParams
.
mid
=
mid
this
.
$refs
.
mx
.
$refs
.
basePage
.
$refs
[
'TablePager'
].
pageQuery
({
setFirstCurrent
:
true
})
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.outer
{
overflow
:
auto
;
height
:
calc
(
100vh
-
84px
);
width
:
100%
;
.top
{
width
:
100%
;
height
:
45%
;
}
.bottom
{
width
:
100%
;
height
:
55%
;
.left
{
width
:
50%
;
height
:
100%
;
}
.right
{
width
:
50%
;
height
:
100%
;
}
}
}
.higher
{
height
:
140vh
;
}
.flex-column
{
display
:
flex
;
flex-direction
:
column
;
}
::v-deep
.el-tabs__content
{
height
:
calc
(
100%
-
40px
);
}
::v-deep
.el-tabs__nav-scroll
{
padding-left
:
10px
;
}
</
style
>
src/views/ccgl/kngl/wymrz/mx.vue
0 → 100644
View file @
b14090c1
<
template
>
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
</
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/packlog/query/detail'
,
queryUrl
:
'wms/packlog/query/detail'
,
tableTitle
:
[
// {
// title: "唯一码",
// field: "packCode",
// width: 120,
// },
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
width
:
140
},
{
title
:
"物料名称"
,
field
:
"wlxxName"
,
width
:
140
},
// {
// title: "物料规格",
// field: "wlxxGg",
// width: 140
// },
{
title
:
"物料批号"
,
field
:
"wlph"
,
width
:
140
},
{
title
:
"制令号"
,
field
:
"zlh"
,
width
:
180
,
},
{
title
:
"数量"
,
field
:
"sl"
,
width
:
120
,
}
],
queryParams
:
[],
}
}
},
methods
:
{
getRow
(
val
){
this
.
$emit
(
'getRow'
,
val
)
},
demo
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
console
.
log
(
ctx
.
singleItem
)
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
}
},
components
:
{
}
}
</
script
>
<
style
>
</
style
>
src/views/ccgl/kngl/wymrz/top/index.vue
0 → 100644
View file @
b14090c1
<
template
>
<BasePage
:power=
'power'
@
getRow=
'getRow'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
</
template
>
</BasePage>
</template>
<
script
>
// import Edit from './edit.vue'
export
default
{
data
()
{
return
{
power
:
{
add
:
false
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
false
,
/* 手动控制编辑按钮权限 */
editButton
:
false
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
false
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
false
,
saveSelected
:
false
},
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'wms/packlog'
,
tableTitle
:
[{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
140
},
{
title
:
"货主编码"
,
field
:
"hzCode"
,
width
:
140
},
{
title
:
"货主"
,
field
:
"hzName"
,
width
:
140
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
100
,
transform
:
{
"url"
:
"wms/jcsj/pack/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"库存状态"
,
field
:
"kczt"
,
width
:
100
,
transform
:
{
"url"
:
"wms/jcsj/pack/init/kczt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"单据类型"
,
field
:
"djlx"
,
width
:
100
,
"transform"
:
{
"url"
:
"wms/packlog/init/djlx"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"单据来源"
,
field
:
"djly"
,
width
:
100
,
"transform"
:
{
"url"
:
"wms/packlog/init/djly"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"来源单ID"
,
field
:
"lydjid"
,
width
:
240
},
{
title
:
"来源单号ID"
,
field
:
"lydjdjid"
,
width
:
200
},
{
title
:
"维护人"
,
field
:
"cjr"
,
width
:
140
},
{
title
:
"维护时间"
,
field
:
"cjsj"
,
fieldType
:
'ftDateTime'
},
],
queryParams
:
[
[{
label
:
'唯一码'
,
prop
:
'packCode'
,
span
:
5
,
type
:
'input'
,
value
:
''
},
{
label
:
'创建时间'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
8
,
type
:
'RelDaterangeV2'
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
}
]
],
/* 默认启停用 */
}
}
},
methods
:
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
}
},
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