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
589eb2e2
Commit
589eb2e2
authored
Oct 19, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
流程中漆料调配卡接口调试
parent
852804de
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
187 additions
and
0 deletions
+187
-0
index.vue
.../privateComponents/components/AssignCardProcess/index.vue
+84
-0
index.vue
...vateComponents/components/SupportingCardDetails/index.vue
+58
-0
index.vue
...s/src/privateComponents/components/ViscosityBox/index.vue
+45
-0
No files found.
applications/dee-mes/src/privateComponents/components/AssignCardProcess/index.vue
0 → 100644
View file @
589eb2e2
<
template
>
<div
class=
"AssignCardProcess"
>
<dee-as-com
v-show=
"baseData"
ref=
"detailCom"
dis-business
:lay-config=
"cmpOptions"
:basic-data=
"baseData"
/>
</div>
</
template
>
<
script
>
import
{
post
}
from
'@/utils/http'
export
default
{
name
:
'AssignCardProcess'
,
componentName
:
'调配卡流程中表单'
,
components
:
{},
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
null
}
},
data
()
{
return
{
cmpOptions
:
{
typeName
:
'AssignCardPaint'
,
layKey
:
'paintProcessFrom'
},
baseData
:
null
}
},
watch
:
{
basicData
:
{
immediate
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
this
.
getFormData
(
val
.
id
)
}
}
},
mounted
()
{
},
// 组件方法
methods
:
{
getFormData
(
id
)
{
const
params
=
{
'searchItems'
:
{
'items'
:
[
{
'fieldName'
:
'id'
,
'operator'
:
'EQ'
,
'value'
:
id
}
]
},
'openProps'
:
[{
'name'
:
'assignCardDetails'
,
'openProps'
:
[{
'name'
:
'target'
,
'openProps'
:
[{
'name'
:
'extSupporting'
,
'openProps'
:
[{
'name'
:
'extProcessPlan'
}]
}]
}]
},
{
'name'
:
'material'
}],
'toValidateKeys'
:
''
}
post
(
'/AssignCard/search'
,
params
).
then
((
res
)
=>
{
this
.
baseData
=
res
.
items
.
content
[
0
]
})
}
}
}
</
script
>
<
style
lang=
'scss'
>
</
style
>
applications/dee-mes/src/privateComponents/components/SupportingCardDetails/index.vue
0 → 100644
View file @
589eb2e2
<
template
>
<div
v-if=
"value"
class=
"online-session-com page-wrap"
>
<dee-up-table
ref=
"multipleTable"
:columns=
"tableColums"
:data=
"value"
tooltip-effect=
"light"
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'SupportingCardDetails'
,
componentName
:
'调配卡中配套明细列表'
,
props
:
{
value
:
{
type
:
Array
,
default
:
()
=>
null
}
},
data
()
{
const
that
=
this
return
{
tableColums
:
[
{
title
:
'AO号'
,
key
:
'target.extSupporting.extProcessPlan.serialNumber'
,
align
:
'center'
,
minWidth
:
180
},
{
title
:
'架次'
,
key
:
'target.sorties'
,
align
:
'center'
,
hideTip
:
true
,
minWidth
:
110
},
{
title
:
'申领人'
,
key
:
'target.applyerName'
,
align
:
'center'
},
{
title
:
'申领时间'
,
key
:
'target.applyTime'
,
align
:
'center'
,
minWidth
:
180
,
formatter
(
row
,
column
)
{
return
that
.
$moment
(
row
.
target
.
applyTime
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
}
},
{
title
:
'数量'
,
key
:
'target.reqAmount'
,
align
:
'center'
},
{
title
:
'单位'
,
key
:
'target.applyerDepartment'
,
align
:
'center'
}
],
tableData
:
[]
}
},
mounted
()
{
},
methods
:
{
}
}
</
script
>
<
style
lang=
"scss"
>
.online-session-com
{
.mb10
{
margin-bottom
:
10px
;
}
.dee-table
{
height
:
calc
(
100%
-
30px
);
.dee-table-body
{
height
:
calc
(
100%
-
30px
);
overflow-y
:
scroll
;
}
}
}
</
style
>
applications/dee-mes/src/privateComponents/components/ViscosityBox/index.vue
0 → 100644
View file @
589eb2e2
<
template
>
<div>
<el-input
v-model=
"cup"
class=
"input-with-select el-input--small"
placeholder=
""
clearable
style=
"width: 40%"
@
change=
"change"
/>
<span
style=
"color: #606266"
>
杯
</span>
<el-input
v-model=
"second"
class=
"input-with-select el-input--small"
placeholder=
""
clearable
style=
"width: 40%"
@
change=
"change"
/>
<span
style=
"color: #606266"
>
秒
</span>
</div>
</
template
>
<
script
>
export
default
{
name
:
'ViscosityBox'
,
componentName
:
'黏度框'
,
props
:
{
form
:
{
type
:
Object
,
default
:
()
=>
null
}
},
data
()
{
return
{
cup
:
''
,
second
:
''
}
},
methods
:
{
change
()
{
this
.
$emit
(
'input'
,
this
.
cup
+
' '
+
this
.
second
)
}
}
}
</
script
>
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