Showing
1 changed file
with
5 additions
and
1 deletions
| ... | @@ -258,6 +258,7 @@ export default { | ... | @@ -258,6 +258,7 @@ export default { |
| 258 | } | 258 | } |
| 259 | generateReceiptXml({ | 259 | generateReceiptXml({ |
| 260 | ...this.formData, | 260 | ...this.formData, |
| 261 | + orderNo: this.formData.orderNo, | ||
| 261 | }).then((res) => { | 262 | }).then((res) => { |
| 262 | console.log(res); | 263 | console.log(res); |
| 263 | if (res.code === "200") { | 264 | if (res.code === "200") { |
| ... | @@ -294,7 +295,10 @@ export default { | ... | @@ -294,7 +295,10 @@ export default { |
| 294 | }; | 295 | }; |
| 295 | this.$refs.formData.validate((valid) => { | 296 | this.$refs.formData.validate((valid) => { |
| 296 | if (valid) { | 297 | if (valid) { |
| 297 | - this.addapi(obj); | 298 | + this.addapi({ |
| 299 | + ...obj, | ||
| 300 | + orderNo: [this.formData.orderNo], | ||
| 301 | + }); | ||
| 298 | } | 302 | } |
| 299 | }); | 303 | }); |
| 300 | }, | 304 | }, | ... | ... |
-
Please register or login to post a comment