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
Show 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 @@
...
@@ -236,8 +236,8 @@
</el-form-item>
</el-form-item>
</td>
</td>
<td
class=
"text-indent"
>
<td
class=
"text-indent"
>
{{
form
.
outMaterialLossCos
}}
{{
form
.
outMaterialLossCos
t
}}
<!--
<el-input
v-model=
"form.outMaterialLossCos"
min=
"0"
type=
"Number"
placeholder=
"请输入"
@
input=
"outLoss"
/>
-->
<!--
<el-input
v-model=
"form.outMaterialLossCos
t
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
@
input=
"outLoss"
/>
-->
</td>
</td>
</tr>
</tr>
<tr>
<tr>
...
@@ -467,7 +467,7 @@ export default {
...
@@ -467,7 +467,7 @@ export default {
curTotalLossCost
:
0
,
// | 本车间损失合计 |
curTotalLossCost
:
0
,
// | 本车间损失合计 |
outMaterialCount
:
null
,
// | 外车间材料数量 |
outMaterialCount
:
null
,
// | 外车间材料数量 |
outMaterialCost
:
null
,
// | 外车间材料单价 |
outMaterialCost
:
null
,
// | 外车间材料单价 |
outMaterialLossCos
:
0
,
// | 外车间材料损失 |
outMaterialLossCos
t
:
0
,
// | 外车间材料损失 |
workHourPCount
:
null
,
// | 工时人工数量 |
workHourPCount
:
null
,
// | 工时人工数量 |
workHourPCost
:
null
,
// | 工时人工单价 |
workHourPCost
:
null
,
// | 工时人工单价 |
workHourPLossCost
:
0
,
// | 工时人工损失 |
workHourPLossCost
:
0
,
// | 工时人工损失 |
...
@@ -533,11 +533,11 @@ export default {
...
@@ -533,11 +533,11 @@ export default {
}
}
if
(
that
.
outMaterialCount
&&
that
.
outMaterialCost
)
{
if
(
that
.
outMaterialCount
&&
that
.
outMaterialCost
)
{
that
.
outMaterialLossCos
=
that
.
outMaterialLossCos
t
=
parseFloat
(
that
.
outMaterialCount
)
*
parseFloat
(
that
.
outMaterialCount
)
*
parseFloat
(
that
.
outMaterialCost
)
parseFloat
(
that
.
outMaterialCost
)
}
else
if
(
!
that
.
outMaterialCount
||
!
that
.
outMaterialCost
)
{
}
else
if
(
!
that
.
outMaterialCount
||
!
that
.
outMaterialCost
)
{
that
.
outMaterialLossCos
=
0
that
.
outMaterialLossCos
t
=
0
}
}
if
(
that
.
workHourPCount
&&
that
.
workHourPCost
)
{
if
(
that
.
workHourPCount
&&
that
.
workHourPCost
)
{
that
.
workHourPLossCost
=
that
.
workHourPLossCost
=
...
@@ -761,8 +761,8 @@ export default {
...
@@ -761,8 +761,8 @@ export default {
outLoss
()
{
outLoss
()
{
var
that
=
this
.
form
var
that
=
this
.
form
var
totalCount
=
0
var
totalCount
=
0
if
(
that
.
outMaterialLossCos
)
{
if
(
that
.
outMaterialLossCos
t
)
{
totalCount
+=
parseFloat
(
that
.
outMaterialLossCos
)
totalCount
+=
parseFloat
(
that
.
outMaterialLossCos
t
)
}
}
if
(
that
.
workHourPLossCost
)
{
if
(
that
.
workHourPLossCost
)
{
totalCount
+=
parseFloat
(
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