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
3569815a
Commit
3569815a
authored
Jul 25, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
入库程修改
parent
eefb8389
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
9 deletions
+68
-9
index.vue
...rivateComponents/components/ChemicalTestProcess/index.vue
+61
-4
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+7
-5
No files found.
applications/dee-mes/src/privateComponents/components/ChemicalTestProcess/index.vue
View file @
3569815a
...
...
@@ -7,17 +7,19 @@
<
template
>
<div
class=
"Chemical-test-process"
>
<dee-as-com
v-if=
"
basicD
ata"
v-if=
"
d
ata"
refs=
"outerCasing"
:lay-config=
"
{
typeName: 'InStorageRequestItem',
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
}"
:basic-data="
basicD
ata"
:basic-data="
d
ata"
/>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
componentName
:
'理化检验流程'
,
name
:
'ChemicalTestProcess'
,
...
...
@@ -30,16 +32,71 @@ export default {
},
data
()
{
return
{
// data: { 'reportNo': bindForm.reportNo, 'isPass': bindForm.isPass, 'isDestroy': bindForm.isDestroy, 'experimentAmount':bindForm.experimentAmount, 'jobOrder': { 'purchaseUnit': { 'unitName': bindForm.jobOrder.purchaseUnit.purchaseUnit } }, 'dxType': 'JobResponseInStorage', 'operator': 'ADD' }
data
:
null
}
},
computed
:
{},
created
()
{
// 初始化数据
console
.
log
(
'理化检验流程'
,
this
.
basicData
)
console
.
log
(
'理化检验流程1'
,
this
.
form
)
this
.
getFrom
(
this
.
basicData
.
id
)
},
methods
:
{
getFrom
(
id
)
{
const
param
=
{
'pageFrom'
:
1
,
'pageSize'
:
10
,
'searchItems'
:
{
'children'
:
[
{
'items'
:
[
{
'fieldName'
:
'jobOrderId'
,
'operator'
:
'EQ'
,
'value'
:
id
},
{
'fieldName'
:
'subTypeName'
,
'operator'
:
'EQ'
,
'value'
:
'JobResponseInExperment'
}
],
'operator'
:
'AND'
}
],
'items'
:
[],
'operator'
:
'AND'
},
'openProps'
:
[
{
'name'
:
'objFileLinks'
,
'openProps'
:
[
{
'name'
:
'target'
}
]
},
{
'name'
:
'jobOrder'
,
'openProps'
:
[
{
'name'
:
'purchaseUnit'
}
]
}
],
'sortItem'
:
[
{
'fieldName'
:
'modifyTime'
,
'sortOrder'
:
'desc'
}
]
}
post
(
'JobResponseInStorage/search'
,
param
).
then
(
res
=>
{
this
.
data
=
res
.
items
.
content
[
0
]
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
}
}
}
</
script
>
<
style
lang=
'scss'
>
</
style
>
<
style
lang=
'scss'
></
style
>
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
3569815a
...
...
@@ -443,11 +443,13 @@ export default {
},
methods
:
{
back
()
{
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
$route
)
this
.
$router
.
replace
({
path
:
'/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7'
,
query
:
{
title
:
'采购入库'
,
menuRootAppId
:
'1626781924331'
}
})
setTimeout
(()
=>
{
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
$route
)
this
.
$router
.
replace
({
path
:
'/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7'
,
query
:
{
title
:
'采购入库'
,
menuRootAppId
:
'1626781924331'
}
})
},
2000
)
},
initData
()
{
this
.
getInventoryRequest
()
...
...
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