kts-component-invoice-operate 3.2.147 → 3.2.148-1
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 +19 -7
- package/dist/index.js +19 -7
- package/docs-dist/static/arrowDown.a1cbf0d8.svg +3 -0
- package/docs-dist/static/arrowUp.4c482054.svg +3 -0
- package/docs-dist/static/download.18f10f45.svg +1 -0
- package/docs-dist/static/fork.5431267d.svg +12 -0
- package/docs-dist/static/plus.44013ce3.svg +12 -0
- package/docs-dist/static/plus.4fd1af30.svg +12 -0
- package/docs-dist/static/upload.d7ea1893.svg +1 -0
- package/docs-dist/umi.css +1 -1
- package/docs-dist/umi.js +1 -1
- package/package.json +1 -1
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +9 -4
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +7 -3
- package/src/Invoice/ui/digtal/Sign/index.tsx +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -13794,11 +13794,12 @@ var useColumns = (function (form) {
|
|
|
13794
13794
|
}, e, "%");
|
|
13795
13795
|
}))));
|
|
13796
13796
|
} else {
|
|
13797
|
+
var taxFreeType = record.taxFreeType;
|
|
13797
13798
|
return /*#__PURE__*/React.createElement("span", {
|
|
13798
13799
|
style: {
|
|
13799
13800
|
padding: '0 10px'
|
|
13800
13801
|
}
|
|
13801
|
-
}, isDutyFree(record) ? '免税' : "".concat(value, "%"));
|
|
13802
|
+
}, isDutyFree(record) ? '免税' : isNonTaxable(record) ? '不征税' : "".concat(value, "%"));
|
|
13802
13803
|
}
|
|
13803
13804
|
}
|
|
13804
13805
|
}, {
|
|
@@ -13822,7 +13823,7 @@ var useColumns = (function (form) {
|
|
|
13822
13823
|
style: {
|
|
13823
13824
|
padding: '0 10px'
|
|
13824
13825
|
}
|
|
13825
|
-
}, isDutyFree(record) ? '***' : parseFloat(value).toFixed(2));
|
|
13826
|
+
}, isDutyFree(record) || isNonTaxable(record) ? '***' : parseFloat(value).toFixed(2));
|
|
13826
13827
|
}
|
|
13827
13828
|
}
|
|
13828
13829
|
}, {
|
|
@@ -14103,9 +14104,14 @@ function dcoding(v) {
|
|
|
14103
14104
|
|
|
14104
14105
|
|
|
14105
14106
|
function isDutyFree(record) {
|
|
14106
|
-
console.log(record);
|
|
14107
14107
|
return record.taxFreeType === 1 && record.favouredPolicyName === '免税';
|
|
14108
14108
|
}
|
|
14109
|
+
/** 是否不征税 */
|
|
14110
|
+
|
|
14111
|
+
|
|
14112
|
+
function isNonTaxable(record) {
|
|
14113
|
+
return record.taxFreeType === 2 && record.favouredPolicyName === '不征税';
|
|
14114
|
+
}
|
|
14109
14115
|
|
|
14110
14116
|
var useOnRow = (function () {
|
|
14111
14117
|
/** 控制器 */
|
|
@@ -17418,7 +17424,8 @@ var SignDigtal = decorator(Form.create())(function (props) {
|
|
|
17418
17424
|
}
|
|
17419
17425
|
}) : /*#__PURE__*/React.createElement(MyDiv$1, {
|
|
17420
17426
|
style: {
|
|
17421
|
-
whiteSpace: 'pre-wrap'
|
|
17427
|
+
whiteSpace: 'pre-wrap',
|
|
17428
|
+
wordBreak: 'break-all'
|
|
17422
17429
|
}
|
|
17423
17430
|
})))), /*#__PURE__*/React.createElement(Form, {
|
|
17424
17431
|
layout: 'inline',
|
|
@@ -20721,7 +20728,7 @@ var useColumns$1 = (function (form) {
|
|
|
20721
20728
|
style: {
|
|
20722
20729
|
padding: '0 10px'
|
|
20723
20730
|
}
|
|
20724
|
-
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
20731
|
+
}, isDutyFree$1(record) ? '免税' : isNonTaxable$1(record) ? '不征税' : "".concat(value, "%"));
|
|
20725
20732
|
}
|
|
20726
20733
|
}
|
|
20727
20734
|
}, {
|
|
@@ -20745,7 +20752,7 @@ var useColumns$1 = (function (form) {
|
|
|
20745
20752
|
style: {
|
|
20746
20753
|
padding: '0 10px'
|
|
20747
20754
|
}
|
|
20748
|
-
}, isDutyFree$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
20755
|
+
}, isDutyFree$1(record) || isNonTaxable$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
20749
20756
|
}
|
|
20750
20757
|
}
|
|
20751
20758
|
} // {
|
|
@@ -20953,9 +20960,14 @@ function dcoding$1(v) {
|
|
|
20953
20960
|
|
|
20954
20961
|
|
|
20955
20962
|
function isDutyFree$1(record) {
|
|
20956
|
-
console.log(record);
|
|
20957
20963
|
return record.taxFreeType === 1 && record.favouredPolicyName === '免税';
|
|
20958
20964
|
}
|
|
20965
|
+
/** 是否不征税 */
|
|
20966
|
+
|
|
20967
|
+
|
|
20968
|
+
function isNonTaxable$1(record) {
|
|
20969
|
+
return record.taxFreeType === 2 && record.favouredPolicyName === '不征税';
|
|
20970
|
+
}
|
|
20959
20971
|
|
|
20960
20972
|
var MyItemNameStyle = {
|
|
20961
20973
|
padding: '0px 10px',
|
package/dist/index.js
CHANGED
|
@@ -13804,11 +13804,12 @@ var useColumns = (function (form) {
|
|
|
13804
13804
|
}, e, "%");
|
|
13805
13805
|
}))));
|
|
13806
13806
|
} else {
|
|
13807
|
+
var taxFreeType = record.taxFreeType;
|
|
13807
13808
|
return /*#__PURE__*/React__default['default'].createElement("span", {
|
|
13808
13809
|
style: {
|
|
13809
13810
|
padding: '0 10px'
|
|
13810
13811
|
}
|
|
13811
|
-
}, isDutyFree(record) ? '免税' : "".concat(value, "%"));
|
|
13812
|
+
}, isDutyFree(record) ? '免税' : isNonTaxable(record) ? '不征税' : "".concat(value, "%"));
|
|
13812
13813
|
}
|
|
13813
13814
|
}
|
|
13814
13815
|
}, {
|
|
@@ -13832,7 +13833,7 @@ var useColumns = (function (form) {
|
|
|
13832
13833
|
style: {
|
|
13833
13834
|
padding: '0 10px'
|
|
13834
13835
|
}
|
|
13835
|
-
}, isDutyFree(record) ? '***' : parseFloat(value).toFixed(2));
|
|
13836
|
+
}, isDutyFree(record) || isNonTaxable(record) ? '***' : parseFloat(value).toFixed(2));
|
|
13836
13837
|
}
|
|
13837
13838
|
}
|
|
13838
13839
|
}, {
|
|
@@ -14113,9 +14114,14 @@ function dcoding(v) {
|
|
|
14113
14114
|
|
|
14114
14115
|
|
|
14115
14116
|
function isDutyFree(record) {
|
|
14116
|
-
console.log(record);
|
|
14117
14117
|
return record.taxFreeType === 1 && record.favouredPolicyName === '免税';
|
|
14118
14118
|
}
|
|
14119
|
+
/** 是否不征税 */
|
|
14120
|
+
|
|
14121
|
+
|
|
14122
|
+
function isNonTaxable(record) {
|
|
14123
|
+
return record.taxFreeType === 2 && record.favouredPolicyName === '不征税';
|
|
14124
|
+
}
|
|
14119
14125
|
|
|
14120
14126
|
var useOnRow = (function () {
|
|
14121
14127
|
/** 控制器 */
|
|
@@ -17428,7 +17434,8 @@ var SignDigtal = GreyReactBox.decorator(ktsComponentsAntdX3.Form.create())(funct
|
|
|
17428
17434
|
}
|
|
17429
17435
|
}) : /*#__PURE__*/React__default['default'].createElement(MyDiv$1, {
|
|
17430
17436
|
style: {
|
|
17431
|
-
whiteSpace: 'pre-wrap'
|
|
17437
|
+
whiteSpace: 'pre-wrap',
|
|
17438
|
+
wordBreak: 'break-all'
|
|
17432
17439
|
}
|
|
17433
17440
|
})))), /*#__PURE__*/React__default['default'].createElement(ktsComponentsAntdX3.Form, {
|
|
17434
17441
|
layout: 'inline',
|
|
@@ -20731,7 +20738,7 @@ var useColumns$1 = (function (form) {
|
|
|
20731
20738
|
style: {
|
|
20732
20739
|
padding: '0 10px'
|
|
20733
20740
|
}
|
|
20734
|
-
}, isDutyFree$1(record) ? '免税' : "".concat(value, "%"));
|
|
20741
|
+
}, isDutyFree$1(record) ? '免税' : isNonTaxable$1(record) ? '不征税' : "".concat(value, "%"));
|
|
20735
20742
|
}
|
|
20736
20743
|
}
|
|
20737
20744
|
}, {
|
|
@@ -20755,7 +20762,7 @@ var useColumns$1 = (function (form) {
|
|
|
20755
20762
|
style: {
|
|
20756
20763
|
padding: '0 10px'
|
|
20757
20764
|
}
|
|
20758
|
-
}, isDutyFree$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
20765
|
+
}, isDutyFree$1(record) || isNonTaxable$1(record) ? '***' : parseFloat(value).toFixed(2));
|
|
20759
20766
|
}
|
|
20760
20767
|
}
|
|
20761
20768
|
} // {
|
|
@@ -20963,9 +20970,14 @@ function dcoding$1(v) {
|
|
|
20963
20970
|
|
|
20964
20971
|
|
|
20965
20972
|
function isDutyFree$1(record) {
|
|
20966
|
-
console.log(record);
|
|
20967
20973
|
return record.taxFreeType === 1 && record.favouredPolicyName === '免税';
|
|
20968
20974
|
}
|
|
20975
|
+
/** 是否不征税 */
|
|
20976
|
+
|
|
20977
|
+
|
|
20978
|
+
function isNonTaxable$1(record) {
|
|
20979
|
+
return record.taxFreeType === 2 && record.favouredPolicyName === '不征税';
|
|
20980
|
+
}
|
|
20969
20981
|
|
|
20970
20982
|
var MyItemNameStyle = {
|
|
20971
20983
|
padding: '0px 10px',
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13" fill="none">
|
|
2
|
+
<path d="M2.94338 4.42663C3.03458 4.42662 3.12571 4.46481 3.19459 4.54096L5.99164 7.6327L8.78868 4.54096C8.92463 4.39067 9.14733 4.38824 9.28606 4.53554C9.4248 4.68285 9.42705 4.92408 9.29107 5.07437L6.24283 8.44378C6.17667 8.5169 6.08613 8.55811 5.99164 8.55811C5.89714 8.55811 5.80659 8.5169 5.74044 8.44378L2.69221 5.07437C2.55623 4.92408 2.55849 4.68285 2.69722 4.53554C2.76567 4.46287 2.85455 4.42665 2.94338 4.42663Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" viewBox="0 0 13 13" fill="none">
|
|
2
|
+
<path d="M9.55662 8.57337C9.46542 8.57338 9.37429 8.53519 9.30541 8.45904L6.50836 5.3673L3.71132 8.45904C3.57537 8.60933 3.35267 8.61176 3.21394 8.46446C3.0752 8.31715 3.07295 8.07592 3.20893 7.92563L6.25717 4.55622C6.32333 4.4831 6.41387 4.44189 6.50836 4.44189C6.60286 4.44189 6.69341 4.4831 6.75956 4.55622L9.80779 7.92563C9.94377 8.07592 9.94151 8.31715 9.80278 8.46446C9.73433 8.53713 9.64545 8.57335 9.55662 8.57337Z"/>
|
|
3
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg t="1670833534624" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8020" width="200" height="200"><path d="M748.51214222 770.64874667h-70.48760889v-45.43829334h70.48760889c109.51793778 0 198.64689778-89.12896 198.64689778-198.64689778 0-106.60522667-83.30353778-193.98656-189.90876445-198.64689777l-16.31118222-0.58254223-4.66033778-15.72864c-30.87473778-110.10048-132.81962667-187.57859555-247.58044444-187.57859555-140.97521778 0-256.31857778 114.76081778-256.90112 255.15349333v16.89372445l-16.89372444 4.66033777c-69.90506667 19.80643555-118.25607111 83.88608-118.25607112 156.12131556 0 89.71150222 72.81777778 162.52928 162.52928 162.52928h82.13845334v45.43829334H259.17667555c-114.76081778 0-207.96757333-93.20675555-207.96757333-207.96757334 0-46.02083555 14.56355555-89.71150222 43.10812445-126.41166222 23.88423111-30.87473778 55.92405333-54.75896889 92.62421333-68.15744 4.66033778-73.98286222 35.53507555-143.30538667 88.54641778-196.31672889 57.08913778-56.50659555 132.81962667-87.96387555 213.21045333-87.96387555 67.57489778 0 131.072 21.55406222 184.08334222 62.33201777 47.18592 36.11761778 83.30353778 86.79879111 102.52743112 142.72284445 56.50659555 6.40796445 109.51793778 32.03982222 149.13080888 73.40032 43.69066667 45.43829333 68.15744 105.44014222 68.15744 168.93724444 0 65.24472889-25.63185778 126.41166222-71.65269333 172.43249778-46.02083555 47.18592-107.18776889 72.81777778-172.43249778 72.81777778z" p-id="8021"></path><path d="M539.96202667 785.21230222H494.52373333V479.37763555h45.43829334v305.83466667z" p-id="8022"></path><path d="M600.54641778 704.82147555l31.45728 32.62236445-118.83861333 115.34336-111.26556445-115.92590222 32.62236445-31.45728 79.80828444 83.30353777 86.21624889-83.88608z" p-id="8023"></path></svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="none">
|
|
2
|
+
<g clip-path="url(#clip0_695_1221)">
|
|
3
|
+
<path d="M7.99978 0.888916C4.08867 0.888916 0.888672 4.08892 0.888672 8.00003C0.888672 11.9111 4.08867 15.1111 7.99978 15.1111C11.9109 15.1111 15.1109 11.9111 15.1109 8.00003C15.1109 4.08892 11.9109 0.888916 7.99978 0.888916ZM7.99978 14.2222C4.53312 14.2222 1.77756 11.4667 1.77756 8.00003C1.77756 4.53336 4.53312 1.7778 7.99978 1.7778C11.4664 1.7778 14.222 4.53336 14.222 8.00003C14.222 11.4667 11.4664 14.2222 7.99978 14.2222Z" fill="#333333"/>
|
|
4
|
+
<path d="M10.7019 11.3288L4.72949 5.35818L5.35794 4.72974L11.3295 10.7004L10.7019 11.3288Z" fill="#333333"/>
|
|
5
|
+
<path d="M4.66895 10.7023L10.6396 4.73071L11.2681 5.35916L5.29739 11.3307L4.66895 10.7023Z" fill="#333333"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_695_1221">
|
|
9
|
+
<rect width="16" height="16" fill="white"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15">
|
|
2
|
+
<g clip-path="url(#clip0_715_360)">
|
|
3
|
+
<path d="M8 14.5312C4.11687 14.5312 0.96875 11.3831 0.96875 7.5C0.96875 3.61687 4.11687 0.46875 8 0.46875C11.8831 0.46875 15.0312 3.61687 15.0312 7.5C15.0312 11.3831 11.8831 14.5312 8 14.5312ZM8 13.5938C11.3656 13.5938 14.0938 10.8656 14.0938 7.5C14.0938 4.13438 11.3656 1.40625 8 1.40625C4.63438 1.40625 1.90625 4.13438 1.90625 7.5C1.90625 10.8656 4.63438 13.5938 8 13.5938Z"/>
|
|
4
|
+
<path d="M4.25 7.96875C4.12568 7.96875 4.00645 7.91936 3.91854 7.83146C3.83064 7.74355 3.78125 7.62432 3.78125 7.5C3.78125 7.37568 3.83064 7.25645 3.91854 7.16854C4.00645 7.08064 4.12568 7.03125 4.25 7.03125H11.75C11.8743 7.03125 11.9935 7.08064 12.0815 7.16854C12.1694 7.25645 12.2188 7.37568 12.2188 7.5C12.2188 7.62432 12.1694 7.74355 12.0815 7.83146C11.9935 7.91936 11.8743 7.96875 11.75 7.96875H4.25Z"/>
|
|
5
|
+
<path d="M7.53125 3.75C7.53125 3.62568 7.58064 3.50645 7.66854 3.41854C7.75645 3.33064 7.87568 3.28125 8 3.28125C8.12432 3.28125 8.24355 3.33064 8.33146 3.41854C8.41936 3.50645 8.46875 3.62568 8.46875 3.75V11.25C8.46875 11.3743 8.41936 11.4935 8.33146 11.5815C8.24355 11.6694 8.12432 11.7188 8 11.7188C7.87568 11.7188 7.75645 11.6694 7.66854 11.5815C7.58064 11.4935 7.53125 11.3743 7.53125 11.25V3.75Z"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_715_360">
|
|
9
|
+
<rect width="15" height="15" transform="translate(0.5)"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="15" viewBox="0 0 16 15" fill="none">
|
|
2
|
+
<g clip-path="url(#clip0_715_360)">
|
|
3
|
+
<path d="M8 14.5312C4.11687 14.5312 0.96875 11.3831 0.96875 7.5C0.96875 3.61687 4.11687 0.46875 8 0.46875C11.8831 0.46875 15.0312 3.61687 15.0312 7.5C15.0312 11.3831 11.8831 14.5312 8 14.5312ZM8 13.5938C11.3656 13.5938 14.0938 10.8656 14.0938 7.5C14.0938 4.13438 11.3656 1.40625 8 1.40625C4.63438 1.40625 1.90625 4.13438 1.90625 7.5C1.90625 10.8656 4.63438 13.5938 8 13.5938Z"/>
|
|
4
|
+
<path d="M4.25 7.96875C4.12568 7.96875 4.00645 7.91936 3.91854 7.83146C3.83064 7.74355 3.78125 7.62432 3.78125 7.5C3.78125 7.37568 3.83064 7.25645 3.91854 7.16854C4.00645 7.08064 4.12568 7.03125 4.25 7.03125H11.75C11.8743 7.03125 11.9935 7.08064 12.0815 7.16854C12.1694 7.25645 12.2188 7.37568 12.2188 7.5C12.2188 7.62432 12.1694 7.74355 12.0815 7.83146C11.9935 7.91936 11.8743 7.96875 11.75 7.96875H4.25Z"/>
|
|
5
|
+
<path d="M7.53125 3.75C7.53125 3.62568 7.58064 3.50645 7.66854 3.41854C7.75645 3.33064 7.87568 3.28125 8 3.28125C8.12432 3.28125 8.24355 3.33064 8.33146 3.41854C8.41936 3.50645 8.46875 3.62568 8.46875 3.75V11.25C8.46875 11.3743 8.41936 11.4935 8.33146 11.5815C8.24355 11.6694 8.12432 11.7188 8 11.7188C7.87568 11.7188 7.75645 11.6694 7.66854 11.5815C7.58064 11.4935 7.53125 11.3743 7.53125 11.25V3.75Z"/>
|
|
6
|
+
</g>
|
|
7
|
+
<defs>
|
|
8
|
+
<clipPath id="clip0_715_360">
|
|
9
|
+
<rect width="15" height="15" transform="translate(0.5)"/>
|
|
10
|
+
</clipPath>
|
|
11
|
+
</defs>
|
|
12
|
+
</svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg t="1670833567548" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="8168" width="200" height="200"><path d="M748.43022222 770.38933333h-70.42844444v-45.51111111h70.42844444c109.568 0 198.656-89.088 198.656-198.656 0-106.60977778-83.39911111-193.76355555-189.78133333-198.42844444l-16.49777778-0.68266667-4.43733333-15.81511111c-30.94755555-110.36444445-132.77866667-187.50577778-247.58044445-187.50577778-140.85688889 0-256.11377778 114.57422222-257.13777778 255.31733333l-0.11377777 17.06666667-16.49777778 4.66488889c-69.632 19.68355555-118.21511111 83.968-118.21511111 156.33066667 0 89.54311111 72.93155555 162.47466667 162.47466666 162.47466667h82.37511112v45.5111111H259.41333333c-114.688 0-207.98577778-93.29777778-207.98577778-207.98577777 0-46.19377778 14.79111111-89.99822222 42.89422223-126.52088889 23.77955555-30.94755555 56.09244445-54.72711111 92.38755555-68.38044444 4.43733333-74.18311111 35.61244445-143.24622222 88.74666667-196.03911112 57.11644445-56.66133333 132.77866667-87.95022222 213.33333333-87.95022222 67.35644445 0 131.072 21.61777778 184.32 62.57777778 47.33155555 36.40888889 83.17155555 86.58488889 102.28622222 142.79111111 56.77511111 6.25777778 109.22666667 32.08533333 149.16266667 73.61422222 43.80444445 45.62488889 67.92533333 105.69955555 67.92533333 168.96 0 65.19466667-25.37244445 126.52088889-71.45244444 172.60088889-46.08 46.19377778-107.40622222 71.56622222-172.60088889 71.56622222z" p-id="8169"></path><path d="M494.36444445 546.816h45.5111111v306.06222222h-45.5111111z" p-id="8170"></path><path d="M433.60711111 627.37066667l-31.63022222-32.65422222 118.89777778-115.48444445 111.38844444 116.05333333-32.768 31.51644445-79.75822222-83.05777778z" p-id="8171"></path></svg>
|