@kmkf-fe-packages/kmkf-work-order-service-component 2.10.0 → 2.10.1
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.
|
@@ -351,7 +351,7 @@ var FormRender = function FormRender(props, ref) {
|
|
|
351
351
|
var shop = (shopList || []).find(function (item) {
|
|
352
352
|
return item.shopId === shopId;
|
|
353
353
|
});
|
|
354
|
-
if (shop && !shop.notJoin && ['TAOBAO', 'JD', 'PDD', 'KS', 'FXG'].includes(shop.shopSourceStr)) {
|
|
354
|
+
if (shop && !shop.notJoin && ['TAOBAO', 'JD', 'PDD', 'KS', 'FXG', 'SPH', 'WXXD', 'XHS'].includes(shop.shopSourceStr)) {
|
|
355
355
|
orderDetail({
|
|
356
356
|
shopId: shopId,
|
|
357
357
|
//店铺id
|
|
@@ -80,7 +80,10 @@ var OrderRemark = function OrderRemark(props) {
|
|
|
80
80
|
TAOBAO: 1000,
|
|
81
81
|
KS: 200,
|
|
82
82
|
FXG: 500,
|
|
83
|
-
JD: 450
|
|
83
|
+
JD: 450,
|
|
84
|
+
SPH: 500,
|
|
85
|
+
WXXD: 500,
|
|
86
|
+
XHS: 500
|
|
84
87
|
}[shopSourceStr] || 450;
|
|
85
88
|
var _Form$useForm = Form.useForm(),
|
|
86
89
|
_Form$useForm2 = _slicedToArray(_Form$useForm, 1),
|
|
@@ -223,6 +226,8 @@ var OrderRemark = function OrderRemark(props) {
|
|
|
223
226
|
initialValue: flag || flag === 0 ? Number(flag) : null
|
|
224
227
|
}, /*#__PURE__*/React.createElement(Radio.Group, null, flagList === null || flagList === void 0 ? void 0 : flagList.map(function (item, index) {
|
|
225
228
|
if (shopSourceStr === 'PDD' && index === 0) return;
|
|
229
|
+
// 微信视频号小店/微信小店无紫色旗帜,隐藏 index 5
|
|
230
|
+
if (['SPH', 'WXXD'].includes(shopSourceStr) && index === 5) return;
|
|
226
231
|
return /*#__PURE__*/React.createElement(Radio, {
|
|
227
232
|
value: index,
|
|
228
233
|
key: item
|
|
@@ -181,7 +181,7 @@ var FlowTemplateDetail = function FlowTemplateDetail(props) {
|
|
|
181
181
|
}
|
|
182
182
|
if (shop) {
|
|
183
183
|
shopUniqueKey = shop.accessToken || '';
|
|
184
|
-
isShowRemark = !shop.notJoin && !!shop.shopSourceStr && !readonly && ['TAOBAO', 'JD', 'PDD', 'KS', 'FXG'].includes(shop.shopSourceStr);
|
|
184
|
+
isShowRemark = !shop.notJoin && !!shop.shopSourceStr && !readonly && ['TAOBAO', 'JD', 'PDD', 'KS', 'FXG', 'SPH', 'WXXD', 'XHS'].includes(shop.shopSourceStr);
|
|
185
185
|
shopSourceStr = shop.shopSourceStr;
|
|
186
186
|
}
|
|
187
187
|
var shopItem = useMemo(function () {
|
|
@@ -66,7 +66,8 @@ var handleBuyerNickInput = function handleBuyerNickInput(_ref5) {
|
|
|
66
66
|
var _ref6;
|
|
67
67
|
(_ref6 = ['buyerNick', 'buyerOpenUid']) === null || _ref6 === void 0 ? void 0 : _ref6.map(function (key) {
|
|
68
68
|
addContent(key, getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
|
|
69
|
-
|
|
69
|
+
var value = getNowData("".concat(item.uniqueKey, ".").concat(key), '');
|
|
70
|
+
value && upgradeParams(key, value);
|
|
70
71
|
});
|
|
71
72
|
};
|
|
72
73
|
};
|
|
@@ -292,8 +293,10 @@ var handleEnterprisePayment = function handleEnterprisePayment(_ref24) {
|
|
|
292
293
|
['enterprisePaymentRefundFee', 'enterprisePaymentTid', 'enterprisePaymentBuyerNick', 'enterprisePaymentBuyerOpenUid', 'enterprisePaymentAlipayNick', 'enterprisePaymentAlipayNo', 'enterprisePaymentStatus'].map(function (key) {
|
|
293
294
|
addContent(key, key === 'enterprisePaymentStatus' ? getNowData("".concat(item.uniqueKey, ".").concat(key), '未打款') : getNowData("".concat(item.uniqueKey, ".").concat(key), ''));
|
|
294
295
|
});
|
|
295
|
-
|
|
296
|
-
|
|
296
|
+
var buyerNick = getNowData("".concat(item.uniqueKey, ".enterprisePaymentBuyerNick"), '');
|
|
297
|
+
var buyerOpenUid = getNowData("".concat(item.uniqueKey, ".enterprisePaymentBuyerOpenUid"), '');
|
|
298
|
+
buyerNick && upgradeParams('buyerNick', buyerNick);
|
|
299
|
+
buyerOpenUid && upgradeParams('buyerOpenUid', buyerOpenUid);
|
|
297
300
|
};
|
|
298
301
|
};
|
|
299
302
|
var handleJstSupply = function handleJstSupply(_ref25) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kmkf-fe-packages/kmkf-work-order-service-component",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.1",
|
|
4
4
|
"module": "dist/esm/index.js",
|
|
5
5
|
"typings": "dist/esm/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -32,9 +32,9 @@
|
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@ant-design/icons": "^4.7.0",
|
|
35
|
-
"@kmkf-fe-packages/basic-components": "2.
|
|
36
|
-
"@kmkf-fe-packages/kmkf-utils": "2.
|
|
37
|
-
"@kmkf-fe-packages/services-components": "2.10.
|
|
35
|
+
"@kmkf-fe-packages/basic-components": "2.10.1",
|
|
36
|
+
"@kmkf-fe-packages/kmkf-utils": "2.10.1",
|
|
37
|
+
"@kmkf-fe-packages/services-components": "2.10.1",
|
|
38
38
|
"@reduxjs/toolkit": "^1.8.5",
|
|
39
39
|
"ahooks": "^3.7.4",
|
|
40
40
|
"copy-to-clipboard": "^3.3.3",
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "3978bcc26b42716ad9c655823745174dcd97395b",
|
|
79
79
|
"gitHooks": {
|
|
80
80
|
"pre-commit": "lint-staged"
|
|
81
81
|
}
|