kmkf-work-order-service-component 0.4.0-alpha.11 → 0.4.0-alpha.12

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.
@@ -19,6 +19,7 @@ declare type FormRenderProps = {
19
19
  platform?: string;
20
20
  templateList?: Option[];
21
21
  formProps?: FormProps;
22
+ isShowShopList: boolean;
22
23
  onTemplateChange?: (p: string) => any;
23
24
  onFormSubmitSuccess?: <T>(p: T) => void;
24
25
  };
@@ -93,6 +93,7 @@ var FormRender = function FormRender(props, ref) {
93
93
  templateList = props.templateList,
94
94
  onFormSubmitSuccess = props.onFormSubmitSuccess,
95
95
  onTemplateChange = props.onTemplateChange,
96
+ isShowShopList = props.isShowShopList,
96
97
  _props$formProps = props.formProps,
97
98
  formProps = _props$formProps === void 0 ? {} : _props$formProps;
98
99
 
@@ -693,7 +694,7 @@ var FormRender = function FormRender(props, ref) {
693
694
  onChange: handleChangeTemplateId,
694
695
  allowClear: false
695
696
  })
696
- }), !currentShopId && /*#__PURE__*/_jsx(ShopName, {
697
+ }), isShowShopList && /*#__PURE__*/_jsx(ShopName, {
697
698
  shopList: shopList,
698
699
  platIconList: platIcon,
699
700
  workOrderId: workOrderId,
@@ -401,6 +401,7 @@ var CustomizeWorkOrderList = function CustomizeWorkOrderList(_ref3) {
401
401
  },
402
402
  className: 'customizeFormModalClassName'
403
403
  },
404
+ isShowShopList: false,
404
405
  onFormSubmitSuccess: function onFormSubmitSuccess(val) {
405
406
  submit();
406
407
  handleCloseFormModal();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.4.0-alpha.11",
3
+ "version": "0.4.0-alpha.12",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",