闫增涛
2024-03-05 e03417edfeaf52c017e4a5539f3b41ad0204a2f0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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,
};