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
2044cd35
Commit
2044cd35
authored
Nov 30, 2023
by
jingnan
👀
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
废品通知单修改
parent
03d00146
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
41 additions
and
34 deletions
+41
-34
threeTable.vue
...omponents/components/ScrapNoticeDocReceipt/threeTable.vue
+9
-9
twoTable.vue
...eComponents/components/ScrapNoticeDocReceipt/twoTable.vue
+32
-25
No files found.
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/threeTable.vue
View file @
2044cd35
...
...
@@ -80,7 +80,7 @@
</td>
<td
class=
"input"
>
<el-form-item
prop=
"quota"
>
<el-input
v-model=
"form.quota"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.quota"
:disabled=
"basicData.isOnlyRead"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<!-- :disabled="costEstimator || (disabled && !costEstimator)" -->
</el-form-item>
</td>
...
...
@@ -91,7 +91,7 @@
</td>
<td
class=
"input"
>
<el-form-item
prop=
"consumeCount"
>
<el-input
v-model=
"form.consumeCount"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.consumeCount"
:disabled=
"basicData.isOnlyRead"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<!-- :disabled="costEstimator || (disabled && !costEstimator)" -->
</el-form-item>
</td>
...
...
@@ -102,7 +102,7 @@
</td>
<td
class=
"input"
>
<el-form-item
prop=
"price"
>
<el-input
v-model=
"form.price"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.price"
:disabled=
"basicData.isOnlyRead"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<!-- :disabled="costEstimator || (disabled && !costEstimator)" -->
</el-form-item>
</td>
...
...
@@ -125,7 +125,7 @@
</td>
<td
class=
"input"
>
<el-form-item
prop=
"subMaterialLossValue"
>
<el-input
v-model=
"form.subMaterialLossValue"
clearable
placeholder=
"请输入"
type=
"Number"
min=
"0"
/>
<el-input
v-model=
"form.subMaterialLossValue"
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入"
type=
"Number"
min=
"0"
/>
<!-- :disabled="costEstimator || (disabled && !costEstimator)" -->
</el-form-item>
</td>
...
...
@@ -136,7 +136,7 @@
</td>
<td
class=
"input"
>
<el-form-item
prop=
"totalLossValue"
>
<el-input
v-model=
"form.totalLossValue"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<el-input
v-model=
"form.totalLossValue"
:disabled=
"basicData.isOnlyRead"
clearable
type=
"Number"
min=
"0"
placeholder=
"请输入"
/>
<!-- :disabled="costEstimator || (disabled && !costEstimator)" -->
</el-form-item>
</td>
...
...
@@ -151,7 +151,7 @@
v-model=
"form.disassemblyDate"
clearable
type=
"Number"
:disabled=
"technologist || (disabled && !technologist)"
:disabled=
"technologist || (disabled && !technologist)
||basicData.isOnlyRead
"
min=
"0"
placeholder=
"请输入"
/>
...
...
@@ -164,14 +164,14 @@
<el-form-item
prop=
"clsign"
>
<label
for=
""
>
材料定额员:
</label>
<el-input
v-model=
"form.clsign"
clearable
:disabled=
"Activity_1dnbmb6"
class=
"material-quota-officer"
/>
<el-input
v-model=
"form.clsign"
clearable
:disabled=
"Activity_1dnbmb6
||basicData.isOnlyRead
"
class=
"material-quota-officer"
/>
<!--
<span
class=
"material-quota-officer"
contenteditable=
"true"
/>
-->
</el-form-item>
</div>
<div>
<el-form-item
prop=
"gysign"
>
<label
for=
""
>
工艺员:
</label>
<el-input
v-model=
"form.gysign"
clearable
:disabled=
"Activity_1dnbmb6"
class=
"technologists"
/>
<el-input
v-model=
"form.gysign"
clearable
:disabled=
"Activity_1dnbmb6
||basicData.isOnlyRead
"
class=
"technologists"
/>
<!--
<span
class=
"technologist"
contenteditable=
"true"
/>
-->
</el-form-item>
</div>
...
...
@@ -180,7 +180,7 @@
</tbody>
</table>
</el-form>
<div
class=
"table-btn"
>
<div
v-if=
"!basicData.isOnlyRead"
class=
"table-btn"
>
<el-button
type=
"primary"
size=
"small"
:disabled=
"disab"
@
click=
"save"
>
确定
</el-button>
<el-button
size=
"small"
:disabled=
"disab"
@
click=
"handleClose"
>
取消
</el-button>
</div>
...
...
applications/dee-mes/src/privateComponents/components/ScrapNoticeDocReceipt/twoTable.vue
View file @
2044cd35
...
...
@@ -24,7 +24,7 @@
<el-input
v-model=
"form.materialCount"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -37,7 +37,7 @@
<el-input
v-model=
"form.materialCost"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -65,7 +65,7 @@
<el-input
v-model=
"form.curOpCostPCount"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -78,7 +78,7 @@
<el-input
v-model=
"form.curOpCostP"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -98,7 +98,7 @@
<el-input
v-model=
"form.curOpCostMCount"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -111,7 +111,7 @@
<el-input
v-model=
"form.curOpCostM"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -139,7 +139,7 @@
<el-input
v-model=
"form.perOpCostPCount"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -152,7 +152,7 @@
<el-input
v-model=
"form.perOpCostP"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -172,7 +172,7 @@
<el-input
v-model=
"form.perOpCostMCount"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -185,7 +185,7 @@
<el-input
v-model=
"form.perOpCostM"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -217,6 +217,7 @@
min=
"0"
type=
"Number"
placeholder=
"请输入"
:disabled=
"basicData.isOnlyRead"
@
input=
"outCount"
/>
</el-form-item>
...
...
@@ -229,6 +230,7 @@
min=
"0"
type=
"Number"
placeholder=
"请输入"
:disabled=
"basicData.isOnlyRead"
@
input=
"outPrice"
/>
</el-form-item>
...
...
@@ -249,6 +251,7 @@
min=
"0"
type=
"Number"
placeholder=
"请输入"
:disabled=
"basicData.isOnlyRead"
@
input=
"outCount"
/>
</el-form-item>
...
...
@@ -260,6 +263,7 @@
clearable
min=
"0"
type=
"Number"
:disabled=
"basicData.isOnlyRead"
placeholder=
"请输入"
@
input=
"outPrice"
/>
...
...
@@ -279,6 +283,7 @@
clearable
min=
"0"
type=
"Number"
:disabled=
"basicData.isOnlyRead"
placeholder=
"请输入"
@
input=
"outCount"
/>
...
...
@@ -291,6 +296,7 @@
clearable
min=
"0"
type=
"Number"
:disabled=
"basicData.isOnlyRead"
placeholder=
"请输入"
@
input=
"outPrice"
/>
...
...
@@ -326,7 +332,7 @@
<el-input
v-model=
"form.scrapValue"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -350,7 +356,7 @@
<el-input
v-model=
"form.netLoss"
clearable
:disabled=
"costEstimator || (disabled && !costEstimator)"
:disabled=
"costEstimator || (disabled && !costEstimator)
||basicData.isOnlyRead
"
min=
"0"
type=
"Number"
placeholder=
"请输入"
...
...
@@ -369,28 +375,28 @@
<td
colspan=
"2"
>
<p>
合计:
{{
form
.
materialF
}}
</p>
<p
class=
"input"
>
签字:
<el-input
clearable
placeholder=
"请输入名字"
/>
签字:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入名字"
/>
</p>
<p
class=
"input"
>
日期:
<el-input
clearable
placeholder=
"请输入日期"
/>
日期:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入日期"
/>
</p>
</td>
<td
colspan=
"2"
>
<p>
合计:
{{
form
.
workHourF
}}
</p>
<p
class=
"input"
>
签字:
<el-input
clearable
placeholder=
"请输入名字"
/>
签字:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入名字"
/>
</p>
<p
class=
"input"
>
日期:
<el-input
clearable
placeholder=
"请输入日期"
/>
日期:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入日期"
/>
</p>
</td>
<td>
<p>
合计:
{{
form
.
manufactureF
}}
</p>
<p
class=
"input"
>
签字:
<el-input
clearable
placeholder=
"请输入名字"
/>
签字:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入名字"
/>
</p>
<p
class=
"input"
>
日期:
<el-input
clearable
placeholder=
"请输入日期"
/>
日期:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入日期"
/>
</p>
</td>
<td>
...
...
@@ -411,16 +417,16 @@
</p>
</el-form-item>
<p
class=
"input"
>
签字:
<el-input
clearable
placeholder=
"请输入名字"
/>
签字:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入名字"
/>
</p>
<p
class=
"input"
>
日期:
<el-input
clearable
placeholder=
"请输入日期"
/>
日期:
<el-input
:disabled=
"basicData.isOnlyRead"
clearable
placeholder=
"请输入日期"
/>
</p>
</td>
</tr>
</tbody>
</table>
<div
class=
"table-btn"
>
<div
v-if=
"!basicData.isOnlyRead"
class=
"table-btn"
>
<el-button
type=
"primary"
size=
"small"
:disabled=
"disab"
@
click=
"save"
>
确定
</el-button>
<el-button
size=
"small"
:disabled=
"disab"
@
click=
"handleClose"
>
取消
</el-button>
</div>
...
...
@@ -546,9 +552,9 @@ export default {
}
else
if
(
!
that
.
workHourMCount
||
!
that
.
workHourMCost
)
{
that
.
workHourMLossCost
=
0
}
if
(
that
.
curT
otalLossCost
)
{
that
.
accounts
=
parseFloat
(
that
.
curT
otalLossCost
)
}
else
if
(
!
that
.
curT
otalLossCost
)
{
if
(
that
.
t
otalLossCost
)
{
that
.
accounts
=
parseFloat
(
that
.
t
otalLossCost
)
}
else
if
(
!
that
.
t
otalLossCost
)
{
that
.
accounts
=
0
}
this
.
outLoss
()
...
...
@@ -639,7 +645,8 @@ export default {
const
params
=
{
id
:
this
.
item
.
id
,
operator
:
'MODIFY'
,
// 增加操作
...
this
.
form
...
this
.
form
,
loss
:
this
.
form
.
accounts
}
this
.
$api
.
recursion
(
'ScrapNoticeDoc'
,
params
).
then
((
res
)
=>
{
this
.
item
=
res
.
items
...
...
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