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
5ec6b77a
Commit
5ec6b77a
authored
Jan 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
22870d8d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
57 deletions
+73
-57
mx.vue
src/views/ccgl/kngl/zlhbg/mx.vue
+21
-47
cx.vue
src/views/ccgl/kngl/zlhbg/top/cx.vue
+11
-1
edit.vue
src/views/ccgl/kngl/zlhbg/top/edit.vue
+15
-4
index.vue
src/views/ccgl/kngl/zlhbg/top/index.vue
+20
-4
mx.vue
src/views/ccgl/rkgl/sjrw/mx.vue
+6
-1
No files found.
src/views/ccgl/kngl/zlhbg/mx.vue
View file @
5ec6b77a
...
@@ -12,10 +12,7 @@
...
@@ -12,10 +12,7 @@
</template>
</template>
<
script
>
<
script
>
import
wlsx
from
'common/src/mixin/wlsx.js'
import
wlphsx
from
'common/src/mixin/wlphsx.js'
export
default
{
export
default
{
mixins
:[
wlphsx
,
wlsx
],
data
()
{
data
()
{
return
{
return
{
power
:
{
power
:
{
...
@@ -35,22 +32,22 @@
...
@@ -35,22 +32,22 @@
},
},
config
:
{
config
:
{
/* 基本配置*/
/* 基本配置*/
url
:
'
wms/rkgl/rktz
'
,
url
:
'
lxyl/kcgl/zlhbg/query/detail
'
,
queryUrl
:
'
wms/rkgl/rktz
/query/detail'
,
queryUrl
:
'
lxyl/kcgl/zlhbg
/query/detail'
,
tableTitle
:
[{
tableTitle
:
[{
title
:
"物料编码"
,
title
:
"物料编码"
,
field
:
"wl
c
ode"
,
field
:
"wl
xxC
ode"
,
fieldType
:
"upper"
,
fieldType
:
"upper"
,
width
:
140
width
:
140
},
},
{
{
title
:
"物料名称"
,
title
:
"物料名称"
,
field
:
"wl
mc
"
,
field
:
"wl
xxName
"
,
width
:
140
width
:
140
},
},
{
{
title
:
"物料规格"
,
title
:
"物料规格"
,
field
:
"
g
g"
,
field
:
"
wlxxG
g"
,
width
:
140
width
:
140
},
},
{
{
...
@@ -58,16 +55,7 @@
...
@@ -58,16 +55,7 @@
field
:
"wlph"
,
field
:
"wlph"
,
width
:
140
width
:
140
},
},
{
title
:
"计量单位"
,
field
:
"jldwname"
,
width
:
100
,
},
{
title
:
"应收数量"
,
field
:
"yssl"
,
width
:
100
,
},
{
{
title
:
"入库数量"
,
title
:
"入库数量"
,
field
:
"rksl"
,
field
:
"rksl"
,
...
@@ -79,50 +67,36 @@
...
@@ -79,50 +67,36 @@
width
:
120
,
width
:
120
,
},
},
{
{
title
:
"码盘数量
"
,
title
:
"变更后制令号
"
,
field
:
"ztsl
"
,
field
:
"bghzlh
"
,
width
:
120
,
width
:
120
,
},
},
{
{
title
:
"
过账数量
"
,
title
:
"
唯一码
"
,
field
:
"
gzsl
"
,
field
:
"
packCode
"
,
width
:
120
,
width
:
120
,
},
},
{
{
title
:
"
状态
"
,
title
:
"
容器
"
,
field
:
"
zt
"
,
field
:
"
rqCode
"
,
width
:
120
,
width
:
120
,
"transform"
:
{
"url"
:
"wms/rkgl/rktz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
},
{
{
title
:
"
来源单号
"
,
title
:
"
货主
"
,
field
:
"
lydjid
"
,
field
:
"
hzName
"
,
width
:
120
,
width
:
120
,
},
},
{
{
title
:
"
关闭人
"
,
title
:
"
包装数量
"
,
field
:
"
gbr
"
,
field
:
"
packmxSl
"
,
width
:
120
,
width
:
120
,
},
},
{
{
title
:
"关闭原因"
,
title
:
"装托数量"
,
field
:
"gbyy"
,
field
:
"ztsl"
,
width
:
200
,
width
:
120
,
},
{
title
:
"关闭时间"
,
field
:
"gbsj"
,
fieldType
:
'ftDateTime'
},
},
{
title
:
"备注"
,
field
:
"bz"
,
width
:
200
}
],
],
queryParams
:
[],
queryParams
:
[],
...
...
src/views/ccgl/kngl/zlhbg/top/cx.vue
View file @
5ec6b77a
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<div
slot=
"form"
style=
"display: flex;height: 70vh;"
>
<!-- basePage-->
<!-- basePage-->
<BasePage
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;"
<BasePage
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;"
:autoQuery=
'false'
:config=
"config"
>
:config=
"config"
>
<template
#
dialog=
"ctx"
>
<template
#
dialog=
"ctx"
>
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
...
@@ -93,6 +93,16 @@
...
@@ -93,6 +93,16 @@
field
:
"wlph"
,
field
:
"wlph"
,
width
:
140
width
:
140
},
},
{
title
:
"包装数量"
,
field
:
"packmxSl"
,
width
:
140
},
{
title
:
"装托数量"
,
field
:
"ztsl"
,
width
:
140
},
{
{
title
:
"制令号"
,
title
:
"制令号"
,
field
:
"zlh"
,
field
:
"zlh"
,
...
...
src/views/ccgl/kngl/zlhbg/top/edit.vue
View file @
5ec6b77a
<
template
>
<
template
>
<RelDialog
bigTitle
detailTable=
'
RKTZ
MX'
@
getFormDetail=
'getFormDetail'
width=
"70%"
:type=
'type'
:editApp=
'editApp'
<RelDialog
bigTitle
detailTable=
'
ZLHBG
MX'
@
getFormDetail=
'getFormDetail'
width=
"70%"
:type=
'type'
:editApp=
'editApp'
:app=
'app'
:buttonApp=
'buttonApp'
>
:app=
'app'
:buttonApp=
'buttonApp'
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<el-form
slot=
"form"
ref=
"form"
:model=
"form"
label-width=
"100px"
:rules=
"rules"
>
<!-- 查询弹框-->
<!-- 查询弹框-->
...
@@ -51,7 +51,13 @@ import Cx from './cx.vue'
...
@@ -51,7 +51,13 @@ import Cx from './cx.vue'
/* 选择list时的回调 */
/* 选择list时的回调 */
save
(
list
){
save
(
list
){
this
.
showDialog
=
false
this
.
showDialog
=
false
/* 添加熬子表*/
list
.
forEach
(
item
=>
{
item
.
lydjid
=
item
.
id
delete
item
.
id
this
.
formDetail
.
push
(
_
.
cloneDeep
(
item
))
})
}
}
},
},
...
@@ -161,8 +167,13 @@ import Cx from './cx.vue'
...
@@ -161,8 +167,13 @@ import Cx from './cx.vue'
width
:
200
,
width
:
200
,
},
},
{
{
title
:
"数量"
,
title
:
"包装数量"
,
field
:
"sl"
,
field
:
"packmxSl"
,
width
:
200
,
},
{
title
:
"装托数量"
,
field
:
"ztsl"
,
width
:
200
,
width
:
200
,
}
}
...
...
src/views/ccgl/kngl/zlhbg/top/index.vue
View file @
5ec6b77a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
</
template
>
</
template
>
<
template
#
toolbar=
"ctx"
>
<
template
#
toolbar=
"ctx"
>
<
!--
<el-button
@
click=
"demo(ctx.basePage)"
size=
'mini'
type=
"primary"
>
直接入库
</el-button>
--
>
<
el-button
@
click=
"doConfirm(ctx.basePage)"
size=
'mini'
type=
"primary"
>
确认
</el-button
>
</
template
>
</
template
>
</BasePage>
</BasePage>
...
@@ -98,15 +98,31 @@
...
@@ -98,15 +98,31 @@
value
:
''
value
:
''
}
}
]
]
],
],
/* 默认启停用 */
/* 默认启停用 */
}
}
}
}
},
},
methods
:
{
methods
:
{
doConfirm
(
ctx
){
if
(
ctx
.
singleItem
&&
ctx
.
singleItem
.
id
){
this
.
$confirm
(
'是否确认?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(
res
=>
{
this
.
$post
(
'lxyl/kcgl/zlhbg/doConfirm'
,{
id
:
ctx
.
singleItem
.
id
}).
then
(
res
=>
{
if
(
res
.
success
){
ctx
.
refresh
()
}
})
})
}
else
{
this
.
$warning
(
'请选中一条数据'
)
}
},
getRow
(
val
)
{
getRow
(
val
)
{
this
.
$emit
(
'getRow'
,
val
)
this
.
$emit
(
'getRow'
,
val
)
}
}
...
...
src/views/ccgl/rkgl/sjrw/mx.vue
View file @
5ec6b77a
<
template
>
<
template
>
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
<BasePage
@
getRow=
'getRow'
ref=
"basePage"
:power=
'power'
:toolButton=
'false'
class=
"min_full"
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
style=
"height: 100%;border-top: 0px;"
:autoQuery=
'false'
:config=
"config"
>
<template
slot=
"tabCustom2"
>
<template
slot=
"tabCustom2"
>
</
template
>
</
template
>
...
@@ -67,6 +67,11 @@
...
@@ -67,6 +67,11 @@
field
:
"kwName"
,
field
:
"kwName"
,
width
:
140
width
:
140
},
},
{
title
:
"实际库位"
,
field
:
"sjkwCode"
,
width
:
140
},
// {
// {
// title: "应收数量",
// title: "应收数量",
// field: "yssl",
// field: "yssl",
...
...
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