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
mes
mes-ui
Commits
5baf58ec
Commit
5baf58ec
authored
Dec 27, 2024
by
tanjunxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 生产工单细节优化
parent
e3c83af6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
indexApply.vue
src/views/mes/pro/workorder/indexApply.vue
+4
-2
index.vue
src/views/mes/tm/tool/index.vue
+1
-1
No files found.
src/views/mes/pro/workorder/indexApply.vue
View file @
5baf58ec
...
...
@@ -261,7 +261,7 @@
<el-table-column
label=
"订单编号"
width=
"140"
align=
"center"
prop=
"salesVoucher"
/>
<el-table-column
label=
"产品分类"
width=
"200"
align=
"center"
prop=
"itemTypeName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"产品编号"
width=
"120"
align=
"center"
prop=
"sapItemCode"
/>
<el-table-column
label=
"产品名称"
width=
"200"
align=
"center"
prop=
"productName"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"产品名称"
width=
"200"
align=
"center"
prop=
"productName"
/>
<el-table-column
label=
"规格型号"
align=
"center"
prop=
"productSpc"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"需求日期"
align=
"center"
prop=
"requestDate"
width=
"180"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -1374,12 +1374,14 @@ export default {
if(res.code == 200) {
const workorderCodeList = [];
const noticeList = [];
res.data.forEach((item, index) => {
if(res.data) {
res.data.forEach((item, index) => {
if(item.noticeList.length > 0) {
workorderCodeList.push(item.workorderCode);
noticeList.push(...item.noticeList);
}
}
)
}
if(workorderCodeList.length == 0) {
this.getList();
this.$modal.msgSuccess("已齐套");
...
...
src/views/mes/tm/tool/index.vue
View file @
5baf58ec
...
...
@@ -157,7 +157,7 @@
<span>
{{
parseTime
(
scope
.
row
.
nextMaintenDate
,
'{y
}
-{m
}
-{d
}
'
)
}}
<
/span
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"位置"
width
=
"
80"
align
=
"center"
prop
=
"location"
:
show
-
overflow
-
tooltip
=
"true
"
/>
<
el
-
table
-
column
label
=
"位置"
width
=
"
120"
align
=
"center"
prop
=
"location
"
/>
<
el
-
table
-
column
label
=
"状态"
align
=
"center"
prop
=
"status"
>
<
template
slot
-
scope
=
"scope"
>
<
dict
-
tag
:
options
=
"dict.type.mes_tool_status"
:
value
=
"scope.row.status"
/>
...
...
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