zhanbo.xu

feat: 修改传参

......@@ -258,6 +258,7 @@ export default {
}
generateReceiptXml({
...this.formData,
orderNo: this.formData.orderNo,
}).then((res) => {
console.log(res);
if (res.code === "200") {
......@@ -294,7 +295,10 @@ export default {
};
this.$refs.formData.validate((valid) => {
if (valid) {
this.addapi(obj);
this.addapi({
...obj,
orderNo: [this.formData.orderNo],
});
}
});
},
......