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
6f65d20f
Commit
6f65d20f
authored
Jan 18, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接收仓库修改不生效bug修改
parent
087af659
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
6 deletions
+30
-6
index.vue
...mponents/components/BatchSignEditInstorageItems/index.vue
+14
-3
storageDetailsCreateCom.vue
...torageRecallItemCom/component/storageDetailsCreateCom.vue
+13
-2
storageDetailsCreateCom.vue
...arehousingNewOrEdit/component/storageDetailsCreateCom.vue
+3
-1
No files found.
applications/dee-mes/src/privateComponents/components/BatchSignEditInstorageItems/index.vue
View file @
6f65d20f
...
...
@@ -236,7 +236,8 @@ export default {
extMaterialId
:
''
,
parentId
:
null
,
operateType
:
null
,
parentRowId
:
''
parentRowId
:
''
,
currStorageList
:
[]
}
},
computed
:
{
...
...
@@ -308,7 +309,8 @@ export default {
},
methods
:
{
handleOpen
(
type
,
row
)
{
// this.basicData = basicData
this
.
defaultStorage
()
// this.basicData = basicData
this
.
form
=
{
'reqAmount'
:
1
}
// this.dialogVisibleDetails = true
this
.
operateType
=
type
...
...
@@ -335,7 +337,7 @@ export default {
},
// 回显数据
dispalyData
(
row
)
{
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
)
)
this
.
form
=
this
.
$utils
.
deepClone
(
row
)
this
.
$set
(
this
.
form
,
'operator'
,
'MODIFY'
)
row
.
billType
===
'AirEquipment'
&&
this
.
$set
(
this
.
form
,
'reqAmount'
,
1
)
this
.
$set
(
this
.
form
,
'resCode'
,
row
.
extMaterial
&&
row
.
extMaterial
.
resCode
||
row
.
resCode
||
''
)
...
...
@@ -344,6 +346,14 @@ export default {
this
.
$set
(
this
.
form
,
'modelNo'
,
row
.
extMaterial
&&
row
.
extMaterial
.
modelNo
||
row
.
modelNo
||
''
)
this
.
$set
(
this
.
form
,
'extMaterialId'
,
row
.
extMaterialId
||
''
)
this
.
$set
(
this
.
form
,
'supplier'
,
row
.
extDxSipplier
&&
row
.
extDxSipplier
.
supplierFullName
||
row
.
supplier
||
''
)
this
.
$set
(
this
.
form
,
'storageZoneName'
,
''
)
this
.
$set
(
this
.
form
,
'storageZone'
,
''
)
setTimeout
(()
=>
{
if
(
this
.
currStorageList
&&
this
.
currStorageList
.
find
(
el
=>
Number
(
el
.
value
)
===
Number
(
row
.
storageZoneId
)))
{
this
.
$set
(
this
.
form
,
'storageZoneName'
,
row
.
storageZone
&&
row
.
storageZone
.
extname
||
''
)
this
.
$set
(
this
.
form
,
'storageZone'
,
row
.
storageZoneId
)
}
},
100
)
this
.
$set
(
this
.
form
,
'withProductMaterial'
,
Array
.
isArray
(
row
.
withProductMaterial
)
?
row
.
withProductMaterial
:
row
.
withProductMaterial
&&
row
.
withProductMaterial
.
split
(
';'
)
||
[])
this
.
resetMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
this
.
changeMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
...
...
@@ -1845,6 +1855,7 @@ export default {
value
:
item
.
source
&&
item
.
source
.
id
}
})
this
.
currStorageList
=
STORAGE
.
component
.
options
})
.
catch
((
err
)
=>
{
console
.
log
(
err
)
...
...
applications/dee-mes/src/privateComponents/components/InStorageRecallItemCom/component/storageDetailsCreateCom.vue
View file @
6f65d20f
...
...
@@ -243,7 +243,8 @@ export default {
extMaterialId
:
''
,
parentId
:
null
,
operateType
:
null
,
parentRowId
:
''
parentRowId
:
''
,
currStorageList
:
[]
}
},
computed
:
{
...
...
@@ -312,6 +313,7 @@ export default {
methods
:
{
handleOpen
(
type
,
basicData
,
row
)
{
this
.
basicData
=
basicData
this
.
defaultStorage
()
this
.
form
=
{
'reqAmount'
:
1
}
this
.
dialogVisibleDetails
=
true
this
.
operateType
=
type
...
...
@@ -338,7 +340,7 @@ export default {
},
// 回显数据
dispalyData
(
row
)
{
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
)
)
this
.
form
=
this
.
$utils
.
deepClone
(
row
)
this
.
$set
(
this
.
form
,
'operator'
,
row
.
id
&&
this
.
basicData
.
operator
!==
'ADD'
?
'MODIFY'
:
'ADD'
)
row
.
billType
===
'AirEquipment'
&&
this
.
$set
(
this
.
form
,
'reqAmount'
,
1
)
this
.
$set
(
this
.
form
,
'resCode'
,
row
.
extMaterial
&&
row
.
extMaterial
.
resCode
||
row
.
resCode
||
''
)
...
...
@@ -347,6 +349,14 @@ export default {
this
.
$set
(
this
.
form
,
'modelNo'
,
row
.
extMaterial
&&
row
.
extMaterial
.
modelNo
||
row
.
modelNo
||
''
)
this
.
$set
(
this
.
form
,
'extMaterialId'
,
row
.
extMaterialId
||
''
)
this
.
$set
(
this
.
form
,
'supplier'
,
row
.
extDxSipplier
&&
row
.
extDxSipplier
.
supplierFullName
||
row
.
supplier
||
''
)
this
.
$set
(
this
.
form
,
'storageZoneName'
,
''
)
this
.
$set
(
this
.
form
,
'storageZone'
,
''
)
setTimeout
(()
=>
{
if
(
this
.
currStorageList
&&
this
.
currStorageList
.
find
(
el
=>
Number
(
el
.
value
)
===
Number
(
row
.
storageZoneId
)))
{
this
.
$set
(
this
.
form
,
'storageZoneName'
,
row
.
storageZone
&&
row
.
storageZone
.
extname
||
''
)
this
.
$set
(
this
.
form
,
'storageZone'
,
row
.
storageZoneId
)
}
},
100
)
this
.
$set
(
this
.
form
,
'withProductMaterial'
,
Array
.
isArray
(
row
.
withProductMaterial
)
?
row
.
withProductMaterial
:
row
.
withProductMaterial
&&
row
.
withProductMaterial
.
split
(
';'
)
||
[])
this
.
resetMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
this
.
changeMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
...
...
@@ -1848,6 +1858,7 @@ export default {
value
:
item
.
source
&&
item
.
source
.
id
}
})
this
.
currStorageList
=
STORAGE
.
component
.
options
})
.
catch
((
err
)
=>
{
console
.
log
(
err
)
...
...
applications/dee-mes/src/privateComponents/components/PurchasingWarehousingNewOrEdit/component/storageDetailsCreateCom.vue
View file @
6f65d20f
...
...
@@ -337,7 +337,7 @@ export default {
},
// 回显数据
dispalyData
(
row
)
{
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
row
)
)
this
.
form
=
this
.
$utils
.
deepClone
(
row
)
this
.
$set
(
this
.
form
,
'operator'
,
row
.
id
&&
this
.
basicData
.
operator
!==
'ADD'
?
'MODIFY'
:
'ADD'
)
row
.
billType
===
'AirEquipment'
&&
this
.
$set
(
this
.
form
,
'reqAmount'
,
1
)
this
.
$set
(
this
.
form
,
'resCode'
,
row
.
extMaterial
&&
row
.
extMaterial
.
resCode
||
row
.
resCode
||
''
)
...
...
@@ -346,6 +346,8 @@ export default {
this
.
$set
(
this
.
form
,
'modelNo'
,
row
.
extMaterial
&&
row
.
extMaterial
.
modelNo
||
row
.
modelNo
||
''
)
this
.
$set
(
this
.
form
,
'extMaterialId'
,
row
.
extMaterialId
||
''
)
this
.
$set
(
this
.
form
,
'supplier'
,
row
.
extDxSipplier
&&
row
.
extDxSipplier
.
supplierFullName
||
row
.
supplier
||
''
)
this
.
$set
(
this
.
form
,
'storageZoneName'
,
row
.
storageZone
&&
row
.
storageZone
.
extname
||
''
)
this
.
$set
(
this
.
form
,
'storageZone'
,
row
.
storageZoneId
)
this
.
$set
(
this
.
form
,
'withProductMaterial'
,
Array
.
isArray
(
row
.
withProductMaterial
)
?
row
.
withProductMaterial
:
row
.
withProductMaterial
&&
row
.
withProductMaterial
.
split
(
';'
)
||
[])
this
.
resetMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
this
.
changeMaterial
(
row
.
extMaterial
?
row
.
extMaterial
.
resCode
:
row
.
resCode
||
''
)
...
...
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