Commit db23a061 authored by Morson's avatar Morson

feat(parts):退件无快递返件对接

parent f5fe0238
...@@ -92,6 +92,9 @@ ...@@ -92,6 +92,9 @@
expressCom: this.expressCom, expressCom: this.expressCom,
expressNumber: this.expressNumber expressNumber: this.expressNumber
} }
} else {
const params = {parts: JSON.stringify(this.parts)}
}
this.$u.api.returnParts(params).then((res) => { this.$u.api.returnParts(params).then((res) => {
if(res.code == 200 && res.data) { if(res.code == 200 && res.data) {
this.$u.route({ this.$u.route({
...@@ -103,16 +106,6 @@ ...@@ -103,16 +106,6 @@
}) })
} }
}) })
} else {
// TODO
this.$u.route({
url: 'pages/parts/nodes',
params: {
type: 1,
returnNo: 'RT20210610000001'
}
})
}
} }
} }
} }
......
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