@kmkf-fe-packages/kmkf-work-order-service-component 2.9.1-beta.2 → 2.9.1-beta.4

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'].includes(shop.shopSourceStr)) {
355
355
  orderDetail({
356
356
  shopId: shopId,
357
357
  //店铺id
@@ -80,7 +80,9 @@ 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
84
86
  }[shopSourceStr] || 450;
85
87
  var _Form$useForm = Form.useForm(),
86
88
  _Form$useForm2 = _slicedToArray(_Form$useForm, 1),
@@ -223,6 +225,8 @@ var OrderRemark = function OrderRemark(props) {
223
225
  initialValue: flag || flag === 0 ? Number(flag) : null
224
226
  }, /*#__PURE__*/React.createElement(Radio.Group, null, flagList === null || flagList === void 0 ? void 0 : flagList.map(function (item, index) {
225
227
  if (shopSourceStr === 'PDD' && index === 0) return;
228
+ // 微信视频号小店/微信小店无紫色旗帜,隐藏 index 5
229
+ if (['SPH', 'WXXD'].includes(shopSourceStr) && index === 5) return;
226
230
  return /*#__PURE__*/React.createElement(Radio, {
227
231
  value: index,
228
232
  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'].includes(shop.shopSourceStr);
185
185
  shopSourceStr = shop.shopSourceStr;
186
186
  }
187
187
  var shopItem = useMemo(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmkf-fe-packages/kmkf-work-order-service-component",
3
- "version": "2.9.1-beta.2",
3
+ "version": "2.9.1-beta.4",
4
4
  "module": "dist/esm/index.js",
5
5
  "typings": "dist/esm/index.d.ts",
6
6
  "files": [
@@ -34,7 +34,7 @@
34
34
  "@ant-design/icons": "^4.7.0",
35
35
  "@kmkf-fe-packages/basic-components": "2.9.1-beta.0",
36
36
  "@kmkf-fe-packages/kmkf-utils": "2.9.1-beta.0",
37
- "@kmkf-fe-packages/services-components": "2.9.1-beta.2",
37
+ "@kmkf-fe-packages/services-components": "2.9.1-beta.3",
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": "184b76125c9b46144c410b5589985bfa2dca2bea",
78
+ "gitHead": "51898d9604fb693f85ced5a621c8c51c7dfbc6a6",
79
79
  "gitHooks": {
80
80
  "pre-commit": "lint-staged"
81
81
  }