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
629ac202
Commit
629ac202
authored
Jan 03, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料检验的批量签审,按照机载设备、外购成品、器材的分类标签
parent
55198f07
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
187 additions
and
17 deletions
+187
-17
equipmenCheckNo.vue
...ts/JobResponseInTestProcess/component/equipmenCheckNo.vue
+1
-0
materialCheckNo.vue
...ts/JobResponseInTestProcess/component/materialCheckNo.vue
+2
-1
outSourceCheckNo.vue
...s/JobResponseInTestProcess/component/outSourceCheckNo.vue
+1
-0
index.vue
...workflow/task-center/myPlanTask/warehouseInTest/index.vue
+121
-16
index_old.vue
...flow/task-center/myPlanTask/warehouseInTest/index_old.vue
+62
-0
No files found.
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/equipmenCheckNo.vue
View file @
629ac202
...
...
@@ -339,6 +339,7 @@ export default {
},
methods
:
{
onSubmit
()
{
this
.
form
.
testNo
=
String
(
this
.
form
.
testNo
).
toUpperCase
()
const
params
=
{
...
this
.
form
,
jobOrder
:
{
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/materialCheckNo.vue
View file @
629ac202
...
...
@@ -15,7 +15,7 @@
placeholder=
"请输入验收单号"
:disabled=
"subTypeNameDisabled||allDisabled"
clearable
onchange=
"this.
checkvalue=this.check
value.toUpperCase()"
onchange=
"this.
value=this.
value.toUpperCase()"
/>
</el-form-item>
</el-col>
...
...
@@ -920,6 +920,7 @@ export default {
},
viewDialog
()
{
},
onSubmit
()
{
this
.
form
.
testNo
=
String
(
this
.
form
.
testNo
).
toUpperCase
()
const
params
=
{
...
this
.
form
,
jobOrder
:
{
...
...
applications/dee-mes/src/privateComponents/components/JobResponseInTestProcess/component/outSourceCheckNo.vue
View file @
629ac202
...
...
@@ -309,6 +309,7 @@ export default {
},
methods
:
{
onSubmit
()
{
this
.
form
.
testNo
=
String
(
this
.
form
.
testNo
).
toUpperCase
()
const
params
=
{
...
this
.
form
,
jobOrder
:
{
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseInTest/index.vue
View file @
629ac202
...
...
@@ -6,19 +6,50 @@
<
template
>
<div
class=
"warehouseInTest"
>
<dee-as-com
:key=
"refreshKey"
ref=
"applyTable"
class=
"list-table"
:basic-data=
"
{ selectData,selectionRows }"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
@selectionChange="selectionChange"
ref=
"search"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResExp_search'}"
:basic-data="defaultData"
@searchEvent="searchEvent"
/>
<!-- tab页签 -->
<el-tabs
v-model=
"active"
type=
"border-card"
class=
"detailTabs"
@
tab-click=
"tabClick"
>
<el-tab-pane
:label=
"'器材验收单(' + totals.MaterialTotal + ')'"
name=
"Material"
>
<dee-as-com
ref=
"MaterialTable"
class=
"list-table"
:basic-data=
"
{...basicData,tableType:'Material'}"
:lay-config="{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
@requestSuccess="onRequestSuccess($event,'Material')"
@selectionChange="selectionChange($event,'Material')"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'机载系统设备验收单(' + totals.AirEquipmentTotal + ')'"
name=
"AirEquipment"
>
<dee-as-com
ref=
"AirEquipmentTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
:basic-data=" {...basicData,tableType:'AirEquipment'}"
@requestSuccess="onRequestSuccess($event,'AirEquipment')"
@selectionChange="selectionChange($event,'AirEquipment')"
/>
</el-tab-pane>
<el-tab-pane
:label=
"'外包产品验收单(' + totals.OutSourceTotal + ')'"
name=
"OutSource"
>
<dee-as-com
ref=
"OutSourceTable"
class=
"list-table"
:lay-config=
"
{ typeName: 'JobResponseInStorage', layKey: 'batchSign_jobResponseInTest'}"
:basic-data="{...basicData,tableType:'OutSource'}"
@requestSuccess="onRequestSuccess($event,'OutSource')"
@selectionChange="selectionChange($event,'OutSource')"
/>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Warehouse
InTest
'
,
name
:
'Warehouse
Examine
'
,
components
:
{},
props
:
{
selectData
:
{
...
...
@@ -27,25 +58,75 @@ export default {
}
},
data
()
{
const
_that
=
this
return
{
selectionRows
:
[],
refreshKey
:
1
active
:
'Material'
,
defaultData
:
{},
totals
:
{
MaterialTotal
:
0
,
AirEquipmentTotal
:
0
,
OutSourceTotal
:
0
},
billTypeList
:
[],
searchItems
:
[],
tabNames
:
[
'Material'
,
'AirEquipment'
,
'OutSource'
],
selectionRows
:
{},
basicData
:
{
selectData
:
_that
.
selectData
,
selectionRows
:
[]
}
}
},
computed
:
{},
watch
:
{},
created
()
{},
computed
:
{
},
watch
:
{
selectData
:
{
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
if
(
val
&&
val
.
taskKey
)
{
this
.
$nextTick
(()
=>
{
this
.
getTableData
()
})
}
}
}
},
created
()
{
},
mounted
()
{
this
.
$bus
.
$on
(
'refreshBackItem'
,
()
=>
{
this
.
$nextTick
(()
=>
{
this
.
refreshKey
++
if
(
this
.
$refs
[
this
.
active
+
'Table'
])
{
(
this
.
$refs
[
this
.
active
+
'Table'
].
$refs
.
asCom
.
selfDrawerShow
=
false
)
this
.
$refs
[
this
.
active
+
'Table'
].
$refs
.
asCom
.
getData
(
this
.
searchItems
)
}
})
})
},
// 组件方法
methods
:
{
selectionChange
(
val
)
{
this
.
selectionRows
=
val
onRequestSuccess
(
res
,
tabName
)
{
this
.
$set
(
this
.
totals
,
tabName
+
'Total'
,
res
.
items
.
totalElements
)
},
searchEvent
(
val
)
{
this
.
searchItems
=
val
.
items
this
.
getTableData
()
},
getTableData
()
{
this
.
tabNames
.
forEach
(
item
=>
{
const
el
=
this
.
$refs
[
item
+
'Table'
]
if
(
el
&&
el
.
$refs
.
asCom
)
{
el
.
$refs
.
asCom
.
getData
(
this
.
searchItems
)
}
})
},
selectionChange
(
val
,
tabName
)
{
this
.
$set
(
this
.
basicData
,
'selectionRows'
,
val
)
},
tabClick
()
{
this
.
$set
(
this
.
basicData
,
'selectionRows'
,
[])
}
}
}
...
...
@@ -57,6 +138,30 @@ export default {
height
:
100%
;
box-sizing
:
border-box
;
padding
:
0
4px
;
.detailTabs
{
height
:
calc
(
100%
-
40px
);
border
:
0
;
.dee-table-header
{
padding
:
0px
10px
;
.dee-tools
{
margin
:
4px
0
;
}
}
}
.el-tabs--border-card
>
.el-tabs__content
{
padding
:
0px
;
height
:
calc
(
100%
-
70px
);
.el-tab-pane
{
height
:
100%
;
}
}
.el-tabs--border-card
>
.el-tabs__header
{
.el-tabs__nav-wrap
{
margin
:
0px
;
}
.el-tabs__item.is-active
{
color
:
#409eff
;
}
}
}
</
style
>
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/warehouseInTest/index_old.vue
0 → 100644
View file @
629ac202
<!--
* @Author: gjn
* @Date: 2023-11-10 10:29:39
* @Description:批量签审_检验入库响应
-->
<
template
>
<div
class=
"warehouseInTest"
>
<dee-as-com
:key=
"refreshKey"
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
:
[],
refreshKey
:
1
}
},
computed
:
{},
watch
:
{},
created
()
{},
mounted
()
{
this
.
$bus
.
$on
(
'refreshBackItem'
,
()
=>
{
this
.
$nextTick
(()
=>
{
this
.
refreshKey
++
})
})
},
// 组件方法
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