|
@@ -167,6 +167,7 @@ |
|
@@ -167,6 +167,7 @@ |
167
|
}, (result) => {
|
167
|
}, (result) => {
|
168
|
if (result.code === 200) {
|
168
|
if (result.code === 200) {
|
169
|
tip('取消成功');
|
169
|
tip('取消成功');
|
|
|
170
|
+ yohoAPI.storage.orderReload = true;
|
170
|
setTimeout(() => {
|
171
|
setTimeout(() => {
|
171
|
this.reload();
|
172
|
this.reload();
|
172
|
}, 1000);
|
173
|
}, 1000);
|
|
@@ -208,6 +209,7 @@ |
|
@@ -208,6 +209,7 @@ |
208
|
reason: this.options.length ? this.options[0].reason : null
|
209
|
reason: this.options.length ? this.options[0].reason : null
|
209
|
}, (result) => {
|
210
|
}, (result) => {
|
210
|
if (result.code === 200) {
|
211
|
if (result.code === 200) {
|
|
|
212
|
+ yohoAPI.storage.orderReload = true;
|
211
|
this.reload();
|
213
|
this.reload();
|
212
|
}
|
214
|
}
|
213
|
});
|
215
|
});
|
|
@@ -232,6 +234,7 @@ |
|
@@ -232,6 +234,7 @@ |
232
|
}
|
234
|
}
|
233
|
}).then(result => {
|
235
|
}).then(result => {
|
234
|
if (result.code === 200) {
|
236
|
if (result.code === 200) {
|
|
|
237
|
+ yohoAPI.storage.orderReload = true;
|
235
|
yohoAPI.goBack();
|
238
|
yohoAPI.goBack();
|
236
|
return false;
|
239
|
return false;
|
237
|
} else if (result.code !== 500) {
|
240
|
} else if (result.code !== 500) {
|
|
@@ -255,6 +258,7 @@ |
|
@@ -255,6 +258,7 @@ |
255
|
}
|
258
|
}
|
256
|
}).then(result => {
|
259
|
}).then(result => {
|
257
|
if (result.code === 200) {
|
260
|
if (result.code === 200) {
|
|
|
261
|
+ yohoAPI.storage.orderReload = true;
|
258
|
_this.reload();
|
262
|
_this.reload();
|
259
|
} else if (result.code !== 500) {
|
263
|
} else if (result.code !== 500) {
|
260
|
tip(result.message);
|
264
|
tip(result.message);
|