工艺流程

This commit is contained in:
打豆豆 2024-05-13 13:14:13 +08:00
parent 2f8ff982a4
commit 112d378737
2 changed files with 11 additions and 5 deletions

View File

@ -686,7 +686,7 @@ export default {
}); });
}, },
selectSource(e) { selectSource(e) {
console.log(e); // console.log(e);
this.form.url = e.url; this.form.url = e.url;
this.form.originalName = e.originalName; this.form.originalName = e.originalName;
}, },
@ -866,7 +866,9 @@ export default {
mappedArray.forEach((item, index) => { mappedArray.forEach((item, index) => {
item.orderNum = index; item.orderNum = index;
updateRouteprocess(item).then((response) => { updateRouteprocess(item).then((response) => {
updateRouteprocess(item).then((response) => {}); updateRouteprocess(item).then((response) => {
this.getList();
});
}); });
this.getList(); this.getList();
}); });
@ -889,6 +891,9 @@ export default {
this.open = false; this.open = false;
}); });
} else { } else {
if (this.form.orderNum < this.popArr) {
this.form.orderNum = this.form.orderNum - 1;
}
addRouteprocess(this.form).then((response) => { addRouteprocess(this.form).then((response) => {
if (this.form.orderNum < this.popArr) { if (this.form.orderNum < this.popArr) {
this.process(); this.process();

View File

@ -731,9 +731,9 @@ export default {
submitFileForm() { submitFileForm() {
if (this.remainingquantity != 0) { if (this.remainingquantity != 0) {
axios axios
// .get("http://192.168.2.104:8077/manage/matter/storageItem", {
.post( .post(
"http://192.168.2.104:8077/manage/matter/storageItem", "http://192.168.2.104:8077/manage/matter/storageItem",
// "http://192.168.50.191:8063/manage/matter/storageItem",
this.perform this.perform
) )
.then(function (res) { .then(function (res) {
@ -742,9 +742,10 @@ export default {
this.warehousing = false; this.warehousing = false;
this.getList(); this.getList();
this.selectEncoding(); this.selectEncoding();
} else {
this.$message.error(res.data.msg);
} }
// if (res.data.code != 200) {
// this.$message.error(res.data.msg);
// }
}); });
} else { } else {
this.$message({ this.$message({