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
0ec66d57
Commit
0ec66d57
authored
Mar 20, 2024
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'rubberPaint-dev' of
http://94.191.100.41/tfmom/tf-mom-web
into rubberPaint-dev
parents
b8d5d9d6
7ea9fcbc
Show 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 @
0ec66d57
...
...
@@ -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 @
0ec66d57
...
...
@@ -129,12 +129,25 @@
<i
class=
"el-icon-edit-outline"
/>
</
template
>
<
template
slot-scope=
"scope"
>
<el-
inpu
t
<el-
selec
t
v-if=
"scope.row.needSpecSelect"
v-model=
"scope.row.spec"
@
focus=
"tableInputFocus"
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'
)
{
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