1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee

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,
};