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
b41800a0
Commit
b41800a0
authored
May 21, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改备料登记页面
parent
20d33ccf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
196 additions
and
213 deletions
+196
-213
index.vue
src/views/ccgl/ckgl/bldj/top/index.vue
+187
-169
index.vue
src/views/ccgl/ckgl/bldj/top/wym/index.vue
+9
-44
No files found.
src/views/ccgl/ckgl/bldj/top/index.vue
View file @
b41800a0
<
template
>
<BasePage
@
getRow=
'getRow'
:power=
'power'
class=
"min_full"
style=
"height: 100%;"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
直接入库
</el-button>
-->
<!--
<ImportButton
@
success=
"()=>
{
<BasePage
@
getRow=
"getRow"
:power=
"power"
class=
"min_full"
style=
"height: 100%"
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
<
template
#
toolbar=
"ctx"
>
<!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
直接入库
</el-button>
-->
<!--
<ImportButton
@
success=
"()=>
{
ctx.basePage.refresh()
}" :url="'wms/ckgl/jhtz/import'" /> -->
</
template
>
</BasePage>
</
template
>
</BasePage>
</template>
<
script
>
import
Edit
from
'./edit.vue'
export
default
{
data
()
{
return
{
power
:
{
add
:
true
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
true
,
/* 手动控制编辑按钮权限 */
editButton
:
true
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
true
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
false
,
saveSelected
:
false
},
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
'lxyl/ckgl/ubldj'
,
tableTitle
:
[
{
title
:
"备料单号"
,
field
:
"djid"
,
width
:
140
},
{
title
:
"业务日期"
,
field
:
"ywrq"
,
fieldType
:
'ftDate'
},
import
Edit
from
"./edit.vue"
;
export
default
{
data
()
{
return
{
power
:
{
add
:
true
,
copy
:
false
,
/* 手动控制删除 */
delButton
:
true
,
/* 手动控制编辑按钮权限 */
editButton
:
true
,
/* 是否渲染右侧操作按钮 */
operateButtons
:
true
,
/* 是否开启工作流按钮 */
workFlow
:
false
,
/* 表格开启选择,以及记住选择 */
showSelection
:
false
,
saveSelected
:
false
,
},
config
:
{
queryDetail
:
true
,
/* 基本配置*/
url
:
"lxyl/ckgl/ubldj"
,
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
80
,
transform
:
{
"url"
:
"lxyl/ckgl/ubldj/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"备料单号"
,
field
:
"djid"
,
width
:
140
,
},
{
title
:
"业务日期"
,
field
:
"ywrq"
,
fieldType
:
"ftDate"
,
},
{
title
:
"仓库编码"
,
field
:
"ckCode"
,
width
:
140
,
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
140
,
},
{
title
:
"容器"
,
field
:
"rqCode"
,
width
:
140
,
},
{
title
:
"库位"
,
field
:
"kwName"
,
width
:
140
,
},
{
title
:
"出库单号"
,
field
:
"lydjDjid"
,
width
:
140
,
},
// {
// title: "责任人",
// field: "fzrName",
// width:80
// },
{
title
:
"维护人"
,
field
:
"whr"
,
width
:
160
,
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
"ftDateTime"
,
},
],
queryParams
:
[
[
{
title
:
"仓库编码"
,
field
:
"ckCode"
,
width
:
140
label
:
"日期"
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
8
,
type
:
"RelDaterangeV2"
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
},
{
title
:
"仓库"
,
field
:
"ckName"
,
width
:
140
label
:
"备料单号"
,
prop
:
"djid"
,
span
:
4
,
type
:
"input"
,
value
:
""
,
},
{
title
:
"容器"
,
field
:
"rqCode"
,
width
:
140
},
{
title
:
"库位"
,
field
:
"kwName"
,
width
:
140
label
:
"仓库"
,
prop
:
"ckid"
,
span
:
4
,
type
:
"RelSelect"
,
value
:
""
,
typeConfig
:
{
src
:
"jcsj/common/ck/queryCkid"
,
match
:
{
value
:
"id"
,
label
:
"name"
,
},
},
},
{
title
:
"责任人"
,
field
:
"zrrName"
,
width
:
160
label
:
"拣货单号"
,
prop
:
"jhtzDjid"
,
span
:
4
,
type
:
"input"
,
value
:
""
,
},
{
title
:
"维护人"
,
field
:
"whr"
,
width
:
160
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
'ftDateTime'
}
],
queryParams
:
[
[
{
label
:
'日期'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
8
,
type
:
'RelDaterangeV2'
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
},
{
label
:
'备料单号'
,
prop
:
'djid'
,
span
:
4
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
4
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"jcsj/common/ck/queryCkid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'拣货单号'
,
prop
:
'jhtzDjid'
,
span
:
4
,
type
:
'input'
,
value
:
''
{
label
:
"出库单号"
,
prop
:
"cktzDjid"
,
span
:
4
,
type
:
"input"
,
value
:
""
,
},
// {
// "label": "库区",
// "prop": "kqid",
// "span": 4,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// linkParams:['ckid'],
// linkage:true,
// "src": "wms/jcsj/kq/query",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
],
[
{
label
:
"状态"
,
prop
:
"zt"
,
span
:
4
,
type
:
"RelSelect"
,
typeConfig
:
{
src
:
"lxyl/ckgl/ubldj/init/zt"
,
},
{
label
:
'出库单号'
,
prop
:
'cktzDjid'
,
span
:
4
,
type
:
'input'
,
value
:
''
}
// {
// "label": "库区",
// "prop": "kqid",
// "span": 4,
// "type": "RelSelect",
// "value": "",
// "typeConfig": {
// linkParams:['ckid'],
// linkage:true,
// "src": "wms/jcsj/kq/query",
// "match": {
// "value": "id",
// "label": "name"
// }
// }
// },
],[
{
label
:
'状态'
,
prop
:
'zt'
,
span
:
4
,
type
:
'RelSelect'
,
typeConfig
:
{
src
:
'lxyl/ckgl/ubldj/init/zt'
}
},
{
label
:
'责任人'
,
prop
:
'zrrInfo'
,
span
:
4
,
type
:
'input'
,
value
:
''
}
]
],
/* 默认启停用 */
}
}
},
methods
:
{
getRow
(
val
){
this
.
$emit
(
'getRow'
,
val
)
}
},
components
:
{
Edit
}
}
},
{
label
:
"责任人"
,
prop
:
"zrrInfo"
,
span
:
4
,
type
:
"input"
,
value
:
""
,
},
],
],
/* 默认启停用 */
},
};
},
methods
:
{
getRow
(
val
)
{
this
.
$emit
(
"getRow"
,
val
);
},
},
components
:
{
Edit
,
},
};
</
script
>
<
style
>
...
...
src/views/ccgl/ckgl/bldj/top/wym/index.vue
View file @
b41800a0
...
...
@@ -35,30 +35,10 @@
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
:
"
packZ
t"
,
width
:
14
0
,
field
:
"
z
t"
,
width
:
8
0
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/zt"
,
"label"
:
"name"
,
...
...
@@ -68,7 +48,7 @@
{
title
:
"库存状态"
,
field
:
"packKczt"
,
width
:
14
0
,
width
:
8
0
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/kczt"
,
"label"
:
"name"
,
...
...
@@ -76,24 +56,14 @@
}
},
{
title
:
"容量状态"
,
field
:
"packRlzt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/rlzt"
,
"label"
:
"name"
,
"value"
:
"id"
}
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
140
},
{
title
:
"运输状态"
,
field
:
"packYszt"
,
width
:
140
,
transform
:
{
"url"
:
"wms/jcsj/rq/init/yszt"
,
"label"
:
"name"
,
"value"
:
"id"
}
title
:
"容器码"
,
field
:
"rqCode"
,
width
:
140
},
{
title
:
"物料编码"
,
...
...
@@ -119,11 +89,6 @@
title
:
"数量"
,
field
:
"sl"
,
width
:
140
},
{
title
:
"入库单号"
,
field
:
"rktzDjid"
,
width
:
180
}
],
queryParams
:
[
...
...
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