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
829ac4ec
Commit
829ac4ec
authored
Dec 01, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
第二联外车间材料外车间材料损失字段修改
parent
a3add72c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
twoTable.vue
...eComponents/components/ScrapNoticeDocReceipt/twoTable.vue
+7
-7
No files found.
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/twoTable.vue
View file @
829ac4ec
...
...
@@ -236,8 +236,8 @@
</el-form-item>
</td>
<td
class=
"text-indent"
>
{{
form
.
outMaterialLossCos
}}
<!--
<el-input
v-model=
"form.outMaterialLossCos"
min=
"0"
type=
"Number"
placeholder=
"请输入"
@
input=
"outLoss"
/>
-->
{{
form
.
outMaterialLossCos
t
}}
<!--
<el-input
v-model=
"form.outMaterialLossCos
t
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
@
input=
"outLoss"
/>
-->
</td>
</tr>
<tr>
...
...
@@ -467,7 +467,7 @@ export default {
curTotalLossCost
:
0
,
// | 本车间损失合计 |
outMaterialCount
:
null
,
// | 外车间材料数量 |
outMaterialCost
:
null
,
// | 外车间材料单价 |
outMaterialLossCos
:
0
,
// | 外车间材料损失 |
outMaterialLossCos
t
:
0
,
// | 外车间材料损失 |
workHourPCount
:
null
,
// | 工时人工数量 |
workHourPCost
:
null
,
// | 工时人工单价 |
workHourPLossCost
:
0
,
// | 工时人工损失 |
...
...
@@ -533,11 +533,11 @@ export default {
}
if
(
that
.
outMaterialCount
&&
that
.
outMaterialCost
)
{
that
.
outMaterialLossCos
=
that
.
outMaterialLossCos
t
=
parseFloat
(
that
.
outMaterialCount
)
*
parseFloat
(
that
.
outMaterialCost
)
}
else
if
(
!
that
.
outMaterialCount
||
!
that
.
outMaterialCost
)
{
that
.
outMaterialLossCos
=
0
that
.
outMaterialLossCos
t
=
0
}
if
(
that
.
workHourPCount
&&
that
.
workHourPCost
)
{
that
.
workHourPLossCost
=
...
...
@@ -761,8 +761,8 @@ export default {
outLoss
()
{
var
that
=
this
.
form
var
totalCount
=
0
if
(
that
.
outMaterialLossCos
)
{
totalCount
+=
parseFloat
(
that
.
outMaterialLossCos
)
if
(
that
.
outMaterialLossCos
t
)
{
totalCount
+=
parseFloat
(
that
.
outMaterialLossCos
t
)
}
if
(
that
.
workHourPLossCost
)
{
totalCount
+=
parseFloat
(
that
.
workHourPLossCost
)
...
...
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