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
Show 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 @@
...
@@ -7,17 +7,19 @@
<
template
>
<
template
>
<div
class=
"Chemical-test-process"
>
<div
class=
"Chemical-test-process"
>
<dee-as-com
<dee-as-com
v-if=
"
basicD
ata"
v-if=
"
d
ata"
refs=
"outerCasing"
refs=
"outerCasing"
:lay-config=
"
{
:lay-config=
"
{
typeName: 'InStorageRequestItem',
typeName: 'InStorageRequestItem',
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
layKey: '1c4983a2-6f51-49e4-95ee-2f5506b8e217'
}"
}"
:basic-data="
basicD
ata"
:basic-data="
d
ata"
/>
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
export
default
{
componentName
:
'理化检验流程'
,
componentName
:
'理化检验流程'
,
name
:
'ChemicalTestProcess'
,
name
:
'ChemicalTestProcess'
,
...
@@ -30,16 +32,71 @@ export default {
...
@@ -30,16 +32,71 @@ export default {
},
},
data
()
{
data
()
{
return
{
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
:
{},
computed
:
{},
created
()
{
created
()
{
// 初始化数据
// 初始化数据
console
.
log
(
'理化检验流程'
,
this
.
basicData
)
console
.
log
(
'理化检验流程'
,
this
.
basicData
)
console
.
log
(
'理化检验流程1'
,
this
.
form
)
this
.
getFrom
(
this
.
basicData
.
id
)
},
},
methods
:
{
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
>
</
script
>
<
style
lang=
'scss'
>
<
style
lang=
'scss'
></
style
>
</
style
>
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
3569815a
...
@@ -443,11 +443,13 @@ export default {
...
@@ -443,11 +443,13 @@ export default {
},
},
methods
:
{
methods
:
{
back
()
{
back
()
{
setTimeout
(()
=>
{
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
$route
)
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
$route
)
this
.
$router
.
replace
({
this
.
$router
.
replace
({
path
:
'/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7'
,
path
:
'/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7'
,
query
:
{
title
:
'采购入库'
,
menuRootAppId
:
'1626781924331'
}
query
:
{
title
:
'采购入库'
,
menuRootAppId
:
'1626781924331'
}
})
})
},
2000
)
},
},
initData
()
{
initData
()
{
this
.
getInventoryRequest
()
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