|
@@ -131,7 +131,7 @@ export default {
|
|
.then(() => {
|
|
.then(() => {
|
|
deliveryOrder(this.list).then((response) => {
|
|
deliveryOrder(this.list).then((response) => {
|
|
const result = response.data
|
|
const result = response.data
|
|
- if(!result) {
|
|
|
|
|
|
+ if(!result || Object.keys(result).length <= 0) {
|
|
this.$router.back();
|
|
this.$router.back();
|
|
this.$message({
|
|
this.$message({
|
|
type: "success",
|
|
type: "success",
|