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
b942e565
Commit
b942e565
authored
Jul 13, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购入库申请创建编辑
parent
5e406f18
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
7 deletions
+56
-7
storageDetailsCreateCom.vue
...arehousingNewOrEdit/component/storageDetailsCreateCom.vue
+37
-1
index.vue
...nents/components/PurchasingWarehousingNewOrEdit/index.vue
+19
-6
No files found.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/storageDetailsCreateCom.vue
View file @
b942e565
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/index.vue
View file @
b942e565
...
...
@@ -6,7 +6,7 @@
*/
<
template
>
<div
class=
"className"
>
<
dee-tools
:tools=
"topTools"
mode=
"normal"
style=
"justify-content: end;"
/
>
<
!--
<dee-tools
:tools=
"topTools"
mode=
"normal"
style=
"justify-content: end;"
/>
--
>
<dee-form
ref=
"form"
label-width=
"120"
...
...
@@ -254,7 +254,7 @@ export default {
icon
:
'/icons/components/new/add.png'
,
showFun
:
(
row
)
=>
{
const
value
=
row
.
extMaterial
?
row
.
extMaterial
.
resType2
.
typeName
:
''
if
(
!
row
.
isRoot
||
row
.
parentId
||
value
!
==
'外购成品'
)
{
if
(
!
row
.
isRoot
||
row
.
parentId
||
value
=
==
'外购成品'
)
{
return
false
}
return
true
...
...
@@ -414,7 +414,8 @@ export default {
},
methods
:
{
back
()
{
this
.
$router
.
push
({
this
.
$store
.
dispatch
(
'tagsView/delView'
,
this
.
$route
)
this
.
$router
.
replace
({
path
:
'/page/86a5fa19-e245-4732-aff6-c48b18e2b5c7'
,
query
:
{
title
:
'采购入库'
,
menuRootAppId
:
'1626781924331'
}
})
...
...
@@ -560,12 +561,23 @@ export default {
'fieldName'
:
'isRoot'
,
'operator'
:
'EQ'
,
'value'
:
'true'
},
{
'fieldName'
:
'parentId'
,
'operator'
:
'ISNULL'
},
{
'fieldName'
:
'state'
,
'operator'
:
'EQ'
,
'value'
:
'Apply'
}
],
'operator'
:
'AND'
}
],
'items'
:
[]
'items'
:
[
]
},
'openProps'
:
[{
'name'
:
'extMaterial'
,
'openProps'
:
[{
'name'
:
'resType2'
},
{
'name'
:
'extUnit'
}]
},
{
'name'
:
'extDxSipplier'
},
{
'name'
:
'storageZone'
}],
'sortItem'
:
[
...
...
@@ -576,7 +588,7 @@ export default {
]
}
post
(
'InStorageRequestItem/
s
earch'
,
param
).
then
(
res
=>
{
post
(
'InStorageRequestItem/
treeS
earch'
,
param
).
then
(
res
=>
{
console
.
log
(
'res.items.content'
,
res
.
items
.
content
)
const
data
=
res
.
items
.
content
.
map
(
item
=>
{
return
{
...
...
@@ -599,7 +611,7 @@ export default {
console
.
log
(
'formData'
,
formData
)
const
tableDataItem
=
{
...
formData
,
subEquipment
:
formData
.
materialTypeName
,
//
subEquipment: formData.materialTypeName,
// extMaterial: {
// resType2: {
// typeCode: formData.materialTypeName,
...
...
@@ -686,6 +698,7 @@ export default {
// })
post
(
'/InventoryRequest/batch/recursionAdd'
,
param
).
then
(
res
=>
{
this
.
$utils
.
showMessageSuccess
(
'保存成功'
)
this
.
back
()
}).
catch
((
err
)
=>
{
console
.
log
(
err
)
})
...
...
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