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
aa1e1dbe
Commit
aa1e1dbe
authored
Mar 08, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整
parent
96dec61d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
57 additions
and
33 deletions
+57
-33
index.vue
src/views/ccgl/ckgl/jhd/top/index.vue
+20
-17
tzqd.vue
src/views/ccgl/ckgl/jhd/tzqd.vue
+37
-16
No files found.
src/views/ccgl/ckgl/jhd/top/index.vue
View file @
aa1e1dbe
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
{
{
"label"
:
"仓库"
,
"label"
:
"仓库"
,
"prop"
:
"ckid"
,
"prop"
:
"ckid"
,
"span"
:
4
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"value"
:
""
,
"typeConfig"
:
{
"typeConfig"
:
{
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
{
{
"label"
:
"库区"
,
"label"
:
"库区"
,
"prop"
:
"kqid"
,
"prop"
:
"kqid"
,
"span"
:
4
,
"span"
:
8
,
"type"
:
"RelSelect"
,
"type"
:
"RelSelect"
,
"value"
:
""
,
"value"
:
""
,
"typeConfig"
:
{
"typeConfig"
:
{
...
@@ -156,42 +156,45 @@
...
@@ -156,42 +156,45 @@
}
}
}
}
},
},
{
label
:
'单据编号'
,
prop
:
'djid'
,
span
:
4
,
],[
type
:
'input'
,
{
value
:
''
label
:
'单据编号'
,
},
prop
:
'djid'
,
span
:
8
,
type
:
'input'
,
value
:
''
},
{
{
label
:
'货主'
,
label
:
'货主'
,
prop
:
'hzInfo'
,
prop
:
'hzInfo'
,
span
:
4
,
span
:
8
,
type
:
'input'
,
type
:
'input'
,
value
:
''
value
:
''
}
},
],[
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'zt'
,
prop
:
'zt'
,
span
:
4
,
span
:
8
,
type
:
'RelSelect'
,
type
:
'RelSelect'
,
typeConfig
:
{
typeConfig
:
{
src
:
'wms/ckgl/jhtz/init/zt'
src
:
'wms/ckgl/jhtz/init/zt'
}
}
},
},
],[
{
{
label
:
'事务类型'
,
label
:
'事务类型'
,
prop
:
'swlxid'
,
prop
:
'swlxid'
,
span
:
4
,
span
:
8
,
type
:
'RelSelect'
,
type
:
'RelSelect'
,
typeConfig
:
{
typeConfig
:
{
src
:
'wms/ckgl/jhtz/init/swlx'
src
:
'wms/ckgl/jhtz/init/swlx'
}
}
}
}
]
]
],
],
/* 默认启停用 */
/* 默认启停用 */
...
...
src/views/ccgl/ckgl/jhd/tzqd.vue
View file @
aa1e1dbe
...
@@ -8,6 +8,10 @@
...
@@ -8,6 +8,10 @@
<div
class=
"tzqdItem text-ellipsis "
>
<div
class=
"tzqdItem text-ellipsis "
>
物料编码:
{{
app
.
singleItem
.
wlxxCode
}}
物料编码:
{{
app
.
singleItem
.
wlxxCode
}}
</div>
</div>
</div>
<div
style=
"height: 50px;width: 100%;display: flex;"
>
<div
class=
"tzqdItem text-ellipsis "
>
<div
class=
"tzqdItem text-ellipsis "
>
物料规格:
{{
app
.
singleItem
.
wlxxGg
}}
物料规格:
{{
app
.
singleItem
.
wlxxGg
}}
</div>
</div>
...
@@ -21,7 +25,7 @@
...
@@ -21,7 +25,7 @@
<div
style=
"display: flex;height: 60vh;"
>
<div
style=
"display: flex;height: 60vh;"
>
<!-- 左表数据-->
<!-- 左表数据-->
<div
class=
"tzqdLeft"
>
<div
class=
"tzqdLeft"
>
<BasePage
@
pageQueryFinally
.
once=
'pageQueryFinally'
ref=
"basePage"
@
getRow=
'getRow'
:autoQuery=
'false'
:power=
"
{
<BasePage
:showPagination=
'false'
@
pageQueryFinally
.
once=
'pageQueryFinally'
ref=
"basePage"
@
getRow=
'getRow'
:autoQuery=
'false'
:power=
"
{
add: false,
add: false,
copy: false,
copy: false,
/* 手动控制删除 */
/* 手动控制删除 */
...
@@ -42,7 +46,7 @@
...
@@ -42,7 +46,7 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
style=
"text-align: center;color: cornflowerblue;width: 100%;"
<el-button
style=
"text-align: center;color: cornflowerblue;width: 100%;"
@
click
.
native
.
prevent=
"cz(scope.$index,scope,scope.row)"
type=
"text"
size=
"small"
>
@
click
.
native
.
prevent=
"cz(scope.$index,scope,scope.row)"
type=
"text"
size=
"small"
>
<i
class=
"el-icon-edit"
></i>
操作
<i
class=
"el-icon-edit"
></i>
调整
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -178,6 +182,29 @@
...
@@ -178,6 +182,29 @@
field
:
"kcsl"
,
field
:
"kcsl"
,
width
:
140
width
:
140
},
},
{
title
:
"已分配数量"
,
field
:
"yfpsl"
,
width
:
140
,
formatter
(
a
,
b
,
v
){
if
(
!
v
){
return
0
}
else
{
return
v
}
}
},
{
label
:
'容器'
,
prop
:
'rqCode'
,
width
:
100
,
},
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
140
},
{
{
title
:
"制令号"
,
title
:
"制令号"
,
field
:
"zlh"
,
field
:
"zlh"
,
...
@@ -193,20 +220,6 @@
...
@@ -193,20 +220,6 @@
field
:
"hzName"
,
field
:
"hzName"
,
width
:
140
width
:
140
},
},
{
title
:
"唯一码"
,
field
:
"packCode"
,
width
:
140
},
{
title
:
"维护人"
,
field
:
"whr"
},
{
title
:
"维护时间"
,
field
:
"whsj"
,
fieldType
:
'ftDateTime'
}
],
],
queryParams
:
[
queryParams
:
[
...
@@ -240,6 +253,7 @@
...
@@ -240,6 +253,7 @@
if
(
ritem
.
packid
==
item
.
packid
)
{
if
(
ritem
.
packid
==
item
.
packid
)
{
/* 减少初始数量*/
/* 减少初始数量*/
ritem
.
kcsl
=
ritem
.
kcsl
-
item
.
jhsl
ritem
.
kcsl
=
ritem
.
kcsl
-
item
.
jhsl
ritem
.
yfpsl
=
item
.
jhsl
}
}
})
})
})
})
...
@@ -308,6 +322,7 @@
...
@@ -308,6 +322,7 @@
/* 数量记录为新*/
/* 数量记录为新*/
this
.
sljl
[
item
.
packid
]
=
n
this
.
sljl
[
item
.
packid
]
=
n
item
.
kcsl
=
item
.
kcsl
+
slc
item
.
kcsl
=
item
.
kcsl
+
slc
item
.
yfpsl
=
n
},
},
getRow
(
val
)
{
getRow
(
val
)
{
...
@@ -329,6 +344,11 @@
...
@@ -329,6 +344,11 @@
this
.
editTableConfig
.
editTableData
.
splice
(
index
,
1
)
this
.
editTableConfig
.
editTableData
.
splice
(
index
,
1
)
},
},
cz
(
a
,
b
,
row
)
{
cz
(
a
,
b
,
row
)
{
if
(
this
.
app
.
singleItem
.
zt
!=
'I'
){
this
.
$warning
(
'非初始状态不允许调整'
)
return
}
/* 根据packid判定是否添加清单数据*/
/* 根据packid判定是否添加清单数据*/
let
packid
=
row
.
packid
let
packid
=
row
.
packid
let
hasrow
=
false
let
hasrow
=
false
...
@@ -374,6 +394,7 @@
...
@@ -374,6 +394,7 @@
height
:
100%
;
height
:
100%
;
}
}
.text-ellipsis
{
.text-ellipsis
{
padding-right
:
10px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
...
...
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