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
7ea9fcbc
Commit
7ea9fcbc
authored
Mar 20, 2024
by
wangdanlei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调胶bug修改
parent
5dd15632
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
8 deletions
+32
-8
index.vue
...eComponents/components/DeploymentCardInfoSelect/index.vue
+1
-1
header.vue
...s/src/views/taskExecution/components/LacClaims/header.vue
+31
-7
No files found.
applications/dee-mes/src/privateComponents/components/DeploymentCardInfoSelect/index.vue
View file @
7ea9fcbc
...
...
@@ -337,7 +337,7 @@ export default {
setMixEndTime
()
{
if
(
this
.
form
.
mixStartTime
)
{
let
rawTime
=
Date
.
parse
(
this
.
form
.
mixStartTime
)
// 把时间转换成毫秒
const
addTime
=
(
!
this
.
form
.
spec
&&
this
.
form
.
spec
===
'/'
)
?
0
:
Number
(
this
.
form
.
spec
)
const
addTime
=
(
!
this
.
form
.
spec
||
this
.
form
.
spec
===
'/'
)
?
0
:
Number
(
this
.
form
.
spec
)
rawTime
=
rawTime
+
(
1000
*
60
*
60
*
addTime
)
// 增加3小时。
const
newsTime
=
new
Date
(
rawTime
)
// 时间重新格式化时间。
const
y
=
newsTime
.
getFullYear
()
...
...
applications/dee-mes/src/views/taskExecution/components/LacClaims/header.vue
View file @
7ea9fcbc
...
...
@@ -129,12 +129,25 @@
<i
class=
"el-icon-edit-outline"
/>
</
template
>
<
template
slot-scope=
"scope"
>
<el-input
<el-select
v-if=
"scope.row.needSpecSelect"
v-model=
"scope.row.spec"
clearable
@
change=
"deeTableBlur(scope.row, 'spec')"
>
<el-option
v-for=
"item in specOptions"
:key=
"item"
:label=
"item"
:value=
"item"
/>
</el-select>
<!--
<el-input
v-if=
"scope.row.needSpecSelect"
v-model=
"scope.row.spec"
@
focus=
"tableInputFocus"
@
change=
"deeTableBlur(scope.row, 'spec')"
/>
/>
-->
<span
v-else
>
{{
scope
.
row
[
scope
.
column
.
property
]
}}
</span>
<i
v-if=
"scope.row.needSpecLoading"
class=
"el-icon-loading"
/>
</
template
>
...
...
@@ -185,7 +198,8 @@ export default {
needTimeRow
:
null
,
needSpecRow
:
null
,
rowData
:
{},
defultRow
:
null
defultRow
:
null
,
specOptions
:
[]
}
},
created
()
{},
...
...
@@ -266,6 +280,13 @@ export default {
this
.
loading
=
false
})
},
getSpecOptions
(
row
)
{
post
(
`ShellacDeploy/executeModel?model=
${
row
.
extMaterial
.
modelNo
}
`
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
this
.
specOptions
=
res
.
items
}
})
},
deeTableCellStyle
({
row
,
column
,
rowIndex
,
columnIndex
})
{
if
(
column
.
property
===
'needTime'
&&
row
.
needTimeSelect
)
{
return
'highlight'
...
...
@@ -311,6 +332,10 @@ export default {
* 胶漆使用申请
*/
applyStorageReqItem
(
row
)
{
if
(
!
row
.
spec
)
{
this
.
$utils
.
showMessageWarning
(
'规格不能为空!'
)
return
}
var
that
=
this
post
(
`/ExtSupportingItem/deal/supportingItem?extSupportingItemVOId=
${
that
.
rowData
.
id
}
&applyState=true`
,
...
...
@@ -424,10 +449,9 @@ export default {
row
.
needTimeSelect
=
true
this
.
needTimeRow
=
row
.
needTime
}
if
(
column
.
property
===
'spec'
)
{
if
(
row
.
applyStatus
===
'applied'
)
{
row
.
needSpecSelect
=
true
this
.
needSpecRow
=
row
.
spec
}
this
.
getSpecOptions
(
row
)
row
.
needSpecSelect
=
true
this
.
needSpecRow
=
row
.
spec
}
else
{
return
}
...
...
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