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
a3ec0160
Commit
a3ec0160
authored
Nov 10, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料检验流程增加批量签审
parent
942a6e9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
140 additions
and
1 deletion
+140
-1
index.vue
...teComponents/components/BiographicDataForInTest/index.vue
+78
-0
taskList.vue
...er/src/views/workflow/task-center/myPlanTask/taskList.vue
+2
-1
index.vue
...workflow/task-center/myPlanTask/warehouseInTest/index.vue
+60
-0
No files found.
applications/dee-mes/src/privateComponents/components/BiographicDataForInTest/index.vue
0 → 100644
View file @
a3ec0160
/**
* @Description:检验界面履历本信息
* @author gjn
* @date 2023/11/10
*/
<
template
>
<div
class=
"biographicDataForInTest"
>
<dee-as-com
style=
"display:block"
:lay-config=
"config"
:basic-data=
"rowData"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'BiographicDataForInTest'
,
components
:
{},
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
null
}
},
data
()
{
return
{
config
:
{},
rowData
:
{}
}
},
computed
:
{},
watch
:
{
basicData
:
{
immediate
:
true
,
deep
:
true
,
handler
(
row
)
{
// 查看履历单之前需完成检验单的填写
const
responseInTest
=
this
.
$utils
.
getTargetJobResponses
(
row
,
'JobResponseInTest'
)
if
(
!
responseInTest
||
!
responseInTest
.
testNo
)
return
this
.
$utils
.
showMessageWarning
(
'检验单号不能为空!'
)
this
.
getBiographicData
(
responseInTest
,
row
)
// 查询履历本信息 如有则查看没有则新建
if
(
responseInTest
&&
responseInTest
.
biographicDataVOS
&&
responseInTest
.
biographicDataVOS
.
length
)
{
this
.
rowData
=
responseInTest
.
biographicDataVOS
[
0
]
}
else
{
this
.
rowData
=
row
}
}
}
},
created
()
{},
mounted
()
{
},
methods
:
{
getBiographicData
(
responseInTest
,
row
)
{
const
params
=
{
searchItems
:
{
items
:
[{
'fieldName'
:
'responseInTestId'
,
operator
:
'EQ'
,
value
:
responseInTest
.
id
}],
operator
:
'AND'
}
}
this
.
$api
.
searchApi
(
'BiographicData'
,
params
).
then
(
res
=>
{
if
(
res
.
items
&&
res
.
items
.
content
&&
res
.
items
.
content
.
length
)
{
this
.
config
=
{
typeName
:
'BiographicData'
,
layKey
:
'defaultInfo'
}
}
else
{
this
.
config
=
{
typeName
:
'BiographicData'
,
layKey
:
'addBiographicData'
}
}
}).
catch
(
err
=>
{
console
.
log
(
err
)
})
}
}
}
</
script
>
<
style
lang=
"scss"
>
.biographicDataForInTest
{
height
:
100%
;
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/taskList.vue
View file @
a3ec0160
...
@@ -11,7 +11,8 @@ export default {
...
@@ -11,7 +11,8 @@ export default {
components
:
{
components
:
{
WarehouseApply
:
()
=>
import
(
'./warehouseApply'
),
// 验收入库申请
WarehouseApply
:
()
=>
import
(
'./warehouseApply'
),
// 验收入库申请
WarehouseExamine
:
()
=>
import
(
'./warehouseExamine'
),
// 验收入库审核
WarehouseExamine
:
()
=>
import
(
'./warehouseExamine'
),
// 验收入库审核
JobResponseInExperiment
:
()
=>
import
(
'./jobResponseInExperiment'
),
// 理化试验验入库响应
JobResponseInExperiment
:
()
=>
import
(
'./jobResponseInExperiment'
),
// 理化试验入库响应
WarehouseInTest
:
()
=>
import
(
'./warehouseInTest'
),
// 检验入库响应
OutStorageExpireApply
:
()
=>
import
(
'./outStorageExpireApply'
),
// 三期出库申请
OutStorageExpireApply
:
()
=>
import
(
'./outStorageExpireApply'
),
// 三期出库申请
OutStorageRecallApply
:
()
=>
import
(
'./outStorageRecallApply'
),
// 返厂出库申请
OutStorageRecallApply
:
()
=>
import
(
'./outStorageRecallApply'
),
// 返厂出库申请
WarehouseConfirm
:
()
=>
import
(
'./warehouseConfirm'
),
// 验收入库确认
WarehouseConfirm
:
()
=>
import
(
'./warehouseConfirm'
),
// 验收入库确认
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseInTest/index.vue
0 → 100644
View file @
a3ec0160
<!--
* @Author: gjn
* @Date: 2023-11-10 10:29:39
* @Description:批量签审_检验入库响应
-->
<
template
>
<div
class=
"warehouseInTest"
>
<dee-as-com
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
@selectionChange="selectionChange"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'WarehouseInTest'
,
components
:
{},
props
:
{
selectData
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
data
()
{
return
{
selectionRows
:
[]
}
},
computed
:
{},
watch
:
{},
created
()
{},
mounted
()
{
this
.
$bus
.
$on
(
'refreshBackItem'
,
()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$bus
.
$emit
(
'reloadModuleList'
)
})
})
},
// 组件方法
methods
:
{
selectionChange
(
val
)
{
this
.
selectionRows
=
val
}
}
}
</
script
>
<
style
lang=
'scss'
>
.warehouseInTest
{
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
}
</
style
>
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