kmkf-work-order-service-component 0.3.2-alpha.1 → 0.3.2-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/WorkOrder/components/CustomizeWorkOrderList/components/StatusSelectModal/index.js
CHANGED
@@ -62,14 +62,14 @@ var checkPaymentStatus = function checkPaymentStatus(passStatus) {
|
|
62
62
|
var checkPaymentStatusByList = function checkPaymentStatusByList(list) {
|
63
63
|
return every(list, function (item) {
|
64
64
|
// 打款金额判断是否生成打款工单
|
65
|
-
var enterprisePaymentRefundFee = Object.keys(item).find(function (i) {
|
65
|
+
var enterprisePaymentRefundFee = Object.keys(item === null || item === void 0 ? void 0 : item.jsonMap).find(function (i) {
|
66
66
|
return i.endsWith('enterprisePaymentRefundFee');
|
67
67
|
});
|
68
|
-
var enterprisePaymentStatus = Object.keys(item).find(function (i) {
|
68
|
+
var enterprisePaymentStatus = Object.keys(item === null || item === void 0 ? void 0 : item.jsonMap).find(function (i) {
|
69
69
|
return i.endsWith('enterprisePaymentStatus');
|
70
70
|
});
|
71
|
-
var hasEnterprisePaymentRefundFee = isEmpty(get(item, enterprisePaymentRefundFee));
|
72
|
-
return hasEnterprisePaymentRefundFee && isEqual('未打款', get(item, enterprisePaymentStatus)) || [undefined, '标记已打款', '支付宝打款失败', '支付宝打款成功', '支付宝打款关闭'].includes(get(item, enterprisePaymentStatus));
|
71
|
+
var hasEnterprisePaymentRefundFee = isEmpty(get(item === null || item === void 0 ? void 0 : item.jsonMap, enterprisePaymentRefundFee));
|
72
|
+
return hasEnterprisePaymentRefundFee && isEqual('未打款', get(item === null || item === void 0 ? void 0 : item.jsonMap, enterprisePaymentStatus)) || [undefined, '标记已打款', '支付宝打款失败', '支付宝打款成功', '支付宝打款关闭'].includes(get(item === null || item === void 0 ? void 0 : item.jsonMap, enterprisePaymentStatus));
|
73
73
|
});
|
74
74
|
};
|
75
75
|
|