kts-component-invoice-operate 3.2.5 → 3.2.7
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 +10 -39
- package/dist/index.js +10 -39
- package/docs/index.md +1 -1
- package/docs-dist/umi.js +1 -1
- package/package.json +1 -1
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/dist/index.js +616 -0
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +2 -2
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +1 -1
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/dist/index.js +315 -0
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +0 -1
- package/src/Invoice/ui/digtal/Sign/dist/index.js +68 -0
- package/src/Invoice/ui/digtal/Sign/index.tsx +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -14402,18 +14402,18 @@ var SignDigtal = decorator(Form.create())(function (props) {
|
|
|
14402
14402
|
className: 'sign-digtal-label'
|
|
14403
14403
|
}, "\u5907\u6CE8\u4FE1\u606F"), React.createElement(Form, null, React.createElement(Form.Item, {
|
|
14404
14404
|
label: "\u5907\u6CE8"
|
|
14405
|
-
}, getFieldDecorator('
|
|
14405
|
+
}, getFieldDecorator('remarks', {
|
|
14406
14406
|
initialValue: props.defaultRemark
|
|
14407
14407
|
})(React.createElement(Input$1.TextArea, {
|
|
14408
|
-
readOnly: isReadOnly('
|
|
14408
|
+
readOnly: isReadOnly('remarks'),
|
|
14409
14409
|
autoSize: true,
|
|
14410
14410
|
placeholder: "\u8BF7\u8F93\u5165"
|
|
14411
14411
|
}))), React.createElement(Form.Item, {
|
|
14412
14412
|
label: "\u5F00\u7968\u4EBA"
|
|
14413
|
-
}, getFieldDecorator('
|
|
14413
|
+
}, getFieldDecorator('drawer', {
|
|
14414
14414
|
initialValue: props.defaultIssuer
|
|
14415
14415
|
})(React.createElement(Input$1, {
|
|
14416
|
-
readOnly: isReadOnly('
|
|
14416
|
+
readOnly: isReadOnly('drawer'),
|
|
14417
14417
|
style: {
|
|
14418
14418
|
width: 313
|
|
14419
14419
|
},
|
|
@@ -15062,8 +15062,7 @@ function SvgPlus$1(props) {
|
|
|
15062
15062
|
return /*#__PURE__*/createElement("svg", _extends$8({
|
|
15063
15063
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15064
15064
|
width: 16,
|
|
15065
|
-
height: 15
|
|
15066
|
-
fill: "none"
|
|
15065
|
+
height: 15
|
|
15067
15066
|
}, props), _g$2 || (_g$2 = /*#__PURE__*/createElement("g", {
|
|
15068
15067
|
clipPath: "url(#plus_svg__clip0_715_360)"
|
|
15069
15068
|
}, /*#__PURE__*/createElement("path", {
|
|
@@ -16333,11 +16332,11 @@ var useColumns$1 = (function (form) {
|
|
|
16333
16332
|
type: "link",
|
|
16334
16333
|
style: {
|
|
16335
16334
|
padding: 0,
|
|
16336
|
-
width: 20
|
|
16335
|
+
width: 20,
|
|
16336
|
+
fontSize: 20,
|
|
16337
|
+
fill: '#0074ff'
|
|
16337
16338
|
},
|
|
16338
|
-
icon: React.createElement(
|
|
16339
|
-
component: SvgPlus$1
|
|
16340
|
-
}),
|
|
16339
|
+
icon: React.createElement(SvgPlus$1, null),
|
|
16341
16340
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
16342
16341
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
|
|
16343
16342
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
@@ -17683,31 +17682,6 @@ var useDelRowButton$1 = (function () {
|
|
|
17683
17682
|
};
|
|
17684
17683
|
});
|
|
17685
17684
|
|
|
17686
|
-
var _g$3, _defs$5;
|
|
17687
|
-
|
|
17688
|
-
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
17689
|
-
|
|
17690
|
-
function SvgAdd(props) {
|
|
17691
|
-
return /*#__PURE__*/createElement("svg", _extends$9({
|
|
17692
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17693
|
-
width: 15,
|
|
17694
|
-
height: 15,
|
|
17695
|
-
fill: "none"
|
|
17696
|
-
}, props), _g$3 || (_g$3 = /*#__PURE__*/createElement("g", {
|
|
17697
|
-
clipPath: "url(#add_svg__clip0_715_372)"
|
|
17698
|
-
}, /*#__PURE__*/createElement("path", {
|
|
17699
|
-
d: "M7.5 14.531A7.031 7.031 0 117.5.468a7.031 7.031 0 010 14.063zm0-.937a6.094 6.094 0 100-12.188 6.094 6.094 0 000 12.188z"
|
|
17700
|
-
}), /*#__PURE__*/createElement("path", {
|
|
17701
|
-
d: "M3.75 7.969a.469.469 0 010-.938h7.5a.47.47 0 010 .938h-7.5z"
|
|
17702
|
-
}), /*#__PURE__*/createElement("path", {
|
|
17703
|
-
d: "M7.031 3.75a.469.469 0 01.938 0v7.5a.47.47 0 01-.938 0v-7.5z"
|
|
17704
|
-
}))), _defs$5 || (_defs$5 = /*#__PURE__*/createElement("defs", null, /*#__PURE__*/createElement("clipPath", {
|
|
17705
|
-
id: "add_svg__clip0_715_372"
|
|
17706
|
-
}, /*#__PURE__*/createElement("path", {
|
|
17707
|
-
d: "M0 0h15v15H0z"
|
|
17708
|
-
})))));
|
|
17709
|
-
}
|
|
17710
|
-
|
|
17711
17685
|
var useAddDiscountRowButton$1 = (function () {
|
|
17712
17686
|
/** 控制器 */
|
|
17713
17687
|
var controller = Invoice.useInvoiceController();
|
|
@@ -17910,10 +17884,7 @@ var useAddDiscountRowButton$1 = (function () {
|
|
|
17910
17884
|
return React.createElement(React.Fragment, null, React.createElement(Button$1, {
|
|
17911
17885
|
size: 'small',
|
|
17912
17886
|
onClick: onOpen,
|
|
17913
|
-
disabled: disabled
|
|
17914
|
-
icon: React.createElement(Icon, {
|
|
17915
|
-
component: SvgAdd
|
|
17916
|
-
})
|
|
17887
|
+
disabled: disabled
|
|
17917
17888
|
}, "\u6DFB\u52A0\u6298\u6263"), React.createElement(AddDiscountRowDrawer, {
|
|
17918
17889
|
open: open,
|
|
17919
17890
|
onClose: onClose
|
package/dist/index.js
CHANGED
|
@@ -14412,18 +14412,18 @@ var SignDigtal = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(funct
|
|
|
14412
14412
|
className: 'sign-digtal-label'
|
|
14413
14413
|
}, "\u5907\u6CE8\u4FE1\u606F"), React__default['default'].createElement(ktsComponentsAntdX3.Form, null, React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, {
|
|
14414
14414
|
label: "\u5907\u6CE8"
|
|
14415
|
-
}, getFieldDecorator('
|
|
14415
|
+
}, getFieldDecorator('remarks', {
|
|
14416
14416
|
initialValue: props.defaultRemark
|
|
14417
14417
|
})(React__default['default'].createElement(ktsXui.Input.TextArea, {
|
|
14418
|
-
readOnly: isReadOnly('
|
|
14418
|
+
readOnly: isReadOnly('remarks'),
|
|
14419
14419
|
autoSize: true,
|
|
14420
14420
|
placeholder: "\u8BF7\u8F93\u5165"
|
|
14421
14421
|
}))), React__default['default'].createElement(ktsComponentsAntdX3.Form.Item, {
|
|
14422
14422
|
label: "\u5F00\u7968\u4EBA"
|
|
14423
|
-
}, getFieldDecorator('
|
|
14423
|
+
}, getFieldDecorator('drawer', {
|
|
14424
14424
|
initialValue: props.defaultIssuer
|
|
14425
14425
|
})(React__default['default'].createElement(ktsXui.Input, {
|
|
14426
|
-
readOnly: isReadOnly('
|
|
14426
|
+
readOnly: isReadOnly('drawer'),
|
|
14427
14427
|
style: {
|
|
14428
14428
|
width: 313
|
|
14429
14429
|
},
|
|
@@ -15072,8 +15072,7 @@ function SvgPlus$1(props) {
|
|
|
15072
15072
|
return /*#__PURE__*/React.createElement("svg", _extends$8({
|
|
15073
15073
|
xmlns: "http://www.w3.org/2000/svg",
|
|
15074
15074
|
width: 16,
|
|
15075
|
-
height: 15
|
|
15076
|
-
fill: "none"
|
|
15075
|
+
height: 15
|
|
15077
15076
|
}, props), _g$2 || (_g$2 = /*#__PURE__*/React.createElement("g", {
|
|
15078
15077
|
clipPath: "url(#plus_svg__clip0_715_360)"
|
|
15079
15078
|
}, /*#__PURE__*/React.createElement("path", {
|
|
@@ -16343,11 +16342,11 @@ var useColumns$1 = (function (form) {
|
|
|
16343
16342
|
type: "link",
|
|
16344
16343
|
style: {
|
|
16345
16344
|
padding: 0,
|
|
16346
|
-
width: 20
|
|
16345
|
+
width: 20,
|
|
16346
|
+
fontSize: 20,
|
|
16347
|
+
fill: '#0074ff'
|
|
16347
16348
|
},
|
|
16348
|
-
icon: React__default['default'].createElement(
|
|
16349
|
-
component: SvgPlus$1
|
|
16350
|
-
}),
|
|
16349
|
+
icon: React__default['default'].createElement(SvgPlus$1, null),
|
|
16351
16350
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
16352
16351
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
|
|
16353
16352
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
@@ -17693,31 +17692,6 @@ var useDelRowButton$1 = (function () {
|
|
|
17693
17692
|
};
|
|
17694
17693
|
});
|
|
17695
17694
|
|
|
17696
|
-
var _g$3, _defs$5;
|
|
17697
|
-
|
|
17698
|
-
function _extends$9() { _extends$9 = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$9.apply(this, arguments); }
|
|
17699
|
-
|
|
17700
|
-
function SvgAdd(props) {
|
|
17701
|
-
return /*#__PURE__*/React.createElement("svg", _extends$9({
|
|
17702
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
17703
|
-
width: 15,
|
|
17704
|
-
height: 15,
|
|
17705
|
-
fill: "none"
|
|
17706
|
-
}, props), _g$3 || (_g$3 = /*#__PURE__*/React.createElement("g", {
|
|
17707
|
-
clipPath: "url(#add_svg__clip0_715_372)"
|
|
17708
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17709
|
-
d: "M7.5 14.531A7.031 7.031 0 117.5.468a7.031 7.031 0 010 14.063zm0-.937a6.094 6.094 0 100-12.188 6.094 6.094 0 000 12.188z"
|
|
17710
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17711
|
-
d: "M3.75 7.969a.469.469 0 010-.938h7.5a.47.47 0 010 .938h-7.5z"
|
|
17712
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
17713
|
-
d: "M7.031 3.75a.469.469 0 01.938 0v7.5a.47.47 0 01-.938 0v-7.5z"
|
|
17714
|
-
}))), _defs$5 || (_defs$5 = /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
|
|
17715
|
-
id: "add_svg__clip0_715_372"
|
|
17716
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
17717
|
-
d: "M0 0h15v15H0z"
|
|
17718
|
-
})))));
|
|
17719
|
-
}
|
|
17720
|
-
|
|
17721
17695
|
var useAddDiscountRowButton$1 = (function () {
|
|
17722
17696
|
/** 控制器 */
|
|
17723
17697
|
var controller = Invoice.useInvoiceController();
|
|
@@ -17920,10 +17894,7 @@ var useAddDiscountRowButton$1 = (function () {
|
|
|
17920
17894
|
return React__default['default'].createElement(React__default['default'].Fragment, null, React__default['default'].createElement(ktsXui.Button, {
|
|
17921
17895
|
size: 'small',
|
|
17922
17896
|
onClick: onOpen,
|
|
17923
|
-
disabled: disabled
|
|
17924
|
-
icon: React__default['default'].createElement(Icon, {
|
|
17925
|
-
component: SvgAdd
|
|
17926
|
-
})
|
|
17897
|
+
disabled: disabled
|
|
17927
17898
|
}, "\u6DFB\u52A0\u6298\u6263"), React__default['default'].createElement(AddDiscountRowDrawer, {
|
|
17928
17899
|
open: open,
|
|
17929
17900
|
onClose: onClose
|
package/docs/index.md
CHANGED