...
|
...
|
@@ -108,10 +108,6 @@ export default class Detail extends Component { |
|
|
acceptTime,
|
|
|
accept_address
|
|
|
} = this.props.resource;
|
|
|
console.log('aaaaaa');
|
|
|
console.log(this.props.resource
|
|
|
? this.props.resource.toJS()
|
|
|
: 'no resource');
|
|
|
let {isFetching, data} = detail;
|
|
|
|
|
|
let addressBlob = {
|
...
|
...
|
@@ -132,7 +128,7 @@ export default class Detail extends Component { |
|
|
}
|
|
|
let is_delivery_offline = 'N';
|
|
|
if (data) {
|
|
|
is_delivery_offline = data.get('let is_delivery_offline');
|
|
|
is_delivery_offline = data.get('is_delivery_offline');
|
|
|
}
|
|
|
let showDeliveryOffline = is_delivery_offline && is_delivery_offline == 'Y';
|
|
|
|
...
|
...
|
@@ -141,6 +137,7 @@ export default class Detail extends Component { |
|
|
orderStatus: data && data.get('status_str'),
|
|
|
orderTime: data && data.get('create_time'),
|
|
|
payWay: data && data.get('payment_name'),
|
|
|
offLineStore: data && data.get('offline_store'),
|
|
|
expressExisted: expressBlob,
|
|
|
showDeliveryOffline,
|
|
|
}
|
...
|
...
|
@@ -204,7 +201,7 @@ export default class Detail extends Component { |
|
|
'deliveryOffline': showDeliveryOffline
|
|
|
?[1]
|
|
|
:[],
|
|
|
'express': expressBlob
|
|
|
'express': expressBlob && !showDeliveryOffline
|
|
|
? [expressBlob]
|
|
|
: [],
|
|
|
'multiPackage': isMultiPackage && packageTitle.length
|
...
|
...
|
|