...
|
...
|
@@ -117,8 +117,6 @@ Page({ |
|
|
data.buttons = data.buttons.filter(item => {
|
|
|
return item.code !== 'modify_address';
|
|
|
});
|
|
|
|
|
|
console.log(data.buttons)
|
|
|
}
|
|
|
|
|
|
if (data && data.buttons && data.buttons.length > 0) {
|
...
|
...
|
@@ -183,7 +181,7 @@ Page({ |
|
|
}
|
|
|
router.go('logistics', params);
|
|
|
} else {
|
|
|
if (actionCode === 'cancel_order') {
|
|
|
if (actionCode === 'cancel_order' && this.data.data.isOffline !== 'Y') {
|
|
|
return ctx.setData({
|
|
|
cancelConfirm: true,
|
|
|
cancelOrderCode: orderCode
|
...
|
...
|
|