Commit 012a68c2 by yiyu.li

bug

parent 3b75ba64
...@@ -399,7 +399,6 @@ export default { ...@@ -399,7 +399,6 @@ export default {
getStorages() { getStorages() {
this.request("/acc/AutomationLocation/GetLocationList?fillsn=1", "", "get") this.request("/acc/AutomationLocation/GetLocationList?fillsn=1", "", "get")
.then((res) => { .then((res) => {
console.log(res.data.data);
if (res.data.ret == 1) { if (res.data.ret == 1) {
this.data1 = res.data.data; this.data1 = res.data.data;
this.data2 = res.data.data; this.data2 = res.data.data;
......
...@@ -347,13 +347,12 @@ export default { ...@@ -347,13 +347,12 @@ export default {
handleSuccess(res, file) { handleSuccess(res, file) {
if (res.ret == 1) { if (res.ret == 1) {
this.$Message.success(this.$t("950398")); this.$Message.success(this.$t("950398"));
this.initFrockType();
this.tosearch(); this.tosearch();
} else { } else {
if ((res.msg + "").indexOf(",") != -1) { if ((res.msg + "").indexOf(",") != -1) {
inittip(res.msg); inittip(res.msg);
} else { } else {
this.$Message.error(this.$t(res.data)); this.$Message.error(this.$t(res.msg));
} }
} }
}, },
......
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