Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
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-ui
Commits
7565325d
Commit
7565325d
authored
Nov 13, 2024
by
李驰骋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排程页面添加排程日期
parent
7d401c7c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
11 deletions
+33
-11
orderList.vue
src/views/mes/pro/scheduleList/orderList.vue
+33
-11
No files found.
src/views/mes/pro/scheduleList/orderList.vue
View file @
7565325d
...
...
@@ -84,6 +84,24 @@
/>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('排程日期')"
align=
"center"
prop=
"scheduleStartDate"
width=
"200"
:show-overflow-tooltip=
"true"
>
<
template
slot-scope=
"scope"
>
<el-date-picker
v-model=
"scope.row.scheduleDate"
type=
"datetime"
style=
"width: 100%;"
value-format=
"yyyy-MM-dd HH:mm"
format=
"yyyy-MM-dd HH:mm"
>
>
</el-date-picker>
</
template
>
</el-table-column>
<el-table-column
:label=
"$t('项目号')"
align=
"center"
prop=
"customerProjectNo"
/>
<el-table-column
:label=
"$t('订单号')"
align=
"center"
prop=
"orderCode"
/>
<el-table-column
:label=
"$t('订单项次')"
align=
"center"
prop=
"orderSerial"
/>
...
...
@@ -150,13 +168,17 @@ export default {
/** 查询物料编码列表 */
getList
()
{
this
.
loading
=
true
;
var
defDate
=
new
Date
();
defDate
.
setHours
(
8
);
defDate
.
setMinutes
(
0
);
defDate
.
setSeconds
(
0
)
scheduleList
(
this
.
queryParams
).
then
((
response
)
=>
{
response
.
rows
=
response
.
rows
.
map
(
v
=>
{
return
{
...
v
,
disQuantity
:
v
.
quantity
-
v
.
quantityScheduled
,
scheduleQuantity
:
v
.
quantity
-
v
.
quantityScheduled
scheduleQuantity
:
v
.
quantity
-
v
.
quantityScheduled
,
scheduleDate
:
defDate
}
})
this
.
itemList
=
response
.
rows
;
...
...
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