18 lines
460 B
XML
18 lines
460 B
XML
var isOnlyBack = function (data) {
|
|
return data.limitGoodsList || (data.inValidGoodsList && !data.storeGoodsList);
|
|
};
|
|
|
|
var isShowChangeAddress = function (data) {
|
|
return data.abnormalDeliveryGoodsList;
|
|
};
|
|
|
|
var isShowKeepPay = function (data) {
|
|
return data.outOfStockGoodsList || (data.storeGoodsList && data.inValidGoodsList);
|
|
};
|
|
|
|
module.exports = {
|
|
isOnlyBack: isOnlyBack,
|
|
isShowChangeAddress: isShowChangeAddress,
|
|
isShowKeepPay: isShowKeepPay,
|
|
};
|