kts-component-invoice-operate 3.2.181-31 → 3.2.181-32
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.
package/dist/index.esm.js
CHANGED
|
@@ -14512,8 +14512,8 @@ var useColumns = (function (form) {
|
|
|
14512
14512
|
initialValue: editGood.taxAmount,
|
|
14513
14513
|
getValueFromEvent: onNumberValueChange,
|
|
14514
14514
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
|
14515
|
-
pattern: /^[+-]?(0|([1-9]\d*))(\.\d
|
|
14516
|
-
message: '
|
|
14515
|
+
pattern: /^[+-]?(0|([1-9]\d*))(\.\d{1,2})?$/,
|
|
14516
|
+
message: '税额必须为数字且最多保留2位小数'
|
|
14517
14517
|
}, {
|
|
14518
14518
|
validator: function () {
|
|
14519
14519
|
var _validator8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(_, taxAmountValue, callback) {
|
package/dist/index.js
CHANGED
|
@@ -14522,8 +14522,8 @@ var useColumns = (function (form) {
|
|
|
14522
14522
|
initialValue: editGood.taxAmount,
|
|
14523
14523
|
getValueFromEvent: onNumberValueChange,
|
|
14524
14524
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxAmount')), [{
|
|
14525
|
-
pattern: /^[+-]?(0|([1-9]\d*))(\.\d
|
|
14526
|
-
message: '
|
|
14525
|
+
pattern: /^[+-]?(0|([1-9]\d*))(\.\d{1,2})?$/,
|
|
14526
|
+
message: '税额必须为数字且最多保留2位小数'
|
|
14527
14527
|
}, {
|
|
14528
14528
|
validator: function () {
|
|
14529
14529
|
var _validator8 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee15(_, taxAmountValue, callback) {
|
package/package.json
CHANGED
|
@@ -588,7 +588,10 @@ export default (form: WrappedFormUtils) => {
|
|
|
588
588
|
getValueFromEvent: onNumberValueChange,
|
|
589
589
|
rules: [
|
|
590
590
|
...getReplenishRules('taxAmount'),
|
|
591
|
-
{
|
|
591
|
+
{
|
|
592
|
+
pattern: /^[+-]?(0|([1-9]\d*))(\.\d{1,2})?$/,
|
|
593
|
+
message: '税额必须为数字且最多保留2位小数',
|
|
594
|
+
},
|
|
592
595
|
{
|
|
593
596
|
validator: async (_, taxAmountValue, callback) => {
|
|
594
597
|
await controller.wait();
|