fix():办理回查数据
Showing
3 changed files
with
5 additions
and
6 deletions
... | @@ -182,7 +182,6 @@ | ... | @@ -182,7 +182,6 @@ |
182 | }, | 182 | }, |
183 | save() { | 183 | save() { |
184 | jzdsingleModify(this.jzdlist).then(res => { | 184 | jzdsingleModify(this.jzdlist).then(res => { |
185 | console.log(res) | ||
186 | if (res.success) { | 185 | if (res.success) { |
187 | Message.success("保存成功") | 186 | Message.success("保存成功") |
188 | this.getData(this.bsm) | 187 | this.getData(this.bsm) | ... | ... |
... | @@ -247,9 +247,7 @@ | ... | @@ -247,9 +247,7 @@ |
247 | }) | 247 | }) |
248 | }, | 248 | }, |
249 | save() { | 249 | save() { |
250 | console.log("保存...."); | ||
251 | jzxsingleModify(this.jzxlist).then(res => { | 250 | jzxsingleModify(this.jzxlist).then(res => { |
252 | console.log(res) | ||
253 | if (res.success) { | 251 | if (res.success) { |
254 | Message.success("保存成功") | 252 | Message.success("保存成功") |
255 | this.getData(this.bsm) | 253 | this.getData(this.bsm) | ... | ... |
... | @@ -89,7 +89,6 @@ | ... | @@ -89,7 +89,6 @@ |
89 | }) | 89 | }) |
90 | }, | 90 | }, |
91 | save() { | 91 | save() { |
92 | console.log(this.mjftData); | ||
93 | for (let val of this.mjftData.list) { | 92 | for (let val of this.mjftData.list) { |
94 | if (val.dzwdm == '') { | 93 | if (val.dzwdm == '') { |
95 | Message.error("定着物代码不能为空") | 94 | Message.error("定着物代码不能为空") |
... | @@ -98,7 +97,6 @@ | ... | @@ -98,7 +97,6 @@ |
98 | } | 97 | } |
99 | this.mjftData['zdbsm'] = this.$store.state.zdbsm | 98 | this.mjftData['zdbsm'] = this.$store.state.zdbsm |
100 | savemjft(this.mjftData).then(res => { | 99 | savemjft(this.mjftData).then(res => { |
101 | console.log(res) | ||
102 | if (res.success) { | 100 | if (res.success) { |
103 | Message.success("保存成功") | 101 | Message.success("保存成功") |
104 | this.getData(this.mjftData.zdbsm) | 102 | this.getData(this.mjftData.zdbsm) |
... | @@ -180,8 +178,12 @@ | ... | @@ -180,8 +178,12 @@ |
180 | }, | 178 | }, |
181 | mounted() { | 179 | mounted() { |
182 | console.log("mounted init...") | 180 | console.log("mounted init...") |
181 | this.mjftData.zdbsm=this.$store.state.zdbsm | ||
182 | this.zdmj=this.$store.state.zdmj | ||
183 | this.tdzl=this.$store.state.zdzl | ||
184 | this.zddm=this.$store.state.zddm | ||
183 | if (this.mjftData.zdbsm) { | 185 | if (this.mjftData.zdbsm) { |
184 | this.getData() | 186 | this.getData(this.mjftData.zdbsm) |
185 | } | 187 | } |
186 | }, | 188 | }, |
187 | watch: { | 189 | watch: { | ... | ... |
-
Please register or sign in to post a comment