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
f0e3adbe
Commit
f0e3adbe
authored
Apr 09, 2024
by
张海景
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update:修改生产工单加上报工时间和领料工单
parent
a6602bb5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
+12
-3
index.vue
pages/mes/prodReport/index.vue
+12
-3
No files found.
pages/mes/prodReport/index.vue
View file @
f0e3adbe
...
...
@@ -164,6 +164,11 @@
<u-number-box
:min=
"0"
@
change=
"quantityChanged"
v-model=
"feedback.quantityUnqualify"
></u-number-box>
</u-form-item>
</u-col>
<u-col
span=
"6"
>
<u-form-item
label=
"报工时间:"
prop=
"createTime"
>
<uni-datetime-picker
return-type=
"string"
class=
"times"
type=
"datetime"
:clear-icon=
"false"
v-model=
"feedback.createTime"
/>
</u-form-item>
</u-col>
</u-row>
<u-row
v-if=
"!feedback.isLastProcess"
>
<u-col
span=
"6"
>
...
...
@@ -434,17 +439,17 @@
<view
class=
"list-bar"
>
<u-form
label-width=
"65px"
labelAlign=
"right"
:model=
"curTaskInfo"
>
<u-row>
<u-col
span=
"
4
"
>
<u-col
span=
"
3
"
>
<u-form-item
label=
"编排单号"
>
{{
curTaskInfo
.
arrangeCode
}}
</u-form-item>
</u-col>
<u-col
span=
"4"
>
<u-col
span=
"4
.5
"
>
<u-form-item
label=
"生产工单"
prop=
"workorderCode"
>
<uni-data-select
v-model=
"curTaskInfo.workorderCode"
@
change=
"materialReturnWorkorderProcessItem"
:localdata=
"curTaskInfo.workorderOption"
></uni-data-select>
</u-form-item>
</u-col>
<u-col
span=
"4"
>
<u-col
span=
"4
.5
"
>
<u-form-item
label=
"领料原因"
prop=
"pickingReason"
>
<uni-data-select
v-model=
"curTaskInfo.pickingReason"
:localdata=
"reasonList"
@
change=
"pickingCause"
></uni-data-select>
</u-form-item>
...
...
@@ -1699,6 +1704,7 @@ export default {
directiveData
:
{},
sizeData
:
{},
printContents
:
item
.
arrangeCode
,
createTime
:
this
.
parseTime
(
new
Date
()),
whether
:
''
,
printTemplate
:
''
,
tableDirectiveColumn
:
[
...
...
@@ -1834,6 +1840,8 @@ export default {
this
.
$u
.
toast
(
'打印机连接失败'
);
return
;
}
console
.
log
(
item
,
'item'
)
debugger
//工单
this
.
$u
.
api
.
feedback
({
...
...
@@ -1863,6 +1871,7 @@ export default {
workorderSoDirectiveId
:
item
.
workorderSoDirectiveId
,
workorderSoSizeItemId
:
item
.
workorderSoSizeItemId
,
netWeight
:
item
.
netWeight
,
createTime
:
item
.
createTime
,
minPackageNum
:
item
.
minPackageNum
,
printContents
:
item
.
whether
==
'1'
?
item
.
printContents
:
null
})
...
...
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