Commit 7fb906a4 authored by 佟礼's avatar 佟礼

Merge branch 'product' of 39.98.128.195:zhouyx/mes-ui into product

parents fa21b317 750a8b16
...@@ -17,7 +17,4 @@ export default { ...@@ -17,7 +17,4 @@ export default {
processschemedispatch(params) { processschemedispatch(params) {
return Api.post(`${apsUrl}/apspoolappservices/processschemedispatch`, params); return Api.post(`${apsUrl}/apspoolappservices/processschemedispatch`, params);
}, },
moveintoaps() {//跳转进入排产池前判断
return Api.post(`${PlanUrl}/messchedule/moveintoaps`);
},
} }
...@@ -66,14 +66,14 @@ export default { ...@@ -66,14 +66,14 @@ export default {
}, },
{ {
title: "超期预警", title: "超期预警",
key: "id", key: "alert",
align: "center", align: "center",
render: (h, params) => { render: (h, params) => {
return h("div", [ return h("div", [
h("Icon", { h("Icon", {
props: { props: {
type: type:
params.row.id == 1 params.row.alert == true
? "ios-information-circle-outline" ? "ios-information-circle-outline"
: "ios-remove-circle-outline" : "ios-remove-circle-outline"
}, },
...@@ -81,7 +81,7 @@ export default { ...@@ -81,7 +81,7 @@ export default {
marginRight: "5px", marginRight: "5px",
fontSize: "18px", fontSize: "18px",
fontWeight: "bold", fontWeight: "bold",
color: params.row.id == 1 ? "#FE7777" : "#0DD78D" color: params.row.alert == true ? "#FE7777" : "#0DD78D"
} }
}) })
]); ]);
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
}, },
{ {
title: "零件图号", title: "零件图号",
key: "part_number", key: "part_id",
align: "center" align: "center"
}, },
{ {
...@@ -175,7 +175,6 @@ export default { ...@@ -175,7 +175,6 @@ export default {
if (r.success) { if (r.success) {
this.$Message.success("清空列表成功"); this.$Message.success("清空列表成功");
this.orderlist(); this.orderlist();
this.data = [];
} }
}); });
}, },
...@@ -193,7 +192,6 @@ export default { ...@@ -193,7 +192,6 @@ export default {
if (r.result) { if (r.result) {
this.$Message.success(r.result.retmsg); this.$Message.success(r.result.retmsg);
this.orderlist(); this.orderlist();
this.data = [];
} else { } else {
this.$Message.success("下发失败"); this.$Message.success("下发失败");
} }
...@@ -201,19 +199,6 @@ export default { ...@@ -201,19 +199,6 @@ export default {
}, },
comeBlck() { comeBlck() {
this.$router.push({ path: "/aps/aps" }); this.$router.push({ path: "/aps/aps" });
Api.moveintoaps().then(res => {
if (res.success) {
if (res.result.res) {
this.$router.push({
name: "aps-aps"
});
} else {
this.$router.push({
name: "aps-plan"
});
}
}
});
} }
} }
}; };
...@@ -240,6 +225,7 @@ export default { ...@@ -240,6 +225,7 @@ export default {
line-height: 38px; line-height: 38px;
border-bottom: 1px solid #e4e6ed; border-bottom: 1px solid #e4e6ed;
margin-bottom: 15px; margin-bottom: 15px;
margin-right: 15px;
} }
.left-body:hover { .left-body:hover {
cursor: pointer; cursor: pointer;
...@@ -268,6 +254,7 @@ export default { ...@@ -268,6 +254,7 @@ export default {
.btn { .btn {
float: right; float: right;
margin-top: -52px; margin-top: -52px;
margin-right: 15px;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment