kmkf-work-order-service-component 0.5.0-alpha.11 → 0.5.0-alpha.13
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.
@@ -434,17 +434,18 @@ var FormRender = function FormRender(props, ref) {
|
|
434
434
|
|
435
435
|
|
436
436
|
var orderBackReplace = function orderBackReplace(value, templateDetail) {
|
437
|
-
var
|
438
|
-
|
437
|
+
var orderNo = value.orderNo,
|
438
|
+
buyerNick = value.buyerNick,
|
439
439
|
receiveMobile = value.receiveMobile,
|
440
440
|
alipayAccount = value.alipayAccount,
|
441
441
|
expressLogisticsCode = value.expressLogisticsCode;
|
442
442
|
queryReplaceCount({
|
443
|
-
tradeId:
|
444
|
-
buyerNick:
|
443
|
+
tradeId: orderNo,
|
444
|
+
buyerNick: buyerNick,
|
445
445
|
receiveMobile: receiveMobile,
|
446
446
|
alipayAccount: alipayAccount,
|
447
|
-
expressLogisticsCode: expressLogisticsCode
|
447
|
+
expressLogisticsCode: expressLogisticsCode,
|
448
|
+
enterprisePaymentTid: orderNo
|
448
449
|
}, templateDetail);
|
449
450
|
}; // 切换模板
|
450
451
|
|
@@ -127,9 +127,7 @@ var Payment = /*#__PURE__*/function (_BasicComponent) {
|
|
127
127
|
rules: _this.customRules(_this.componentConfig),
|
128
128
|
required: (_this$componentConfig = _this.componentConfig) === null || _this$componentConfig === void 0 ? void 0 : _this$componentConfig.required,
|
129
129
|
component: /*#__PURE__*/_jsx(ApaasPayment, _objectSpread(_objectSpread({}, _this.componentConfig), {}, {
|
130
|
-
onSearch
|
131
|
-
return _this.changeHandle(e.target.value);
|
132
|
-
},
|
130
|
+
// onSearch={(e) => this.changeHandle(e.target.value)}
|
133
131
|
onBlur: onBlur
|
134
132
|
}))
|
135
133
|
}, value));
|
@@ -846,8 +846,7 @@ export var orderBack = /*#__PURE__*/function () {
|
|
846
846
|
formValue = form.getFieldsValue();
|
847
847
|
detail = _objectSpread(_objectSpread({}, orderInfo), {}, {
|
848
848
|
jstItemList: jstInfo
|
849
|
-
});
|
850
|
-
console.log(detail); //抖音数据特殊处理
|
849
|
+
}); //抖音数据特殊处理
|
851
850
|
|
852
851
|
if (shopSourceStr === 'FXG') {
|
853
852
|
detail = updateDYDetails(detail);
|
@@ -982,24 +981,24 @@ export var orderBack = /*#__PURE__*/function () {
|
|
982
981
|
enterprisePaymentTid: order_no
|
983
982
|
});
|
984
983
|
}
|
985
|
-
}
|
984
|
+
} // console.log(values, detail);
|
985
|
+
|
986
986
|
|
987
|
-
console.log(values);
|
988
987
|
form.setFieldsValue(_objectSpread(_objectSpread({}, formValue), values));
|
989
988
|
callback === null || callback === void 0 ? void 0 : callback(detail, templateDetail);
|
990
|
-
_context.next =
|
989
|
+
_context.next = 28;
|
991
990
|
break;
|
992
991
|
|
993
|
-
case
|
994
|
-
_context.prev =
|
992
|
+
case 26:
|
993
|
+
_context.prev = 26;
|
995
994
|
_context.t0 = _context["catch"](5);
|
996
995
|
|
997
|
-
case
|
996
|
+
case 28:
|
998
997
|
case "end":
|
999
998
|
return _context.stop();
|
1000
999
|
}
|
1001
1000
|
}
|
1002
|
-
}, _callee, null, [[5,
|
1001
|
+
}, _callee, null, [[5, 26]]);
|
1003
1002
|
}));
|
1004
1003
|
|
1005
1004
|
return function orderBack(_x) {
|
@@ -1062,14 +1061,16 @@ export var COMPONENT_MAP = {
|
|
1062
1061
|
buyerNick: 'BUYER_NICK_INPUT',
|
1063
1062
|
receiveMobile: 'RECEIVER_MOBILE_INPUT',
|
1064
1063
|
alipayAccount: 'ALI_PAY_INPUT',
|
1065
|
-
expressLogisticsCode: 'EXPRESS_LOGISTICS_SELECT'
|
1064
|
+
expressLogisticsCode: 'EXPRESS_LOGISTICS_SELECT',
|
1065
|
+
enterprisePaymentTid: 'ENTERPRISE_PAYMENT'
|
1066
1066
|
};
|
1067
1067
|
export var COMPONENT_MAP_NAME = {
|
1068
1068
|
tradeId: '订单号',
|
1069
1069
|
buyerNick: '买家昵称',
|
1070
1070
|
receiveMobile: '收件人手机号',
|
1071
1071
|
alipayAccount: '支付宝账号',
|
1072
|
-
expressLogisticsCode: '快递物流单号'
|
1072
|
+
expressLogisticsCode: '快递物流单号',
|
1073
|
+
enterprisePaymentTid: '打款订单号'
|
1073
1074
|
}; //数据唯一性校验提交数据组装
|
1074
1075
|
|
1075
1076
|
export var getReplaceWarnValues = function getReplaceWarnValues(templateDetail, keyValues) {
|
@@ -180,7 +180,7 @@ export var fetchQueryPaymentWorkOrderList = createAsyncThunk('workOrder/queryPay
|
|
180
180
|
workPayStatus && (params.workPayStatus = workPayStatus);
|
181
181
|
paymentMixUk && (params.paymentMixUk = paymentMixUk);
|
182
182
|
|
183
|
-
if (time.length) {
|
183
|
+
if (time !== null && time !== void 0 && time.length) {
|
184
184
|
params.operateStartTime = moment(time[0]).format('YYYY-MM-DD HH:mm:ss');
|
185
185
|
params.operateEndTime = moment(time[1]).endOf('day').format('YYYY-MM-DD HH:mm:ss');
|
186
186
|
}
|