Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-pad
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
ximai
mes-pad
Commits
4ea6b59b
Commit
4ea6b59b
authored
Feb 28, 2024
by
chenzj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产报工的扣减寿命
parent
2588ae45
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
17 deletions
+17
-17
index.vue
pages/mes/prodReport/index.vue
+17
-17
No files found.
pages/mes/prodReport/index.vue
View file @
4ea6b59b
...
...
@@ -170,11 +170,11 @@
:title-style=
"
{'background-color':'#1E3770','color': '#FFFFFF' ,'line-height': '60px','padding-top': '0px'}"
v-model="aopen" width="1300rpx">
<u-form
label-width=
"90px"
:rules=
"rules"
>
<u-form-item
label=
"异常时间"
prop=
"abnormalTime"
>
<u-input
disabled=
"true"
:border=
"true"
v-model=
"ExceptionForms.abnormalTime"
></u-input>
<
!--
<uni-datetime-picker
class=
"times"
type=
"date"
:clear-icon=
"false"
v-model=
"ExceptionForms.abnormalTime"
/>
--
>
</u-form-item>
<
!--
<
u-form-item
label=
"异常时间"
prop=
"abnormalTime"
>
<u-input
:border=
"true"
v-model=
"ExceptionForms.abnormalTime"
></u-input>
<
uni-datetime-picker
class=
"times"
type=
"date"
:clear-icon=
"false"
v-model=
"ExceptionForms.abnormalTime"
/
>
</u-form-item>
-->
<u-row>
<u-col
span=
"6"
>
<u-form-item
label=
"异常类型"
prop=
"abnormalType"
>
...
...
@@ -385,7 +385,6 @@
<
script
>
import
SearchInput
from
"@/components/ScanInput/index.vue"
;
import
dModelList
from
'./components/dModelList.vue'
import
timeFormat
from
'@/uview-ui/libs/function/timeFormat.js'
export
default
{
name
:
"ProdReport"
,
components
:
{
...
...
@@ -606,9 +605,7 @@ export default {
dModelData
:
[],
tableSelectData
:
[],
feedbackForms
:
[],
ExceptionForms
:
{
abnormalTime
:
timeFormat
(
new
Date
(),
'yyyy-mm-dd'
)
},
ExceptionForms
:
{},
reasonList
:
[],
materialUsageRecordList
:
[],
materialusagerecordLoading
:
false
,
...
...
@@ -661,13 +658,13 @@ export default {
materialReturnList
:
[],
materialRequestFormData
:
{
itemName
:
null
,
applyNum
:
1
applyNum
:
null
},
materialRequestFormVisible
:
false
,
materialRequestSelected
:{},
materialReturnFormData
:
{
itemName
:
null
,
applyNum
:
1
applyNum
:
null
},
materialReturnFormVisible
:
false
,
materialReturnSelected
:{},
...
...
@@ -1046,7 +1043,7 @@ export default {
workstationName
:
this
.
vuex_workunit
.
workunitName
,
abnormalType
:
''
,
abnormalReason
:
''
,
abnormalTime
:
timeFormat
(
new
Date
(),
'yyyy-mm-dd'
)
abnormalTime
:
''
})
this
.
aopen
=
true
;
},
...
...
@@ -1092,7 +1089,11 @@ export default {
startTime
:
item
.
startTime
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$u
.
toast
(
'上报成功'
);
if
(
res
.
msg
===
""
){
this
.
$u
.
toast
(
'上报成功'
);
}
else
{
this
.
$u
.
toast
(
res
.
msg
);
}
this
.
getTaskList
()
}
});
...
...
@@ -1115,10 +1116,9 @@ export default {
},
feedingInspectionScan
(){
const
t
=
this
;
const
taskInfo
=
this
.
tableSelectData
[
0
];
uni
.
scanCode
({
success
:
function
(
res
)
{
t
.
$u
.
api
.
validateFeedingInspection
({
"plnr"
:
res
.
result
,
"taskId"
:
taskInfo
.
taskId
}).
then
(
res2
=>
{
t
.
$u
.
api
.
validateFeedingInspection
({
"plnr"
:
res
.
result
}).
then
(
res2
=>
{
if
(
res2
.
code
===
200
)
{
t
.
feedingInspectionLoadAndScan
();
}
...
...
@@ -1192,7 +1192,7 @@ export default {
},
materialRequestFormShow
(
line
){
this
.
materialRequestFormVisible
=
true
;
this
.
materialRequestFormData
.
itemName
=
line
.
itemName
this
.
materialRequestFormData
=
{
itemName
:
line
.
itemName
};
this
.
materialRequestSelected
=
line
;
},
materialRequestSetting
(){
...
...
@@ -1232,7 +1232,7 @@ export default {
},
materialReturnFormShow
(
line
){
this
.
materialReturnFormVisible
=
true
;
this
.
materialReturnFormData
.
itemName
=
line
.
itemName
;
this
.
materialReturnFormData
=
{
itemName
:
line
.
itemName
}
;
this
.
materialReturnSelected
=
line
;
},
materialReturnSetting
(){
...
...
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