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
d3bf1864
Commit
d3bf1864
authored
Oct 19, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://94.191.100.41/tfmom/tf-mom-web
into dev
parents
8b5582ff
8fb82402
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
358 additions
and
224 deletions
+358
-224
index.vue
.../src/commonComponents/components/DeeUploadTable/index.vue
+0
-2
index.vue
.../privateComponents/components/AssignCardProcess/index.vue
+84
-0
threeTable.vue
...omponents/components/ScrapNoticeDocReceipt/threeTable.vue
+109
-196
twoTable.vue
...eComponents/components/ScrapNoticeDocReceipt/twoTable.vue
+49
-24
index.vue
...vateComponents/components/SupportingCardDetails/index.vue
+58
-0
index.vue
...s/src/privateComponents/components/ViscosityBox/index.vue
+56
-0
index.vue
.../views/taskExecution/components/AssemblyProcess/index.vue
+2
-2
No files found.
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/index.vue
View file @
d3bf1864
...
@@ -285,7 +285,6 @@ export default {
...
@@ -285,7 +285,6 @@ export default {
})
})
},
},
update
(
data
,
deleteRows
=
[])
{
update
(
data
,
deleteRows
=
[])
{
console
.
log
(
11111
,
data
)
// data
// data
const
tableData
=
this
.
value
||
[]
const
tableData
=
this
.
value
||
[]
tableData
.
forEach
(
row
=>
{
tableData
.
forEach
(
row
=>
{
...
@@ -299,7 +298,6 @@ export default {
...
@@ -299,7 +298,6 @@ export default {
}
}
}
}
})
})
console
.
log
(
222
,
data
)
this
.
$emit
(
'input'
,
data
)
this
.
$emit
(
'input'
,
data
)
}
}
}
}
...
...
applications/dee-mes/src/privateComponents/components/AssignCardProcess/index.vue
0 → 100644
View file @
d3bf1864
<
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/ScrapNoticeDocReceipt/threeTable.vue
View file @
d3bf1864
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/twoTable.vue
View file @
d3bf1864
...
@@ -399,7 +399,7 @@
...
@@ -399,7 +399,7 @@
<label>
合计:
</label><el-input
<label>
合计:
</label><el-input
v-model=
"form.accounts"
v-model=
"form.accounts"
clearable
clearable
:disabled=
"
costKeeper || (disabled && !costKeeper)
"
:disabled=
"
true
"
placeholder=
"请输入"
placeholder=
"请输入"
/>
/>
<!--
<label
:class=
"
{ costKeeper: !costKeeper }">合计:
</label><el-input
<!--
<label
:class=
"
{ costKeeper: !costKeeper }">合计:
</label><el-input
...
@@ -429,6 +429,12 @@
...
@@ -429,6 +429,12 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
null
}
},
data
()
{
data
()
{
return
{
return
{
item
:
{},
item
:
{},
...
@@ -477,7 +483,9 @@ export default {
...
@@ -477,7 +483,9 @@ export default {
// 成本核算员
// 成本核算员
costEstimator
:
true
,
costEstimator
:
true
,
// 成本管理员
// 成本管理员
costKeeper
:
true
costKeeper
:
true
,
// 废品通知单编制禁用
Activity_1dnbmb6
:
false
}
}
},
},
watch
:
{
watch
:
{
...
@@ -539,6 +547,7 @@ export default {
...
@@ -539,6 +547,7 @@ export default {
that
.
workHourMLossCost
=
0
that
.
workHourMLossCost
=
0
}
}
if
(
that
.
curTotalLossCost
)
{
if
(
that
.
curTotalLossCost
)
{
console
.
log
(
this
)
that
.
accounts
=
parseFloat
(
that
.
curTotalLossCost
)
that
.
accounts
=
parseFloat
(
that
.
curTotalLossCost
)
}
else
if
(
!
that
.
curTotalLossCost
)
{
}
else
if
(
!
that
.
curTotalLossCost
)
{
that
.
accounts
=
0
that
.
accounts
=
0
...
@@ -576,36 +585,52 @@ export default {
...
@@ -576,36 +585,52 @@ export default {
},
},
deep
:
true
deep
:
true
}
}
// 'form.accounts': {
// handler(v) {
// this.$emit('accounts', v)
// },
// deep: true
// }
},
},
created
()
{
created
()
{
this
.
open
(
this
.
$attrs
[
'basic-data'
]
)
this
.
open
(
this
.
basicData
)
},
},
methods
:
{
methods
:
{
// 打开弹出框
// 打开弹出框
open
(
val
)
{
open
(
val
)
{
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
// 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7
if
(
val
&&
val
.
taskkey
)
{
// if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) {
// 废品通知单编制
// this.disabled = false
if
(
val
.
taskkey
===
'Activity_1dnbmb6'
)
{
// if (val.taskkey === 'Activity_1lgytbi') {
this
.
Activity_1dnbmb6
=
true
// this.costEstimator = false
}
// } else if (val.taskkey === 'Activity_07owud7') {
// 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7
// this.costKeeper = false
// if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) {
// }
// this.disabled = false
// } else {
// if (val.taskkey === 'Activity_1lgytbi') {
// this.disabled = true
// this.costEstimator = false
// }
// } else if (val.taskkey === 'Activity_07owud7') {
this
.
disabled
=
false
// this.costKeeper = false
this
.
costEstimator
=
false
// }
this
.
costKeeper
=
false
// } else {
this
.
item
=
val
// this.disabled = true
// }
this
.
disabled
=
false
this
.
costEstimator
=
false
this
.
costKeeper
=
false
this
.
searchItem
()
}
})
},
searchItem
()
{
const
params
=
{
searchItems
:
{
items
:
[{
'fieldName'
:
'id'
,
operator
:
'EQ'
,
value
:
this
.
basicData
.
id
}],
operator
:
'AND'
}
}
this
.
$api
.
searchApi
(
'ScrapNoticeDoc'
,
params
).
then
(
res
=>
{
if
(
res
.
items
.
content
)
{
this
.
$nextTick
(()
=>
{
res
.
items
.
content
[
0
].
taskkey
=
this
.
basicData
.
taskkey
this
.
item
=
res
.
items
.
content
[
0
]
})
}
})
})
},
},
save
()
{
save
()
{
...
...
applications/dee-mes/src/privateComponents/components/SupportingCardDetails/index.vue
0 → 100644
View file @
d3bf1864
<
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 @
d3bf1864
<
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
:
''
}
},
watch
:
{
'form.id'
:
{
immediate
:
true
,
deep
:
true
,
handler
:
function
(
val
)
{
this
.
cup
=
this
.
form
.
viscosity
&&
this
.
form
.
viscosity
.
split
(
' '
).
length
>
1
?
this
.
form
.
viscosity
.
split
(
' '
)[
0
]
:
this
.
form
.
viscosity
this
.
second
=
this
.
form
.
viscosity
&&
this
.
form
.
viscosity
.
split
(
' '
).
length
>
1
?
this
.
form
.
viscosity
.
split
(
' '
)[
1
]
:
this
.
form
.
viscosity
}
}
},
methods
:
{
change
()
{
this
.
$emit
(
'input'
,
this
.
cup
+
' '
+
this
.
second
)
}
}
}
</
script
>
applications/dee-mes/src/views/taskExecution/components/AssemblyProcess/index.vue
View file @
d3bf1864
...
@@ -62,8 +62,8 @@ export default {
...
@@ -62,8 +62,8 @@ export default {
)
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
if
(
res
&&
res
.
message
.
includes
(
'成功'
))
{
if
(
res
&&
res
.
message
.
includes
(
'成功'
))
{
this
.
imgLeft
=
res
.
items
[
'左'
]
this
.
imgLeft
=
res
.
items
.
left
this
.
imgRight
=
res
.
items
[
'右'
]
this
.
imgRight
=
res
.
items
.
right
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
showClose
:
true
,
showClose
:
true
,
...
...
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