kmkf-work-order-service-component 0.3.4-alpha.1 → 0.3.4-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.
@@ -107,6 +107,7 @@ var CustomizeFormModal = function CustomizeFormModal(props) {
107
107
  buyerId: buyerId,
108
108
  buyerNick: buyerNick
109
109
  });
110
+ setReplaceValue({});
110
111
  }
111
112
  }, [visible, templateId, workOrderId, currentShopId]);
112
113
 
@@ -90,6 +90,7 @@ function ModifyModal(props) {
90
90
  useEffect(function () {
91
91
  if (visible) {
92
92
  form.setFieldsValue(record);
93
+ setCount(0);
93
94
  }
94
95
  }, [visible]);
95
96
 
@@ -108,7 +108,7 @@ var ReceiverMobile = /*#__PURE__*/function (_Input) {
108
108
  _this.canHidden = true;
109
109
  _this.editable = false;
110
110
  _this.rules = [{
111
- pattern: /^[0-9]*$/,
111
+ pattern: /^[0-9 |\-]*$/,
112
112
  message: '字段必须是数字'
113
113
  }];
114
114
  return _this;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kmkf-work-order-service-component",
3
- "version": "0.3.4-alpha.1",
3
+ "version": "0.3.4-alpha.2",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",