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
852804de
Commit
852804de
authored
Oct 19, 2023
by
xioln
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
废品单问题修改
parent
6b030a21
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
158 additions
and
222 deletions
+158
-222
index.vue
.../src/commonComponents/components/DeeUploadTable/index.vue
+0
-2
threeTable.vue
...omponents/components/ScrapNoticeDocReceipt/threeTable.vue
+109
-196
twoTable.vue
...eComponents/components/ScrapNoticeDocReceipt/twoTable.vue
+49
-24
No files found.
applications/architecture-dee/src/commonComponents/components/DeeUploadTable/index.vue
View file @
852804de
...
...
@@ -285,7 +285,6 @@ export default {
})
},
update
(
data
,
deleteRows
=
[])
{
console
.
log
(
11111
,
data
)
// data
const
tableData
=
this
.
value
||
[]
tableData
.
forEach
(
row
=>
{
...
...
@@ -299,7 +298,6 @@ export default {
}
}
})
console
.
log
(
222
,
data
)
this
.
$emit
(
'input'
,
data
)
}
}
...
...
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/threeTable.vue
View file @
852804de
This diff is collapsed.
Click to expand it.
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/twoTable.vue
View file @
852804de
...
...
@@ -399,7 +399,7 @@
<label>
合计:
</label><el-input
v-model=
"form.accounts"
clearable
:disabled=
"
costKeeper || (disabled && !costKeeper)
"
:disabled=
"
true
"
placeholder=
"请输入"
/>
<!--
<label
:class=
"
{ costKeeper: !costKeeper }">合计:
</label><el-input
...
...
@@ -429,6 +429,12 @@
</
template
>
<
script
>
export
default
{
props
:
{
basicData
:
{
type
:
Object
,
default
:
()
=>
null
}
},
data
()
{
return
{
item
:
{},
...
...
@@ -477,7 +483,9 @@ export default {
// 成本核算员
costEstimator
:
true
,
// 成本管理员
costKeeper
:
true
costKeeper
:
true
,
// 废品通知单编制禁用
Activity_1dnbmb6
:
false
}
},
watch
:
{
...
...
@@ -539,6 +547,7 @@ export default {
that
.
workHourMLossCost
=
0
}
if
(
that
.
curTotalLossCost
)
{
console
.
log
(
this
)
that
.
accounts
=
parseFloat
(
that
.
curTotalLossCost
)
}
else
if
(
!
that
.
curTotalLossCost
)
{
that
.
accounts
=
0
...
...
@@ -576,36 +585,52 @@ export default {
},
deep
:
true
}
// 'form.accounts': {
// handler(v) {
// this.$emit('accounts', v)
// },
// deep: true
// }
},
created
()
{
this
.
open
(
this
.
$attrs
[
'basic-data'
]
)
this
.
open
(
this
.
basicData
)
},
methods
:
{
// 打开弹出框
open
(
val
)
{
this
.
$nextTick
(()
=>
{
// 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7
// if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) {
// this.disabled = false
// if (val.taskkey === 'Activity_1lgytbi') {
// this.costEstimator = false
// } else if (val.taskkey === 'Activity_07owud7') {
// this.costKeeper = false
// }
// } else {
// this.disabled = true
// }
this
.
disabled
=
false
this
.
costEstimator
=
false
this
.
costKeeper
=
false
this
.
item
=
val
if
(
val
&&
val
.
taskkey
)
{
// 废品通知单编制
if
(
val
.
taskkey
===
'Activity_1dnbmb6'
)
{
this
.
Activity_1dnbmb6
=
true
}
// 成本核算员节点Activity_1lgytbi和财务部会计Activity_07owud7
// if (['Activity_1lgytbi', 'Activity_07owud7'].includes(val.taskkey)) {
// this.disabled = false
// if (val.taskkey === 'Activity_1lgytbi') {
// this.costEstimator = false
// } else if (val.taskkey === 'Activity_07owud7') {
// this.costKeeper = false
// }
// } else {
// 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
()
{
...
...
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