Commit 84882979 authored by 仇晓婷's avatar 仇晓婷

排产结构

parent 67d7e6b7
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
parameter() { parameter() {
Api.checkisinsertandbadjust({ Api.checkisinsertandbadjust({
//方案下发前的插单检查 //方案下发前的插单检查
id: this.id id: this.eid
}).then(r => { }).then(r => {
if (r.result) { if (r.result) {
this.$Modal.confirm({ this.$Modal.confirm({
...@@ -134,12 +134,11 @@ export default { ...@@ -134,12 +134,11 @@ export default {
if (r.result.retcode == 1) { if (r.result.retcode == 1) {
//排产方案下发--普通+干扰 //排产方案下发--普通+干扰
Api.processschemedispatch({ Api.processschemedispatch({
id: this.id id: this.eid
}).then(r => { }).then(r => {
if (r.result) { if (r.result) {
this.$Message.success(r.result.retmsg); this.$Message.success(r.result.retmsg);
this.$emit('ok-claer') this.$emit("ok-claer");
} else { } else {
this.$Message.error("下发失败"); this.$Message.error("下发失败");
} }
...@@ -147,11 +146,11 @@ export default { ...@@ -147,11 +146,11 @@ export default {
} else if (r.result.retcode == 0) { } else if (r.result.retcode == 0) {
//排产方案下发--有插单 //排产方案下发--有插单
Api.processschemedispatchinsert({ Api.processschemedispatchinsert({
id: this.id id: this.eid
}).then(r => { }).then(r => {
if (r.result) { if (r.result) {
this.$Message.success(r.result.retmsg); this.$Message.success(r.result.retmsg);
this.$emit('ok-claer') this.$emit("ok-claer");
} else { } else {
this.$Message.error("下发失败"); this.$Message.error("下发失败");
} }
...@@ -169,7 +168,7 @@ export default { ...@@ -169,7 +168,7 @@ export default {
} }
}); });
}, },
tabChange(name) { tabChange(name) {
if (name == "technicalcoordination") { if (name == "technicalcoordination") {
this.$refs.technicalcoordination.loadchangelist(); this.$refs.technicalcoordination.loadchangelist();
......
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