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
de6bdc75
Commit
de6bdc75
authored
Aug 05, 2024
by
15008242619
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
462f57ee
f459ba3f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
48 additions
and
14 deletions
+48
-14
index.vue
...eComponents/components/DeploymentCardInfoSelect/index.vue
+44
-10
form.vue
...gement/instructionIdentification/components/left/form.vue
+1
-1
materialSupporting.vue
...nManagement/stationPlanMaintenance/materialSupporting.vue
+1
-1
header.vue
...views/taskExecution/components/ConfirmMaterial/header.vue
+1
-1
form.vue
...k/instructionIdentificationBatch/components/left/form.vue
+1
-1
No files found.
applications/dee-mes/src/privateComponents/components/DeploymentCardInfoSelect/index.vue
View file @
de6bdc75
...
@@ -79,7 +79,8 @@ export default {
...
@@ -79,7 +79,8 @@ export default {
AssignCardItem
:
'ShellacCardLacquer'
,
AssignCardItem
:
'ShellacCardLacquer'
,
AssignCardAlodine
:
'ShellacCardAlodine'
AssignCardAlodine
:
'ShellacCardAlodine'
},
},
subTypeName
:
''
subTypeName
:
''
,
shellacDeployLists
:
[]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -394,15 +395,29 @@ export default {
...
@@ -394,15 +395,29 @@ export default {
}
}
]
]
}
}
await
post
(
`/ShellacDeploy/queryModel?param=
${
key
}
`
,
params
)
const
requestUrl
=
key
===
'baseModelNo'
?
'/ShellacDeploy/search'
:
`/ShellacDeploy/queryModel?param=
${
key
}
`
await
post
(
requestUrl
,
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
if
(
key
===
'baseModelNo'
)
{
this
.
requestOp
=
res
.
items
.
map
(
item
=>
{
if
(
res
.
items
&&
res
.
items
.
content
)
{
return
{
this
.
shellacDeployLists
=
res
.
items
.
content
label
:
item
,
this
.
requestOp
=
res
.
items
.
content
.
map
(
item
=>
{
value
:
item
return
{
}
label
:
item
.
modelNo
,
})
value
:
item
.
modelNo
}
})
this
.
form
.
baseModelNo
&&
this
.
setDiluentModelNoOption
(
this
.
form
.
baseModelNo
)
}
}
else
{
if
(
res
.
code
===
0
)
{
this
.
requestOp
=
res
.
items
.
map
(
item
=>
{
return
{
label
:
item
,
value
:
item
}
})
}
}
}
})
})
},
},
...
@@ -422,6 +437,10 @@ export default {
...
@@ -422,6 +437,10 @@ export default {
}
else
if
(
this
.
itemObj
.
attrKey
===
'baseModelNo'
)
{
}
else
if
(
this
.
itemObj
.
attrKey
===
'baseModelNo'
)
{
this
.
$set
(
this
.
form
,
'certificateNo'
,
''
)
this
.
$set
(
this
.
form
,
'certificateNo'
,
''
)
this
.
$set
(
this
.
form
,
'lotNo'
,
''
)
this
.
$set
(
this
.
form
,
'lotNo'
,
''
)
this
.
setDiluentModelNoOption
(
value
)
this
.
$set
(
this
.
form
,
'diluentModelNo'
,
''
)
this
.
$set
(
this
.
form
,
'certificateNum'
,
''
)
this
.
$set
(
this
.
form
,
'diluentLotNo'
,
''
)
}
else
{
}
else
{
this
.
$set
(
this
.
form
,
this
.
itemObj
.
attrKey
,
value
)
this
.
$set
(
this
.
form
,
this
.
itemObj
.
attrKey
,
value
)
this
.
changeRequest
()
this
.
changeRequest
()
...
@@ -590,7 +609,7 @@ export default {
...
@@ -590,7 +609,7 @@ export default {
this
.
$set
(
this
.
form
,
'storeUpTo'
,
res
.
items
.
content
[
0
].
storeUpTo
)
this
.
$set
(
this
.
form
,
'storeUpTo'
,
res
.
items
.
content
[
0
].
storeUpTo
)
if
(
this
.
form
.
validityStart
&&
this
.
form
.
freeTemperature
)
{
if
(
this
.
form
.
validityStart
&&
this
.
form
.
freeTemperature
)
{
const
date
=
new
Date
(
this
.
form
.
validityStart
)
const
date
=
new
Date
(
this
.
form
.
validityStart
)
const
data
=
this
.
form
.
freeTemperature
===
'-24'
?
(
this
.
form
.
storeUp
?
Number
(
this
.
form
.
storeUp
)
:
21
)
:
(
this
.
form
.
storeUp
?
Number
(
this
.
form
.
storeUpTo
)
:
30
)
const
data
=
Number
(
this
.
form
.
freeTemperature
)
===
-
24
?
(
!
isNaN
(
this
.
form
.
storeUp
)
?
Number
(
this
.
form
.
storeUp
)
:
21
)
:
(
!
isNaN
(
this
.
form
.
storeUpTo
)
?
Number
(
this
.
form
.
storeUpTo
)
:
30
)
date
.
setDate
(
date
.
getDate
()
+
data
)
date
.
setDate
(
date
.
getDate
()
+
data
)
this
.
$set
(
this
.
form
,
'validityEnd'
,
this
.
$utils
.
dateFormat
(
date
.
toISOString
()))
this
.
$set
(
this
.
form
,
'validityEnd'
,
this
.
$utils
.
dateFormat
(
date
.
toISOString
()))
}
}
...
@@ -756,6 +775,21 @@ export default {
...
@@ -756,6 +775,21 @@ export default {
this
.
setFormDataAttr
(
attrKey
,
'options'
,
this
.
requestOp
)
this
.
setFormDataAttr
(
attrKey
,
'options'
,
this
.
requestOp
)
}
}
})
})
},
setDiluentModelNoOption
(
value
)
{
const
targetObj
=
this
.
shellacDeployLists
.
find
(
item
=>
item
.
modelNo
===
value
)
if
(
targetObj
&&
targetObj
.
component
)
{
const
diluentModelNoOption
=
this
.
splitByVerticalBar
(
targetObj
.
component
).
map
(
el
=>
{
return
{
value
:
el
,
label
:
el
}
})
this
.
setFormDataAttr
(
'diluentModelNo'
,
'options'
,
diluentModelNoOption
||
[])
}
},
splitByVerticalBar
(
str
)
{
// 正则表达式匹配中文竖线或英文竖线
const
regex
=
/
[\u
3000
\u
007C
\|]
+/g
return
str
.
split
(
regex
).
filter
(
function
(
item
)
{
// 去除空字符串
return
item
!==
''
})
}
}
}
}
}
}
...
...
applications/dee-mes/src/views/assemblyPlanManagement/instructionIdentification/components/left/form.vue
View file @
de6bdc75
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
*/
*/
getAddRecursion
()
{
getAddRecursion
()
{
this
.
sortiesLoading
=
true
this
.
sortiesLoading
=
true
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
modifyTim
e'
,
sortOrder
:
'asc'
}]
}
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
defCod
e'
,
sortOrder
:
'asc'
}]
}
params
.
openProps
=
[{
name
:
'aircraftType'
}]
params
.
openProps
=
[{
name
:
'aircraftType'
}]
this
.
$api
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
)
.
searchApi
(
'AircraftSorties'
,
params
)
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/materialSupporting.vue
View file @
de6bdc75
...
@@ -204,7 +204,7 @@ export default {
...
@@ -204,7 +204,7 @@ export default {
this
.
sortiesData
=
[]
this
.
sortiesData
=
[]
this
.
sorties
=
null
this
.
sorties
=
null
}
}
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
modifyTim
e'
,
sortOrder
:
'asc'
}]
}
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
defCod
e'
,
sortOrder
:
'asc'
}]
}
params
.
openProps
=
[{
name
:
'aircraftType'
}]
params
.
openProps
=
[{
name
:
'aircraftType'
}]
this
.
$api
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
)
.
searchApi
(
'AircraftSorties'
,
params
)
...
...
applications/dee-mes/src/views/taskExecution/components/ConfirmMaterial/header.vue
View file @
de6bdc75
...
@@ -195,7 +195,7 @@
...
@@ -195,7 +195,7 @@
sortable
sortable
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.weigthObj"
>
{{
scope
.
row
.
weigthObj
.
outside
Amount
}}
</span>
<span
>
{{
scope
.
row
.
actual
Amount
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
...
...
applications/dee-task-center/src/views/workflow/task-center/myPlanTask/instructionIdentificationBatch/components/left/form.vue
View file @
de6bdc75
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
*/
*/
getAddRecursion
()
{
getAddRecursion
()
{
this
.
sortiesLoading
=
true
this
.
sortiesLoading
=
true
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
modifyTim
e'
,
sortOrder
:
'asc'
}]
}
const
params
=
{
searchItems
:
{
items
:
[{
fieldName
:
'aircraftTypeId'
,
operator
:
'EQ'
,
value
:
this
.
form
.
model
}]
},
sortItem
:
[{
fieldName
:
'
defCod
e'
,
sortOrder
:
'asc'
}]
}
params
.
openProps
=
[{
name
:
'aircraftType'
}]
params
.
openProps
=
[{
name
:
'aircraftType'
}]
this
.
$api
this
.
$api
.
searchApi
(
'AircraftSorties'
,
params
)
.
searchApi
(
'AircraftSorties'
,
params
)
...
...
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