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
c2ddcee2
Commit
c2ddcee2
authored
Jul 08, 2024
by
周毅
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改入库登记、出库登记
parent
c3e6b386
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
371 additions
and
376 deletions
+371
-376
index.vue
src/views/ccgl/ckgl/ckdj/index.vue
+30
-16
shd.vue
src/views/ccgl/rkgl/rkd/top/shd.vue
+22
-16
index.vue
src/views/ccgl/rkgl/rkdj/index.vue
+20
-6
mx.vue
src/views/ccgl/thgl/ckth/mx.vue
+16
-24
edit.vue
src/views/ccgl/thgl/ckth/top/edit.vue
+0
-39
index.vue
src/views/ccgl/thgl/ckth/top/index.vue
+283
-275
No files found.
src/views/ccgl/ckgl/ckdj/index.vue
View file @
c2ddcee2
...
...
@@ -94,7 +94,7 @@
],
queryParams
:
[
[{
label
:
'
出库
日期'
,
label
:
'日期'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
6
,
...
...
@@ -117,26 +117,26 @@
}
}
},
{
"label"
:
"事务类型"
,
"prop"
:
"swlxid"
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"wms/ckgl/ckdj/init/swlx"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
},
{
label
:
'出库单号'
,
prop
:
'cktzDjid'
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
label
:
'过账状态'
,
prop
:
'gzzt'
,
span
:
6
,
type
:
"RelSelect"
,
value
:
""
,
typeConfig
:
{
src
:
"lxyl/common/init/gzzt"
,
match
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
}
],
[
...
...
@@ -146,7 +146,21 @@
span
:
8
,
type
:
'input'
,
value
:
''
}
},
{
label
:
"事务类型"
,
prop
:
"swlxid"
,
span
:
6
,
type
:
"RelSelect"
,
value
:
""
,
typeConfig
:
{
"src"
:
"wms/ckgl/ckdj/init/swlx"
,
match
:
{
value
:
"id"
,
label
:
"name"
}
}
},
]
],
/* 默认启停用 */
...
...
src/views/ccgl/rkgl/rkd/top/shd.vue
View file @
c2ddcee2
...
...
@@ -59,7 +59,6 @@ this.$post('common/datetime',{}).then(res=>{
span
:
24
,
type
:
'datetime'
,
value
:
''
,
"required"
:
true
,
},
{
label
:
'结束日期'
,
...
...
@@ -67,7 +66,12 @@ this.$post('common/datetime',{}).then(res=>{
span
:
24
,
type
:
'datetime'
,
value
:
''
,
"required"
:
true
,
},
{
label
:
'送货单号'
,
prop
:
'djid'
,
span
:
24
,
value
:
''
,
},
]
...
...
@@ -78,24 +82,26 @@ this.$post('common/datetime',{}).then(res=>{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
){
/* 判定开始参数不能大于30天*/
if
(
this
.
form
.
start
<
this
.
nowTime
-
30
*
24
*
60
*
60
*
1000
){
this
.
$warning
(
'最早开始时间不得超过30天'
)
return
}
/* 开始时间和结束时间不能大于120分钟*/
if
(
this
.
form
.
end
-
this
.
form
.
start
>
120
*
60
*
1000
){
this
.
$warning
(
'开始时间与结束时间间隔不能大于120分钟'
)
return
}
if
(
this
.
form
.
start
>
this
.
form
.
end
){
this
.
$warning
(
'开始时间不得晚于结束时间'
)
return
if
(
!
this
.
form
.
djid
){
if
(
this
.
form
.
start
<
this
.
nowTime
-
30
*
24
*
60
*
60
*
1000
){
this
.
$warning
(
'最早开始时间不得超过30天'
)
return
}
/* 开始时间和结束时间不能大于120分钟*/
if
(
this
.
form
.
end
-
this
.
form
.
start
>
120
*
60
*
1000
){
this
.
$warning
(
'开始时间与结束时间间隔不能大于120分钟'
)
return
}
if
(
this
.
form
.
start
>
this
.
form
.
end
){
this
.
$warning
(
'开始时间不得晚于结束时间'
)
return
}
}
/* 构建参数*/
let
params
=
{
start
:
this
.
form
.
start
,
end
:
this
.
form
.
end
end
:
this
.
form
.
end
,
djid
:
this
.
form
.
djid
}
this
.
isLoading
=
true
this
.
$post
(
'lxyl/rkgl/rktz/scm/sync'
,
params
).
then
(
res
=>
{
...
...
src/views/ccgl/rkgl/rkdj/index.vue
View file @
c2ddcee2
...
...
@@ -94,7 +94,7 @@
label
:
'入库日期'
,
startProp
:
"start"
,
endProp
:
"end"
,
span
:
8
,
span
:
6
,
type
:
'RelDaterangeV2'
,
startValue
:
new
Date
().
getTime
()
-
1000
*
60
*
60
*
24
*
30
,
endValue
:
new
Date
().
getTime
(),
...
...
@@ -102,11 +102,11 @@
{
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"span"
:
8
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
"src"
:
"
jcsj/common/ck/queryC
kid"
,
"src"
:
"
lxyl/jcsj/uck/ck/queryCjc
kid"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"name"
...
...
@@ -116,22 +116,36 @@
{
label
:
'入库单号'
,
prop
:
'rktzDjid'
,
span
:
8
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
label
:
'过账状态'
,
prop
:
'gzzt'
,
span
:
6
,
type
:
"RelSelect"
,
value
:
""
,
typeConfig
:
{
src
:
"lxyl/common/init/gzzt"
,
match
:
{
"value"
:
"id"
,
"label"
:
"name"
}
}
}
],
[{
label
:
'入库任务号'
,
prop
:
'lydjDjid'
,
span
:
8
,
span
:
6
,
type
:
'input'
,
value
:
''
},
{
"label"
:
"事务类型"
,
"prop"
:
"swlxid"
,
"span"
:
8
,
"span"
:
6
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"typeConfig"
:
{
...
...
src/views/ccgl/thgl/ckth/mx.vue
View file @
c2ddcee2
...
...
@@ -37,7 +37,18 @@
/* 基本配置*/
url
:
'lxyl/rkgl/ckthtz/query/detail'
,
queryUrl
:
'lxyl/rkgl/ckthtz/query/detail'
,
tableTitle
:
[{
tableTitle
:
[
{
title
:
"状态"
,
field
:
"zt"
,
width
:
80
,
"transform"
:
{
"url"
:
"lxyl/rkgl/ckthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
{
title
:
"物料编码"
,
field
:
"wlxxCode"
,
fieldType
:
"upper"
,
...
...
@@ -86,43 +97,24 @@
{
title
:
"数量"
,
field
:
"yssl"
,
width
:
120
,
},
{
title
:
"码盘数量"
,
field
:
"ztsl"
,
width
:
120
,
fieldType
:
"float"
},
{
title
:
"包装数量"
,
field
:
"zbsl"
,
width
:
120
,
fieldType
:
"float"
},
{
title
:
"入库数量"
,
field
:
"rksl"
,
width
:
100
,
fieldType
:
"float"
},
{
title
:
"制令号"
,
field
:
"zlh"
,
width
:
180
,
},
{
title
:
"状态"
,
field
:
"zt"
,
width
:
120
,
"transform"
:
{
"url"
:
"lxyl/rkgl/ckthtz/init/zt"
,
"label"
:
"name"
,
"value"
:
"id"
}
},
// {
// title: "来源单号",
// field: "lydjid",
// width: 120,
// },
// {
// title: "关闭人",
// field: "gbr",
...
...
src/views/ccgl/thgl/ckth/top/edit.vue
View file @
c2ddcee2
...
...
@@ -243,21 +243,6 @@
}
}
},
{
"label"
:
"部门"
,
"prop"
:
"bmid"
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"required"
:
true
,
"typeConfig"
:
{
"src"
:
"jcsj/common/bm/query"
,
"match"
:
{
"value"
:
"id"
,
"label"
:
"bmmc"
}
}
},
{
label
:
'工厂'
,
prop
:
'hzid'
,
...
...
@@ -274,30 +259,6 @@
}
}
},
// {
// label: '供应商',
// prop: 'gysid',
// span: 8,
// type: 'input',
// readonly:true,
// show:this.type=='view'?true:false
// },
// {
// label: '入库人',
// prop: 'rkrid',
// span: 8,
// type: 'AuxInput',
// typeConfig: {
// code: 'USER',
// label: 'rkrName',
// transform: {
// value: 'id',
// label: 'username'
// }
// },
// },
{
label
:
'备注'
,
prop
:
'bz'
,
...
...
src/views/ccgl/thgl/ckth/top/index.vue
View file @
c2ddcee2
This diff is collapsed.
Click to expand it.
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