Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
Project
Project
Details
Activity
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
TFMOM
TF-MOM-WEB
Commits
7fbb3daf
Commit
7fbb3daf
authored
Sep 14, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退库入库流程表单配置
parent
cb41e392
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
8 deletions
+63
-8
AddOutStorageUseDetailDialog.vue
...ageUseDetails/components/AddOutStorageUseDetailDialog.vue
+2
-1
index.vue
...mponents/components/OutStorageUseApprovedObject/index.vue
+29
-2
index.vue
...nts/components/OutStorageUseApprovedObjectApply/index.vue
+32
-5
No files found.
applications/dee-mes/src/privateComponents/components/AddOutStorageUseDetails/components/AddOutStorageUseDetailDialog.vue
View file @
7fbb3daf
...
...
@@ -71,7 +71,8 @@ export default {
handler
(
val
)
{
this
.
$set
(
this
.
cmpOptions
,
'layKey'
,
`outStorageUseMaterial_Add_
${
val
}
`
)
switch
(
val
)
{
case
'useAO'
||
'noAO'
:
case
'useAO'
:
case
'noAO'
:
this
.
amountItemLabel
=
'申领数量'
break
case
'swapUse'
:
...
...
applications/dee-mes/src/privateComponents/components/OutStorageUseApprovedObject/index.vue
View file @
7fbb3daf
<!--
* @Author: gjn
* @Date: 2023-09-08 16:22:41
* @Description:
领用出库签审对象
* @Description:
签审对象— 审批中间环节(只读)
-->
<
template
>
<div
class=
"OutStorageUseApprovedObject"
>
...
...
@@ -33,7 +33,34 @@ export default {
}
},
computed
:
{},
watch
:
{},
watch
:
{
basicData
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
&&
val
.
subTypeName
)
{
switch
(
val
.
subTypeName
)
{
case
'OutStorageUse'
:
// 领用出库
this
.
cmpOptions
=
{
typeName
:
'OutStorageUseItem'
,
layKey
:
'OutStorageUseApprovedObject'
}
break
case
'InStorageUseBackItem'
:
// 领用退库入库
case
'InStorageMatchBackItem'
:
// 配套退库入库
case
'InStorageOutBackItem'
:
// 供外退库入库
this
.
cmpOptions
=
{
typeName
:
'InStorageBack'
,
layKey
:
'InStorageBackApproved_examine'
}
break
default
:
break
}
}
}
}
},
created
()
{},
mounted
()
{},
// 组件方法
...
...
applications/dee-mes/src/privateComponents/components/OutStorageUseApprovedObjectApply/index.vue
View file @
7fbb3daf
<!--
* @Author: gjn
* @Date: 2023-09-
08
16:22:41
* @Description:
领用出库签审对象_申请环节
* @Date: 2023-09-
13
16:22:41
* @Description:
签审对象_申请环节(可编辑)
-->
<
template
>
<div
class=
"OutStorageUseApprovedObjectApply"
>
...
...
@@ -10,7 +10,7 @@
ref=
"itemTable"
style=
"border:none;"
model-name=
"OutStorageUse"
:lay-config=
"cmpOptions
Item
"
:lay-config=
"cmpOptions"
:basic-data=
"basicData"
/>
</div>
...
...
@@ -28,7 +28,7 @@ export default {
},
data
()
{
return
{
cmpOptions
Item
:
{
cmpOptions
:
{
typeName
:
'OutStorageUseItem'
,
layKey
:
'OutStorageUseApprovedObject_apply'
},
...
...
@@ -36,7 +36,34 @@ export default {
}
},
computed
:
{},
watch
:
{},
watch
:
{
basicData
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
&&
val
.
subTypeName
)
{
switch
(
val
.
subTypeName
)
{
case
'OutStorageUse'
:
this
.
cmpOptions
=
{
typeName
:
'OutStorageUseItem'
,
// 领用出库
layKey
:
'OutStorageUseApprovedObject_apply'
}
break
case
'InStorageUseBackItem'
:
// 领用退库入库
case
'InStorageMatchBackItem'
:
// 配套退库入库
case
'InStorageOutBackItem'
:
// 供外退库入库
this
.
cmpOptions
=
{
typeName
:
'InStorageBack'
,
layKey
:
'InStorageBackApproved_examine'
}
break
default
:
break
}
}
}
}
},
created
()
{
this
.
$bus
.
$on
(
'cancelAndRefresh'
,
(
data
)
=>
{
this
.
refreshKey
+=
1
...
...
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