kts-component-invoice-operate 3.2.114 → 3.2.116
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/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +1 -1
- package/dist/index.esm.js +11 -4
- package/dist/index.js +11 -4
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +1 -1
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +1 -1
- package/src/Invoice/ui/digtal/Stakeholder/index.less +15 -0
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +2 -2
package/dist/index.esm.js
CHANGED
|
@@ -1099,7 +1099,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1099
1099
|
this.columnsReplenish = {};
|
|
1100
1100
|
this.columnshide = ['itemCode'];
|
|
1101
1101
|
this.unitList = [];
|
|
1102
|
-
this.defaultRate =
|
|
1102
|
+
this.defaultRate = null;
|
|
1103
1103
|
this.taxRateList = [0, 3, 5, 6, 9, 13];
|
|
1104
1104
|
this.searchValue = '';
|
|
1105
1105
|
this.goodsList = [];
|
|
@@ -16597,7 +16597,7 @@ function SvgPlus(props) {
|
|
|
16597
16597
|
})))));
|
|
16598
16598
|
}
|
|
16599
16599
|
|
|
16600
|
-
var css_248z$g = ".kts-invoice-operate-invoice-digtal-stakeholder {\n display: flex;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-expand-button {\n cursor: pointer;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div {\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: end;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:last-child {\n border-right: none;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form {\n padding: 20px 10px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col {\n margin-bottom: 15px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col:last-child {\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item {\n display: flex;\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n flex: none;\n font-weight: 500;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label label {\n color: #9F603D;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control-wrapper {\n flex: 1;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n line-height: 1.4;\n}\n";
|
|
16600
|
+
var css_248z$g = ".kts-invoice-operate-invoice-digtal-stakeholder {\n display: flex;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-expand-button {\n cursor: pointer;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div {\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: end;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:last-child {\n border-right: none;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form {\n padding: 20px 10px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col {\n margin-bottom: 15px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col:last-child {\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item {\n display: flex;\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n flex: none;\n font-weight: 500;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label label {\n color: #9F603D;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control .digtal-stakeholder-form-text {\n word-break: break-all;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control-wrapper {\n flex: 1;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly > div:nth-child(even) {\n justify-content: start;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control .digtal-stakeholder-form-text {\n line-height: 1.4;\n}\n";
|
|
16601
16601
|
styleInject(css_248z$g);
|
|
16602
16602
|
|
|
16603
16603
|
var RULES = {
|
|
@@ -17033,7 +17033,9 @@ function BuyerNameInput$1(props) {
|
|
|
17033
17033
|
return _ref.apply(this, arguments);
|
|
17034
17034
|
};
|
|
17035
17035
|
}(), [autoComplete.onBuyerNameSearch, fieldName]);
|
|
17036
|
-
if (props.readOnly) return /*#__PURE__*/React.createElement("span",
|
|
17036
|
+
if (props.readOnly) return /*#__PURE__*/React.createElement("span", {
|
|
17037
|
+
className: 'digtal-stakeholder-form-text'
|
|
17038
|
+
}, props.value);
|
|
17037
17039
|
return /*#__PURE__*/React.createElement(AutoComplete$1, {
|
|
17038
17040
|
onSearch: onSearch,
|
|
17039
17041
|
options: options.map(function (e) {
|
|
@@ -17067,7 +17069,9 @@ var MyInput$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17067
17069
|
var props = this.props;
|
|
17068
17070
|
|
|
17069
17071
|
if (props.readOnly) {
|
|
17070
|
-
return /*#__PURE__*/React.createElement("span",
|
|
17072
|
+
return /*#__PURE__*/React.createElement("span", {
|
|
17073
|
+
className: 'digtal-stakeholder-form-text'
|
|
17074
|
+
}, props.value);
|
|
17071
17075
|
} else {
|
|
17072
17076
|
return /*#__PURE__*/React.createElement(Input$1, _objectSpread2({}, props));
|
|
17073
17077
|
}
|
|
@@ -17432,6 +17436,9 @@ var Statistics$1 = (function () {
|
|
|
17432
17436
|
paddingLeft: 30
|
|
17433
17437
|
}
|
|
17434
17438
|
}, /*#__PURE__*/React.createElement(Icon, {
|
|
17439
|
+
style: {
|
|
17440
|
+
fontSize: 16
|
|
17441
|
+
},
|
|
17435
17442
|
component: SvgFork
|
|
17436
17443
|
}), /*#__PURE__*/React.createElement("span", {
|
|
17437
17444
|
style: {
|
package/dist/index.js
CHANGED
|
@@ -1109,7 +1109,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1109
1109
|
this.columnsReplenish = {};
|
|
1110
1110
|
this.columnshide = ['itemCode'];
|
|
1111
1111
|
this.unitList = [];
|
|
1112
|
-
this.defaultRate =
|
|
1112
|
+
this.defaultRate = null;
|
|
1113
1113
|
this.taxRateList = [0, 3, 5, 6, 9, 13];
|
|
1114
1114
|
this.searchValue = '';
|
|
1115
1115
|
this.goodsList = [];
|
|
@@ -16607,7 +16607,7 @@ function SvgPlus(props) {
|
|
|
16607
16607
|
})))));
|
|
16608
16608
|
}
|
|
16609
16609
|
|
|
16610
|
-
var css_248z$g = ".kts-invoice-operate-invoice-digtal-stakeholder {\n display: flex;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-expand-button {\n cursor: pointer;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div {\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: end;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:last-child {\n border-right: none;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form {\n padding: 20px 10px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col {\n margin-bottom: 15px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col:last-child {\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item {\n display: flex;\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n flex: none;\n font-weight: 500;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label label {\n color: #9F603D;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control-wrapper {\n flex: 1;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n line-height: 1.4;\n}\n";
|
|
16610
|
+
var css_248z$g = ".kts-invoice-operate-invoice-digtal-stakeholder {\n display: flex;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-expand-button {\n cursor: pointer;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div {\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: end;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:last-child {\n border-right: none;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form {\n padding: 20px 10px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col {\n margin-bottom: 15px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAntX-col:last-child {\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item {\n display: flex;\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n flex: none;\n font-weight: 500;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label label {\n color: #9F603D;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control .digtal-stakeholder-form-text {\n word-break: break-all;\n line-height: 29px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control-wrapper {\n flex: 1;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly > div:nth-child(even) {\n justify-content: start;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n line-height: 1.4;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder.readOnly .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control .digtal-stakeholder-form-text {\n line-height: 1.4;\n}\n";
|
|
16611
16611
|
styleInject(css_248z$g);
|
|
16612
16612
|
|
|
16613
16613
|
var RULES = {
|
|
@@ -17043,7 +17043,9 @@ function BuyerNameInput$1(props) {
|
|
|
17043
17043
|
return _ref.apply(this, arguments);
|
|
17044
17044
|
};
|
|
17045
17045
|
}(), [autoComplete.onBuyerNameSearch, fieldName]);
|
|
17046
|
-
if (props.readOnly) return /*#__PURE__*/React__default['default'].createElement("span",
|
|
17046
|
+
if (props.readOnly) return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17047
|
+
className: 'digtal-stakeholder-form-text'
|
|
17048
|
+
}, props.value);
|
|
17047
17049
|
return /*#__PURE__*/React__default['default'].createElement(ktsXui.AutoComplete, {
|
|
17048
17050
|
onSearch: onSearch,
|
|
17049
17051
|
options: options.map(function (e) {
|
|
@@ -17077,7 +17079,9 @@ var MyInput$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17077
17079
|
var props = this.props;
|
|
17078
17080
|
|
|
17079
17081
|
if (props.readOnly) {
|
|
17080
|
-
return /*#__PURE__*/React__default['default'].createElement("span",
|
|
17082
|
+
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17083
|
+
className: 'digtal-stakeholder-form-text'
|
|
17084
|
+
}, props.value);
|
|
17081
17085
|
} else {
|
|
17082
17086
|
return /*#__PURE__*/React__default['default'].createElement(ktsXui.Input, _objectSpread2({}, props));
|
|
17083
17087
|
}
|
|
@@ -17442,6 +17446,9 @@ var Statistics$1 = (function () {
|
|
|
17442
17446
|
paddingLeft: 30
|
|
17443
17447
|
}
|
|
17444
17448
|
}, /*#__PURE__*/React__default['default'].createElement(Icon, {
|
|
17449
|
+
style: {
|
|
17450
|
+
fontSize: 16
|
|
17451
|
+
},
|
|
17445
17452
|
component: SvgFork
|
|
17446
17453
|
}), /*#__PURE__*/React__default['default'].createElement("span", {
|
|
17447
17454
|
style: {
|
package/package.json
CHANGED
|
@@ -87,7 +87,7 @@ export default () => {
|
|
|
87
87
|
<div className='statistics-digtal-total-tax' >
|
|
88
88
|
<div>价税合计(大写)</div>
|
|
89
89
|
<div style={{ paddingLeft: 30 }} >
|
|
90
|
-
<Icon component={ForkSvg} />
|
|
90
|
+
<Icon style={{fontSize: 16}} component={ForkSvg} />
|
|
91
91
|
<span style={{ fontWeight: 'bold', marginLeft: 4 }} >{nzhcn.toMoney(lineAmountIncludeTax, { outSymbol: false })}</span>
|
|
92
92
|
</div>
|
|
93
93
|
<div style={{ flex: 1 }} />
|
|
@@ -60,6 +60,11 @@
|
|
|
60
60
|
|
|
61
61
|
.ktsAnt3x-form-item-control {
|
|
62
62
|
line-height: 1.4;
|
|
63
|
+
|
|
64
|
+
.digtal-stakeholder-form-text {
|
|
65
|
+
word-break: break-all;
|
|
66
|
+
line-height: 29px;
|
|
67
|
+
}
|
|
63
68
|
}
|
|
64
69
|
|
|
65
70
|
.ktsAnt3x-form-item-control-wrapper {
|
|
@@ -70,7 +75,17 @@
|
|
|
70
75
|
}
|
|
71
76
|
|
|
72
77
|
.kts-invoice-operate-invoice-digtal-stakeholder.readOnly {
|
|
78
|
+
&>div:nth-child(even) {
|
|
79
|
+
justify-content: start;
|
|
80
|
+
}
|
|
81
|
+
|
|
73
82
|
.digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {
|
|
74
83
|
line-height: 1.4;
|
|
75
84
|
}
|
|
85
|
+
|
|
86
|
+
.digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control {
|
|
87
|
+
.digtal-stakeholder-form-text {
|
|
88
|
+
line-height: 1.4;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
76
91
|
}
|
|
@@ -357,7 +357,7 @@ function BuyerNameInput(props: InputProps & { fieldName: string; myform: Wrapped
|
|
|
357
357
|
}
|
|
358
358
|
}, [autoComplete.onBuyerNameSearch, fieldName])
|
|
359
359
|
|
|
360
|
-
if (props.readOnly) return <span>{props.value}</span>;
|
|
360
|
+
if (props.readOnly) return <span className='digtal-stakeholder-form-text'>{props.value}</span>;
|
|
361
361
|
|
|
362
362
|
return (
|
|
363
363
|
<AutoComplete
|
|
@@ -375,7 +375,7 @@ class MyInput extends React.Component<InputProps>{
|
|
|
375
375
|
render() {
|
|
376
376
|
const props = this.props;
|
|
377
377
|
if (props.readOnly) {
|
|
378
|
-
return <span>{props.value}</span>
|
|
378
|
+
return <span className='digtal-stakeholder-form-text'>{props.value}</span>
|
|
379
379
|
} else {
|
|
380
380
|
return <Input {...props} />
|
|
381
381
|
}
|