kts-component-invoice-operate 3.2.143 → 3.2.145
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/.dumi/theme/builtins/API.tsx +66 -66
- package/.editorconfig +16 -16
- package/.fatherrc.ts +4 -4
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +8 -8
- package/README.md +9 -9
- package/dist/Invoice/ui/digtal/RealEstateInfo/index.d.ts +2 -2
- package/dist/index.esm.js +603 -601
- package/dist/index.js +603 -601
- package/docs/index.md +5 -5
- package/docs-dist/static/arrowDown.a1cbf0d8.svg +2 -2
- package/docs-dist/static/arrowUp.4c482054.svg +2 -2
- package/docs-dist/static/fork.5431267d.svg +11 -11
- package/docs-dist/static/plus.44013ce3.svg +11 -11
- package/docs-dist/static/plus.4fd1af30.svg +11 -11
- package/index.html +12 -12
- package/package.json +61 -61
- package/src/Invoice/Invoice-digtal/_test/disabled/index.tsx +39 -39
- package/src/Invoice/Invoice-digtal/_test/easiest/index.tsx +16 -16
- package/src/Invoice/Invoice-digtal/_test/header/index.tsx +84 -84
- package/src/Invoice/Invoice-digtal/_test/importGoods/index.tsx +868 -868
- package/src/Invoice/Invoice-digtal/_test/importStakeholder/index.tsx +18 -18
- package/src/Invoice/Invoice-digtal/_test/lineCredit/index.tsx +19 -19
- package/src/Invoice/Invoice-digtal/_test/prefab/index.tsx +150 -150
- package/src/Invoice/Invoice-digtal/_test/readOnly/index.tsx +42 -42
- package/src/Invoice/Invoice-digtal/_test/realEstateInfo/index.tsx +11 -11
- package/src/Invoice/Invoice-digtal/_test/stakeholder/index.tsx +12 -12
- package/src/Invoice/Invoice-digtal/_test/typeSelection/index.tsx +29 -29
- package/src/Invoice/Invoice-digtal/index.md +34 -34
- package/src/Invoice/InvoiceController/InvoiceControllerForm/index.ts +95 -95
- package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +20 -20
- package/src/Invoice/InvoiceController/InvoiceControllerState/BuyerState/index.tsx +88 -88
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +15 -15
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/EndowCode/index.tsx +104 -104
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IColumnsReplenish/index.ts +10 -10
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/IGood/index.ts +78 -78
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ImportGoods/index.ts +81 -81
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/LineAttributeType/index.ts +7 -7
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/ProductComparison/index.ts +9 -9
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +117 -117
- package/src/Invoice/InvoiceController/InvoiceControllerState/Stakeholder/index.ts +13 -13
- package/src/Invoice/InvoiceController/InvoiceControllerState/index.ts +65 -65
- package/src/Invoice/InvoiceController/fns/addGood.ts +11 -11
- package/src/Invoice/InvoiceController/fns/addGoodDiscount.ts +126 -126
- package/src/Invoice/InvoiceController/fns/addGoodDiscountV2.ts +86 -86
- package/src/Invoice/InvoiceController/fns/delGood.ts +41 -41
- package/src/Invoice/InvoiceController/fns/getGoodsSearch.ts +26 -26
- package/src/Invoice/InvoiceController/fns/importGoodsDrawer.ts +79 -79
- package/src/Invoice/InvoiceController/fns/itemBlur.ts +40 -40
- package/src/Invoice/InvoiceController/fns/mergeDetails.ts +201 -201
- package/src/Invoice/InvoiceController/fns/mergeDiscount.ts +35 -35
- package/src/Invoice/InvoiceController/fns/saveEditGood.ts +24 -24
- package/src/Invoice/InvoiceController/fns/setEditGood.ts +16 -16
- package/src/Invoice/InvoiceController/fns/setGoods.ts +10 -10
- package/src/Invoice/InvoiceController/fns/updateInvoiceNo.ts +8 -8
- package/src/Invoice/InvoiceController/index.ts +81 -81
- package/src/Invoice/_test/buyerNameSearch/index.tsx +42 -42
- package/src/Invoice/_test/deduction/index.tsx +935 -935
- package/src/Invoice/_test/draft/index.tsx +40 -40
- package/src/Invoice/_test/easiest/index.tsx +5 -5
- package/src/Invoice/_test/endowCode/index.tsx +1158 -1158
- package/src/Invoice/_test/goodsMenuExpand/index.tsx +32 -32
- package/src/Invoice/_test/importBuyer/index.tsx +74 -74
- package/src/Invoice/_test/importGoods/index.tsx +1197 -1197
- package/src/Invoice/_test/invoiceType/index.tsx +59 -59
- package/src/Invoice/_test/isInvoiceNo/index.tsx +12 -12
- package/src/Invoice/_test/replaceHead/index.tsx +22 -22
- package/src/Invoice/_test/retrieveData/index.tsx +22 -22
- package/src/Invoice/_test/seller/index.tsx +28 -28
- package/src/Invoice/_test/setDataSource/index.tsx +73 -73
- package/src/Invoice/_test/unit/index.tsx +19 -19
- package/src/Invoice/index.less +29 -29
- package/src/Invoice/index.md +53 -53
- package/src/Invoice/index.tsx +179 -179
- package/src/Invoice/tools/calculate/index.ts +132 -132
- package/src/Invoice/tools/coolingFn/index.ts +17 -17
- package/src/Invoice/tools/evaluate/index.ts +7 -7
- package/src/Invoice/tools/idGenerator/index.ts +2 -2
- package/src/Invoice/tools/itemName/index.ts +55 -55
- package/src/Invoice/tools/lazyFn/index.ts +19 -19
- package/src/Invoice/tools/mounting/index.ts +13 -13
- package/src/Invoice/tools/strringFn/index.ts +40 -40
- package/src/Invoice/tools/useToGenerateId/index.ts +8 -8
- package/src/Invoice/tools/utils/index.ts +1 -1
- package/src/Invoice/tools/utils/money/index.ts +20 -20
- package/src/Invoice/ui/default/AddComparisonDrawer/index.tsx +149 -149
- package/src/Invoice/ui/default/Buyer/index.less +219 -219
- package/src/Invoice/ui/default/Buyer/index.tsx +114 -114
- package/src/Invoice/ui/default/Buyer/ui/BuyerNameInput/index.tsx +166 -166
- package/src/Invoice/ui/default/Buyer/ui/ImportBuyerButton/index.tsx +21 -21
- package/src/Invoice/ui/default/EndowCodeDrawer/index.less +8 -8
- package/src/Invoice/ui/default/EndowCodeDrawer/index.tsx +550 -550
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +632 -632
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +691 -691
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +47 -47
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +17 -17
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +88 -88
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +118 -118
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +25 -25
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/default/GoodsList/hook/useDeduction/index.tsx +24 -24
- package/src/Invoice/ui/default/GoodsList/hook/useOnRow/index.tsx +39 -39
- package/src/Invoice/ui/default/GoodsList/hook/useRowSelection/index.tsx +114 -114
- package/src/Invoice/ui/default/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/default/GoodsList/index.less +179 -179
- package/src/Invoice/ui/default/GoodsList/index.tsx +205 -205
- package/src/Invoice/ui/default/GoodsList/ui/AddRowButton/index.tsx +65 -65
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.less +21 -21
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +244 -244
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +69 -69
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +65 -65
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +91 -91
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDiscount/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesDiscount/index.tsx +109 -109
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useSalesGifts/index.tsx +94 -94
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/index.tsx +37 -37
- package/src/Invoice/ui/default/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.less +10 -10
- package/src/Invoice/ui/default/GoodsList/ui/Search/index.tsx +52 -52
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.less +18 -18
- package/src/Invoice/ui/default/GoodsList/ui/Statistics/index.tsx +114 -114
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/default/GoodsList/ui/TableRow/index.tsx +57 -57
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.less +44 -44
- package/src/Invoice/ui/default/GoodsList/ui/TableVirtual.o/index.tsx +96 -96
- package/src/Invoice/ui/default/GoodsList/ui/TaxIncludedSwitch/index.tsx +31 -31
- package/src/Invoice/ui/default/ImportBuyerDrawer/index.tsx +75 -75
- package/src/Invoice/ui/default/ImportGoodsDrawer/index.tsx +198 -198
- package/src/Invoice/ui/default/InvoiceHeader/index.less +68 -68
- package/src/Invoice/ui/default/InvoiceHeader/index.tsx +246 -246
- package/src/Invoice/ui/default/Seller/index.less +113 -113
- package/src/Invoice/ui/default/Seller/index.tsx +98 -98
- package/src/Invoice/ui/default/Sign/index.less +14 -14
- package/src/Invoice/ui/default/Sign/index.tsx +71 -71
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/autoFillFn/index.ts +624 -624
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/index.tsx +654 -654
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/svg/plus.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.less +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/Drag/index.tsx +205 -205
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.less +9 -9
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/ItemNameInput/index.tsx +84 -84
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowEditButton/index.tsx +30 -30
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/_useAddComparison/index.tsx +43 -43
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useAddDiscount/index.tsx +76 -76
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useDelItem/index.tsx +41 -41
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/hook/useEndowCode/index.tsx +34 -34
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.less +13 -13
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowMenu/index.tsx +98 -98
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/RowSaveButton/index.tsx +14 -14
- package/src/Invoice/ui/digtal/GoodsList/hook/useColumns/ui/TitleText/index.tsx +20 -20
- package/src/Invoice/ui/digtal/GoodsList/hook/useOnRow/index.tsx +39 -39
- package/src/Invoice/ui/digtal/GoodsList/hook/useRowSelection/index.tsx +121 -121
- package/src/Invoice/ui/digtal/GoodsList/hook/useWindowClick/index.tsx +23 -23
- package/src/Invoice/ui/digtal/GoodsList/index.less +56 -56
- package/src/Invoice/ui/digtal/GoodsList/index.tsx +180 -180
- package/src/Invoice/ui/digtal/GoodsList/ui/AddRowButton/index.tsx +65 -65
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/index.tsx +340 -340
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useAddDiscountRowButton/svg/add.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useCommodityComparisonButton/index.tsx +75 -75
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useDelRowButton/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEmptyRefill/index.tsx +37 -37
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useEndowCodeButton/index.tsx +82 -82
- package/src/Invoice/ui/digtal/GoodsList/ui/BulkMenu/hooks/useReselectInvoiceType/index.tsx +57 -57
- package/src/Invoice/ui/digtal/GoodsList/ui/DescribeSwitch/index.tsx +36 -36
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.less +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/Search/index.tsx +50 -50
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.less +53 -53
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/index.tsx +98 -98
- package/src/Invoice/ui/digtal/GoodsList/ui/Statistics/svg/fork.svg +11 -11
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.less +28 -28
- package/src/Invoice/ui/digtal/GoodsList/ui/TableRow/index.tsx +53 -53
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.less +38 -38
- package/src/Invoice/ui/digtal/GoodsList/ui/TableVirtual/index.tsx +108 -108
- package/src/Invoice/ui/digtal/GoodsList/ui/TaxIncludedSwitch/index.tsx +31 -31
- package/src/Invoice/ui/digtal/InvoiceHeader/index.less +57 -57
- package/src/Invoice/ui/digtal/InvoiceHeader/index.tsx +77 -77
- package/src/Invoice/ui/digtal/RealEstateInfo/index.less +14 -14
- package/src/Invoice/ui/digtal/RealEstateInfo/index.tsx +136 -129
- package/src/Invoice/ui/digtal/Sign/index.less +48 -48
- package/src/Invoice/ui/digtal/Sign/index.tsx +99 -99
- package/src/Invoice/ui/digtal/Stakeholder/index.less +99 -99
- package/src/Invoice/ui/digtal/Stakeholder/index.tsx +393 -393
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowDown.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/arrowUp.svg +2 -2
- package/src/Invoice/ui/digtal/Stakeholder/svg/plus.svg +11 -11
- package/src/InvoiceTypeModal/_test/easiest/index.tsx +31 -31
- package/src/InvoiceTypeModal/index.less +7 -7
- package/src/InvoiceTypeModal/index.md +5 -5
- package/src/InvoiceTypeModal/index.tsx +153 -153
- package/src/TaxClassificationCodeModal/_test/easiest/index.tsx +177 -177
- package/src/TaxClassificationCodeModal/index.md +6 -6
- package/src/TaxClassificationCodeModal/index.tsx +74 -74
- package/src/index.ts +12 -12
- package/tsconfig.json +31 -31
- package/typings.d.ts +3 -3
- package/yarn.e.lock +14331 -14331
package/dist/index.esm.js
CHANGED
|
@@ -9841,7 +9841,7 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9841
9841
|
render: function render(form) {
|
|
9842
9842
|
return form.getFieldDecorator('code', {
|
|
9843
9843
|
initialValue: props.defaultCode
|
|
9844
|
-
})(
|
|
9844
|
+
})(React.createElement(FormSpanString, null));
|
|
9845
9845
|
}
|
|
9846
9846
|
});
|
|
9847
9847
|
}
|
|
@@ -9854,7 +9854,7 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9854
9854
|
render: function render(form) {
|
|
9855
9855
|
return form.getFieldDecorator('no', {
|
|
9856
9856
|
initialValue: props.defaultNo
|
|
9857
|
-
})(
|
|
9857
|
+
})(React.createElement(FormSpanString, null));
|
|
9858
9858
|
}
|
|
9859
9859
|
});
|
|
9860
9860
|
}
|
|
@@ -9865,7 +9865,7 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9865
9865
|
render: function render(form) {
|
|
9866
9866
|
return form.getFieldDecorator('invoicingDate', {
|
|
9867
9867
|
initialValue: props.defaultInvoicingDate
|
|
9868
|
-
})(
|
|
9868
|
+
})(React.createElement(FormSpanString, null));
|
|
9869
9869
|
}
|
|
9870
9870
|
});
|
|
9871
9871
|
}
|
|
@@ -9876,7 +9876,7 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9876
9876
|
render: function render(form) {
|
|
9877
9877
|
return form.getFieldDecorator('defaultValidationCode', {
|
|
9878
9878
|
initialValue: props.defaultValidationCode
|
|
9879
|
-
})(
|
|
9879
|
+
})(React.createElement(FormSpanString, null));
|
|
9880
9880
|
}
|
|
9881
9881
|
});
|
|
9882
9882
|
}
|
|
@@ -9896,21 +9896,21 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9896
9896
|
React.useEffect(function () {
|
|
9897
9897
|
setTypeIndex(props.typeOptionIndex || 0);
|
|
9898
9898
|
}, [props.typeOption]);
|
|
9899
|
-
return
|
|
9899
|
+
return React.createElement("div", {
|
|
9900
9900
|
className: "kts-invoice-operate-invoice-header"
|
|
9901
|
-
},
|
|
9901
|
+
}, React.createElement("div", {
|
|
9902
9902
|
className: "invoice-header-title"
|
|
9903
|
-
}, title),
|
|
9903
|
+
}, title), React.createElement("div", {
|
|
9904
9904
|
className: "invoice-header-no"
|
|
9905
|
-
}, isInvoiceNo ?
|
|
9905
|
+
}, isInvoiceNo ? React.createElement("div", null, React.createElement("label", null, "\u53D1\u7968\u5355\u636E\u7F16\u53F7 :"), getFieldDecorator('id', {
|
|
9906
9906
|
initialValue: props.defaultId
|
|
9907
|
-
})(
|
|
9907
|
+
})(React.createElement(Input, {
|
|
9908
9908
|
disabled: readOnlyInvoiceNo,
|
|
9909
9909
|
style: {
|
|
9910
9910
|
width: 230
|
|
9911
9911
|
},
|
|
9912
9912
|
size: "small",
|
|
9913
|
-
suffix: controller.updateInvoiceNo &&
|
|
9913
|
+
suffix: controller.updateInvoiceNo && React.createElement(Icon$1, {
|
|
9914
9914
|
style: {
|
|
9915
9915
|
cursor: 'pointer'
|
|
9916
9916
|
},
|
|
@@ -9954,15 +9954,15 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9954
9954
|
return onClick;
|
|
9955
9955
|
}()
|
|
9956
9956
|
})
|
|
9957
|
-
}))) :
|
|
9957
|
+
}))) : React.createElement("div", {
|
|
9958
9958
|
style: {
|
|
9959
9959
|
height: 20
|
|
9960
9960
|
}
|
|
9961
|
-
}), tag &&
|
|
9961
|
+
}), tag && React.createElement(Tag$1, null, tag), React.createElement("div", {
|
|
9962
9962
|
className: "invoice-header-type"
|
|
9963
9963
|
}, props.typeOption ? getFieldDecorator('type', {
|
|
9964
9964
|
initialValue: typeIndex
|
|
9965
|
-
})(
|
|
9965
|
+
})(React.createElement(Select, {
|
|
9966
9966
|
size: "small",
|
|
9967
9967
|
style: {
|
|
9968
9968
|
width: 230
|
|
@@ -9971,20 +9971,20 @@ var InvoiceHeader = decorator(Form.create())(function (props) {
|
|
|
9971
9971
|
setTypeIndex(e);
|
|
9972
9972
|
}
|
|
9973
9973
|
}, props.typeOption.map(function (e, i) {
|
|
9974
|
-
return
|
|
9974
|
+
return React.createElement(Select.Option, {
|
|
9975
9975
|
key: i,
|
|
9976
9976
|
value: i
|
|
9977
9977
|
}, e.title);
|
|
9978
|
-
}))) : props.renderExpand && props.renderExpand(props.form))), props.typeOption &&
|
|
9978
|
+
}))) : props.renderExpand && props.renderExpand(props.form))), props.typeOption && React.createElement("div", {
|
|
9979
9979
|
style: {
|
|
9980
9980
|
marginTop: 10
|
|
9981
9981
|
}
|
|
9982
|
-
}, props.renderExpand && props.renderExpand(props.form)),
|
|
9982
|
+
}, props.renderExpand && props.renderExpand(props.form)), React.createElement("div", {
|
|
9983
9983
|
className: "invoice-header-property"
|
|
9984
|
-
}, _toConsumableArray(props.fieldExpand || []).map(function (e) {}),
|
|
9984
|
+
}, _toConsumableArray(props.fieldExpand || []).map(function (e) {}), React.createElement("ul", {
|
|
9985
9985
|
className: 'invoice-header-property-fieldExpand'
|
|
9986
9986
|
}, fieldExpand.map(function (e) {
|
|
9987
|
-
return
|
|
9987
|
+
return React.createElement("li", null, React.createElement("label", null, e.label), e.render(form));
|
|
9988
9988
|
}))));
|
|
9989
9989
|
});
|
|
9990
9990
|
|
|
@@ -10003,7 +10003,7 @@ var FormSpanString = /*#__PURE__*/function (_React$Component) {
|
|
|
10003
10003
|
key: "render",
|
|
10004
10004
|
value: function render() {
|
|
10005
10005
|
// return <span>{this.props.value}</span>;
|
|
10006
|
-
return
|
|
10006
|
+
return React.createElement(Input, {
|
|
10007
10007
|
size: "small",
|
|
10008
10008
|
disabled: true,
|
|
10009
10009
|
value: this.props.value
|
|
@@ -10114,12 +10114,12 @@ function TableVirtual (props) {
|
|
|
10114
10114
|
if (!cont) return;
|
|
10115
10115
|
cont.scrollTop = 0;
|
|
10116
10116
|
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
10117
|
-
return
|
|
10117
|
+
return React.createElement("span", {
|
|
10118
10118
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
10119
10119
|
ref: function ref(e) {
|
|
10120
10120
|
setSelf(e);
|
|
10121
10121
|
}
|
|
10122
|
-
},
|
|
10122
|
+
}, React.createElement(TableManual, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
10123
10123
|
dataSource: dataSource,
|
|
10124
10124
|
// 新版本Table会有输入框无法连续输入的问题,先兼容老版本
|
|
10125
10125
|
tableComponent: Table
|
|
@@ -10211,57 +10211,57 @@ var Statistics = (function () {
|
|
|
10211
10211
|
});
|
|
10212
10212
|
return sum.done().toNumber();
|
|
10213
10213
|
}, []);
|
|
10214
|
-
return
|
|
10214
|
+
return React.createElement("div", {
|
|
10215
10215
|
className: "kts-invoice-operate-goods-list-statistics"
|
|
10216
|
-
},
|
|
10216
|
+
}, React.createElement("div", {
|
|
10217
10217
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
10218
|
-
},
|
|
10218
|
+
}, React.createElement("div", {
|
|
10219
10219
|
style: {
|
|
10220
10220
|
width: 45.92
|
|
10221
10221
|
}
|
|
10222
|
-
}),
|
|
10222
|
+
}), React.createElement("div", {
|
|
10223
10223
|
style: {
|
|
10224
10224
|
flex: 1
|
|
10225
10225
|
}
|
|
10226
|
-
},
|
|
10226
|
+
}, React.createElement("label", null, "\u5408\u8BA1")), React.createElement("div", {
|
|
10227
10227
|
style: {
|
|
10228
10228
|
width: 119,
|
|
10229
10229
|
textAlign: 'right',
|
|
10230
10230
|
border: 'none'
|
|
10231
10231
|
}
|
|
10232
|
-
},
|
|
10232
|
+
}, React.createElement("label", null, parseFloat(isTaxIncluded ? lineAmountIncludeTax : lineAmountExcludeTax).toFixed(2))), React.createElement("div", {
|
|
10233
10233
|
style: {
|
|
10234
10234
|
width: 70,
|
|
10235
10235
|
border: 'none'
|
|
10236
10236
|
}
|
|
10237
|
-
}),
|
|
10237
|
+
}), React.createElement("div", {
|
|
10238
10238
|
style: {
|
|
10239
10239
|
width: 119,
|
|
10240
10240
|
textAlign: 'right',
|
|
10241
10241
|
border: 'none'
|
|
10242
10242
|
}
|
|
10243
|
-
},
|
|
10243
|
+
}, React.createElement("label", null, parseFloat(taxAmount).toFixed(2))), React.createElement("div", {
|
|
10244
10244
|
style: {
|
|
10245
10245
|
width: 111,
|
|
10246
10246
|
border: 'none'
|
|
10247
10247
|
}
|
|
10248
|
-
})),
|
|
10248
|
+
})), React.createElement("div", {
|
|
10249
10249
|
className: "kts-invoice-operate-goods-list-statistics-row"
|
|
10250
|
-
},
|
|
10250
|
+
}, React.createElement("div", {
|
|
10251
10251
|
style: {
|
|
10252
10252
|
width: 45.92
|
|
10253
10253
|
}
|
|
10254
|
-
}),
|
|
10254
|
+
}), React.createElement("div", {
|
|
10255
10255
|
style: {
|
|
10256
10256
|
flex: 5,
|
|
10257
10257
|
border: 'none'
|
|
10258
10258
|
}
|
|
10259
|
-
},
|
|
10259
|
+
}, React.createElement("label", null, "\u4EF7\u7A0E\u5408\u8BA1\uFF08\u5927\u5199\uFF09"), React.createElement("label", null, toStringChinese(lineAmountIncludeTax))), React.createElement("div", {
|
|
10260
10260
|
style: {
|
|
10261
10261
|
flex: 5,
|
|
10262
10262
|
border: 'none'
|
|
10263
10263
|
}
|
|
10264
|
-
},
|
|
10264
|
+
}, React.createElement("label", null, "\uFF08\u5C0F\u5199\uFF09 ", parseFloat(lineAmountIncludeTax).toFixed(2)))));
|
|
10265
10265
|
});
|
|
10266
10266
|
|
|
10267
10267
|
var AddRowButton = (function () {
|
|
@@ -10316,10 +10316,10 @@ var AddRowButton = (function () {
|
|
|
10316
10316
|
}
|
|
10317
10317
|
}, _callee);
|
|
10318
10318
|
})), [controller, rootElement]);
|
|
10319
|
-
if (isAddRow === false) return
|
|
10320
|
-
if (model === 'prefab') return
|
|
10321
|
-
if (model === 'readOnly') return
|
|
10322
|
-
return
|
|
10319
|
+
if (isAddRow === false) return React.createElement(React.Fragment, null);
|
|
10320
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
10321
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
10322
|
+
return React.createElement(Button, {
|
|
10323
10323
|
onClick: onClick,
|
|
10324
10324
|
disabled: disabled
|
|
10325
10325
|
}, "\u6DFB\u52A0\u884C");
|
|
@@ -10449,11 +10449,11 @@ var TaxIncludedSwitch = (function () {
|
|
|
10449
10449
|
var onChange = React.useCallback(function (e) {
|
|
10450
10450
|
onChangeSwitchTax(controller, e);
|
|
10451
10451
|
}, []);
|
|
10452
|
-
return
|
|
10452
|
+
return React.createElement("span", null, React.createElement("label", {
|
|
10453
10453
|
style: {
|
|
10454
10454
|
marginRight: 2
|
|
10455
10455
|
}
|
|
10456
|
-
}, "\u542B\u7A0E:"),
|
|
10456
|
+
}, "\u542B\u7A0E:"), React.createElement(Switch, {
|
|
10457
10457
|
disabled: isSwitchTax === false,
|
|
10458
10458
|
checked: isTaxIncluded,
|
|
10459
10459
|
defaultChecked: true,
|
|
@@ -10491,19 +10491,19 @@ var DescribeSwitch = (function () {
|
|
|
10491
10491
|
};
|
|
10492
10492
|
}());
|
|
10493
10493
|
}, []);
|
|
10494
|
-
if (!productComparison.onComply) return
|
|
10495
|
-
return
|
|
10494
|
+
if (!productComparison.onComply) return React.createElement(React.Fragment, null);
|
|
10495
|
+
return React.createElement("span", null, React.createElement("label", {
|
|
10496
10496
|
style: {
|
|
10497
10497
|
marginRight: 2
|
|
10498
10498
|
}
|
|
10499
|
-
},
|
|
10499
|
+
}, React.createElement(Tooltip, {
|
|
10500
10500
|
title: "\u84DD\u8272\u4EE3\u8868\u6211\u65B9\u5546\u54C1\u63CF\u8FF0\uFF0C\u9ED1\u8272\u4EE3\u8868\u5BF9\u65B9\u7684\u5546\u54C1\u63CF\u8FF0\u3002"
|
|
10501
|
-
},
|
|
10501
|
+
}, React.createElement(Icon$1, {
|
|
10502
10502
|
style: {
|
|
10503
10503
|
marginRight: 3
|
|
10504
10504
|
},
|
|
10505
10505
|
type: "info-circle"
|
|
10506
|
-
})), "\u4F7F\u7528\u54EA\u65B9\u5546\u54C1\u63CF\u8FF0:"),
|
|
10506
|
+
})), "\u4F7F\u7528\u54EA\u65B9\u5546\u54C1\u63CF\u8FF0:"), React.createElement(Switch$1, {
|
|
10507
10507
|
checked: isMyShow,
|
|
10508
10508
|
checkedChildren: "\u6211\u65B9",
|
|
10509
10509
|
unCheckedChildren: "\u5BF9\u65B9",
|
|
@@ -10603,13 +10603,13 @@ function Search() {
|
|
|
10603
10603
|
};
|
|
10604
10604
|
}());
|
|
10605
10605
|
}, [value, controller]);
|
|
10606
|
-
return
|
|
10606
|
+
return React.createElement(Input, {
|
|
10607
10607
|
size: "small",
|
|
10608
10608
|
readOnly: readOnly,
|
|
10609
10609
|
value: value,
|
|
10610
10610
|
className: "kts-invoice-operate-goods-list-search",
|
|
10611
10611
|
placeholder: "\u8BF7\u60A8\u8F93\u5165".concat(columnshide.includes('itemCode') ? '' : '商品编码、', "\u9879\u76EE\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(").concat(isTaxIncluded ? '含税' : '不含税', ")\u641C\u7D22"),
|
|
10612
|
-
prefix:
|
|
10612
|
+
prefix: React.createElement(Icon$1, {
|
|
10613
10613
|
component: SvgMagnifier,
|
|
10614
10614
|
style: {
|
|
10615
10615
|
color: "#b8b8b8"
|
|
@@ -10661,13 +10661,13 @@ function TableRow(props) {
|
|
|
10661
10661
|
return undefined;
|
|
10662
10662
|
}
|
|
10663
10663
|
}, [good, goodsMap]);
|
|
10664
|
-
return rowKey === current && current ?
|
|
10664
|
+
return rowKey === current && current ? React.createElement("tr", {
|
|
10665
10665
|
style: {
|
|
10666
10666
|
height: 32.67,
|
|
10667
10667
|
borderBottom: '1px solid #E6E6E6',
|
|
10668
10668
|
position: 'relative'
|
|
10669
10669
|
}
|
|
10670
|
-
},
|
|
10670
|
+
}, React.createElement("div", {
|
|
10671
10671
|
style: {
|
|
10672
10672
|
height: 1,
|
|
10673
10673
|
width: '100%',
|
|
@@ -10675,7 +10675,7 @@ function TableRow(props) {
|
|
|
10675
10675
|
position: 'absolute',
|
|
10676
10676
|
bottom: 0
|
|
10677
10677
|
}
|
|
10678
|
-
})) :
|
|
10678
|
+
})) : React.createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
10679
10679
|
className: classNames(props.className, discount, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
10680
10680
|
}));
|
|
10681
10681
|
}
|
|
@@ -11083,7 +11083,7 @@ var RowMenu = (function (props) {
|
|
|
11083
11083
|
// addComparison && arr.push(addComparison); // 添加商品对照
|
|
11084
11084
|
|
|
11085
11085
|
if (!goodsMenuExpand || goodsMenuExpand.length === 0) return arr;
|
|
11086
|
-
arr.unshift(
|
|
11086
|
+
arr.unshift(React.createElement(Menu.Divider, {
|
|
11087
11087
|
key: "divider-1"
|
|
11088
11088
|
}));
|
|
11089
11089
|
|
|
@@ -11099,17 +11099,17 @@ var RowMenu = (function (props) {
|
|
|
11099
11099
|
return undefined;
|
|
11100
11100
|
}
|
|
11101
11101
|
|
|
11102
|
-
return
|
|
11103
|
-
return
|
|
11102
|
+
return React.createElement(Menu, null, itemList.slice(2).map(function (e) {
|
|
11103
|
+
return React.createElement(Menu.Item, {
|
|
11104
11104
|
key: e.key,
|
|
11105
11105
|
onClick: e.onClick
|
|
11106
|
-
},
|
|
11106
|
+
}, React.createElement(Text$1, {
|
|
11107
11107
|
strong: true
|
|
11108
11108
|
}, e.title));
|
|
11109
11109
|
}));
|
|
11110
11110
|
}, [itemList]);
|
|
11111
11111
|
var buttonList = React.useMemo(function () {
|
|
11112
|
-
return
|
|
11112
|
+
return React.createElement("div", {
|
|
11113
11113
|
style: {
|
|
11114
11114
|
flex: 1,
|
|
11115
11115
|
textAlign: 'left',
|
|
@@ -11117,7 +11117,7 @@ var RowMenu = (function (props) {
|
|
|
11117
11117
|
gap: 10
|
|
11118
11118
|
}
|
|
11119
11119
|
}, itemList.slice(0, 2).map(function (e) {
|
|
11120
|
-
return
|
|
11120
|
+
return React.createElement(Button, {
|
|
11121
11121
|
key: e.key,
|
|
11122
11122
|
type: 'link',
|
|
11123
11123
|
onClick: e.onClick,
|
|
@@ -11129,21 +11129,21 @@ var RowMenu = (function (props) {
|
|
|
11129
11129
|
}, [itemList]);
|
|
11130
11130
|
|
|
11131
11131
|
if (itemList.length === 0) {
|
|
11132
|
-
return
|
|
11132
|
+
return React.createElement(React.Fragment, null);
|
|
11133
11133
|
}
|
|
11134
11134
|
|
|
11135
|
-
return
|
|
11135
|
+
return React.createElement("span", {
|
|
11136
11136
|
style: {
|
|
11137
11137
|
padding: '0 0 0 10px',
|
|
11138
11138
|
display: 'flex'
|
|
11139
11139
|
}
|
|
11140
|
-
}, buttonList, overlay &&
|
|
11140
|
+
}, buttonList, overlay && React.createElement(Dropdown, {
|
|
11141
11141
|
overlay: overlay,
|
|
11142
11142
|
trigger: ['click']
|
|
11143
|
-
},
|
|
11143
|
+
}, React.createElement(Button, {
|
|
11144
11144
|
className: "kts-invoice-operate-goods-list-columns-row-menu ant-btn-icon-only",
|
|
11145
11145
|
type: "link"
|
|
11146
|
-
},
|
|
11146
|
+
}, React.createElement(Icon$1, {
|
|
11147
11147
|
component: SvgSpot
|
|
11148
11148
|
}))));
|
|
11149
11149
|
});
|
|
@@ -11157,9 +11157,9 @@ var TitleText = (function (props) {
|
|
|
11157
11157
|
return !!e.required;
|
|
11158
11158
|
})) || props.required;
|
|
11159
11159
|
}, [rules, props.required]);
|
|
11160
|
-
return
|
|
11160
|
+
return React.createElement(React.Fragment, null, required ? React.createElement(Text$2, {
|
|
11161
11161
|
type: "danger"
|
|
11162
|
-
}, "*") :
|
|
11162
|
+
}, "*") : React.createElement(React.Fragment, null), children);
|
|
11163
11163
|
});
|
|
11164
11164
|
|
|
11165
11165
|
var css_248z$7 = ".kts-invoice-operate-goods-list-itemName-input {\n display: flex;\n flex: 1;\n padding-left: 10px;\n height: 31px;\n}\n.kts-invoice-operate-goods-list-itemName-input .ktsAntX-select {\n width: 100%;\n}\n.kts-invoice-operate-goods-list-itemName-input .ktsAntX-select .ktsAntX-select-selector {\n height: 100%;\n}\n";
|
|
@@ -11350,14 +11350,14 @@ function ItemNameInput(props) {
|
|
|
11350
11350
|
React.useEffect(function () {
|
|
11351
11351
|
setValue(props.value);
|
|
11352
11352
|
}, [props.value]);
|
|
11353
|
-
return
|
|
11353
|
+
return React.createElement("div", {
|
|
11354
11354
|
className: 'kts-invoice-operate-goods-list-itemName-input'
|
|
11355
|
-
}, props.shorthand &&
|
|
11355
|
+
}, props.shorthand && React.createElement("span", {
|
|
11356
11356
|
style: {
|
|
11357
11357
|
alignSelf: 'center',
|
|
11358
11358
|
fontSize: 12
|
|
11359
11359
|
}
|
|
11360
|
-
}, "*", props.shorthand, "*"),
|
|
11360
|
+
}, "*", props.shorthand, "*"), React.createElement(AutoComplete$1, {
|
|
11361
11361
|
onSearch: onSearch,
|
|
11362
11362
|
value: props.value,
|
|
11363
11363
|
options: options.map(function (e) {
|
|
@@ -11367,7 +11367,7 @@ function ItemNameInput(props) {
|
|
|
11367
11367
|
};
|
|
11368
11368
|
}),
|
|
11369
11369
|
onSelect: onChangeAutoComplete
|
|
11370
|
-
},
|
|
11370
|
+
}, React.createElement(Input, {
|
|
11371
11371
|
style: {
|
|
11372
11372
|
height: '100%',
|
|
11373
11373
|
border: 'none'
|
|
@@ -11476,9 +11476,9 @@ function ItemCodeInput(props) {
|
|
|
11476
11476
|
return _ref2.apply(this, arguments);
|
|
11477
11477
|
};
|
|
11478
11478
|
}(), [options, controller]);
|
|
11479
|
-
return
|
|
11479
|
+
return React.createElement("div", {
|
|
11480
11480
|
className: 'kts-invoice-operate-goods-list-itemCode-input'
|
|
11481
|
-
},
|
|
11481
|
+
}, React.createElement(AutoComplete$1, {
|
|
11482
11482
|
onSearch: onSearch,
|
|
11483
11483
|
value: props.value,
|
|
11484
11484
|
options: options.map(function (e) {
|
|
@@ -11487,7 +11487,7 @@ function ItemCodeInput(props) {
|
|
|
11487
11487
|
};
|
|
11488
11488
|
}),
|
|
11489
11489
|
onSelect: onChangeAutoComplete
|
|
11490
|
-
},
|
|
11490
|
+
}, React.createElement(Input, {
|
|
11491
11491
|
style: {
|
|
11492
11492
|
height: '100%',
|
|
11493
11493
|
border: 'none'
|
|
@@ -12668,7 +12668,7 @@ function Drag$1(props) {
|
|
|
12668
12668
|
var currentGood = controller.state.goodsListState.goodsList.filter(function (e) {
|
|
12669
12669
|
return e.$index === record.$index;
|
|
12670
12670
|
})[0];
|
|
12671
|
-
mounting(
|
|
12671
|
+
mounting(React.createElement(DragDiv, _objectSpread2({}, currentGood)));
|
|
12672
12672
|
rowList.forEach(function (e) {
|
|
12673
12673
|
e.addEventListener('mousemove', onMousemove);
|
|
12674
12674
|
});
|
|
@@ -12829,7 +12829,7 @@ function Drag$1(props) {
|
|
|
12829
12829
|
|
|
12830
12830
|
|
|
12831
12831
|
function insert() {
|
|
12832
|
-
mounting(
|
|
12832
|
+
mounting(React.createElement(React.Fragment, null));
|
|
12833
12833
|
controller.run( /*#__PURE__*/function () {
|
|
12834
12834
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(s) {
|
|
12835
12835
|
var _s$goodsListState$dra, container, current, site, goodsList, goodsMap, _currentGood, currentIndex, moveGoods;
|
|
@@ -12908,7 +12908,7 @@ function Drag$1(props) {
|
|
|
12908
12908
|
}
|
|
12909
12909
|
}, [controller, record, disabled]);
|
|
12910
12910
|
var renderButton = React.useMemo(function () {
|
|
12911
|
-
return
|
|
12911
|
+
return React.createElement(Button, {
|
|
12912
12912
|
type: 'link',
|
|
12913
12913
|
style: {
|
|
12914
12914
|
padding: 0
|
|
@@ -12919,13 +12919,13 @@ function Drag$1(props) {
|
|
|
12919
12919
|
},
|
|
12920
12920
|
className: "kts-invoice-operate-goods-list-itemName-drag",
|
|
12921
12921
|
onMouseOver: controller.saveEditGood
|
|
12922
|
-
},
|
|
12922
|
+
}, React.createElement(Icon, {
|
|
12923
12923
|
component: SvgI001
|
|
12924
12924
|
}));
|
|
12925
12925
|
}, [onMouseDown, controller]);
|
|
12926
12926
|
|
|
12927
12927
|
if (disabled) {
|
|
12928
|
-
return
|
|
12928
|
+
return React.createElement(Popover, {
|
|
12929
12929
|
content: '您还有未编辑完成的商品',
|
|
12930
12930
|
trigger: 'focus'
|
|
12931
12931
|
}, renderButton);
|
|
@@ -12965,13 +12965,13 @@ function DragDiv(props) {
|
|
|
12965
12965
|
window.removeEventListener('mousemove', onMousemove);
|
|
12966
12966
|
};
|
|
12967
12967
|
});
|
|
12968
|
-
return
|
|
12968
|
+
return React.createElement("div", {
|
|
12969
12969
|
className: "kts-invoice-operate-goods-list-itemName-drag-div",
|
|
12970
12970
|
style: {
|
|
12971
12971
|
top: y,
|
|
12972
12972
|
left: x
|
|
12973
12973
|
}
|
|
12974
|
-
},
|
|
12974
|
+
}, React.createElement("span", null, props.itemName), React.createElement("span", null, props.itemModelName), React.createElement("span", null, props.unit));
|
|
12975
12975
|
}
|
|
12976
12976
|
|
|
12977
12977
|
var useColumns = (function (form) {
|
|
@@ -13092,7 +13092,7 @@ var useColumns = (function (form) {
|
|
|
13092
13092
|
width: 40,
|
|
13093
13093
|
align: 'center',
|
|
13094
13094
|
render: function render(_, record) {
|
|
13095
|
-
return
|
|
13095
|
+
return React.createElement(Drag$1, {
|
|
13096
13096
|
record: record
|
|
13097
13097
|
});
|
|
13098
13098
|
}
|
|
@@ -13102,7 +13102,7 @@ var useColumns = (function (form) {
|
|
|
13102
13102
|
dataIndex: 'serialNo',
|
|
13103
13103
|
width: 50,
|
|
13104
13104
|
render: function render(e) {
|
|
13105
|
-
return
|
|
13105
|
+
return React.createElement("span", {
|
|
13106
13106
|
style: {
|
|
13107
13107
|
padding: '0 10px'
|
|
13108
13108
|
}
|
|
@@ -13114,13 +13114,13 @@ var useColumns = (function (form) {
|
|
|
13114
13114
|
width: 119,
|
|
13115
13115
|
render: function render(_, record) {
|
|
13116
13116
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13117
|
-
return
|
|
13117
|
+
return React.createElement(Form.Item, null, getFieldDecorator('itemCode', {
|
|
13118
13118
|
initialValue: editGood.itemCode,
|
|
13119
13119
|
rules: [].concat(_toConsumableArray(getReplenishRules('itemCode')), [{
|
|
13120
13120
|
pattern: /^.{1,19}$/,
|
|
13121
13121
|
message: '商品编码长度不能超过19位'
|
|
13122
13122
|
}])
|
|
13123
|
-
})(
|
|
13123
|
+
})(React.createElement(ItemCodeInput, {
|
|
13124
13124
|
onChange: function () {
|
|
13125
13125
|
var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
13126
13126
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
@@ -13146,7 +13146,7 @@ var useColumns = (function (form) {
|
|
|
13146
13146
|
}()
|
|
13147
13147
|
})));
|
|
13148
13148
|
} else {
|
|
13149
|
-
return
|
|
13149
|
+
return React.createElement("span", {
|
|
13150
13150
|
style: {
|
|
13151
13151
|
padding: '0 10px'
|
|
13152
13152
|
}
|
|
@@ -13154,13 +13154,13 @@ var useColumns = (function (form) {
|
|
|
13154
13154
|
}
|
|
13155
13155
|
}
|
|
13156
13156
|
}, {
|
|
13157
|
-
title:
|
|
13157
|
+
title: React.createElement(TitleText, {
|
|
13158
13158
|
required: true
|
|
13159
13159
|
}, "\u9879\u76EE\u540D\u79F0"),
|
|
13160
13160
|
key: 'itemName',
|
|
13161
13161
|
render: function render(_, record) {
|
|
13162
13162
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13163
|
-
return
|
|
13163
|
+
return React.createElement(Form.Item, null, React.createElement("div", {
|
|
13164
13164
|
style: {
|
|
13165
13165
|
display: 'flex'
|
|
13166
13166
|
}
|
|
@@ -13207,17 +13207,17 @@ var useColumns = (function (form) {
|
|
|
13207
13207
|
return validator;
|
|
13208
13208
|
}()
|
|
13209
13209
|
}])
|
|
13210
|
-
})(
|
|
13210
|
+
})(React.createElement(ItemNameInput, {
|
|
13211
13211
|
editGood: editGood,
|
|
13212
13212
|
shorthand: editGood.shorthand,
|
|
13213
13213
|
onChange: function onChange() {
|
|
13214
13214
|
onChangeItemName(controller, form, record);
|
|
13215
13215
|
}
|
|
13216
|
-
})),
|
|
13216
|
+
})), React.createElement("div", {
|
|
13217
13217
|
className: "kts-invoice-operate-goods-list-able-list-itemName-import"
|
|
13218
|
-
}, controller.getGoodsList && model !== 'readOnly' &&
|
|
13218
|
+
}, controller.getGoodsList && model !== 'readOnly' && React.createElement(Tooltip, {
|
|
13219
13219
|
title: "\u70B9\u51FB\u4ECE\u5546\u54C1\u7BA1\u7406\u4E2D\u6DFB\u52A0\u5546\u54C1\u4FE1\u606F"
|
|
13220
|
-
},
|
|
13220
|
+
}, React.createElement(Button, {
|
|
13221
13221
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
13222
13222
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(s) {
|
|
13223
13223
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
@@ -13242,7 +13242,7 @@ var useColumns = (function (form) {
|
|
|
13242
13242
|
icon: "plus-circle"
|
|
13243
13243
|
})))));
|
|
13244
13244
|
} else {
|
|
13245
|
-
return
|
|
13245
|
+
return React.createElement(MyItemNameDiv, {
|
|
13246
13246
|
valueT: formatSearch(getItemNameWithShorthand({
|
|
13247
13247
|
shorthand: record.shorthand,
|
|
13248
13248
|
full: record.itemNameSelf || ''
|
|
@@ -13256,17 +13256,17 @@ var useColumns = (function (form) {
|
|
|
13256
13256
|
}
|
|
13257
13257
|
}
|
|
13258
13258
|
}, {
|
|
13259
|
-
title:
|
|
13259
|
+
title: React.createElement(TitleText, {
|
|
13260
13260
|
rules: (_columnsReplenish$ite = columnsReplenish['itemModelName']) === null || _columnsReplenish$ite === void 0 ? void 0 : _columnsReplenish$ite.rules
|
|
13261
13261
|
}, "\u89C4\u683C\u578B\u53F7"),
|
|
13262
13262
|
key: 'itemModelName',
|
|
13263
13263
|
width: 119,
|
|
13264
13264
|
render: function render(_, record) {
|
|
13265
13265
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13266
|
-
return
|
|
13266
|
+
return React.createElement(Form.Item, null, getFieldDecorator('itemModelName', {
|
|
13267
13267
|
initialValue: isMyShow ? editGood.itemModelNameSelf : editGood.itemModelName,
|
|
13268
13268
|
rules: getReplenishRules('itemModelName')
|
|
13269
|
-
})(
|
|
13269
|
+
})(React.createElement(MyInput, {
|
|
13270
13270
|
onChange: function () {
|
|
13271
13271
|
var _onChange2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee5() {
|
|
13272
13272
|
var key, value;
|
|
@@ -13299,7 +13299,7 @@ var useColumns = (function (form) {
|
|
|
13299
13299
|
}()
|
|
13300
13300
|
})));
|
|
13301
13301
|
} else {
|
|
13302
|
-
return
|
|
13302
|
+
return React.createElement(MyItemNameDiv, {
|
|
13303
13303
|
valueT: formatSearch(record.itemModelNameSelf, searchValue),
|
|
13304
13304
|
valueF: formatSearch(record.itemModelName, searchValue),
|
|
13305
13305
|
isMyShow: isMyShow
|
|
@@ -13307,17 +13307,17 @@ var useColumns = (function (form) {
|
|
|
13307
13307
|
}
|
|
13308
13308
|
}
|
|
13309
13309
|
}, {
|
|
13310
|
-
title:
|
|
13310
|
+
title: React.createElement(TitleText, {
|
|
13311
13311
|
rules: (_columnsReplenish$uni = columnsReplenish['unit']) === null || _columnsReplenish$uni === void 0 ? void 0 : _columnsReplenish$uni.rules
|
|
13312
13312
|
}, "\u5355\u4F4D"),
|
|
13313
13313
|
key: 'unit',
|
|
13314
13314
|
width: 70,
|
|
13315
13315
|
render: function render(_, record) {
|
|
13316
13316
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13317
|
-
return
|
|
13317
|
+
return React.createElement(Form.Item, null, getFieldDecorator('unit', {
|
|
13318
13318
|
initialValue: editGood.unit,
|
|
13319
13319
|
rules: getReplenishRules('unit')
|
|
13320
|
-
})(
|
|
13320
|
+
})(React.createElement(AutoComplete$2, {
|
|
13321
13321
|
style: {
|
|
13322
13322
|
width: '100%'
|
|
13323
13323
|
},
|
|
@@ -13352,7 +13352,7 @@ var useColumns = (function (form) {
|
|
|
13352
13352
|
}()
|
|
13353
13353
|
})));
|
|
13354
13354
|
} else {
|
|
13355
|
-
return
|
|
13355
|
+
return React.createElement("span", {
|
|
13356
13356
|
style: {
|
|
13357
13357
|
padding: '0 10px'
|
|
13358
13358
|
}
|
|
@@ -13360,7 +13360,7 @@ var useColumns = (function (form) {
|
|
|
13360
13360
|
}
|
|
13361
13361
|
}
|
|
13362
13362
|
}, {
|
|
13363
|
-
title:
|
|
13363
|
+
title: React.createElement(TitleText, {
|
|
13364
13364
|
rules: (_columnsReplenish$qua = columnsReplenish['quantity']) === null || _columnsReplenish$qua === void 0 ? void 0 : _columnsReplenish$qua.rules
|
|
13365
13365
|
}, "\u6570\u91CF"),
|
|
13366
13366
|
dataIndex: 'quantity',
|
|
@@ -13369,7 +13369,7 @@ var useColumns = (function (form) {
|
|
|
13369
13369
|
width: 149,
|
|
13370
13370
|
render: function render(value, record) {
|
|
13371
13371
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13372
|
-
return
|
|
13372
|
+
return React.createElement(Form.Item, null, getFieldDecorator('quantity', {
|
|
13373
13373
|
initialValue: nonScientificNotation(editGood.quantity),
|
|
13374
13374
|
getValueFromEvent: onNumberValueChange,
|
|
13375
13375
|
rules: [].concat(_toConsumableArray(getReplenishRules('quantity')), [{
|
|
@@ -13415,7 +13415,7 @@ var useColumns = (function (form) {
|
|
|
13415
13415
|
return validator;
|
|
13416
13416
|
}()
|
|
13417
13417
|
}])
|
|
13418
|
-
})(
|
|
13418
|
+
})(React.createElement(MyInput, {
|
|
13419
13419
|
style: {
|
|
13420
13420
|
textAlign: 'right'
|
|
13421
13421
|
},
|
|
@@ -13447,7 +13447,7 @@ var useColumns = (function (form) {
|
|
|
13447
13447
|
}()
|
|
13448
13448
|
})));
|
|
13449
13449
|
} else {
|
|
13450
|
-
return
|
|
13450
|
+
return React.createElement("span", {
|
|
13451
13451
|
style: {
|
|
13452
13452
|
padding: '0 10px'
|
|
13453
13453
|
}
|
|
@@ -13455,7 +13455,7 @@ var useColumns = (function (form) {
|
|
|
13455
13455
|
}
|
|
13456
13456
|
}
|
|
13457
13457
|
}, {
|
|
13458
|
-
title:
|
|
13458
|
+
title: React.createElement(TitleText, {
|
|
13459
13459
|
rules: (_columnsReplenish$pri = columnsReplenish['priceIncludeTax']) === null || _columnsReplenish$pri === void 0 ? void 0 : _columnsReplenish$pri.rules
|
|
13460
13460
|
}, "\u5355\u4EF7(\u542B\u7A0E)"),
|
|
13461
13461
|
dataIndex: 'priceIncludeTax',
|
|
@@ -13464,7 +13464,7 @@ var useColumns = (function (form) {
|
|
|
13464
13464
|
width: 149,
|
|
13465
13465
|
render: function render(value, record) {
|
|
13466
13466
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13467
|
-
return
|
|
13467
|
+
return React.createElement(Form.Item, null, getFieldDecorator('priceIncludeTax', {
|
|
13468
13468
|
initialValue: nonScientificNotation(editGood.priceIncludeTax),
|
|
13469
13469
|
getValueFromEvent: onNumberValueChange,
|
|
13470
13470
|
rules: [].concat(_toConsumableArray(getReplenishRules('priceIncludeTax')), [{
|
|
@@ -13510,7 +13510,7 @@ var useColumns = (function (form) {
|
|
|
13510
13510
|
return validator;
|
|
13511
13511
|
}()
|
|
13512
13512
|
}])
|
|
13513
|
-
})(
|
|
13513
|
+
})(React.createElement(MyInput, {
|
|
13514
13514
|
style: {
|
|
13515
13515
|
textAlign: 'right'
|
|
13516
13516
|
},
|
|
@@ -13522,7 +13522,7 @@ var useColumns = (function (form) {
|
|
|
13522
13522
|
}
|
|
13523
13523
|
})));
|
|
13524
13524
|
} else {
|
|
13525
|
-
return
|
|
13525
|
+
return React.createElement("span", {
|
|
13526
13526
|
style: {
|
|
13527
13527
|
padding: '0 10px'
|
|
13528
13528
|
}
|
|
@@ -13530,7 +13530,7 @@ var useColumns = (function (form) {
|
|
|
13530
13530
|
}
|
|
13531
13531
|
}
|
|
13532
13532
|
}, {
|
|
13533
|
-
title:
|
|
13533
|
+
title: React.createElement(TitleText, {
|
|
13534
13534
|
rules: (_columnsReplenish$pri2 = columnsReplenish['priceExcludeTax']) === null || _columnsReplenish$pri2 === void 0 ? void 0 : _columnsReplenish$pri2.rules
|
|
13535
13535
|
}, "\u5355\u4EF7(\u4E0D\u542B\u7A0E)"),
|
|
13536
13536
|
dataIndex: 'priceExcludeTax',
|
|
@@ -13539,7 +13539,7 @@ var useColumns = (function (form) {
|
|
|
13539
13539
|
width: 149,
|
|
13540
13540
|
render: function render(value, record) {
|
|
13541
13541
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13542
|
-
return
|
|
13542
|
+
return React.createElement(Form.Item, null, getFieldDecorator('priceExcludeTax', {
|
|
13543
13543
|
initialValue: nonScientificNotation(editGood.priceExcludeTax),
|
|
13544
13544
|
getValueFromEvent: onNumberValueChange,
|
|
13545
13545
|
rules: [].concat(_toConsumableArray(getReplenishRules('priceExcludeTax')), [{
|
|
@@ -13585,7 +13585,7 @@ var useColumns = (function (form) {
|
|
|
13585
13585
|
return validator;
|
|
13586
13586
|
}()
|
|
13587
13587
|
}])
|
|
13588
|
-
})(
|
|
13588
|
+
})(React.createElement(MyInput, {
|
|
13589
13589
|
style: {
|
|
13590
13590
|
textAlign: 'right'
|
|
13591
13591
|
},
|
|
@@ -13597,7 +13597,7 @@ var useColumns = (function (form) {
|
|
|
13597
13597
|
}
|
|
13598
13598
|
})));
|
|
13599
13599
|
} else {
|
|
13600
|
-
return
|
|
13600
|
+
return React.createElement("span", {
|
|
13601
13601
|
style: {
|
|
13602
13602
|
padding: '0 10px'
|
|
13603
13603
|
}
|
|
@@ -13605,7 +13605,7 @@ var useColumns = (function (form) {
|
|
|
13605
13605
|
}
|
|
13606
13606
|
}
|
|
13607
13607
|
}, {
|
|
13608
|
-
title:
|
|
13608
|
+
title: React.createElement(TitleText, {
|
|
13609
13609
|
required: true
|
|
13610
13610
|
}, "\u91D1\u989D(\u542B\u7A0E)"),
|
|
13611
13611
|
dataIndex: 'lineAmountIncludeTax',
|
|
@@ -13614,7 +13614,7 @@ var useColumns = (function (form) {
|
|
|
13614
13614
|
align: 'right',
|
|
13615
13615
|
render: function render(value, record) {
|
|
13616
13616
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13617
|
-
return
|
|
13617
|
+
return React.createElement(Form.Item, null, getFieldDecorator('lineAmountIncludeTax', {
|
|
13618
13618
|
initialValue: editGood.lineAmountIncludeTax,
|
|
13619
13619
|
getValueFromEvent: onNumberValueChange,
|
|
13620
13620
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountIncludeTax')), [{
|
|
@@ -13674,7 +13674,7 @@ var useColumns = (function (form) {
|
|
|
13674
13674
|
return validator;
|
|
13675
13675
|
}()
|
|
13676
13676
|
}])
|
|
13677
|
-
})(
|
|
13677
|
+
})(React.createElement(MyInput, {
|
|
13678
13678
|
style: {
|
|
13679
13679
|
textAlign: 'right'
|
|
13680
13680
|
},
|
|
@@ -13685,7 +13685,7 @@ var useColumns = (function (form) {
|
|
|
13685
13685
|
}
|
|
13686
13686
|
})));
|
|
13687
13687
|
} else {
|
|
13688
|
-
return
|
|
13688
|
+
return React.createElement("span", {
|
|
13689
13689
|
style: {
|
|
13690
13690
|
padding: '0 10px'
|
|
13691
13691
|
}
|
|
@@ -13693,7 +13693,7 @@ var useColumns = (function (form) {
|
|
|
13693
13693
|
}
|
|
13694
13694
|
}
|
|
13695
13695
|
}, {
|
|
13696
|
-
title:
|
|
13696
|
+
title: React.createElement(TitleText, {
|
|
13697
13697
|
required: true
|
|
13698
13698
|
}, "\u91D1\u989D(\u4E0D\u542B\u7A0E)"),
|
|
13699
13699
|
dataIndex: 'lineAmountExcludeTax',
|
|
@@ -13702,7 +13702,7 @@ var useColumns = (function (form) {
|
|
|
13702
13702
|
width: 119,
|
|
13703
13703
|
render: function render(value, record) {
|
|
13704
13704
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13705
|
-
return
|
|
13705
|
+
return React.createElement(Form.Item, null, getFieldDecorator('lineAmountExcludeTax', {
|
|
13706
13706
|
initialValue: editGood.lineAmountExcludeTax,
|
|
13707
13707
|
getValueFromEvent: onNumberValueChange,
|
|
13708
13708
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountExcludeTax')), [{
|
|
@@ -13737,7 +13737,7 @@ var useColumns = (function (form) {
|
|
|
13737
13737
|
return validator;
|
|
13738
13738
|
}()
|
|
13739
13739
|
}])
|
|
13740
|
-
})(
|
|
13740
|
+
})(React.createElement(MyInput, {
|
|
13741
13741
|
style: {
|
|
13742
13742
|
textAlign: 'right'
|
|
13743
13743
|
},
|
|
@@ -13748,7 +13748,7 @@ var useColumns = (function (form) {
|
|
|
13748
13748
|
}
|
|
13749
13749
|
})));
|
|
13750
13750
|
} else {
|
|
13751
|
-
return
|
|
13751
|
+
return React.createElement("span", {
|
|
13752
13752
|
style: {
|
|
13753
13753
|
padding: '0 10px'
|
|
13754
13754
|
}
|
|
@@ -13756,7 +13756,7 @@ var useColumns = (function (form) {
|
|
|
13756
13756
|
}
|
|
13757
13757
|
}
|
|
13758
13758
|
}, {
|
|
13759
|
-
title:
|
|
13759
|
+
title: React.createElement(TitleText, {
|
|
13760
13760
|
required: true
|
|
13761
13761
|
}, "\u7A0E\u7387"),
|
|
13762
13762
|
dataIndex: 'taxRate',
|
|
@@ -13765,7 +13765,7 @@ var useColumns = (function (form) {
|
|
|
13765
13765
|
width: 75,
|
|
13766
13766
|
render: function render(value, record) {
|
|
13767
13767
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
13768
|
-
return
|
|
13768
|
+
return React.createElement(Form.Item, null, getFieldDecorator('taxRate', {
|
|
13769
13769
|
initialValue: editGood.taxRate,
|
|
13770
13770
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxRate')), [{
|
|
13771
13771
|
required: true,
|
|
@@ -13774,7 +13774,7 @@ var useColumns = (function (form) {
|
|
|
13774
13774
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
13775
13775
|
message: '请选择正确税率'
|
|
13776
13776
|
}])
|
|
13777
|
-
})(
|
|
13777
|
+
})(React.createElement(Select, {
|
|
13778
13778
|
className: "kts-invoice-operate-goods-list-table-tax-rate",
|
|
13779
13779
|
dropdownMenuStyle: {
|
|
13780
13780
|
textAlign: "right"
|
|
@@ -13788,13 +13788,13 @@ var useColumns = (function (form) {
|
|
|
13788
13788
|
onChangeTaxRate(controller, form, record);
|
|
13789
13789
|
}
|
|
13790
13790
|
}, taxRateList.map(function (e, i) {
|
|
13791
|
-
return
|
|
13791
|
+
return React.createElement(Select.Option, {
|
|
13792
13792
|
key: i,
|
|
13793
13793
|
value: e
|
|
13794
13794
|
}, e, "%");
|
|
13795
13795
|
}))));
|
|
13796
13796
|
} else {
|
|
13797
|
-
return
|
|
13797
|
+
return React.createElement("span", {
|
|
13798
13798
|
style: {
|
|
13799
13799
|
padding: '0 10px'
|
|
13800
13800
|
}
|
|
@@ -13802,7 +13802,7 @@ var useColumns = (function (form) {
|
|
|
13802
13802
|
}
|
|
13803
13803
|
}
|
|
13804
13804
|
}, {
|
|
13805
|
-
title:
|
|
13805
|
+
title: React.createElement(TitleText, {
|
|
13806
13806
|
rules: (_columnsReplenish$tax = columnsReplenish['taxAmount']) === null || _columnsReplenish$tax === void 0 ? void 0 : _columnsReplenish$tax.rules
|
|
13807
13807
|
}, "\u7A0E\u989D"),
|
|
13808
13808
|
dataIndex: 'taxAmount',
|
|
@@ -13814,11 +13814,11 @@ var useColumns = (function (form) {
|
|
|
13814
13814
|
return getFieldDecorator('taxAmount', {
|
|
13815
13815
|
initialValue: editGood.taxAmount,
|
|
13816
13816
|
rules: getReplenishRules('taxAmount')
|
|
13817
|
-
})(
|
|
13817
|
+
})(React.createElement(MyDiv, {
|
|
13818
13818
|
loading: isCipher(changeField, 'taxAmount')
|
|
13819
13819
|
}));
|
|
13820
13820
|
} else {
|
|
13821
|
-
return
|
|
13821
|
+
return React.createElement("span", {
|
|
13822
13822
|
style: {
|
|
13823
13823
|
padding: '0 10px'
|
|
13824
13824
|
}
|
|
@@ -13833,42 +13833,42 @@ var useColumns = (function (form) {
|
|
|
13833
13833
|
render: function render(e) {
|
|
13834
13834
|
switch (e) {
|
|
13835
13835
|
case LineAttributeType$1.折扣行:
|
|
13836
|
-
return
|
|
13836
|
+
return React.createElement("span", {
|
|
13837
13837
|
style: {
|
|
13838
13838
|
padding: '0 10px'
|
|
13839
13839
|
}
|
|
13840
13840
|
}, "\u6298\u6263\u884C");
|
|
13841
13841
|
|
|
13842
13842
|
case LineAttributeType$1.被折扣行:
|
|
13843
|
-
return
|
|
13843
|
+
return React.createElement("span", {
|
|
13844
13844
|
style: {
|
|
13845
13845
|
padding: '0 10px'
|
|
13846
13846
|
}
|
|
13847
13847
|
}, "\u88AB\u6298\u6263\u884C");
|
|
13848
13848
|
|
|
13849
13849
|
case LineAttributeType$1.赠品行:
|
|
13850
|
-
return
|
|
13850
|
+
return React.createElement("span", {
|
|
13851
13851
|
style: {
|
|
13852
13852
|
padding: '0 10px'
|
|
13853
13853
|
}
|
|
13854
13854
|
}, "\u8D60\u54C1\u884C");
|
|
13855
13855
|
|
|
13856
13856
|
case LineAttributeType$1.折让行:
|
|
13857
|
-
return
|
|
13857
|
+
return React.createElement("span", {
|
|
13858
13858
|
style: {
|
|
13859
13859
|
padding: '0 10px'
|
|
13860
13860
|
}
|
|
13861
13861
|
}, "\u6298\u8BA9\u884C");
|
|
13862
13862
|
|
|
13863
13863
|
case LineAttributeType$1.正常:
|
|
13864
|
-
return
|
|
13864
|
+
return React.createElement("span", {
|
|
13865
13865
|
style: {
|
|
13866
13866
|
padding: '0 10px'
|
|
13867
13867
|
}
|
|
13868
13868
|
}, "\u6B63\u5E38\u884C");
|
|
13869
13869
|
|
|
13870
13870
|
default:
|
|
13871
|
-
return
|
|
13871
|
+
return React.createElement("span", {
|
|
13872
13872
|
style: {
|
|
13873
13873
|
padding: '0 10px'
|
|
13874
13874
|
}
|
|
@@ -13882,7 +13882,7 @@ var useColumns = (function (form) {
|
|
|
13882
13882
|
width: 130,
|
|
13883
13883
|
fixed: 'right',
|
|
13884
13884
|
render: function render(_value, record) {
|
|
13885
|
-
return
|
|
13885
|
+
return React.createElement(RowMenu, {
|
|
13886
13886
|
key: record.lineAttribute,
|
|
13887
13887
|
goods: record
|
|
13888
13888
|
});
|
|
@@ -13937,13 +13937,13 @@ var MyInput = /*#__PURE__*/function (_React$Component) {
|
|
|
13937
13937
|
key: "render",
|
|
13938
13938
|
value: function render() {
|
|
13939
13939
|
if (this.props.loading) {
|
|
13940
|
-
return
|
|
13940
|
+
return React.createElement(Spin, {
|
|
13941
13941
|
size: "small"
|
|
13942
|
-
},
|
|
13942
|
+
}, React.createElement(Input, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
|
13943
13943
|
autoComplete: "off"
|
|
13944
13944
|
})));
|
|
13945
13945
|
} else {
|
|
13946
|
-
return
|
|
13946
|
+
return React.createElement(Input, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
|
13947
13947
|
autoComplete: "off"
|
|
13948
13948
|
}));
|
|
13949
13949
|
}
|
|
@@ -13968,15 +13968,15 @@ var MyDiv = /*#__PURE__*/function (_React$Component2) {
|
|
|
13968
13968
|
key: "render",
|
|
13969
13969
|
value: function render() {
|
|
13970
13970
|
if (this.props.loading) {
|
|
13971
|
-
return
|
|
13971
|
+
return React.createElement(Spin, {
|
|
13972
13972
|
size: "small"
|
|
13973
|
-
},
|
|
13973
|
+
}, React.createElement("span", {
|
|
13974
13974
|
style: {
|
|
13975
13975
|
padding: '0 10px'
|
|
13976
13976
|
}
|
|
13977
13977
|
}, this.props.value));
|
|
13978
13978
|
} else {
|
|
13979
|
-
return
|
|
13979
|
+
return React.createElement("span", {
|
|
13980
13980
|
style: {
|
|
13981
13981
|
padding: '0 10px'
|
|
13982
13982
|
}
|
|
@@ -14009,9 +14009,9 @@ var MyItemNameDiv = /*#__PURE__*/function (_React$Component3) {
|
|
|
14009
14009
|
|
|
14010
14010
|
if (isMyShow) {
|
|
14011
14011
|
if (valueT) {
|
|
14012
|
-
return
|
|
14012
|
+
return React.createElement(Tooltip, {
|
|
14013
14013
|
title: valueT
|
|
14014
|
-
},
|
|
14014
|
+
}, React.createElement("span", {
|
|
14015
14015
|
style: {
|
|
14016
14016
|
padding: '0 10px',
|
|
14017
14017
|
color: '#0074ff',
|
|
@@ -14022,9 +14022,9 @@ var MyItemNameDiv = /*#__PURE__*/function (_React$Component3) {
|
|
|
14022
14022
|
}
|
|
14023
14023
|
}, valueT));
|
|
14024
14024
|
} else {
|
|
14025
|
-
return
|
|
14025
|
+
return React.createElement(Tooltip, {
|
|
14026
14026
|
title: valueF
|
|
14027
|
-
},
|
|
14027
|
+
}, React.createElement("span", {
|
|
14028
14028
|
style: {
|
|
14029
14029
|
padding: '0 10px',
|
|
14030
14030
|
display: 'block',
|
|
@@ -14036,9 +14036,9 @@ var MyItemNameDiv = /*#__PURE__*/function (_React$Component3) {
|
|
|
14036
14036
|
}
|
|
14037
14037
|
} else {
|
|
14038
14038
|
if (valueF) {
|
|
14039
|
-
return
|
|
14039
|
+
return React.createElement(Tooltip, {
|
|
14040
14040
|
title: valueF
|
|
14041
|
-
},
|
|
14041
|
+
}, React.createElement("span", {
|
|
14042
14042
|
style: {
|
|
14043
14043
|
padding: '0 10px',
|
|
14044
14044
|
display: 'block',
|
|
@@ -14048,9 +14048,9 @@ var MyItemNameDiv = /*#__PURE__*/function (_React$Component3) {
|
|
|
14048
14048
|
}
|
|
14049
14049
|
}, valueF));
|
|
14050
14050
|
} else {
|
|
14051
|
-
return
|
|
14051
|
+
return React.createElement(Tooltip, {
|
|
14052
14052
|
title: valueT
|
|
14053
|
-
},
|
|
14053
|
+
}, React.createElement("span", {
|
|
14054
14054
|
style: {
|
|
14055
14055
|
padding: '0 10px',
|
|
14056
14056
|
color: '#0074ff',
|
|
@@ -14077,7 +14077,7 @@ function formatSearch(value, search) {
|
|
|
14077
14077
|
return dcoding(e);
|
|
14078
14078
|
}).join("<span class=\"kts-invoice-operate-goods-list-table-search-protrude\" >".concat(search, "</span>"));
|
|
14079
14079
|
|
|
14080
|
-
return
|
|
14080
|
+
return React.createElement("span", {
|
|
14081
14081
|
dangerouslySetInnerHTML: {
|
|
14082
14082
|
__html: __html
|
|
14083
14083
|
}
|
|
@@ -14509,7 +14509,7 @@ var useRowSelection = (function () {
|
|
|
14509
14509
|
};
|
|
14510
14510
|
}(), [controller]);
|
|
14511
14511
|
var columnTitle = React.useMemo(function () {
|
|
14512
|
-
return
|
|
14512
|
+
return React.createElement(Checkbox, {
|
|
14513
14513
|
onChange: onClickSelectAll,
|
|
14514
14514
|
indeterminate: indeterminate,
|
|
14515
14515
|
checked: isAll
|
|
@@ -14710,16 +14710,16 @@ var useEndowCodeButton = (function () {
|
|
|
14710
14710
|
}, _callee2);
|
|
14711
14711
|
})), [controller]);
|
|
14712
14712
|
var menuItem = React.useMemo(function () {
|
|
14713
|
-
if (model === 'readOnly') return
|
|
14714
|
-
return
|
|
14713
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
14714
|
+
return React.createElement(Menu.Item, {
|
|
14715
14715
|
key: "2",
|
|
14716
14716
|
onClick: onClick,
|
|
14717
14717
|
disabled: disabled
|
|
14718
14718
|
}, "\u6279\u91CF\u8D4B\u7801");
|
|
14719
14719
|
}, [onClick, disabled, model]);
|
|
14720
14720
|
var button = React.useMemo(function () {
|
|
14721
|
-
if (model === 'readOnly') return
|
|
14722
|
-
return
|
|
14721
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
14722
|
+
return React.createElement(Button, {
|
|
14723
14723
|
onClick: onClick,
|
|
14724
14724
|
disabled: disabled
|
|
14725
14725
|
}, "\u6279\u91CF\u8D4B\u7801");
|
|
@@ -14785,19 +14785,19 @@ var useDelRowButton = (function () {
|
|
|
14785
14785
|
}())();
|
|
14786
14786
|
}, [controller]);
|
|
14787
14787
|
var menuItem = React.useMemo(function () {
|
|
14788
|
-
if (model === 'prefab') return
|
|
14789
|
-
if (model === 'readOnly') return
|
|
14790
|
-
return
|
|
14788
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
14789
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
14790
|
+
return React.createElement(Menu.Item, {
|
|
14791
14791
|
key: "1",
|
|
14792
14792
|
onClick: onClick,
|
|
14793
14793
|
disabled: disabled
|
|
14794
14794
|
}, " \u5220\u9664\u884C ");
|
|
14795
14795
|
}, [model, onClick, disabled]);
|
|
14796
14796
|
var button = React.useMemo(function () {
|
|
14797
|
-
if (isRemRow === false) return
|
|
14798
|
-
if (model === 'prefab') return
|
|
14799
|
-
if (model === 'readOnly') return
|
|
14800
|
-
return
|
|
14797
|
+
if (isRemRow === false) return React.createElement(React.Fragment, null);
|
|
14798
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
14799
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
14800
|
+
return React.createElement(Button, {
|
|
14801
14801
|
onClick: onClick,
|
|
14802
14802
|
disabled: disabled
|
|
14803
14803
|
}, "\u6279\u91CF\u5220\u9664");
|
|
@@ -14992,14 +14992,14 @@ var useAddDiscountRowButton = (function () {
|
|
|
14992
14992
|
}, _callee3);
|
|
14993
14993
|
})), [controller]);
|
|
14994
14994
|
var menuItem = React.useMemo(function () {
|
|
14995
|
-
return model === 'prefab' ?
|
|
14995
|
+
return model === 'prefab' ? React.createElement(React.Fragment, null) : isAddDiscount !== false ? React.createElement(Menu.Item, {
|
|
14996
14996
|
key: "0",
|
|
14997
14997
|
onClick: onClick,
|
|
14998
14998
|
disabled: disabled
|
|
14999
14999
|
}, "\u6DFB\u52A0\u6298\u6263\u884C") : undefined;
|
|
15000
15000
|
}, [isAddDiscount, disabled, onClick]);
|
|
15001
15001
|
var drawer = React.useMemo(function () {
|
|
15002
|
-
return
|
|
15002
|
+
return React.createElement(Drawer, {
|
|
15003
15003
|
className: "kts-invoice-operate-goods-list-add-discount-row",
|
|
15004
15004
|
width: 540,
|
|
15005
15005
|
title: "\u6DFB\u52A0\u6298\u6263\u884C",
|
|
@@ -15007,7 +15007,7 @@ var useAddDiscountRowButton = (function () {
|
|
|
15007
15007
|
destroyOnClose: true,
|
|
15008
15008
|
onClose: onClose,
|
|
15009
15009
|
visible: visible
|
|
15010
|
-
},
|
|
15010
|
+
}, React.createElement(DrawerBody, null));
|
|
15011
15011
|
}, [visible, onClose]);
|
|
15012
15012
|
return {
|
|
15013
15013
|
menuItem: menuItem,
|
|
@@ -15124,13 +15124,13 @@ var DrawerBody = decorator(Form.create())(function (props) {
|
|
|
15124
15124
|
});
|
|
15125
15125
|
});
|
|
15126
15126
|
}, 300), [form, lineAmountSum]);
|
|
15127
|
-
return
|
|
15127
|
+
return React.createElement(React.Fragment, null, React.createElement("div", {
|
|
15128
15128
|
className: "add-discount-row-body"
|
|
15129
|
-
},
|
|
15129
|
+
}, React.createElement("p", null, "\u5F53\u524D\u9009\u62E9", React.createElement(Text$3, {
|
|
15130
15130
|
type: "danger"
|
|
15131
|
-
}, discountGoodIndex.length), "\u884C\u88AB\u6298\u6263\u5546\u54C1\u884C\uFF0C\u91D1\u989D\u5408\u8BA1\xA5",
|
|
15131
|
+
}, discountGoodIndex.length), "\u884C\u88AB\u6298\u6263\u5546\u54C1\u884C\uFF0C\u91D1\u989D\u5408\u8BA1\xA5", React.createElement(Text$3, {
|
|
15132
15132
|
type: "danger"
|
|
15133
|
-
}, lineAmountSum.toFixed(2))),
|
|
15133
|
+
}, lineAmountSum.toFixed(2))), React.createElement(Form.Item, {
|
|
15134
15134
|
label: "\u6298\u6263\u7387\uFF1A"
|
|
15135
15135
|
}, getFieldDecorator('discount', {
|
|
15136
15136
|
rules: [{
|
|
@@ -15160,11 +15160,11 @@ var DrawerBody = decorator(Form.create())(function (props) {
|
|
|
15160
15160
|
callback();
|
|
15161
15161
|
}
|
|
15162
15162
|
}]
|
|
15163
|
-
})(
|
|
15163
|
+
})(React.createElement(Input, {
|
|
15164
15164
|
placeholder: "\u8BF7\u8F93\u5165\u5927\u4E8E0\u5C0F\u4E8E100\u7684\u6570\u5B57",
|
|
15165
15165
|
suffix: "%",
|
|
15166
15166
|
onChange: onChangeDiscount
|
|
15167
|
-
}))),
|
|
15167
|
+
}))), React.createElement(Form.Item, {
|
|
15168
15168
|
label: "\u6298\u6263\u91D1\u989D\uFF1A"
|
|
15169
15169
|
}, getFieldDecorator('discolineAmountunt', {
|
|
15170
15170
|
rules: [{
|
|
@@ -15194,19 +15194,19 @@ var DrawerBody = decorator(Form.create())(function (props) {
|
|
|
15194
15194
|
callback();
|
|
15195
15195
|
}
|
|
15196
15196
|
}]
|
|
15197
|
-
})(
|
|
15197
|
+
})(React.createElement(Input, {
|
|
15198
15198
|
placeholder: "\u8BF7\u8F93\u5165\u5927\u4E8E0\u5C0F\u4E8E\u91D1\u989D\u5408\u8BA1\u7684\u6570\u5B57",
|
|
15199
15199
|
suffix: "\xA5",
|
|
15200
15200
|
onChange: onChangeDiscolineAmountunt
|
|
15201
|
-
})))),
|
|
15201
|
+
})))), React.createElement("div", {
|
|
15202
15202
|
className: "add-discount-row-footer"
|
|
15203
|
-
},
|
|
15203
|
+
}, React.createElement(Button, {
|
|
15204
15204
|
block: true,
|
|
15205
15205
|
style: {
|
|
15206
15206
|
marginBottom: 12
|
|
15207
15207
|
},
|
|
15208
15208
|
onClick: onClose
|
|
15209
|
-
}, "\u53D6\u6D88"),
|
|
15209
|
+
}, "\u53D6\u6D88"), React.createElement(Button, {
|
|
15210
15210
|
type: "primary",
|
|
15211
15211
|
block: true,
|
|
15212
15212
|
onClick: onClickSave
|
|
@@ -15303,13 +15303,13 @@ function useMergeDetails() {
|
|
|
15303
15303
|
}];
|
|
15304
15304
|
}, [selectedGoodIndex, onClickManual, onClickAuto]);
|
|
15305
15305
|
var button = React.useMemo(function () {
|
|
15306
|
-
if (!isMergeDetails) return
|
|
15307
|
-
return
|
|
15306
|
+
if (!isMergeDetails) return React.createElement(React.Fragment, null);
|
|
15307
|
+
return React.createElement(Dropdown$1, {
|
|
15308
15308
|
menu: {
|
|
15309
15309
|
items: items
|
|
15310
15310
|
},
|
|
15311
15311
|
trigger: ['click']
|
|
15312
|
-
},
|
|
15312
|
+
}, React.createElement(Button, null, "\u5408\u5E76\u660E\u7EC6"));
|
|
15313
15313
|
}, [selectedGoodIndex.length, isMergeDetails]);
|
|
15314
15314
|
return {
|
|
15315
15315
|
/** 按钮 */
|
|
@@ -15395,8 +15395,8 @@ function useMergeDiscount() {
|
|
|
15395
15395
|
}, _callee);
|
|
15396
15396
|
})), [controller]);
|
|
15397
15397
|
var button = React.useMemo(function () {
|
|
15398
|
-
if (!isMergeDiscount) return
|
|
15399
|
-
return
|
|
15398
|
+
if (!isMergeDiscount) return React.createElement(React.Fragment, null);
|
|
15399
|
+
return React.createElement(Button, {
|
|
15400
15400
|
onClick: onClick,
|
|
15401
15401
|
disabled: goodsList.length <= 1
|
|
15402
15402
|
}, "\u5408\u5E76\u6298\u6263");
|
|
@@ -15574,8 +15574,8 @@ function useSalesDiscount() {
|
|
|
15574
15574
|
}).length <= 0;
|
|
15575
15575
|
}, [goodsList]);
|
|
15576
15576
|
var button = React.useMemo(function () {
|
|
15577
|
-
if (!isSalesDiscount) return
|
|
15578
|
-
return
|
|
15577
|
+
if (!isSalesDiscount) return React.createElement(React.Fragment, null);
|
|
15578
|
+
return React.createElement(Button, {
|
|
15579
15579
|
onClick: onClick,
|
|
15580
15580
|
disabled: disabled
|
|
15581
15581
|
}, "\u9500\u552E\u6298\u8BA9");
|
|
@@ -15778,12 +15778,12 @@ function useSalesGifts() {
|
|
|
15778
15778
|
}, [selectedGoodIndex, onClickManual, onClickAuto]);
|
|
15779
15779
|
var button = React.useMemo(function () {
|
|
15780
15780
|
if (!isSalesGifts) return;
|
|
15781
|
-
return
|
|
15781
|
+
return React.createElement(Dropdown$1, {
|
|
15782
15782
|
menu: {
|
|
15783
15783
|
items: items
|
|
15784
15784
|
},
|
|
15785
15785
|
trigger: ['click']
|
|
15786
|
-
},
|
|
15786
|
+
}, React.createElement(Button, null, "\u9500\u552E\u8D60\u54C1"));
|
|
15787
15787
|
}, [items, isSalesGifts]);
|
|
15788
15788
|
return {
|
|
15789
15789
|
/** 按钮 */
|
|
@@ -15821,7 +15821,7 @@ var GoodsList = /*#__PURE__*/function (_React$Component) {
|
|
|
15821
15821
|
_createClass(GoodsList, [{
|
|
15822
15822
|
key: "render",
|
|
15823
15823
|
value: function render() {
|
|
15824
|
-
return
|
|
15824
|
+
return React.createElement(Main, _objectSpread2({}, this.props));
|
|
15825
15825
|
}
|
|
15826
15826
|
}]);
|
|
15827
15827
|
|
|
@@ -16023,22 +16023,22 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
16023
16023
|
};
|
|
16024
16024
|
}())();
|
|
16025
16025
|
}, [controller, props.isSwitchTax]);
|
|
16026
|
-
return
|
|
16026
|
+
return React.createElement("div", {
|
|
16027
16027
|
className: "kts-invoice-operate-goods-list",
|
|
16028
16028
|
onClick: function onClick(e) {
|
|
16029
16029
|
e.stopPropagation();
|
|
16030
16030
|
}
|
|
16031
|
-
},
|
|
16031
|
+
}, React.createElement("div", {
|
|
16032
16032
|
className: "kts-invoice-operate-goods-list-able"
|
|
16033
|
-
},
|
|
16033
|
+
}, React.createElement("div", {
|
|
16034
16034
|
className: "kts-invoice-operate-goods-list-able-list"
|
|
16035
|
-
},
|
|
16035
|
+
}, React.createElement(AddRowButton, null), endowCodeButton.button, delRowButton.button, mergeDetails.button, mergeDiscount.button, addDiscountRowButton.drawer, salesDiscount.button, salesGifts.button, React.createElement(Search, null)), React.createElement("div", {
|
|
16036
16036
|
className: "kts-invoice-operate-goods-list-able-extend"
|
|
16037
|
-
}, props.menuExpansion,
|
|
16037
|
+
}, props.menuExpansion, React.createElement(DescribeSwitch, null), React.createElement(TaxIncludedSwitch, null))), React.createElement("div", {
|
|
16038
16038
|
className: classNames('kts-invoice-operate-goods-list-table', {
|
|
16039
16039
|
'kts-invoice-operate-prefab': isprefab
|
|
16040
16040
|
})
|
|
16041
|
-
},
|
|
16041
|
+
}, React.createElement(TableVirtual, {
|
|
16042
16042
|
bordered: true,
|
|
16043
16043
|
size: "small",
|
|
16044
16044
|
rowKey: "$index",
|
|
@@ -16061,7 +16061,7 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
16061
16061
|
}
|
|
16062
16062
|
};
|
|
16063
16063
|
}
|
|
16064
|
-
})),
|
|
16064
|
+
})), React.createElement("div", null, React.createElement(Statistics, null)));
|
|
16065
16065
|
});
|
|
16066
16066
|
|
|
16067
16067
|
var css_248z$c = ".kts-invoice-operate-seller {\n display: flex;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message {\n flex: 1;\n display: flex;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .ktsAnt3x-descriptions-item-label {\n width: 179px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list {\n width: 100%;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-view {\n border: none;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-label {\n padding: 0 10px;\n font-size: 12px;\n background-color: #fff;\n line-height: 30px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-label::before {\n content: '*';\n position: relative;\n color: red;\n font-weight: bold;\n margin-right: 2px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-content {\n padding: 0;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input {\n box-shadow: none;\n border-color: #fff;\n border-radius: 0;\n padding: 0 10px;\n font-size: 12px;\n line-height: 30px;\n width: 100%;\n height: 30px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-content .ktsAnt3x-input:hover {\n border: 1 solid;\n border-color: #40a9ff;\n border-right-width: 1px !important;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input,\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input:hover {\n background-color: #fff;\n border: 1 solid;\n border-color: #f5222d;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-form-item-control {\n line-height: 0;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-message .kts-invoice-operate-seller-message-list .ktsAnt3x-form-explain {\n position: absolute;\n right: 5px;\n top: 6px;\n z-index: 10;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-remarks {\n border-left: 1px solid #dcdcdc;\n display: flex;\n flex: none;\n width: 458px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-remarks-value {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-remarks-value textarea {\n flex: 1;\n margin-bottom: 0;\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-title {\n flex: none;\n width: 30px;\n height: 100%;\n text-align: center;\n border-right: 1px solid #dcdcdc;\n display: table;\n padding: 0 5px;\n}\n.kts-invoice-operate-seller .kts-invoice-operate-seller-title label {\n display: table-cell;\n vertical-align: middle;\n}\n";
|
|
@@ -16086,7 +16086,7 @@ var Buyer = /*#__PURE__*/function (_React$Component) {
|
|
|
16086
16086
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
16087
16087
|
|
|
16088
16088
|
_this.render = function () {
|
|
16089
|
-
return
|
|
16089
|
+
return React.createElement(Main$1, _objectSpread2({}, _this.props));
|
|
16090
16090
|
};
|
|
16091
16091
|
|
|
16092
16092
|
return _this;
|
|
@@ -16117,7 +16117,7 @@ var Main$1 = decorator(Form.create())(function (props) {
|
|
|
16117
16117
|
return [{
|
|
16118
16118
|
id: 'sellerName',
|
|
16119
16119
|
label: '销售方名称',
|
|
16120
|
-
node:
|
|
16120
|
+
node: React.createElement(Input, {
|
|
16121
16121
|
readOnly: model === 'prefab',
|
|
16122
16122
|
size: "small"
|
|
16123
16123
|
}),
|
|
@@ -16130,7 +16130,7 @@ var Main$1 = decorator(Form.create())(function (props) {
|
|
|
16130
16130
|
}, {
|
|
16131
16131
|
id: 'sellerNo',
|
|
16132
16132
|
label: '销售方纳税人识别号',
|
|
16133
|
-
node:
|
|
16133
|
+
node: React.createElement(Input, {
|
|
16134
16134
|
readOnly: model === 'prefab',
|
|
16135
16135
|
size: "small"
|
|
16136
16136
|
}),
|
|
@@ -16143,7 +16143,7 @@ var Main$1 = decorator(Form.create())(function (props) {
|
|
|
16143
16143
|
}, {
|
|
16144
16144
|
id: 'sellerAddress',
|
|
16145
16145
|
label: '销售方地址及电话',
|
|
16146
|
-
node:
|
|
16146
|
+
node: React.createElement(Input, {
|
|
16147
16147
|
readOnly: model === 'prefab',
|
|
16148
16148
|
size: "small"
|
|
16149
16149
|
}),
|
|
@@ -16156,7 +16156,7 @@ var Main$1 = decorator(Form.create())(function (props) {
|
|
|
16156
16156
|
}, {
|
|
16157
16157
|
id: 'sellerBank',
|
|
16158
16158
|
label: '销售方开户行及账号',
|
|
16159
|
-
node:
|
|
16159
|
+
node: React.createElement(Input, {
|
|
16160
16160
|
readOnly: model === 'prefab',
|
|
16161
16161
|
size: "small"
|
|
16162
16162
|
}),
|
|
@@ -16182,31 +16182,31 @@ var Main$1 = decorator(Form.create())(function (props) {
|
|
|
16182
16182
|
return getFieldDecorator(e.id, e.options)(e.node);
|
|
16183
16183
|
}
|
|
16184
16184
|
}, [props.formRender]);
|
|
16185
|
-
return
|
|
16185
|
+
return React.createElement(Form, null, React.createElement("div", {
|
|
16186
16186
|
className: "kts-invoice-operate-seller"
|
|
16187
|
-
},
|
|
16187
|
+
}, React.createElement("div", {
|
|
16188
16188
|
className: "kts-invoice-operate-seller-message"
|
|
16189
|
-
},
|
|
16189
|
+
}, React.createElement("div", {
|
|
16190
16190
|
className: "kts-invoice-operate-seller-title"
|
|
16191
|
-
},
|
|
16191
|
+
}, React.createElement("label", null, "\u9500\u552E\u65B9")), React.createElement(Descriptions, {
|
|
16192
16192
|
className: "kts-invoice-operate-seller-message-list",
|
|
16193
16193
|
size: "small",
|
|
16194
16194
|
column: 1,
|
|
16195
16195
|
bordered: true
|
|
16196
16196
|
}, formItem.map(function (e, i) {
|
|
16197
|
-
return
|
|
16197
|
+
return React.createElement(Descriptions.Item, {
|
|
16198
16198
|
key: i,
|
|
16199
16199
|
label: e.label
|
|
16200
|
-
},
|
|
16201
|
-
}))),
|
|
16200
|
+
}, React.createElement(Form.Item, null, createFormItem(e)));
|
|
16201
|
+
}))), React.createElement("div", {
|
|
16202
16202
|
className: "kts-invoice-operate-seller-remarks"
|
|
16203
|
-
},
|
|
16203
|
+
}, React.createElement("div", {
|
|
16204
16204
|
className: "kts-invoice-operate-seller-title"
|
|
16205
|
-
},
|
|
16205
|
+
}, React.createElement("label", null, "\u5907\u6CE8")), React.createElement("div", {
|
|
16206
16206
|
className: "kts-invoice-operate-seller-remarks-value"
|
|
16207
16207
|
}, getFieldDecorator('remarks', {
|
|
16208
16208
|
initialValue: props.defaultsellerRemarks
|
|
16209
|
-
})(
|
|
16209
|
+
})(React.createElement(TextArea, null))))));
|
|
16210
16210
|
});
|
|
16211
16211
|
|
|
16212
16212
|
var ImportBuyerButton = (function () {
|
|
@@ -16233,7 +16233,7 @@ var ImportBuyerButton = (function () {
|
|
|
16233
16233
|
};
|
|
16234
16234
|
}())();
|
|
16235
16235
|
}, [controller]);
|
|
16236
|
-
return
|
|
16236
|
+
return React.createElement(React.Fragment, null, controller.getBuyerList && React.createElement(Button, {
|
|
16237
16237
|
type: "link",
|
|
16238
16238
|
icon: "plus-circle",
|
|
16239
16239
|
onClick: onClick
|
|
@@ -16272,29 +16272,29 @@ var BuyerNameInput = (function (props) {
|
|
|
16272
16272
|
var content = React.useMemo(function () {
|
|
16273
16273
|
var _dataSource$recent;
|
|
16274
16274
|
|
|
16275
|
-
return
|
|
16275
|
+
return React.createElement("div", {
|
|
16276
16276
|
className: 'kts-invoice-operate-buyer-name-content'
|
|
16277
|
-
}, loading ?
|
|
16277
|
+
}, loading ? React.createElement("div", {
|
|
16278
16278
|
style: {
|
|
16279
16279
|
textAlign: 'center'
|
|
16280
16280
|
}
|
|
16281
|
-
},
|
|
16281
|
+
}, React.createElement(Spin, null)) : React.createElement(React.Fragment, null, React.createElement("div", {
|
|
16282
16282
|
className: 'kts-invoice-operate-buyer-name-content-block',
|
|
16283
16283
|
style: {
|
|
16284
16284
|
padding: '14px 10px'
|
|
16285
16285
|
}
|
|
16286
|
-
},
|
|
16286
|
+
}, React.createElement("label", {
|
|
16287
16287
|
style: {
|
|
16288
16288
|
marginBottom: 10
|
|
16289
16289
|
}
|
|
16290
|
-
}, "\u6700\u8FD1\u5F00\u5177"),
|
|
16290
|
+
}, "\u6700\u8FD1\u5F00\u5177"), React.createElement("ul", {
|
|
16291
16291
|
className: 'kts-invoice-operate-buyer-name-content-recently-issued'
|
|
16292
|
-
}, !dataSource.recent || dataSource.recent.length <= 0 ?
|
|
16292
|
+
}, !dataSource.recent || dataSource.recent.length <= 0 ? React.createElement(Empty, {
|
|
16293
16293
|
image: Empty.PRESENTED_IMAGE_SIMPLE
|
|
16294
16294
|
}) : (_dataSource$recent = dataSource.recent) === null || _dataSource$recent === void 0 ? void 0 : _dataSource$recent.map(function (e, i) {
|
|
16295
16295
|
var _dataSource$recent$le, _dataSource$recent2;
|
|
16296
16296
|
|
|
16297
|
-
return
|
|
16297
|
+
return React.createElement("li", {
|
|
16298
16298
|
key: i,
|
|
16299
16299
|
onClick: function onClick() {
|
|
16300
16300
|
onClickItem(e);
|
|
@@ -16302,37 +16302,37 @@ var BuyerNameInput = (function (props) {
|
|
|
16302
16302
|
style: {
|
|
16303
16303
|
marginBottom: interval(i, (_dataSource$recent$le = (_dataSource$recent2 = dataSource.recent) === null || _dataSource$recent2 === void 0 ? void 0 : _dataSource$recent2.length) !== null && _dataSource$recent$le !== void 0 ? _dataSource$recent$le : 0)
|
|
16304
16304
|
}
|
|
16305
|
-
},
|
|
16306
|
-
}))),
|
|
16305
|
+
}, React.createElement(MyTag, null, e.buyerName));
|
|
16306
|
+
}))), React.createElement(Divider, {
|
|
16307
16307
|
style: {
|
|
16308
16308
|
margin: "0 6px"
|
|
16309
16309
|
}
|
|
16310
|
-
}),
|
|
16310
|
+
}), React.createElement("div", {
|
|
16311
16311
|
className: 'kts-invoice-operate-buyer-name-content-block',
|
|
16312
16312
|
style: {
|
|
16313
16313
|
padding: '14px 10px 4px'
|
|
16314
16314
|
}
|
|
16315
|
-
},
|
|
16315
|
+
}, React.createElement("label", {
|
|
16316
16316
|
style: {
|
|
16317
16317
|
padding: '0 10px'
|
|
16318
16318
|
}
|
|
16319
|
-
}, "\u9009\u62E9\u516C\u53F8"),
|
|
16319
|
+
}, "\u9009\u62E9\u516C\u53F8"), React.createElement("div", {
|
|
16320
16320
|
style: {
|
|
16321
16321
|
maxHeight: 200,
|
|
16322
16322
|
overflow: "auto"
|
|
16323
16323
|
}
|
|
16324
|
-
}, !dataSource.list || dataSource.list.length <= 0 ?
|
|
16324
|
+
}, !dataSource.list || dataSource.list.length <= 0 ? React.createElement(Empty, {
|
|
16325
16325
|
image: Empty.PRESENTED_IMAGE_SIMPLE
|
|
16326
16326
|
}) : dataSource.list.map(function (e, i) {
|
|
16327
|
-
return
|
|
16327
|
+
return React.createElement("ul", {
|
|
16328
16328
|
key: i,
|
|
16329
16329
|
onClick: function onClick() {
|
|
16330
16330
|
onClickItem(e);
|
|
16331
16331
|
},
|
|
16332
16332
|
className: 'kts-invoice-operate-buyer-name-content-select-company'
|
|
16333
|
-
},
|
|
16333
|
+
}, React.createElement("li", {
|
|
16334
16334
|
title: e.buyerName
|
|
16335
|
-
}, e.buyerName),
|
|
16335
|
+
}, e.buyerName), React.createElement("li", {
|
|
16336
16336
|
title: e.buyerNo
|
|
16337
16337
|
}, e.buyerNo));
|
|
16338
16338
|
})))));
|
|
@@ -16373,7 +16373,7 @@ var BuyerNameInput = (function (props) {
|
|
|
16373
16373
|
}, [visible, props.value]);
|
|
16374
16374
|
|
|
16375
16375
|
if (model === 'prefab' || !autoContainer) {
|
|
16376
|
-
return
|
|
16376
|
+
return React.createElement(Input, {
|
|
16377
16377
|
size: "small",
|
|
16378
16378
|
autoComplete: "off",
|
|
16379
16379
|
value: props.value,
|
|
@@ -16384,14 +16384,14 @@ var BuyerNameInput = (function (props) {
|
|
|
16384
16384
|
});
|
|
16385
16385
|
}
|
|
16386
16386
|
|
|
16387
|
-
return
|
|
16387
|
+
return React.createElement(Popover$1, {
|
|
16388
16388
|
onVisibleChange: setVisible,
|
|
16389
16389
|
overlayClassName: 'kts-invoice-operate-buyer-name-popover',
|
|
16390
16390
|
placement: "bottomLeft",
|
|
16391
16391
|
trigger: "click",
|
|
16392
16392
|
visible: visible,
|
|
16393
16393
|
content: content
|
|
16394
|
-
},
|
|
16394
|
+
}, React.createElement(Input, {
|
|
16395
16395
|
size: "small",
|
|
16396
16396
|
autoComplete: "off",
|
|
16397
16397
|
value: props.value,
|
|
@@ -16469,7 +16469,7 @@ function useDataSource() {
|
|
|
16469
16469
|
}
|
|
16470
16470
|
|
|
16471
16471
|
function MyTag(props) {
|
|
16472
|
-
return
|
|
16472
|
+
return React.createElement("span", {
|
|
16473
16473
|
className: 'kts-invoice-operate-buyer-name-content-tag',
|
|
16474
16474
|
title: props.children
|
|
16475
16475
|
}, props.children);
|
|
@@ -16505,7 +16505,7 @@ var Buyer$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
16505
16505
|
_this = _super.call.apply(_super, [this].concat(args));
|
|
16506
16506
|
|
|
16507
16507
|
_this.render = function () {
|
|
16508
|
-
return
|
|
16508
|
+
return React.createElement(Main$2, _objectSpread2({}, _this.props));
|
|
16509
16509
|
};
|
|
16510
16510
|
|
|
16511
16511
|
return _this;
|
|
@@ -16536,7 +16536,7 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16536
16536
|
return [{
|
|
16537
16537
|
id: 'buyerName',
|
|
16538
16538
|
label: '购买方名称',
|
|
16539
|
-
node:
|
|
16539
|
+
node: React.createElement(Input, {
|
|
16540
16540
|
size: "small",
|
|
16541
16541
|
autoComplete: "off",
|
|
16542
16542
|
readOnly: model === 'prefab'
|
|
@@ -16550,7 +16550,7 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16550
16550
|
}, {
|
|
16551
16551
|
id: 'buyerNo',
|
|
16552
16552
|
label: '购买方纳税人识别号',
|
|
16553
|
-
node:
|
|
16553
|
+
node: React.createElement(Input, {
|
|
16554
16554
|
size: "small",
|
|
16555
16555
|
autoComplete: "off",
|
|
16556
16556
|
readOnly: model === 'prefab'
|
|
@@ -16564,7 +16564,7 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16564
16564
|
}, {
|
|
16565
16565
|
id: 'buyerAddress',
|
|
16566
16566
|
label: '购买方地址及电话',
|
|
16567
|
-
node:
|
|
16567
|
+
node: React.createElement(Input, {
|
|
16568
16568
|
size: "small",
|
|
16569
16569
|
autoComplete: "off",
|
|
16570
16570
|
readOnly: model === 'prefab'
|
|
@@ -16578,7 +16578,7 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16578
16578
|
}, {
|
|
16579
16579
|
id: 'buyerBank',
|
|
16580
16580
|
label: '购买方开户行及账号',
|
|
16581
|
-
node:
|
|
16581
|
+
node: React.createElement(Input, {
|
|
16582
16582
|
size: "small",
|
|
16583
16583
|
autoComplete: "off",
|
|
16584
16584
|
readOnly: model === 'prefab'
|
|
@@ -16600,7 +16600,7 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16600
16600
|
if (e.options.rules.some(function (e) {
|
|
16601
16601
|
return e.required;
|
|
16602
16602
|
})) {
|
|
16603
|
-
return
|
|
16603
|
+
return React.createElement(React.Fragment, null, React.createElement(Text$4, {
|
|
16604
16604
|
type: "danger"
|
|
16605
16605
|
}, "*"), e.label);
|
|
16606
16606
|
} else {
|
|
@@ -16610,29 +16610,29 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
16610
16610
|
return e.label;
|
|
16611
16611
|
}
|
|
16612
16612
|
}, []);
|
|
16613
|
-
return
|
|
16613
|
+
return React.createElement(Form, null, React.createElement("div", {
|
|
16614
16614
|
className: "kts-invoice-operate-buyer"
|
|
16615
|
-
},
|
|
16615
|
+
}, React.createElement("div", {
|
|
16616
16616
|
className: "kts-invoice-operate-buyer-message"
|
|
16617
|
-
},
|
|
16617
|
+
}, React.createElement("div", {
|
|
16618
16618
|
className: "kts-invoice-operate-buyer-title"
|
|
16619
|
-
},
|
|
16619
|
+
}, React.createElement("label", null, "\u8D2D\u4E70\u65B9")), React.createElement("div", {
|
|
16620
16620
|
className: "kts-invoice-operate-buyer-message-Import"
|
|
16621
|
-
}, model !== 'prefab' &&
|
|
16621
|
+
}, model !== 'prefab' && React.createElement(ImportBuyerButton, null)), React.createElement(Descriptions, {
|
|
16622
16622
|
className: "kts-invoice-operate-buyer-message-list",
|
|
16623
16623
|
size: "small",
|
|
16624
16624
|
column: 1,
|
|
16625
16625
|
bordered: true
|
|
16626
16626
|
}, formItem.map(function (item, i) {
|
|
16627
|
-
return
|
|
16627
|
+
return React.createElement(Descriptions.Item, {
|
|
16628
16628
|
key: i,
|
|
16629
16629
|
label: getlabel(item)
|
|
16630
|
-
},
|
|
16631
|
-
}))),
|
|
16630
|
+
}, React.createElement(Form.Item, null, getFieldDecorator(item.id, item.options)(autoContainer ? item.id === 'buyerName' ? React.createElement(BuyerNameInput, null) : item.node : item.node)));
|
|
16631
|
+
}))), React.createElement("div", {
|
|
16632
16632
|
className: "kts-invoice-operate-buyer-password"
|
|
16633
|
-
},
|
|
16633
|
+
}, React.createElement("div", {
|
|
16634
16634
|
className: "kts-invoice-operate-buyer-title"
|
|
16635
|
-
},
|
|
16635
|
+
}, React.createElement("label", null, "\u5BC6\u7801\u533A")), React.createElement("div", null))));
|
|
16636
16636
|
});
|
|
16637
16637
|
|
|
16638
16638
|
var css_248z$e = ".kts-invoice-operate-sign form {\n display: flex;\n}\n.kts-invoice-operate-sign form .ktsAnt3x-row.ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-sign form > div {\n flex: 1;\n text-align: center;\n}\n";
|
|
@@ -16649,21 +16649,21 @@ var Sign = decorator(Form.create())(function (props) {
|
|
|
16649
16649
|
}, []); // 注册 form
|
|
16650
16650
|
|
|
16651
16651
|
controller.useForm('sign', form);
|
|
16652
|
-
return
|
|
16652
|
+
return React.createElement("div", {
|
|
16653
16653
|
className: "kts-invoice-operate-sign"
|
|
16654
|
-
},
|
|
16654
|
+
}, React.createElement(Form, _objectSpread2({}, formItemLayout), React.createElement("div", null, React.createElement(Form.Item, {
|
|
16655
16655
|
label: "\u6536\u6B3E\u4EBA"
|
|
16656
16656
|
}, getFieldDecorator('payee', {
|
|
16657
16657
|
initialValue: props.defaultPayee
|
|
16658
|
-
})(
|
|
16658
|
+
})(React.createElement(Input, {
|
|
16659
16659
|
size: "small"
|
|
16660
|
-
})))),
|
|
16660
|
+
})))), React.createElement("div", null, React.createElement(Form.Item, {
|
|
16661
16661
|
label: "\u590D\u6838\u4EBA"
|
|
16662
16662
|
}, getFieldDecorator('reviewer', {
|
|
16663
16663
|
initialValue: props.defaultReviewer
|
|
16664
|
-
})(
|
|
16664
|
+
})(React.createElement(Input, {
|
|
16665
16665
|
size: "small"
|
|
16666
|
-
})))),
|
|
16666
|
+
})))), React.createElement("div", null, React.createElement(Form.Item, {
|
|
16667
16667
|
label: "\u5F00\u7968\u4EBA"
|
|
16668
16668
|
}, getFieldDecorator('issuer', {
|
|
16669
16669
|
initialValue: props.defaultIssuer,
|
|
@@ -16671,7 +16671,7 @@ var Sign = decorator(Form.create())(function (props) {
|
|
|
16671
16671
|
required: true,
|
|
16672
16672
|
message: '请输入开票人'
|
|
16673
16673
|
}]
|
|
16674
|
-
})(
|
|
16674
|
+
})(React.createElement(Input, {
|
|
16675
16675
|
size: "small"
|
|
16676
16676
|
}))))));
|
|
16677
16677
|
});
|
|
@@ -16700,21 +16700,21 @@ var InvoiceHeaderDigtal = decorator(Form.create())(function (props) {
|
|
|
16700
16700
|
return '电子发票(增值税专用发票)';
|
|
16701
16701
|
}, [props.title]);
|
|
16702
16702
|
controller.useForm('invoiceHeader', form);
|
|
16703
|
-
return
|
|
16703
|
+
return React.createElement("div", {
|
|
16704
16704
|
className: "kts-invoice-operate-invoice-digtal-header"
|
|
16705
|
-
},
|
|
16705
|
+
}, React.createElement("div", {
|
|
16706
16706
|
className: "digtal-header-title"
|
|
16707
16707
|
}, title), form.getFieldDecorator('tag', {
|
|
16708
16708
|
initialValue: props.defaultTag
|
|
16709
|
-
})(
|
|
16709
|
+
})(React.createElement(Tag, null)), React.createElement("div", {
|
|
16710
16710
|
className: "digtal-header-fields"
|
|
16711
16711
|
}, form.getFieldDecorator('no', {
|
|
16712
16712
|
initialValue: props.defaultNo
|
|
16713
|
-
})(
|
|
16713
|
+
})(React.createElement(Field, {
|
|
16714
16714
|
title: "\u53D1\u7968\u53F7\u7801\uFF1A"
|
|
16715
16715
|
})), form.getFieldDecorator('invoicingDate', {
|
|
16716
16716
|
initialValue: props.defaultInvoicingDate
|
|
16717
|
-
})(
|
|
16717
|
+
})(React.createElement(Field, {
|
|
16718
16718
|
title: "\u5F00\u7968\u65E5\u671F\uFF1A"
|
|
16719
16719
|
}))));
|
|
16720
16720
|
});
|
|
@@ -16739,15 +16739,15 @@ var Field = /*#__PURE__*/function (_React$Component) {
|
|
|
16739
16739
|
value = _this$props.value;
|
|
16740
16740
|
|
|
16741
16741
|
if (value) {
|
|
16742
|
-
return
|
|
16742
|
+
return React.createElement("div", {
|
|
16743
16743
|
className: "digtal-header-field"
|
|
16744
|
-
},
|
|
16744
|
+
}, React.createElement("div", {
|
|
16745
16745
|
className: "digtal-header-field-title"
|
|
16746
|
-
}, title),
|
|
16746
|
+
}, title), React.createElement("div", {
|
|
16747
16747
|
className: "digtal-header-field-value"
|
|
16748
16748
|
}, value));
|
|
16749
16749
|
} else {
|
|
16750
|
-
return
|
|
16750
|
+
return React.createElement(React.Fragment, null);
|
|
16751
16751
|
}
|
|
16752
16752
|
}
|
|
16753
16753
|
}]);
|
|
@@ -16769,9 +16769,9 @@ var Tag = /*#__PURE__*/function (_React$Component2) {
|
|
|
16769
16769
|
_createClass(Tag, [{
|
|
16770
16770
|
key: "render",
|
|
16771
16771
|
value: function render() {
|
|
16772
|
-
return this.props.value ?
|
|
16772
|
+
return this.props.value ? React.createElement("div", {
|
|
16773
16773
|
className: "digtal-header-tag"
|
|
16774
|
-
}, this.props.value) :
|
|
16774
|
+
}, this.props.value) : React.createElement(React.Fragment, null);
|
|
16775
16775
|
}
|
|
16776
16776
|
}]);
|
|
16777
16777
|
|
|
@@ -16951,59 +16951,59 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
16951
16951
|
React.useEffect(function () {
|
|
16952
16952
|
setExpand(typeof props.isExpand === 'boolean' ? props.isExpand : true);
|
|
16953
16953
|
}, [props.isExpand]);
|
|
16954
|
-
return
|
|
16954
|
+
return React.createElement("div", {
|
|
16955
16955
|
className: classNames("kts-invoice-operate-invoice-digtal-stakeholder", {
|
|
16956
16956
|
readOnly: readOnly
|
|
16957
16957
|
})
|
|
16958
|
-
},
|
|
16959
|
-
return
|
|
16960
|
-
}), !readOnly &&
|
|
16958
|
+
}, React.createElement("div", null, '购买方信息'.split('').map(function (e) {
|
|
16959
|
+
return React.createElement("span", null, e);
|
|
16960
|
+
}), !readOnly && React.createElement(Icon, {
|
|
16961
16961
|
className: "digtal-stakeholder-expand-button",
|
|
16962
16962
|
component: isExpand ? SvgArrowUp : SvgArrowDown,
|
|
16963
16963
|
onClick: onExpand
|
|
16964
|
-
})),
|
|
16964
|
+
})), React.createElement("div", null, React.createElement("div", {
|
|
16965
16965
|
style: {
|
|
16966
16966
|
marginTop: 20
|
|
16967
16967
|
},
|
|
16968
16968
|
className: 'natural-person-flag'
|
|
16969
|
-
}, props.isNaturalPerson === true &&
|
|
16969
|
+
}, props.isNaturalPerson === true && React.createElement(Form.Item, {
|
|
16970
16970
|
colon: false
|
|
16971
|
-
}, getFieldDecorator('naturalPersonFlag', {})(
|
|
16971
|
+
}, getFieldDecorator('naturalPersonFlag', {})(React.createElement(NaturalPersonFlag, {
|
|
16972
16972
|
readOnly: isReadOnly('naturalPersonFlag')
|
|
16973
|
-
})))),
|
|
16973
|
+
})))), React.createElement(Form, {
|
|
16974
16974
|
className: "digtal-stakeholder-form"
|
|
16975
|
-
},
|
|
16975
|
+
}, React.createElement(Row, {
|
|
16976
16976
|
gutter: [16, 0]
|
|
16977
|
-
},
|
|
16977
|
+
}, React.createElement(Col, {
|
|
16978
16978
|
span: 24
|
|
16979
|
-
},
|
|
16979
|
+
}, React.createElement(Form.Item, {
|
|
16980
16980
|
label: "\u540D\u79F0",
|
|
16981
16981
|
colon: false
|
|
16982
16982
|
}, getFieldDecorator('buyerName', {
|
|
16983
16983
|
rules: getRules('buyerName', RULES.companyName('购买方名称'))
|
|
16984
|
-
})(
|
|
16984
|
+
})(React.createElement(BuyerNameInput$1, {
|
|
16985
16985
|
myform: form,
|
|
16986
16986
|
fieldName: 'buyerName',
|
|
16987
16987
|
readOnly: isReadOnly('buyerName'),
|
|
16988
16988
|
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0",
|
|
16989
16989
|
autoComplete: "off",
|
|
16990
|
-
suffix: isShowImportButton === true &&
|
|
16990
|
+
suffix: isShowImportButton === true && React.createElement(Button$1, {
|
|
16991
16991
|
type: 'link',
|
|
16992
16992
|
style: {
|
|
16993
16993
|
padding: 0,
|
|
16994
16994
|
width: 20,
|
|
16995
16995
|
height: '100%'
|
|
16996
16996
|
},
|
|
16997
|
-
icon:
|
|
16997
|
+
icon: React.createElement(Icon, {
|
|
16998
16998
|
component: SvgPlus
|
|
16999
16999
|
}),
|
|
17000
17000
|
onClick: function onClick() {
|
|
17001
17001
|
onClickImportButton && onClickImportButton(controller);
|
|
17002
17002
|
}
|
|
17003
17003
|
})
|
|
17004
|
-
})))),
|
|
17004
|
+
})))), React.createElement(Col, {
|
|
17005
17005
|
span: 24
|
|
17006
|
-
},
|
|
17006
|
+
}, React.createElement(Form.Item, {
|
|
17007
17007
|
label: "\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
17008
17008
|
colon: false
|
|
17009
17009
|
}, getFieldDecorator('buyerTaxId', {
|
|
@@ -17011,18 +17011,18 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17011
17011
|
required: !isVatNormal,
|
|
17012
17012
|
message: '购买方纳税人识别号必填'
|
|
17013
17013
|
}].concat(_toConsumableArray(RULES.taxId('购买方纳税人识别号'))))
|
|
17014
|
-
})(
|
|
17014
|
+
})(React.createElement(BuyerNameInput$1, {
|
|
17015
17015
|
myform: form,
|
|
17016
17016
|
fieldName: 'buyerTaxId',
|
|
17017
17017
|
readOnly: isReadOnly('buyerTaxId'),
|
|
17018
17018
|
placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
17019
17019
|
autoComplete: "off"
|
|
17020
|
-
})))),
|
|
17020
|
+
})))), React.createElement(Col, {
|
|
17021
17021
|
span: 14,
|
|
17022
17022
|
style: {
|
|
17023
17023
|
display: isExpand ? undefined : 'none'
|
|
17024
17024
|
}
|
|
17025
|
-
},
|
|
17025
|
+
}, React.createElement(Form.Item, {
|
|
17026
17026
|
label: "\u8D2D\u4E70\u65B9\u5730\u5740",
|
|
17027
17027
|
colon: false
|
|
17028
17028
|
}, getFieldDecorator('buyerAddress', {
|
|
@@ -17030,90 +17030,90 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17030
17030
|
max: 100,
|
|
17031
17031
|
message: '购买方地址内容超长'
|
|
17032
17032
|
}])
|
|
17033
|
-
})(
|
|
17033
|
+
})(React.createElement(MyInput$1, {
|
|
17034
17034
|
readOnly: isReadOnly('buyerAddress'),
|
|
17035
17035
|
placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5730\u5740",
|
|
17036
17036
|
autoComplete: "off"
|
|
17037
|
-
})))),
|
|
17037
|
+
})))), React.createElement(Col, {
|
|
17038
17038
|
span: 10,
|
|
17039
17039
|
style: {
|
|
17040
17040
|
display: isExpand ? undefined : 'none'
|
|
17041
17041
|
}
|
|
17042
|
-
},
|
|
17042
|
+
}, React.createElement(Form.Item, {
|
|
17043
17043
|
label: "\u7535\u8BDD",
|
|
17044
17044
|
colon: false,
|
|
17045
17045
|
className: 'telephone'
|
|
17046
17046
|
}, getFieldDecorator('buyerPhone', {
|
|
17047
17047
|
rules: getRules('buyerPhone', RULES.buyerTelPhone('购买方电话'))
|
|
17048
|
-
})(
|
|
17048
|
+
})(React.createElement(MyInput$1, {
|
|
17049
17049
|
readOnly: isReadOnly('buyerPhone'),
|
|
17050
17050
|
placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
|
|
17051
17051
|
autoComplete: "off"
|
|
17052
|
-
})))),
|
|
17052
|
+
})))), React.createElement(Col, {
|
|
17053
17053
|
span: 14,
|
|
17054
17054
|
style: {
|
|
17055
17055
|
display: isExpand ? undefined : 'none'
|
|
17056
17056
|
}
|
|
17057
|
-
},
|
|
17057
|
+
}, React.createElement(Form.Item, {
|
|
17058
17058
|
label: "\u8D2D\u4E70\u65B9\u5F00\u6237\u94F6\u884C",
|
|
17059
17059
|
colon: false
|
|
17060
17060
|
}, getFieldDecorator('buyerBank', {
|
|
17061
17061
|
rules: getRules('buyerBank', RULES.bankName('购买方开户银行'))
|
|
17062
|
-
})(
|
|
17062
|
+
})(React.createElement(MyInput$1, {
|
|
17063
17063
|
readOnly: isReadOnly('buyerBank'),
|
|
17064
17064
|
placeholder: "\u8BF7\u8F93\u5165\u8D2D\u4E70\u65B9\u5F00\u6237\u94F6\u884C",
|
|
17065
17065
|
autoComplete: "off"
|
|
17066
|
-
})))),
|
|
17066
|
+
})))), React.createElement(Col, {
|
|
17067
17067
|
span: 10,
|
|
17068
17068
|
style: {
|
|
17069
17069
|
display: isExpand ? undefined : 'none'
|
|
17070
17070
|
}
|
|
17071
|
-
},
|
|
17071
|
+
}, React.createElement(Form.Item, {
|
|
17072
17072
|
label: "\u94F6\u884C\u8D26\u53F7",
|
|
17073
17073
|
colon: false
|
|
17074
17074
|
}, getFieldDecorator('buyerAccount', {
|
|
17075
17075
|
rules: getRules('buyerAccount', RULES.bankAccount('购买方银行账号'))
|
|
17076
|
-
})(
|
|
17076
|
+
})(React.createElement(MyInput$1, {
|
|
17077
17077
|
readOnly: isReadOnly('buyerAccount'),
|
|
17078
17078
|
placeholder: "\u8BF7\u8F93\u5165\u94F6\u884C\u8D26\u53F7",
|
|
17079
17079
|
autoComplete: "off"
|
|
17080
|
-
}))))))),
|
|
17081
|
-
return
|
|
17082
|
-
}), !readOnly &&
|
|
17080
|
+
}))))))), React.createElement("div", null, '销售方信息'.split('').map(function (e) {
|
|
17081
|
+
return React.createElement("span", null, e);
|
|
17082
|
+
}), !readOnly && React.createElement(Icon, {
|
|
17083
17083
|
className: "digtal-stakeholder-expand-button",
|
|
17084
17084
|
component: isExpand ? SvgArrowUp : SvgArrowDown,
|
|
17085
17085
|
onClick: onExpand
|
|
17086
|
-
})),
|
|
17086
|
+
})), React.createElement("div", null, !readOnly && props.lineCredit && React.createElement("div", {
|
|
17087
17087
|
style: {
|
|
17088
17088
|
marginTop: 20
|
|
17089
17089
|
}
|
|
17090
|
-
},
|
|
17090
|
+
}, React.createElement(Tooltip$1, {
|
|
17091
17091
|
trigger: "click",
|
|
17092
17092
|
title: props.lineCredit
|
|
17093
|
-
},
|
|
17093
|
+
}, React.createElement(Button$1, {
|
|
17094
17094
|
type: "link",
|
|
17095
17095
|
style: {
|
|
17096
17096
|
padding: "0px 8px"
|
|
17097
17097
|
}
|
|
17098
|
-
}, "\u67E5\u770B\u5F53\u524D\u53EF\u7528\u6388\u4FE1\u989D\u5EA6"))),
|
|
17098
|
+
}, "\u67E5\u770B\u5F53\u524D\u53EF\u7528\u6388\u4FE1\u989D\u5EA6"))), React.createElement(Form, {
|
|
17099
17099
|
className: "digtal-stakeholder-form"
|
|
17100
|
-
},
|
|
17100
|
+
}, React.createElement(Row, {
|
|
17101
17101
|
gutter: [16, 0]
|
|
17102
|
-
},
|
|
17102
|
+
}, React.createElement(Col, {
|
|
17103
17103
|
span: 24
|
|
17104
|
-
},
|
|
17104
|
+
}, React.createElement(Form.Item, {
|
|
17105
17105
|
label: "\u540D\u79F0",
|
|
17106
17106
|
colon: false
|
|
17107
17107
|
}, getFieldDecorator('supplierName', {
|
|
17108
17108
|
rules: getRules('supplierName', RULES.companyName('销售方名称')),
|
|
17109
17109
|
getValueFromEvent: formatCompanyName
|
|
17110
|
-
})(
|
|
17110
|
+
})(React.createElement(MyInput$1, {
|
|
17111
17111
|
readOnly: isReadOnly('supplierName'),
|
|
17112
17112
|
placeholder: "\u8BF7\u8F93\u5165\u540D\u79F0",
|
|
17113
17113
|
autoComplete: "off"
|
|
17114
|
-
})))),
|
|
17114
|
+
})))), React.createElement(Col, {
|
|
17115
17115
|
span: 24
|
|
17116
|
-
},
|
|
17116
|
+
}, React.createElement(Form.Item, {
|
|
17117
17117
|
label: "\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
17118
17118
|
colon: false
|
|
17119
17119
|
}, getFieldDecorator('supplierTaxId', {
|
|
@@ -17121,16 +17121,16 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17121
17121
|
required: true,
|
|
17122
17122
|
message: '销售方纳税人识别号必填'
|
|
17123
17123
|
}].concat(_toConsumableArray(RULES.taxId('销售方纳税人识别号'))))
|
|
17124
|
-
})(
|
|
17124
|
+
})(React.createElement(MyInput$1, {
|
|
17125
17125
|
readOnly: isReadOnly('supplierTaxId'),
|
|
17126
17126
|
placeholder: "\u8BF7\u8F93\u5165\u7EDF\u4E00\u793E\u4F1A\u4FE1\u7528\u4EE3\u7801/\u7EB3\u7A0E\u4EBA\u8BC6\u522B\u53F7",
|
|
17127
17127
|
autoComplete: "off"
|
|
17128
|
-
})))),
|
|
17128
|
+
})))), React.createElement(Col, {
|
|
17129
17129
|
span: 12,
|
|
17130
17130
|
style: {
|
|
17131
17131
|
display: isExpand ? undefined : 'none'
|
|
17132
17132
|
}
|
|
17133
|
-
},
|
|
17133
|
+
}, React.createElement(Form.Item, {
|
|
17134
17134
|
label: "\u9500\u552E\u65B9\u5730\u5740",
|
|
17135
17135
|
colon: false
|
|
17136
17136
|
}, getFieldDecorator('sellerAddress', {
|
|
@@ -17138,50 +17138,50 @@ var Stakeholder$1 = decorator(Form.create())(function (props) {
|
|
|
17138
17138
|
max: 300,
|
|
17139
17139
|
message: '销售方地址内容超长'
|
|
17140
17140
|
}])
|
|
17141
|
-
})(
|
|
17141
|
+
})(React.createElement(MyInput$1, {
|
|
17142
17142
|
readOnly: isReadOnly('sellerAddress'),
|
|
17143
17143
|
placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5730\u5740",
|
|
17144
17144
|
autoComplete: "off"
|
|
17145
|
-
})))),
|
|
17145
|
+
})))), React.createElement(Col, {
|
|
17146
17146
|
span: 12,
|
|
17147
17147
|
style: {
|
|
17148
17148
|
display: isExpand ? undefined : 'none'
|
|
17149
17149
|
}
|
|
17150
|
-
},
|
|
17150
|
+
}, React.createElement(Form.Item, {
|
|
17151
17151
|
label: "\u7535\u8BDD",
|
|
17152
17152
|
colon: false,
|
|
17153
17153
|
className: 'telephone'
|
|
17154
17154
|
}, getFieldDecorator('sellerPhone', {
|
|
17155
17155
|
rules: getRules('sellerPhone', RULES.sellerTelPhone('销售方电话'))
|
|
17156
|
-
})(
|
|
17156
|
+
})(React.createElement(MyInput$1, {
|
|
17157
17157
|
readOnly: isReadOnly('sellerPhone'),
|
|
17158
17158
|
placeholder: "\u8BF7\u8F93\u5165\u7535\u8BDD",
|
|
17159
17159
|
autoComplete: "off"
|
|
17160
|
-
})))),
|
|
17160
|
+
})))), React.createElement(Col, {
|
|
17161
17161
|
span: 12,
|
|
17162
17162
|
style: {
|
|
17163
17163
|
display: isExpand ? undefined : 'none'
|
|
17164
17164
|
}
|
|
17165
|
-
},
|
|
17165
|
+
}, React.createElement(Form.Item, {
|
|
17166
17166
|
label: "\u9500\u552E\u65B9\u5F00\u6237\u94F6\u884C",
|
|
17167
17167
|
colon: false
|
|
17168
17168
|
}, getFieldDecorator('sellerBank', {
|
|
17169
17169
|
rules: getRules('sellerBank', RULES.bankName('销售方开户银行'))
|
|
17170
|
-
})(
|
|
17170
|
+
})(React.createElement(MyInput$1, {
|
|
17171
17171
|
readOnly: isReadOnly('sellerBank'),
|
|
17172
17172
|
placeholder: "\u8BF7\u8F93\u5165\u9500\u552E\u65B9\u5F00\u6237\u94F6\u884C",
|
|
17173
17173
|
autoComplete: "off"
|
|
17174
|
-
})))),
|
|
17174
|
+
})))), React.createElement(Col, {
|
|
17175
17175
|
span: 12,
|
|
17176
17176
|
style: {
|
|
17177
17177
|
display: isExpand ? undefined : 'none'
|
|
17178
17178
|
}
|
|
17179
|
-
},
|
|
17179
|
+
}, React.createElement(Form.Item, {
|
|
17180
17180
|
label: "\u94F6\u884C\u8D26\u53F7",
|
|
17181
17181
|
colon: false
|
|
17182
17182
|
}, getFieldDecorator('sellerAccount', {
|
|
17183
17183
|
rules: getRules('sellerAccount', RULES.bankAccount('销售方银行账号'))
|
|
17184
|
-
})(
|
|
17184
|
+
})(React.createElement(MyInput$1, {
|
|
17185
17185
|
readOnly: isReadOnly('sellerAccount'),
|
|
17186
17186
|
placeholder: "\u8BF7\u8F93\u5165\u94F6\u884C\u8D26\u53F7",
|
|
17187
17187
|
autoComplete: "off"
|
|
@@ -17202,7 +17202,7 @@ function NaturalPersonFlag(props) {
|
|
|
17202
17202
|
React.useEffect(function () {
|
|
17203
17203
|
setValue(props.value || 'COMPANY');
|
|
17204
17204
|
}, [props.value]);
|
|
17205
|
-
return
|
|
17205
|
+
return React.createElement(Checkbox$1, {
|
|
17206
17206
|
disabled: props.readOnly,
|
|
17207
17207
|
checked: value === 'NATURAL',
|
|
17208
17208
|
onChange: onChange
|
|
@@ -17305,10 +17305,10 @@ function BuyerNameInput$1(props) {
|
|
|
17305
17305
|
return _ref.apply(this, arguments);
|
|
17306
17306
|
};
|
|
17307
17307
|
}(), [autoComplete.onBuyerNameSearch, fieldName]);
|
|
17308
|
-
if (props.readOnly) return
|
|
17308
|
+
if (props.readOnly) return React.createElement("span", {
|
|
17309
17309
|
className: 'digtal-stakeholder-form-text'
|
|
17310
17310
|
}, props.value);
|
|
17311
|
-
return
|
|
17311
|
+
return React.createElement(AutoComplete$1, {
|
|
17312
17312
|
onSearch: onSearch,
|
|
17313
17313
|
options: options.map(function (e) {
|
|
17314
17314
|
return {
|
|
@@ -17320,7 +17320,7 @@ function BuyerNameInput$1(props) {
|
|
|
17320
17320
|
style: {
|
|
17321
17321
|
width: '100%'
|
|
17322
17322
|
}
|
|
17323
|
-
},
|
|
17323
|
+
}, React.createElement(Input$1, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
17324
17324
|
style: _objectSpread2({
|
|
17325
17325
|
width: '100%'
|
|
17326
17326
|
}, props.style)
|
|
@@ -17344,11 +17344,11 @@ var MyInput$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17344
17344
|
var props = this.props;
|
|
17345
17345
|
|
|
17346
17346
|
if (props.readOnly) {
|
|
17347
|
-
return
|
|
17347
|
+
return React.createElement("span", {
|
|
17348
17348
|
className: 'digtal-stakeholder-form-text'
|
|
17349
17349
|
}, props.value);
|
|
17350
17350
|
} else {
|
|
17351
|
-
return
|
|
17351
|
+
return React.createElement(Input$1, _objectSpread2({}, props));
|
|
17352
17352
|
}
|
|
17353
17353
|
}
|
|
17354
17354
|
}]);
|
|
@@ -17405,47 +17405,47 @@ var SignDigtal = decorator(Form.create())(function (props) {
|
|
|
17405
17405
|
controller.useForm('sign', form);
|
|
17406
17406
|
|
|
17407
17407
|
if (readOnly) {
|
|
17408
|
-
return
|
|
17408
|
+
return React.createElement("div", {
|
|
17409
17409
|
className: "kts-invoice-operate-sign-digtal-readOnly"
|
|
17410
|
-
},
|
|
17410
|
+
}, React.createElement("div", {
|
|
17411
17411
|
className: 'sign-digtal-readOnly-cont'
|
|
17412
|
-
},
|
|
17412
|
+
}, React.createElement("div", null, React.createElement("span", null, "\u5907"), React.createElement("span", null, "\u6CE8")), React.createElement("div", null, getFieldDecorator('remarks', {
|
|
17413
17413
|
initialValue: props.defaultRemark
|
|
17414
|
-
})(isEnables('remarks') ?
|
|
17414
|
+
})(isEnables('remarks') ? React.createElement(Input$1.TextArea, {
|
|
17415
17415
|
placeholder: "\u8BF7\u8F93\u5165",
|
|
17416
17416
|
style: {
|
|
17417
17417
|
height: '100%'
|
|
17418
17418
|
}
|
|
17419
|
-
}) :
|
|
17419
|
+
}) : React.createElement(MyDiv$1, {
|
|
17420
17420
|
style: {
|
|
17421
17421
|
whiteSpace: 'pre-wrap'
|
|
17422
17422
|
}
|
|
17423
|
-
})))),
|
|
17423
|
+
})))), React.createElement(Form, {
|
|
17424
17424
|
layout: 'inline',
|
|
17425
17425
|
className: 'digtal-readOnly-form'
|
|
17426
|
-
},
|
|
17426
|
+
}, React.createElement(Form.Item, {
|
|
17427
17427
|
label: "\u5F00\u7968\u4EBA"
|
|
17428
17428
|
}, getFieldDecorator('drawer', {
|
|
17429
17429
|
initialValue: props.defaultRemark
|
|
17430
|
-
})(
|
|
17430
|
+
})(React.createElement(MyDiv$1, null)))));
|
|
17431
17431
|
} else {
|
|
17432
|
-
return
|
|
17432
|
+
return React.createElement("div", {
|
|
17433
17433
|
className: "kts-invoice-operate-sign-digtal"
|
|
17434
|
-
},
|
|
17434
|
+
}, React.createElement("div", {
|
|
17435
17435
|
className: 'sign-digtal-label'
|
|
17436
|
-
}, "\u5907\u6CE8\u4FE1\u606F"),
|
|
17436
|
+
}, "\u5907\u6CE8\u4FE1\u606F"), React.createElement(Form, null, React.createElement(Form.Item, {
|
|
17437
17437
|
label: "\u5907\u6CE8"
|
|
17438
17438
|
}, getFieldDecorator('remarks', {
|
|
17439
17439
|
initialValue: props.defaultRemark
|
|
17440
|
-
})(
|
|
17440
|
+
})(React.createElement(Input$1.TextArea, {
|
|
17441
17441
|
readOnly: isReadOnly('remarks'),
|
|
17442
17442
|
autoSize: true,
|
|
17443
17443
|
placeholder: "\u8BF7\u8F93\u5165"
|
|
17444
|
-
}))),
|
|
17444
|
+
}))), React.createElement(Form.Item, {
|
|
17445
17445
|
label: "\u5F00\u7968\u4EBA"
|
|
17446
17446
|
}, getFieldDecorator('drawer', {
|
|
17447
17447
|
initialValue: props.defaultIssuer
|
|
17448
|
-
})(
|
|
17448
|
+
})(React.createElement(Input$1, {
|
|
17449
17449
|
readOnly: isReadOnly('drawer'),
|
|
17450
17450
|
style: {
|
|
17451
17451
|
width: 313
|
|
@@ -17469,7 +17469,7 @@ var MyDiv$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
17469
17469
|
_createClass(MyDiv, [{
|
|
17470
17470
|
key: "render",
|
|
17471
17471
|
value: function render() {
|
|
17472
|
-
return
|
|
17472
|
+
return React.createElement("div", {
|
|
17473
17473
|
style: this.props.style
|
|
17474
17474
|
}, this.props.value);
|
|
17475
17475
|
}
|
|
@@ -17572,12 +17572,12 @@ function TableVirtual$1 (props) {
|
|
|
17572
17572
|
if (!cont) return;
|
|
17573
17573
|
cont.scrollTop = 0;
|
|
17574
17574
|
}, [(_props$dataSource2 = props.dataSource) === null || _props$dataSource2 === void 0 ? void 0 : _props$dataSource2.length]);
|
|
17575
|
-
return
|
|
17575
|
+
return React.createElement("span", {
|
|
17576
17576
|
className: "kts-invoice-operate-goods-table-virtual",
|
|
17577
17577
|
ref: function ref(e) {
|
|
17578
17578
|
setSelf(e);
|
|
17579
17579
|
}
|
|
17580
|
-
},
|
|
17580
|
+
}, React.createElement(TableManual, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
17581
17581
|
dataSource: dataSource,
|
|
17582
17582
|
// 新版本Table会有输入框无法连续输入的问题,先兼容老版本
|
|
17583
17583
|
tableComponent: Table
|
|
@@ -17688,52 +17688,52 @@ var Statistics$1 = (function () {
|
|
|
17688
17688
|
});
|
|
17689
17689
|
return sum.done().toNumber();
|
|
17690
17690
|
}, []);
|
|
17691
|
-
return
|
|
17691
|
+
return React.createElement("div", {
|
|
17692
17692
|
className: 'kts-invoice-operate-goods-list-statistics-digtal'
|
|
17693
|
-
},
|
|
17693
|
+
}, React.createElement("div", {
|
|
17694
17694
|
className: 'statistics-digtal-total'
|
|
17695
|
-
},
|
|
17695
|
+
}, React.createElement("div", null, "\u5408\u8BA1"), React.createElement("div", {
|
|
17696
17696
|
style: {
|
|
17697
17697
|
flex: 1
|
|
17698
17698
|
}
|
|
17699
|
-
}),
|
|
17699
|
+
}), React.createElement("div", {
|
|
17700
17700
|
style: {
|
|
17701
17701
|
width: 119,
|
|
17702
17702
|
textAlign: 'right',
|
|
17703
17703
|
paddingRight: 15
|
|
17704
17704
|
}
|
|
17705
|
-
}, "\xA5", parseFloat(isTaxIncluded ? lineAmountIncludeTax : lineAmountExcludeTax).toFixed(2)),
|
|
17705
|
+
}, "\xA5", parseFloat(isTaxIncluded ? lineAmountIncludeTax : lineAmountExcludeTax).toFixed(2)), React.createElement("div", {
|
|
17706
17706
|
style: {
|
|
17707
17707
|
width: 119,
|
|
17708
17708
|
textAlign: 'right',
|
|
17709
17709
|
paddingRight: 15
|
|
17710
17710
|
}
|
|
17711
|
-
}, "\xA5", parseFloat(taxAmount).toFixed(2))),
|
|
17711
|
+
}, "\xA5", parseFloat(taxAmount).toFixed(2))), React.createElement("div", {
|
|
17712
17712
|
className: 'statistics-digtal-total-tax'
|
|
17713
|
-
},
|
|
17713
|
+
}, React.createElement("div", null, "\u4EF7\u7A0E\u5408\u8BA1\uFF08\u5927\u5199\uFF09"), React.createElement("div", {
|
|
17714
17714
|
style: {
|
|
17715
17715
|
paddingLeft: 30
|
|
17716
17716
|
}
|
|
17717
|
-
},
|
|
17717
|
+
}, React.createElement(Icon, {
|
|
17718
17718
|
style: {
|
|
17719
17719
|
fontSize: 16
|
|
17720
17720
|
},
|
|
17721
17721
|
component: SvgFork
|
|
17722
|
-
}),
|
|
17722
|
+
}), React.createElement("span", {
|
|
17723
17723
|
style: {
|
|
17724
17724
|
fontWeight: 'bold',
|
|
17725
17725
|
marginLeft: 4
|
|
17726
17726
|
}
|
|
17727
|
-
}, toStringChinese(lineAmountIncludeTax))),
|
|
17727
|
+
}, toStringChinese(lineAmountIncludeTax))), React.createElement("div", {
|
|
17728
17728
|
style: {
|
|
17729
17729
|
flex: 1
|
|
17730
17730
|
}
|
|
17731
|
-
}),
|
|
17731
|
+
}), React.createElement("div", {
|
|
17732
17732
|
style: {
|
|
17733
17733
|
width: 90,
|
|
17734
17734
|
color: '#9F613E'
|
|
17735
17735
|
}
|
|
17736
|
-
}, "\uFF08\u5C0F\u5199\uFF09"),
|
|
17736
|
+
}, "\uFF08\u5C0F\u5199\uFF09"), React.createElement("div", {
|
|
17737
17737
|
style: {
|
|
17738
17738
|
width: 119
|
|
17739
17739
|
}
|
|
@@ -17792,10 +17792,10 @@ var AddRowButton$1 = (function () {
|
|
|
17792
17792
|
}
|
|
17793
17793
|
}, _callee);
|
|
17794
17794
|
})), [controller, rootElement]);
|
|
17795
|
-
if (isAddRow === false) return
|
|
17796
|
-
if (model === 'prefab') return
|
|
17797
|
-
if (model === 'readOnly') return
|
|
17798
|
-
return
|
|
17795
|
+
if (isAddRow === false) return React.createElement(React.Fragment, null);
|
|
17796
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
17797
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
17798
|
+
return React.createElement(Button$1, {
|
|
17799
17799
|
size: 'small',
|
|
17800
17800
|
type: 'primary',
|
|
17801
17801
|
onClick: onClick,
|
|
@@ -19156,11 +19156,11 @@ var TaxIncludedSwitch$1 = (function () {
|
|
|
19156
19156
|
return _ref.apply(this, arguments);
|
|
19157
19157
|
};
|
|
19158
19158
|
}(), []);
|
|
19159
|
-
return
|
|
19159
|
+
return React.createElement("span", null, React.createElement("label", {
|
|
19160
19160
|
style: {
|
|
19161
19161
|
marginRight: 2
|
|
19162
19162
|
}
|
|
19163
|
-
}, "\u542B\u7A0E"),
|
|
19163
|
+
}, "\u542B\u7A0E"), React.createElement(Switch, {
|
|
19164
19164
|
disabled: isSwitchTax === false,
|
|
19165
19165
|
checked: isTaxIncluded,
|
|
19166
19166
|
defaultChecked: true,
|
|
@@ -19256,12 +19256,12 @@ function Search$1() {
|
|
|
19256
19256
|
};
|
|
19257
19257
|
}());
|
|
19258
19258
|
}, [value, controller]);
|
|
19259
|
-
return
|
|
19259
|
+
return React.createElement(Input$1, {
|
|
19260
19260
|
readOnly: readOnly,
|
|
19261
19261
|
value: value,
|
|
19262
19262
|
className: "kts-invoice-operate-goods-list-search",
|
|
19263
19263
|
placeholder: "\u8BF7\u60A8\u8F93\u5165\u9879\u76EE\u540D\u79F0\u3001\u89C4\u683C\u578B\u53F7\u3001\u91D1\u989D(".concat(isTaxIncluded ? '含税' : '不含税', ")\u641C\u7D22"),
|
|
19264
|
-
prefix:
|
|
19264
|
+
prefix: React.createElement(Icon$1, {
|
|
19265
19265
|
component: SvgMagnifier$1,
|
|
19266
19266
|
style: {
|
|
19267
19267
|
color: "#b8b8b8"
|
|
@@ -19306,12 +19306,12 @@ function TableRow$1(props) {
|
|
|
19306
19306
|
return undefined;
|
|
19307
19307
|
}
|
|
19308
19308
|
}, [rowKey, goodsMap]);
|
|
19309
|
-
return rowKey === current && current ?
|
|
19309
|
+
return rowKey === current && current ? React.createElement("tr", {
|
|
19310
19310
|
style: {
|
|
19311
19311
|
height: 50,
|
|
19312
19312
|
position: 'relative'
|
|
19313
19313
|
}
|
|
19314
|
-
},
|
|
19314
|
+
}, React.createElement("div", {
|
|
19315
19315
|
style: {
|
|
19316
19316
|
height: 0.5,
|
|
19317
19317
|
width: '100%',
|
|
@@ -19319,9 +19319,7 @@ function TableRow$1(props) {
|
|
|
19319
19319
|
position: 'absolute',
|
|
19320
19320
|
bottom: 0
|
|
19321
19321
|
}
|
|
19322
|
-
})) :
|
|
19323
|
-
/*#__PURE__*/
|
|
19324
|
-
// <tr {...props} className={classnames(props.className, discount, (rowKey === container && current) ? 'kts-invoice-operate-goods-list-itemName-drag-container' : '')} />
|
|
19322
|
+
})) : // <tr {...props} className={classnames(props.className, discount, (rowKey === container && current) ? 'kts-invoice-operate-goods-list-itemName-drag-container' : '')} />
|
|
19325
19323
|
React.createElement("tr", _objectSpread2(_objectSpread2({}, props), {}, {
|
|
19326
19324
|
className: classNames(props.className, discount, rowKey === container && current ? 'kts-invoice-operate-goods-list-itemName-drag-container-' + site : undefined)
|
|
19327
19325
|
}));
|
|
@@ -19361,9 +19359,9 @@ var TitleText$1 = (function (props) {
|
|
|
19361
19359
|
return !!e.required;
|
|
19362
19360
|
})) || props.required;
|
|
19363
19361
|
}, [rules, props.required]);
|
|
19364
|
-
return
|
|
19362
|
+
return React.createElement(React.Fragment, null, required ? React.createElement(Text$5, {
|
|
19365
19363
|
type: "danger"
|
|
19366
|
-
}, "*") :
|
|
19364
|
+
}, "*") : React.createElement(React.Fragment, null), children);
|
|
19367
19365
|
});
|
|
19368
19366
|
|
|
19369
19367
|
var css_248z$m = ".kts-invoice-operate-goods-list-itemName-input {\n display: flex;\n flex: 1;\n padding-left: 0;\n height: 31px;\n}\n";
|
|
@@ -19544,14 +19542,14 @@ function ItemNameInput$1(props) {
|
|
|
19544
19542
|
return _ref3.apply(this, arguments);
|
|
19545
19543
|
};
|
|
19546
19544
|
}(), [autoComplete.onItemNameSearch]);
|
|
19547
|
-
return
|
|
19545
|
+
return React.createElement("div", {
|
|
19548
19546
|
className: 'kts-invoice-operate-goods-list-itemName-input'
|
|
19549
|
-
}, props.shorthand &&
|
|
19547
|
+
}, props.shorthand && React.createElement("span", {
|
|
19550
19548
|
style: {
|
|
19551
19549
|
alignSelf: 'center',
|
|
19552
19550
|
fontSize: 12
|
|
19553
19551
|
}
|
|
19554
|
-
}, "*", props.shorthand, "*"),
|
|
19552
|
+
}, "*", props.shorthand, "*"), React.createElement(AutoComplete$1, {
|
|
19555
19553
|
onSearch: onSearch,
|
|
19556
19554
|
value: props.value,
|
|
19557
19555
|
options: options.map(function (e) {
|
|
@@ -19561,7 +19559,7 @@ function ItemNameInput$1(props) {
|
|
|
19561
19559
|
};
|
|
19562
19560
|
}),
|
|
19563
19561
|
onSelect: onChangeAutoComplete
|
|
19564
|
-
},
|
|
19562
|
+
}, React.createElement(Input$1, {
|
|
19565
19563
|
style: {
|
|
19566
19564
|
height: '100%'
|
|
19567
19565
|
},
|
|
@@ -19631,7 +19629,7 @@ function Drag$2(props) {
|
|
|
19631
19629
|
var currentGood = controller.state.goodsListState.goodsList.filter(function (e) {
|
|
19632
19630
|
return e.$index === record.$index;
|
|
19633
19631
|
})[0];
|
|
19634
|
-
mounting(
|
|
19632
|
+
mounting(React.createElement(DragDiv$1, _objectSpread2({}, currentGood)));
|
|
19635
19633
|
rowList.forEach(function (e) {
|
|
19636
19634
|
e.addEventListener('mousemove', onMousemove);
|
|
19637
19635
|
});
|
|
@@ -19792,7 +19790,7 @@ function Drag$2(props) {
|
|
|
19792
19790
|
|
|
19793
19791
|
|
|
19794
19792
|
function insert() {
|
|
19795
|
-
mounting(
|
|
19793
|
+
mounting(React.createElement(React.Fragment, null));
|
|
19796
19794
|
controller.run( /*#__PURE__*/function () {
|
|
19797
19795
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4(s) {
|
|
19798
19796
|
var _s$goodsListState$dra, container, current, site, goodsList, goodsMap, _currentGood, currentIndex, moveGoods;
|
|
@@ -19871,7 +19869,7 @@ function Drag$2(props) {
|
|
|
19871
19869
|
}
|
|
19872
19870
|
}, [controller, record, disabled]);
|
|
19873
19871
|
var renderButton = React.useMemo(function () {
|
|
19874
|
-
return
|
|
19872
|
+
return React.createElement(Button, {
|
|
19875
19873
|
type: 'link',
|
|
19876
19874
|
style: {
|
|
19877
19875
|
padding: 0
|
|
@@ -19882,13 +19880,13 @@ function Drag$2(props) {
|
|
|
19882
19880
|
},
|
|
19883
19881
|
className: "kts-invoice-operate-goods-list-itemName-drag",
|
|
19884
19882
|
onMouseOver: controller.saveEditGood
|
|
19885
|
-
},
|
|
19883
|
+
}, React.createElement(Icon, {
|
|
19886
19884
|
component: SvgI001$1
|
|
19887
19885
|
}));
|
|
19888
19886
|
}, [onMouseDown, controller]);
|
|
19889
19887
|
|
|
19890
19888
|
if (disabled) {
|
|
19891
|
-
return
|
|
19889
|
+
return React.createElement(Popover, {
|
|
19892
19890
|
content: '您还有未编辑完成的商品',
|
|
19893
19891
|
trigger: 'focus'
|
|
19894
19892
|
}, renderButton);
|
|
@@ -19928,13 +19926,13 @@ function DragDiv$1(props) {
|
|
|
19928
19926
|
window.removeEventListener('mousemove', onMousemove);
|
|
19929
19927
|
};
|
|
19930
19928
|
});
|
|
19931
|
-
return
|
|
19929
|
+
return React.createElement("div", {
|
|
19932
19930
|
className: "kts-invoice-operate-goods-list-itemName-drag-div",
|
|
19933
19931
|
style: {
|
|
19934
19932
|
top: y,
|
|
19935
19933
|
left: x
|
|
19936
19934
|
}
|
|
19937
|
-
},
|
|
19935
|
+
}, React.createElement("span", null, props.itemName), React.createElement("span", null, props.itemModelName), React.createElement("span", null, props.unit));
|
|
19938
19936
|
}
|
|
19939
19937
|
|
|
19940
19938
|
var useColumns$1 = (function (form) {
|
|
@@ -20055,7 +20053,7 @@ var useColumns$1 = (function (form) {
|
|
|
20055
20053
|
width: 40,
|
|
20056
20054
|
align: 'center',
|
|
20057
20055
|
render: function render(_, record) {
|
|
20058
|
-
return
|
|
20056
|
+
return React.createElement(Drag$2, {
|
|
20059
20057
|
record: record
|
|
20060
20058
|
});
|
|
20061
20059
|
}
|
|
@@ -20065,20 +20063,20 @@ var useColumns$1 = (function (form) {
|
|
|
20065
20063
|
dataIndex: 'serialNo',
|
|
20066
20064
|
width: 50,
|
|
20067
20065
|
render: function render(e) {
|
|
20068
|
-
return
|
|
20066
|
+
return React.createElement("span", {
|
|
20069
20067
|
style: {
|
|
20070
20068
|
padding: '0 10px'
|
|
20071
20069
|
}
|
|
20072
20070
|
}, e);
|
|
20073
20071
|
}
|
|
20074
20072
|
}, {
|
|
20075
|
-
title:
|
|
20073
|
+
title: React.createElement(TitleText$1, {
|
|
20076
20074
|
required: true
|
|
20077
20075
|
}, "\u9879\u76EE\u540D\u79F0"),
|
|
20078
20076
|
key: 'itemName',
|
|
20079
20077
|
render: function render(_, record) {
|
|
20080
20078
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('itemName')) {
|
|
20081
|
-
return
|
|
20079
|
+
return React.createElement(Form.Item, null, React.createElement("div", {
|
|
20082
20080
|
style: {
|
|
20083
20081
|
display: 'flex'
|
|
20084
20082
|
}
|
|
@@ -20125,12 +20123,12 @@ var useColumns$1 = (function (form) {
|
|
|
20125
20123
|
return validator;
|
|
20126
20124
|
}()
|
|
20127
20125
|
}])
|
|
20128
|
-
})(
|
|
20126
|
+
})(React.createElement(ItemNameInput$1, {
|
|
20129
20127
|
editGood: editGood,
|
|
20130
20128
|
shorthand: editGood.shorthand,
|
|
20131
|
-
suffix:
|
|
20129
|
+
suffix: React.createElement(Tooltip$1, {
|
|
20132
20130
|
title: "\u70B9\u51FB\u4ECE\u5546\u54C1\u7BA1\u7406\u4E2D\u6DFB\u52A0\u5546\u54C1\u4FE1\u606F"
|
|
20133
|
-
},
|
|
20131
|
+
}, React.createElement(Button$1, {
|
|
20134
20132
|
type: "link",
|
|
20135
20133
|
style: {
|
|
20136
20134
|
padding: 0,
|
|
@@ -20138,7 +20136,7 @@ var useColumns$1 = (function (form) {
|
|
|
20138
20136
|
fontSize: 20,
|
|
20139
20137
|
fill: '#0074ff'
|
|
20140
20138
|
},
|
|
20141
|
-
icon:
|
|
20139
|
+
icon: React.createElement(SvgPlus$1, null),
|
|
20142
20140
|
onClick: controller.pipeline( /*#__PURE__*/function () {
|
|
20143
20141
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(s) {
|
|
20144
20142
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
@@ -20165,9 +20163,9 @@ var useColumns$1 = (function (form) {
|
|
|
20165
20163
|
}
|
|
20166
20164
|
}))));
|
|
20167
20165
|
} else {
|
|
20168
|
-
return
|
|
20166
|
+
return React.createElement("span", null, record.lineAttribute === LineAttributeType$1.折扣行 ? React.createElement("span", {
|
|
20169
20167
|
className: 'goods-list-digtal-discount-tag'
|
|
20170
|
-
}, "\u6298\u6263") :
|
|
20168
|
+
}, "\u6298\u6263") : React.createElement(React.Fragment, null), React.createElement(MyItemNameDiv$1, {
|
|
20171
20169
|
valueT: formatSearch$1(getItemNameWithShorthand({
|
|
20172
20170
|
shorthand: record.shorthand,
|
|
20173
20171
|
full: record.itemNameSelf || ''
|
|
@@ -20181,17 +20179,17 @@ var useColumns$1 = (function (form) {
|
|
|
20181
20179
|
}
|
|
20182
20180
|
}
|
|
20183
20181
|
}, {
|
|
20184
|
-
title:
|
|
20182
|
+
title: React.createElement(TitleText$1, {
|
|
20185
20183
|
rules: (_columnsReplenish$ite = columnsReplenish['itemModelName']) === null || _columnsReplenish$ite === void 0 ? void 0 : _columnsReplenish$ite.rules
|
|
20186
20184
|
}, "\u89C4\u683C\u578B\u53F7"),
|
|
20187
20185
|
key: 'itemModelName',
|
|
20188
20186
|
width: 119,
|
|
20189
20187
|
render: function render(_, record) {
|
|
20190
20188
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('itemModelName')) {
|
|
20191
|
-
return
|
|
20189
|
+
return React.createElement(Form.Item, null, getFieldDecorator('itemModelName', {
|
|
20192
20190
|
initialValue: isMyShow ? editGood.itemModelNameSelf : editGood.itemModelName,
|
|
20193
20191
|
rules: getReplenishRules('itemModelName')
|
|
20194
|
-
})(
|
|
20192
|
+
})(React.createElement(MyInput$2, {
|
|
20195
20193
|
onChange: function () {
|
|
20196
20194
|
var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
20197
20195
|
var key, value;
|
|
@@ -20224,7 +20222,7 @@ var useColumns$1 = (function (form) {
|
|
|
20224
20222
|
}()
|
|
20225
20223
|
})));
|
|
20226
20224
|
} else {
|
|
20227
|
-
return
|
|
20225
|
+
return React.createElement(MyItemNameDiv$1, {
|
|
20228
20226
|
valueT: formatSearch$1(record.itemModelNameSelf, searchValue),
|
|
20229
20227
|
valueF: formatSearch$1(record.itemModelName, searchValue),
|
|
20230
20228
|
isMyShow: isMyShow
|
|
@@ -20232,17 +20230,17 @@ var useColumns$1 = (function (form) {
|
|
|
20232
20230
|
}
|
|
20233
20231
|
}
|
|
20234
20232
|
}, {
|
|
20235
|
-
title:
|
|
20233
|
+
title: React.createElement(TitleText$1, {
|
|
20236
20234
|
rules: (_columnsReplenish$uni = columnsReplenish['unit']) === null || _columnsReplenish$uni === void 0 ? void 0 : _columnsReplenish$uni.rules
|
|
20237
20235
|
}, "\u5355\u4F4D"),
|
|
20238
20236
|
key: 'unit',
|
|
20239
20237
|
width: 70,
|
|
20240
20238
|
render: function render(_, record) {
|
|
20241
20239
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('unit')) {
|
|
20242
|
-
return
|
|
20240
|
+
return React.createElement(Form.Item, null, getFieldDecorator('unit', {
|
|
20243
20241
|
initialValue: editGood.unit,
|
|
20244
20242
|
rules: getReplenishRules('unit')
|
|
20245
|
-
})(
|
|
20243
|
+
})(React.createElement(AutoComplete$1, {
|
|
20246
20244
|
style: {
|
|
20247
20245
|
width: '100%'
|
|
20248
20246
|
},
|
|
@@ -20277,7 +20275,7 @@ var useColumns$1 = (function (form) {
|
|
|
20277
20275
|
}()
|
|
20278
20276
|
})));
|
|
20279
20277
|
} else {
|
|
20280
|
-
return
|
|
20278
|
+
return React.createElement("span", {
|
|
20281
20279
|
style: {
|
|
20282
20280
|
padding: '0 10px'
|
|
20283
20281
|
}
|
|
@@ -20285,7 +20283,7 @@ var useColumns$1 = (function (form) {
|
|
|
20285
20283
|
}
|
|
20286
20284
|
}
|
|
20287
20285
|
}, {
|
|
20288
|
-
title:
|
|
20286
|
+
title: React.createElement(TitleText$1, {
|
|
20289
20287
|
rules: (_columnsReplenish$qua = columnsReplenish['quantity']) === null || _columnsReplenish$qua === void 0 ? void 0 : _columnsReplenish$qua.rules
|
|
20290
20288
|
}, "\u6570\u91CF"),
|
|
20291
20289
|
dataIndex: 'quantity',
|
|
@@ -20294,7 +20292,7 @@ var useColumns$1 = (function (form) {
|
|
|
20294
20292
|
width: 149,
|
|
20295
20293
|
render: function render(value, record) {
|
|
20296
20294
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('quantity')) {
|
|
20297
|
-
return
|
|
20295
|
+
return React.createElement(Form.Item, null, getFieldDecorator('quantity', {
|
|
20298
20296
|
initialValue: nonScientificNotation(editGood.quantity),
|
|
20299
20297
|
getValueFromEvent: onNumberValueChange,
|
|
20300
20298
|
rules: [].concat(_toConsumableArray(getReplenishRules('quantity')), [{
|
|
@@ -20340,7 +20338,7 @@ var useColumns$1 = (function (form) {
|
|
|
20340
20338
|
return validator;
|
|
20341
20339
|
}()
|
|
20342
20340
|
}])
|
|
20343
|
-
})(
|
|
20341
|
+
})(React.createElement(MyInput$2, {
|
|
20344
20342
|
style: {
|
|
20345
20343
|
textAlign: 'right'
|
|
20346
20344
|
},
|
|
@@ -20372,7 +20370,7 @@ var useColumns$1 = (function (form) {
|
|
|
20372
20370
|
}()
|
|
20373
20371
|
})));
|
|
20374
20372
|
} else {
|
|
20375
|
-
return
|
|
20373
|
+
return React.createElement("span", {
|
|
20376
20374
|
style: {
|
|
20377
20375
|
padding: '0 10px'
|
|
20378
20376
|
}
|
|
@@ -20380,7 +20378,7 @@ var useColumns$1 = (function (form) {
|
|
|
20380
20378
|
}
|
|
20381
20379
|
}
|
|
20382
20380
|
}, {
|
|
20383
|
-
title:
|
|
20381
|
+
title: React.createElement(TitleText$1, {
|
|
20384
20382
|
rules: (_columnsReplenish$pri = columnsReplenish['priceIncludeTax']) === null || _columnsReplenish$pri === void 0 ? void 0 : _columnsReplenish$pri.rules
|
|
20385
20383
|
}, "\u5355\u4EF7(\u542B\u7A0E)"),
|
|
20386
20384
|
dataIndex: 'priceIncludeTax',
|
|
@@ -20389,7 +20387,7 @@ var useColumns$1 = (function (form) {
|
|
|
20389
20387
|
width: 149,
|
|
20390
20388
|
render: function render(value, record) {
|
|
20391
20389
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('priceIncludeTax')) {
|
|
20392
|
-
return
|
|
20390
|
+
return React.createElement(Form.Item, null, getFieldDecorator('priceIncludeTax', {
|
|
20393
20391
|
initialValue: nonScientificNotation(editGood.priceIncludeTax),
|
|
20394
20392
|
getValueFromEvent: onNumberValueChange,
|
|
20395
20393
|
rules: [].concat(_toConsumableArray(getReplenishRules('priceIncludeTax')), [{
|
|
@@ -20435,7 +20433,7 @@ var useColumns$1 = (function (form) {
|
|
|
20435
20433
|
return validator;
|
|
20436
20434
|
}()
|
|
20437
20435
|
}])
|
|
20438
|
-
})(
|
|
20436
|
+
})(React.createElement(MyInput$2, {
|
|
20439
20437
|
style: {
|
|
20440
20438
|
textAlign: 'right'
|
|
20441
20439
|
},
|
|
@@ -20447,7 +20445,7 @@ var useColumns$1 = (function (form) {
|
|
|
20447
20445
|
}
|
|
20448
20446
|
})));
|
|
20449
20447
|
} else {
|
|
20450
|
-
return
|
|
20448
|
+
return React.createElement("span", {
|
|
20451
20449
|
style: {
|
|
20452
20450
|
padding: '0 10px'
|
|
20453
20451
|
}
|
|
@@ -20455,7 +20453,7 @@ var useColumns$1 = (function (form) {
|
|
|
20455
20453
|
}
|
|
20456
20454
|
}
|
|
20457
20455
|
}, {
|
|
20458
|
-
title:
|
|
20456
|
+
title: React.createElement(TitleText$1, {
|
|
20459
20457
|
rules: (_columnsReplenish$pri2 = columnsReplenish['priceExcludeTax']) === null || _columnsReplenish$pri2 === void 0 ? void 0 : _columnsReplenish$pri2.rules
|
|
20460
20458
|
}, "\u5355\u4EF7(\u4E0D\u542B\u7A0E)"),
|
|
20461
20459
|
dataIndex: 'priceExcludeTax',
|
|
@@ -20464,7 +20462,7 @@ var useColumns$1 = (function (form) {
|
|
|
20464
20462
|
width: 149,
|
|
20465
20463
|
render: function render(value, record) {
|
|
20466
20464
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('priceExcludeTax')) {
|
|
20467
|
-
return
|
|
20465
|
+
return React.createElement(Form.Item, null, getFieldDecorator('priceExcludeTax', {
|
|
20468
20466
|
initialValue: nonScientificNotation(editGood.priceExcludeTax),
|
|
20469
20467
|
getValueFromEvent: onNumberValueChange,
|
|
20470
20468
|
rules: [].concat(_toConsumableArray(getReplenishRules('priceExcludeTax')), [{
|
|
@@ -20510,7 +20508,7 @@ var useColumns$1 = (function (form) {
|
|
|
20510
20508
|
return validator;
|
|
20511
20509
|
}()
|
|
20512
20510
|
}])
|
|
20513
|
-
})(
|
|
20511
|
+
})(React.createElement(MyInput$2, {
|
|
20514
20512
|
style: {
|
|
20515
20513
|
textAlign: 'right'
|
|
20516
20514
|
},
|
|
@@ -20522,7 +20520,7 @@ var useColumns$1 = (function (form) {
|
|
|
20522
20520
|
}
|
|
20523
20521
|
})));
|
|
20524
20522
|
} else {
|
|
20525
|
-
return
|
|
20523
|
+
return React.createElement("span", {
|
|
20526
20524
|
style: {
|
|
20527
20525
|
padding: '0 10px'
|
|
20528
20526
|
}
|
|
@@ -20530,7 +20528,7 @@ var useColumns$1 = (function (form) {
|
|
|
20530
20528
|
}
|
|
20531
20529
|
}
|
|
20532
20530
|
}, {
|
|
20533
|
-
title:
|
|
20531
|
+
title: React.createElement(TitleText$1, {
|
|
20534
20532
|
required: true
|
|
20535
20533
|
}, "\u91D1\u989D(\u542B\u7A0E)"),
|
|
20536
20534
|
dataIndex: 'lineAmountIncludeTax',
|
|
@@ -20539,7 +20537,7 @@ var useColumns$1 = (function (form) {
|
|
|
20539
20537
|
align: 'right',
|
|
20540
20538
|
render: function render(value, record) {
|
|
20541
20539
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('lineAmountIncludeTax')) {
|
|
20542
|
-
return
|
|
20540
|
+
return React.createElement(Form.Item, null, getFieldDecorator('lineAmountIncludeTax', {
|
|
20543
20541
|
initialValue: editGood.lineAmountIncludeTax,
|
|
20544
20542
|
getValueFromEvent: onNumberValueChange,
|
|
20545
20543
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountIncludeTax')), [{
|
|
@@ -20599,7 +20597,7 @@ var useColumns$1 = (function (form) {
|
|
|
20599
20597
|
return validator;
|
|
20600
20598
|
}()
|
|
20601
20599
|
}])
|
|
20602
|
-
})(
|
|
20600
|
+
})(React.createElement(MyInput$2, {
|
|
20603
20601
|
style: {
|
|
20604
20602
|
textAlign: 'right'
|
|
20605
20603
|
},
|
|
@@ -20610,7 +20608,7 @@ var useColumns$1 = (function (form) {
|
|
|
20610
20608
|
}
|
|
20611
20609
|
})));
|
|
20612
20610
|
} else {
|
|
20613
|
-
return
|
|
20611
|
+
return React.createElement("span", {
|
|
20614
20612
|
style: {
|
|
20615
20613
|
padding: '0 10px'
|
|
20616
20614
|
}
|
|
@@ -20618,7 +20616,7 @@ var useColumns$1 = (function (form) {
|
|
|
20618
20616
|
}
|
|
20619
20617
|
}
|
|
20620
20618
|
}, {
|
|
20621
|
-
title:
|
|
20619
|
+
title: React.createElement(TitleText$1, {
|
|
20622
20620
|
required: true
|
|
20623
20621
|
}, "\u91D1\u989D(\u4E0D\u542B\u7A0E)"),
|
|
20624
20622
|
dataIndex: 'lineAmountExcludeTax',
|
|
@@ -20627,7 +20625,7 @@ var useColumns$1 = (function (form) {
|
|
|
20627
20625
|
width: 119,
|
|
20628
20626
|
render: function render(value, record) {
|
|
20629
20627
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('lineAmountExcludeTax')) {
|
|
20630
|
-
return
|
|
20628
|
+
return React.createElement(Form.Item, null, getFieldDecorator('lineAmountExcludeTax', {
|
|
20631
20629
|
initialValue: editGood.lineAmountExcludeTax,
|
|
20632
20630
|
getValueFromEvent: onNumberValueChange,
|
|
20633
20631
|
rules: [].concat(_toConsumableArray(getReplenishRules('lineAmountExcludeTax')), [{
|
|
@@ -20662,7 +20660,7 @@ var useColumns$1 = (function (form) {
|
|
|
20662
20660
|
return validator;
|
|
20663
20661
|
}()
|
|
20664
20662
|
}])
|
|
20665
|
-
})(
|
|
20663
|
+
})(React.createElement(MyInput$2, {
|
|
20666
20664
|
style: {
|
|
20667
20665
|
textAlign: 'right'
|
|
20668
20666
|
},
|
|
@@ -20673,7 +20671,7 @@ var useColumns$1 = (function (form) {
|
|
|
20673
20671
|
}
|
|
20674
20672
|
})));
|
|
20675
20673
|
} else {
|
|
20676
|
-
return
|
|
20674
|
+
return React.createElement("span", {
|
|
20677
20675
|
style: {
|
|
20678
20676
|
padding: '0 10px'
|
|
20679
20677
|
}
|
|
@@ -20681,7 +20679,7 @@ var useColumns$1 = (function (form) {
|
|
|
20681
20679
|
}
|
|
20682
20680
|
}
|
|
20683
20681
|
}, {
|
|
20684
|
-
title:
|
|
20682
|
+
title: React.createElement(TitleText$1, {
|
|
20685
20683
|
required: true
|
|
20686
20684
|
}, "\u7A0E\u7387"),
|
|
20687
20685
|
dataIndex: 'taxRate',
|
|
@@ -20690,7 +20688,7 @@ var useColumns$1 = (function (form) {
|
|
|
20690
20688
|
width: 70,
|
|
20691
20689
|
render: function render(value, record) {
|
|
20692
20690
|
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index && !disableds.includes('taxRate')) {
|
|
20693
|
-
return
|
|
20691
|
+
return React.createElement(Form.Item, null, getFieldDecorator('taxRate', {
|
|
20694
20692
|
initialValue: editGood.taxRate,
|
|
20695
20693
|
rules: [].concat(_toConsumableArray(getReplenishRules('taxRate')), [{
|
|
20696
20694
|
required: true,
|
|
@@ -20699,7 +20697,7 @@ var useColumns$1 = (function (form) {
|
|
|
20699
20697
|
pattern: /^[+-]?(0|([1-9]\d*))(\.\d+)?$/,
|
|
20700
20698
|
message: '请选择正确税率'
|
|
20701
20699
|
}])
|
|
20702
|
-
})(
|
|
20700
|
+
})(React.createElement(Select$1, {
|
|
20703
20701
|
className: "kts-invoice-operate-goods-list-table-tax-rate",
|
|
20704
20702
|
// dropdownMenuStyle={{ textAlign: "right" }}
|
|
20705
20703
|
showArrow: false,
|
|
@@ -20711,13 +20709,13 @@ var useColumns$1 = (function (form) {
|
|
|
20711
20709
|
onChangeTaxRate$1(controller, form, record);
|
|
20712
20710
|
}
|
|
20713
20711
|
}, taxRateList.map(function (e, i) {
|
|
20714
|
-
return
|
|
20712
|
+
return React.createElement(Select$1.Option, {
|
|
20715
20713
|
key: i,
|
|
20716
20714
|
value: e
|
|
20717
20715
|
}, e, "%");
|
|
20718
20716
|
}))));
|
|
20719
20717
|
} else {
|
|
20720
|
-
return
|
|
20718
|
+
return React.createElement("span", {
|
|
20721
20719
|
style: {
|
|
20722
20720
|
padding: '0 10px'
|
|
20723
20721
|
}
|
|
@@ -20725,7 +20723,7 @@ var useColumns$1 = (function (form) {
|
|
|
20725
20723
|
}
|
|
20726
20724
|
}
|
|
20727
20725
|
}, {
|
|
20728
|
-
title:
|
|
20726
|
+
title: React.createElement(TitleText$1, {
|
|
20729
20727
|
rules: (_columnsReplenish$tax = columnsReplenish['taxAmount']) === null || _columnsReplenish$tax === void 0 ? void 0 : _columnsReplenish$tax.rules
|
|
20730
20728
|
}, "\u7A0E\u989D"),
|
|
20731
20729
|
dataIndex: 'taxAmount',
|
|
@@ -20737,11 +20735,11 @@ var useColumns$1 = (function (form) {
|
|
|
20737
20735
|
return getFieldDecorator('taxAmount', {
|
|
20738
20736
|
initialValue: editGood.taxAmount,
|
|
20739
20737
|
rules: getReplenishRules('taxAmount')
|
|
20740
|
-
})(
|
|
20738
|
+
})(React.createElement(MyDiv$2, {
|
|
20741
20739
|
loading: isCipher$1(changeField, 'taxAmount')
|
|
20742
20740
|
}));
|
|
20743
20741
|
} else {
|
|
20744
|
-
return
|
|
20742
|
+
return React.createElement("span", {
|
|
20745
20743
|
style: {
|
|
20746
20744
|
padding: '0 10px'
|
|
20747
20745
|
}
|
|
@@ -20808,13 +20806,13 @@ var MyInput$2 = /*#__PURE__*/function (_React$Component) {
|
|
|
20808
20806
|
key: "render",
|
|
20809
20807
|
value: function render() {
|
|
20810
20808
|
if (this.props.loading) {
|
|
20811
|
-
return
|
|
20809
|
+
return React.createElement(Spin$1, {
|
|
20812
20810
|
size: "small"
|
|
20813
|
-
},
|
|
20811
|
+
}, React.createElement(Input$1, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
|
20814
20812
|
autoComplete: "off"
|
|
20815
20813
|
})));
|
|
20816
20814
|
} else {
|
|
20817
|
-
return
|
|
20815
|
+
return React.createElement(Input$1, _objectSpread2(_objectSpread2({}, this.props), {}, {
|
|
20818
20816
|
autoComplete: "off"
|
|
20819
20817
|
}));
|
|
20820
20818
|
}
|
|
@@ -20839,15 +20837,15 @@ var MyDiv$2 = /*#__PURE__*/function (_React$Component2) {
|
|
|
20839
20837
|
key: "render",
|
|
20840
20838
|
value: function render() {
|
|
20841
20839
|
if (this.props.loading) {
|
|
20842
|
-
return
|
|
20840
|
+
return React.createElement(Spin$1, {
|
|
20843
20841
|
size: "small"
|
|
20844
|
-
},
|
|
20842
|
+
}, React.createElement("span", {
|
|
20845
20843
|
style: {
|
|
20846
20844
|
padding: '0 10px'
|
|
20847
20845
|
}
|
|
20848
20846
|
}, this.props.value));
|
|
20849
20847
|
} else {
|
|
20850
|
-
return
|
|
20848
|
+
return React.createElement("span", {
|
|
20851
20849
|
style: {
|
|
20852
20850
|
padding: '0 10px'
|
|
20853
20851
|
}
|
|
@@ -20880,32 +20878,32 @@ var MyItemNameDiv$1 = /*#__PURE__*/function (_React$Component3) {
|
|
|
20880
20878
|
|
|
20881
20879
|
if (isMyShow) {
|
|
20882
20880
|
if (valueT) {
|
|
20883
|
-
return
|
|
20881
|
+
return React.createElement(Tooltip$1, {
|
|
20884
20882
|
title: valueT
|
|
20885
|
-
},
|
|
20883
|
+
}, React.createElement("span", {
|
|
20886
20884
|
style: _objectSpread2(_objectSpread2({}, MyItemNameStyle), {}, {
|
|
20887
20885
|
color: '#0074ff'
|
|
20888
20886
|
})
|
|
20889
20887
|
}, valueT));
|
|
20890
20888
|
} else {
|
|
20891
|
-
return
|
|
20889
|
+
return React.createElement(Tooltip$1, {
|
|
20892
20890
|
title: valueF
|
|
20893
|
-
},
|
|
20891
|
+
}, React.createElement("span", {
|
|
20894
20892
|
style: MyItemNameStyle
|
|
20895
20893
|
}, valueF));
|
|
20896
20894
|
}
|
|
20897
20895
|
} else {
|
|
20898
20896
|
if (valueF) {
|
|
20899
|
-
return
|
|
20897
|
+
return React.createElement(Tooltip$1, {
|
|
20900
20898
|
title: valueF
|
|
20901
|
-
},
|
|
20899
|
+
}, React.createElement("span", {
|
|
20902
20900
|
style: MyItemNameStyle
|
|
20903
20901
|
}, valueF));
|
|
20904
20902
|
} else {
|
|
20905
|
-
return
|
|
20903
|
+
return React.createElement(Tooltip$1, {
|
|
20906
20904
|
title: valueT,
|
|
20907
20905
|
style: MyItemNameStyle
|
|
20908
|
-
},
|
|
20906
|
+
}, React.createElement("span", {
|
|
20909
20907
|
style: _objectSpread2(_objectSpread2({}, MyItemNameStyle), {}, {
|
|
20910
20908
|
color: '#0074ff'
|
|
20911
20909
|
})
|
|
@@ -20927,7 +20925,7 @@ function formatSearch$1(value, search) {
|
|
|
20927
20925
|
return dcoding$1(e);
|
|
20928
20926
|
}).join("<span class=\"kts-invoice-operate-goods-list-table-search-protrude\" >".concat(search, "</span>"));
|
|
20929
20927
|
|
|
20930
|
-
return
|
|
20928
|
+
return React.createElement("span", {
|
|
20931
20929
|
dangerouslySetInnerHTML: {
|
|
20932
20930
|
__html: __html
|
|
20933
20931
|
}
|
|
@@ -21322,7 +21320,7 @@ var useRowSelection$1 = (function () {
|
|
|
21322
21320
|
};
|
|
21323
21321
|
}(), [controller]);
|
|
21324
21322
|
var columnTitle = React.useMemo(function () {
|
|
21325
|
-
return
|
|
21323
|
+
return React.createElement(Checkbox, {
|
|
21326
21324
|
onChange: onClickSelectAll,
|
|
21327
21325
|
indeterminate: indeterminate,
|
|
21328
21326
|
checked: isAll
|
|
@@ -21471,19 +21469,19 @@ var useDelRowButton$1 = (function () {
|
|
|
21471
21469
|
}, _callee2);
|
|
21472
21470
|
})), []);
|
|
21473
21471
|
var menuItem = React.useMemo(function () {
|
|
21474
|
-
if (model === 'prefab') return
|
|
21475
|
-
if (model === 'readOnly') return
|
|
21476
|
-
return
|
|
21472
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
21473
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
21474
|
+
return React.createElement(Menu$1.Item, {
|
|
21477
21475
|
key: "1",
|
|
21478
21476
|
onClick: onClick,
|
|
21479
21477
|
disabled: disabled
|
|
21480
21478
|
}, " \u5220\u9664\u884C ");
|
|
21481
21479
|
}, [model, onClick, disabled]);
|
|
21482
21480
|
var button = React.useMemo(function () {
|
|
21483
|
-
if (isRemRow === false) return
|
|
21484
|
-
if (model === 'prefab') return
|
|
21485
|
-
if (model === 'readOnly') return
|
|
21486
|
-
return
|
|
21481
|
+
if (isRemRow === false) return React.createElement(React.Fragment, null);
|
|
21482
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
21483
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
21484
|
+
return React.createElement(Button$1, {
|
|
21487
21485
|
size: 'small',
|
|
21488
21486
|
onClick: onClick,
|
|
21489
21487
|
disabled: disabled
|
|
@@ -21714,16 +21712,16 @@ var useAddDiscountRowButton$1 = (function () {
|
|
|
21714
21712
|
}, [isAddDiscount, model]);
|
|
21715
21713
|
var button = React.useMemo(function () {
|
|
21716
21714
|
if (isEnable) {
|
|
21717
|
-
return
|
|
21715
|
+
return React.createElement(React.Fragment, null, React.createElement(Button$1, {
|
|
21718
21716
|
size: 'small',
|
|
21719
21717
|
onClick: onOpen,
|
|
21720
21718
|
disabled: disabled
|
|
21721
|
-
}, "\u6DFB\u52A0\u6298\u6263"),
|
|
21719
|
+
}, "\u6DFB\u52A0\u6298\u6263"), React.createElement(AddDiscountRowDrawer, {
|
|
21722
21720
|
open: open,
|
|
21723
21721
|
onClose: onClose
|
|
21724
21722
|
}));
|
|
21725
21723
|
} else {
|
|
21726
|
-
return
|
|
21724
|
+
return React.createElement(React.Fragment, null);
|
|
21727
21725
|
}
|
|
21728
21726
|
}, [open, onOpen, onClose, isEnable, disabled]);
|
|
21729
21727
|
return {
|
|
@@ -21904,35 +21902,35 @@ function AddDiscountRowDrawer(props) {
|
|
|
21904
21902
|
discolineValue: undefined
|
|
21905
21903
|
}));
|
|
21906
21904
|
}, [formValues === null || formValues === void 0 ? void 0 : formValues.discolineType]);
|
|
21907
|
-
return
|
|
21905
|
+
return React.createElement(Drawer$1, {
|
|
21908
21906
|
title: "\u6DFB\u52A0\u6298\u6263",
|
|
21909
21907
|
placement: "right",
|
|
21910
21908
|
width: 350,
|
|
21911
21909
|
onClose: onClose,
|
|
21912
21910
|
open: open,
|
|
21913
|
-
footer:
|
|
21911
|
+
footer: React.createElement(Space, {
|
|
21914
21912
|
size: "middle",
|
|
21915
21913
|
style: {
|
|
21916
21914
|
display: 'flex',
|
|
21917
21915
|
justifyContent: 'end'
|
|
21918
21916
|
}
|
|
21919
|
-
},
|
|
21917
|
+
}, React.createElement(Button$1, {
|
|
21920
21918
|
onClick: onDefine,
|
|
21921
21919
|
type: 'primary'
|
|
21922
|
-
}, "\u786E\u5B9A"),
|
|
21920
|
+
}, "\u786E\u5B9A"), React.createElement(Button$1, {
|
|
21923
21921
|
onClick: onClose
|
|
21924
21922
|
}, "\u53D6\u6D88"))
|
|
21925
|
-
},
|
|
21923
|
+
}, React.createElement(Form$1, {
|
|
21926
21924
|
form: form,
|
|
21927
21925
|
layout: 'vertical',
|
|
21928
21926
|
onChange: onChangeForm
|
|
21929
|
-
},
|
|
21927
|
+
}, React.createElement(Form$1.Item, {
|
|
21930
21928
|
label: "\u5546\u54C1\u91D1\u989D\uFF08\u542B\u7A0E\uFF09"
|
|
21931
|
-
}, totalAmount.toFixed(2), "\uFF08\u5171 ", discountGood.length, " \u884C\uFF09"),
|
|
21929
|
+
}, totalAmount.toFixed(2), "\uFF08\u5171 ", discountGood.length, " \u884C\uFF09"), React.createElement(Form$1.Item, {
|
|
21932
21930
|
label: "\u6298\u6263\u65B9\u5F0F",
|
|
21933
21931
|
name: 'discolineType',
|
|
21934
21932
|
initialValue: '1'
|
|
21935
|
-
},
|
|
21933
|
+
}, React.createElement(Radio.Group, {
|
|
21936
21934
|
options: [{
|
|
21937
21935
|
label: '按金额折扣',
|
|
21938
21936
|
value: '1'
|
|
@@ -21940,7 +21938,7 @@ function AddDiscountRowDrawer(props) {
|
|
|
21940
21938
|
label: '按比例折扣',
|
|
21941
21939
|
value: '2'
|
|
21942
21940
|
}]
|
|
21943
|
-
})), (formValues === null || formValues === void 0 ? void 0 : formValues.discolineType) === '2' ?
|
|
21941
|
+
})), (formValues === null || formValues === void 0 ? void 0 : formValues.discolineType) === '2' ? React.createElement(Form$1.Item, {
|
|
21944
21942
|
label: "\u6298\u6263\u6BD4\u4F8B\uFF08%\uFF09\uFF08\u542B\u7A0E\uFF09",
|
|
21945
21943
|
name: 'discolineValue',
|
|
21946
21944
|
rules: [{
|
|
@@ -21991,11 +21989,11 @@ function AddDiscountRowDrawer(props) {
|
|
|
21991
21989
|
return validator;
|
|
21992
21990
|
}()
|
|
21993
21991
|
}]
|
|
21994
|
-
},
|
|
21992
|
+
}, React.createElement(InputNumber, {
|
|
21995
21993
|
style: {
|
|
21996
21994
|
width: '100%'
|
|
21997
21995
|
}
|
|
21998
|
-
})) :
|
|
21996
|
+
})) : React.createElement(Form$1.Item, {
|
|
21999
21997
|
label: "\u6298\u6263\u91D1\u989D\uFF08\u5143\uFF09\uFF08\u542B\u7A0E\uFF09",
|
|
22000
21998
|
name: 'discolineValue',
|
|
22001
21999
|
rules: [{
|
|
@@ -22046,7 +22044,7 @@ function AddDiscountRowDrawer(props) {
|
|
|
22046
22044
|
return validator;
|
|
22047
22045
|
}()
|
|
22048
22046
|
}]
|
|
22049
|
-
},
|
|
22047
|
+
}, React.createElement(InputNumber, {
|
|
22050
22048
|
style: {
|
|
22051
22049
|
width: '100%'
|
|
22052
22050
|
}
|
|
@@ -22190,16 +22188,16 @@ var useEndowCodeButton$1 = (function () {
|
|
|
22190
22188
|
}, _callee2);
|
|
22191
22189
|
})), [controller]);
|
|
22192
22190
|
var menuItem = React.useMemo(function () {
|
|
22193
|
-
if (model === 'readOnly') return
|
|
22194
|
-
return
|
|
22191
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
22192
|
+
return React.createElement(Menu$1.Item, {
|
|
22195
22193
|
key: "2",
|
|
22196
22194
|
onClick: onClick,
|
|
22197
22195
|
disabled: disabled
|
|
22198
22196
|
}, "\u6279\u91CF\u8D4B\u7801");
|
|
22199
22197
|
}, [onClick, disabled, model]);
|
|
22200
22198
|
var button = React.useMemo(function () {
|
|
22201
|
-
if (model === 'readOnly') return
|
|
22202
|
-
return
|
|
22199
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
22200
|
+
return React.createElement(Button$1, {
|
|
22203
22201
|
onClick: onClick,
|
|
22204
22202
|
disabled: disabled,
|
|
22205
22203
|
size: 'small'
|
|
@@ -22261,14 +22259,14 @@ var useEmptyRefill = (function () {
|
|
|
22261
22259
|
}());
|
|
22262
22260
|
}, [controller]);
|
|
22263
22261
|
var button = React.useMemo(function () {
|
|
22264
|
-
if (model === 'readOnly') return
|
|
22265
|
-
if (model === 'prefab') return
|
|
22266
|
-
return
|
|
22262
|
+
if (model === 'readOnly') return React.createElement(React.Fragment, null);
|
|
22263
|
+
if (model === 'prefab') return React.createElement(React.Fragment, null);
|
|
22264
|
+
return React.createElement(Popconfirm, {
|
|
22267
22265
|
title: "\u5C06\u8981\u6E05\u7A7A\u6240\u6709\u9879\u76EE\u4FE1\u606F\uFF0C\u662F\u5426\u7EE7\u7EED",
|
|
22268
22266
|
onConfirm: confirm,
|
|
22269
22267
|
okText: "\u786E\u5B9A",
|
|
22270
22268
|
cancelText: "\u53D6\u6D88"
|
|
22271
|
-
},
|
|
22269
|
+
}, React.createElement(Button$1, {
|
|
22272
22270
|
size: 'small'
|
|
22273
22271
|
}, "\u6E05\u7A7A\u91CD\u586B"));
|
|
22274
22272
|
}, [model, confirm]);
|
|
@@ -22335,14 +22333,14 @@ function InvoiceTypeModal(props) {
|
|
|
22335
22333
|
setValues(values);
|
|
22336
22334
|
}
|
|
22337
22335
|
}, [props.open, props.defaultBillingType, props.defaultBusiness, props.defaultInvoiceType, form]);
|
|
22338
|
-
return
|
|
22336
|
+
return React.createElement(Modal, {
|
|
22339
22337
|
title: props.modalTitle || "选择开具信息",
|
|
22340
22338
|
open: props.open,
|
|
22341
22339
|
onOk: onConfirm,
|
|
22342
22340
|
onCancel: props.onCancel,
|
|
22343
22341
|
okText: "\u786E\u5B9A",
|
|
22344
22342
|
cancelText: "\u53D6\u6D88"
|
|
22345
|
-
},
|
|
22343
|
+
}, React.createElement(Form$1, {
|
|
22346
22344
|
form: form,
|
|
22347
22345
|
layout: "vertical",
|
|
22348
22346
|
style: {
|
|
@@ -22351,13 +22349,13 @@ function InvoiceTypeModal(props) {
|
|
|
22351
22349
|
onValuesChange: function onValuesChange(_, e) {
|
|
22352
22350
|
setValues(e);
|
|
22353
22351
|
}
|
|
22354
|
-
},
|
|
22352
|
+
}, React.createElement(Row, {
|
|
22355
22353
|
gutter: [16, 16]
|
|
22356
|
-
},
|
|
22354
|
+
}, React.createElement(Col, {
|
|
22357
22355
|
span: 24
|
|
22358
|
-
},
|
|
22356
|
+
}, React.createElement(Form$1.Item, {
|
|
22359
22357
|
name: 'billingType'
|
|
22360
|
-
},
|
|
22358
|
+
}, React.createElement(Radio.Group, {
|
|
22361
22359
|
size: 'large',
|
|
22362
22360
|
className: "goods-list-digtal-reselect-invoice-typeModal-radio",
|
|
22363
22361
|
optionType: "button",
|
|
@@ -22370,27 +22368,27 @@ function InvoiceTypeModal(props) {
|
|
|
22370
22368
|
label: '税控发票',
|
|
22371
22369
|
value: 'taxation'
|
|
22372
22370
|
}]
|
|
22373
|
-
}))),
|
|
22371
|
+
}))), React.createElement(Col, {
|
|
22374
22372
|
span: 12
|
|
22375
|
-
},
|
|
22373
|
+
}, React.createElement(Form$1.Item, {
|
|
22376
22374
|
name: 'invoiceType',
|
|
22377
22375
|
label: "\u9009\u62E9\u7968\u7C7B",
|
|
22378
22376
|
rules: [{
|
|
22379
22377
|
required: true,
|
|
22380
22378
|
message: '选择票类必填'
|
|
22381
22379
|
}]
|
|
22382
|
-
},
|
|
22380
|
+
}, React.createElement(Select$1, {
|
|
22383
22381
|
size: 'large',
|
|
22384
22382
|
allowClear: true,
|
|
22385
22383
|
placeholder: "\u8BF7\u9009\u62E9\uFF08\u5FC5\u586B\u9879\uFF09",
|
|
22386
22384
|
disabled: disableds.indexOf('invoiceType') >= 0,
|
|
22387
22385
|
options: props.invoiceTypeOptions
|
|
22388
|
-
}))),
|
|
22386
|
+
}))), React.createElement(Col, {
|
|
22389
22387
|
span: 12
|
|
22390
|
-
},
|
|
22388
|
+
}, React.createElement(Form$1.Item, {
|
|
22391
22389
|
name: 'business',
|
|
22392
22390
|
label: "\u7279\u5B9A\u4E1A\u52A1"
|
|
22393
|
-
},
|
|
22391
|
+
}, React.createElement(Select$1, {
|
|
22394
22392
|
size: 'large',
|
|
22395
22393
|
allowClear: true,
|
|
22396
22394
|
placeholder: "\u8BF7\u9009\u62E9\uFF08\u975E\u5FC5\u586B\u9879\uFF09",
|
|
@@ -22435,11 +22433,11 @@ var useReselectInvoiceType = (function () {
|
|
|
22435
22433
|
return true;
|
|
22436
22434
|
}, [model, typeModalProps === null || typeModalProps === void 0 ? void 0 : typeModalProps.isDisabled]);
|
|
22437
22435
|
var button = React.useMemo(function () {
|
|
22438
|
-
if (isEnable === false) return
|
|
22439
|
-
return
|
|
22436
|
+
if (isEnable === false) return React.createElement(React.Fragment, null);
|
|
22437
|
+
return React.createElement(React.Fragment, null, React.createElement(Button$1, {
|
|
22440
22438
|
size: 'small',
|
|
22441
22439
|
onClick: onOpen
|
|
22442
|
-
}, "\u91CD\u9009\u53D1\u7968\u7C7B\u578B"),
|
|
22440
|
+
}, "\u91CD\u9009\u53D1\u7968\u7C7B\u578B"), React.createElement(InvoiceTypeModal, _objectSpread2(_objectSpread2({}, typeModalProps), {}, {
|
|
22443
22441
|
open: open,
|
|
22444
22442
|
onCancel: onClose,
|
|
22445
22443
|
onOk: onOk
|
|
@@ -22467,7 +22465,7 @@ var GoodsList$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
22467
22465
|
_createClass(GoodsList, [{
|
|
22468
22466
|
key: "render",
|
|
22469
22467
|
value: function render() {
|
|
22470
|
-
return
|
|
22468
|
+
return React.createElement(Main$3, _objectSpread2({}, this.props));
|
|
22471
22469
|
}
|
|
22472
22470
|
}]);
|
|
22473
22471
|
|
|
@@ -22668,20 +22666,20 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
22668
22666
|
};
|
|
22669
22667
|
}())();
|
|
22670
22668
|
}, [controller, props.isSwitchTax]);
|
|
22671
|
-
return
|
|
22669
|
+
return React.createElement("div", {
|
|
22672
22670
|
className: "kts-invoice-operate-goods-list-digtal",
|
|
22673
22671
|
onClick: function onClick(e) {
|
|
22674
22672
|
e.stopPropagation();
|
|
22675
22673
|
}
|
|
22676
|
-
},
|
|
22674
|
+
}, React.createElement("div", {
|
|
22677
22675
|
className: "kts-invoice-operate-goods-list-able"
|
|
22678
|
-
},
|
|
22676
|
+
}, React.createElement(AddRowButton$1, null), delRowButton.button, addDiscountRowButton.button, endowCodeButton.button, React.createElement(TaxIncludedSwitch$1, null), React.createElement(Search$1, null), React.createElement("div", {
|
|
22679
22677
|
style: {
|
|
22680
22678
|
flex: 1
|
|
22681
22679
|
}
|
|
22682
|
-
}), props.menuExpansion, reselectInvoiceType.button, emptyRefill.button),
|
|
22680
|
+
}), props.menuExpansion, reselectInvoiceType.button, emptyRefill.button), React.createElement("div", {
|
|
22683
22681
|
className: classNames('kts-invoice-operate-goods-list-table-digtal')
|
|
22684
|
-
},
|
|
22682
|
+
}, React.createElement(TableVirtual$1, {
|
|
22685
22683
|
size: "small",
|
|
22686
22684
|
rowKey: "$index",
|
|
22687
22685
|
pagination: false,
|
|
@@ -22703,7 +22701,7 @@ var Main$3 = decorator(Form.create())(function (props) {
|
|
|
22703
22701
|
}
|
|
22704
22702
|
};
|
|
22705
22703
|
}
|
|
22706
|
-
})),
|
|
22704
|
+
})), React.createElement("div", null, React.createElement(Statistics$1, null)));
|
|
22707
22705
|
});
|
|
22708
22706
|
|
|
22709
22707
|
var css_248z$q = ".kts-invoice-operate-real-estate-info-digtal {\n padding: 20px;\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-real-estate-info-digtal .real-estate-info-digtal-label {\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-real-estate-info-digtal .ktsAnt3x-row.ktsAnt3x-form-item {\n margin-bottom: 0;\n}\n";
|
|
@@ -22713,33 +22711,37 @@ var RangePicker = DatePicker.RangePicker;
|
|
|
22713
22711
|
/** 特殊信息-不动产经营租赁服务 */
|
|
22714
22712
|
|
|
22715
22713
|
var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
22714
|
+
/** 控制器 */
|
|
22715
|
+
var controller = Invoice.useInvoiceController();
|
|
22716
22716
|
var form = props.form;
|
|
22717
|
-
var getFieldDecorator = form.getFieldDecorator;
|
|
22718
|
-
|
|
22717
|
+
var getFieldDecorator = form.getFieldDecorator; // 注册 form
|
|
22718
|
+
|
|
22719
|
+
controller.useForm('realEstateInfo', form);
|
|
22720
|
+
return React.createElement("div", {
|
|
22719
22721
|
className: "kts-invoice-operate-real-estate-info-digtal"
|
|
22720
|
-
},
|
|
22722
|
+
}, React.createElement("div", {
|
|
22721
22723
|
className: 'real-estate-info-digtal-label'
|
|
22722
|
-
}, "\u7279\u6B8A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u7ECF\u8425\u79DF\u8D41\u670D\u52A1"),
|
|
22724
|
+
}, "\u7279\u6B8A\u4FE1\u606F-\u4E0D\u52A8\u4EA7\u7ECF\u8425\u79DF\u8D41\u670D\u52A1"), React.createElement(Row$1, {
|
|
22723
22725
|
gutter: [17, 0]
|
|
22724
|
-
},
|
|
22726
|
+
}, React.createElement(Col$1, {
|
|
22725
22727
|
span: 6
|
|
22726
|
-
},
|
|
22728
|
+
}, React.createElement(Form.Item, {
|
|
22727
22729
|
label: "\u4E0D\u52A8\u4EA7\u5730\u5740"
|
|
22728
22730
|
}, getFieldDecorator('realEstateAddress', {
|
|
22729
22731
|
rules: [{
|
|
22730
22732
|
required: true,
|
|
22731
22733
|
message: '请选择不动产地址'
|
|
22732
22734
|
}]
|
|
22733
|
-
})(
|
|
22735
|
+
})(React.createElement(Cascader, {
|
|
22734
22736
|
style: {
|
|
22735
22737
|
width: '100%'
|
|
22736
22738
|
},
|
|
22737
22739
|
options: props.realEstateAddressOptions,
|
|
22738
22740
|
fieldNames: props.realEstateAddressFieldNames,
|
|
22739
22741
|
placeholder: "\u8BF7\u9009\u62E9\u7701\u5E02\u533A\u53BF"
|
|
22740
|
-
})))),
|
|
22742
|
+
})))), React.createElement(Col$1, {
|
|
22741
22743
|
span: 6
|
|
22742
|
-
},
|
|
22744
|
+
}, React.createElement(Form.Item, {
|
|
22743
22745
|
label: "\u8BE6\u7EC6\u5730\u5740"
|
|
22744
22746
|
}, getFieldDecorator('realEstateDetailedAddress', {
|
|
22745
22747
|
rules: [{
|
|
@@ -22754,43 +22756,43 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
|
22754
22756
|
return pattern.test(value) ? Promise.resolve() : Promise.reject('地址必须包含“街”、“路”、“村”、“乡”、“镇”、“道”、“巷”、“号”等任意一个关键词');
|
|
22755
22757
|
}
|
|
22756
22758
|
}]
|
|
22757
|
-
})(
|
|
22759
|
+
})(React.createElement(Input$2, {
|
|
22758
22760
|
autoComplete: 'off',
|
|
22759
22761
|
placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740"
|
|
22760
|
-
})))),
|
|
22762
|
+
})))), React.createElement(Col$1, {
|
|
22761
22763
|
span: 6
|
|
22762
|
-
},
|
|
22764
|
+
}, React.createElement(Form.Item, {
|
|
22763
22765
|
label: "\u79DF\u8D41\u671F\u8D77\u6B62"
|
|
22764
22766
|
}, getFieldDecorator('leaseTerm', {
|
|
22765
22767
|
rules: [{
|
|
22766
22768
|
required: true,
|
|
22767
22769
|
message: '请输入租赁期'
|
|
22768
22770
|
}]
|
|
22769
|
-
})(
|
|
22771
|
+
})(React.createElement(RangePicker, {
|
|
22770
22772
|
style: {
|
|
22771
22773
|
width: '100%'
|
|
22772
22774
|
}
|
|
22773
|
-
})))),
|
|
22775
|
+
})))), React.createElement(Col$1, {
|
|
22774
22776
|
span: 6
|
|
22775
|
-
},
|
|
22777
|
+
}, React.createElement(Form.Item, {
|
|
22776
22778
|
label: "\u8DE8\u5730\uFF08\u5E02\uFF09\u6807\u5FD7"
|
|
22777
22779
|
}, getFieldDecorator('crossCitiesSign', {
|
|
22778
22780
|
rules: [{
|
|
22779
22781
|
required: true,
|
|
22780
22782
|
message: '请选择跨地(市)标志'
|
|
22781
22783
|
}]
|
|
22782
|
-
})(
|
|
22784
|
+
})(React.createElement(Select$2, {
|
|
22783
22785
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
22784
22786
|
style: {
|
|
22785
22787
|
width: '100%'
|
|
22786
22788
|
}
|
|
22787
|
-
},
|
|
22789
|
+
}, React.createElement(Select$2.Option, {
|
|
22788
22790
|
value: 'Y'
|
|
22789
|
-
}, "\u662F"),
|
|
22791
|
+
}, "\u662F"), React.createElement(Select$2.Option, {
|
|
22790
22792
|
value: 'N'
|
|
22791
|
-
}, "\u5426"))))),
|
|
22793
|
+
}, "\u5426"))))), React.createElement(Col$1, {
|
|
22792
22794
|
span: 6
|
|
22793
|
-
},
|
|
22795
|
+
}, React.createElement(Form.Item, {
|
|
22794
22796
|
label: "\u4EA7\u6743\u8BC1\u4E66/\u4E0D\u52A8\u4EA7\u6743\u8BC1\u53F7"
|
|
22795
22797
|
}, getFieldDecorator('realEstateNumber', {
|
|
22796
22798
|
rules: [{
|
|
@@ -22800,48 +22802,48 @@ var RealEstateInfo = decorator(Form.create())(function (props) {
|
|
|
22800
22802
|
max: 40,
|
|
22801
22803
|
message: '证书编号最多40个字符'
|
|
22802
22804
|
}]
|
|
22803
|
-
})(
|
|
22805
|
+
})(React.createElement(Input$2, {
|
|
22804
22806
|
autoComplete: 'off',
|
|
22805
22807
|
placeholder: "\u8BF7\u8F93\u5165\u8BC1\u4E66\u7F16\u53F7\uFF0C\u82E5\u6CA1\u6709\u8BC1\u4E66\u586B\u5199\u201C\u65E0\u201D"
|
|
22806
|
-
})))),
|
|
22808
|
+
})))), React.createElement(Col$1, {
|
|
22807
22809
|
span: 6
|
|
22808
|
-
},
|
|
22810
|
+
}, React.createElement(Form.Item, {
|
|
22809
22811
|
label: "\u9762\u79EF\u5355\u4F4D"
|
|
22810
22812
|
}, getFieldDecorator('realEstateUnit', {
|
|
22811
22813
|
rules: [{
|
|
22812
22814
|
required: true,
|
|
22813
22815
|
message: '请选择面积单位'
|
|
22814
22816
|
}]
|
|
22815
|
-
})(
|
|
22817
|
+
})(React.createElement(Select$2, {
|
|
22816
22818
|
placeholder: "\u8BF7\u9009\u62E9",
|
|
22817
22819
|
style: {
|
|
22818
22820
|
width: '100%'
|
|
22819
22821
|
}
|
|
22820
|
-
},
|
|
22822
|
+
}, React.createElement(Select$2.Option, {
|
|
22821
22823
|
value: "\u5E73\u65B9\u5343\u7C73"
|
|
22822
|
-
}, "\u5E73\u65B9\u5343\u7C73"),
|
|
22824
|
+
}, "\u5E73\u65B9\u5343\u7C73"), React.createElement(Select$2.Option, {
|
|
22823
22825
|
value: "\u5E73\u65B9\u7C73"
|
|
22824
|
-
}, "\u5E73\u65B9\u7C73"),
|
|
22826
|
+
}, "\u5E73\u65B9\u7C73"), React.createElement(Select$2.Option, {
|
|
22825
22827
|
value: "\u516C\u9877"
|
|
22826
|
-
}, "\u516C\u9877"),
|
|
22828
|
+
}, "\u516C\u9877"), React.createElement(Select$2.Option, {
|
|
22827
22829
|
value: "\u4EA9"
|
|
22828
|
-
}, "\u4EA9"),
|
|
22830
|
+
}, "\u4EA9"), React.createElement(Select$2.Option, {
|
|
22829
22831
|
value: "Hm2"
|
|
22830
|
-
},
|
|
22832
|
+
}, React.createElement("span", null, React.createElement("span", null, "Hm"), React.createElement("span", {
|
|
22831
22833
|
style: {
|
|
22832
22834
|
verticalAlign: 'super',
|
|
22833
22835
|
fontSize: 'smaller'
|
|
22834
22836
|
}
|
|
22835
|
-
}, "2"))),
|
|
22837
|
+
}, "2"))), React.createElement(Select$2.Option, {
|
|
22836
22838
|
value: "Km2"
|
|
22837
|
-
},
|
|
22839
|
+
}, React.createElement("span", null, React.createElement("span", null, "Km"), React.createElement("span", {
|
|
22838
22840
|
style: {
|
|
22839
22841
|
verticalAlign: 'super',
|
|
22840
22842
|
fontSize: 'smaller'
|
|
22841
22843
|
}
|
|
22842
|
-
}, "2"))),
|
|
22844
|
+
}, "2"))), React.createElement(Select$2.Option, {
|
|
22843
22845
|
value: "m2"
|
|
22844
|
-
},
|
|
22846
|
+
}, React.createElement("span", null, React.createElement("span", null, "m"), React.createElement("span", {
|
|
22845
22847
|
style: {
|
|
22846
22848
|
verticalAlign: 'super',
|
|
22847
22849
|
fontSize: 'smaller'
|
|
@@ -22880,7 +22882,7 @@ var ImportBuyerDrawer = (function () {
|
|
|
22880
22882
|
};
|
|
22881
22883
|
}())();
|
|
22882
22884
|
}, [controller]);
|
|
22883
|
-
return
|
|
22885
|
+
return React.createElement(Drawer, {
|
|
22884
22886
|
title: "\u8D2D\u65B9\u5217\u8868",
|
|
22885
22887
|
placement: "right",
|
|
22886
22888
|
// closable={false}
|
|
@@ -22888,7 +22890,7 @@ var ImportBuyerDrawer = (function () {
|
|
|
22888
22890
|
width: 983,
|
|
22889
22891
|
onClose: onClose,
|
|
22890
22892
|
visible: visible
|
|
22891
|
-
}, topExpand,
|
|
22893
|
+
}, topExpand, React.createElement(DrawerBody$1, null));
|
|
22892
22894
|
});
|
|
22893
22895
|
|
|
22894
22896
|
var DrawerBody$1 = function DrawerBody() {
|
|
@@ -22909,7 +22911,7 @@ var DrawerBody$1 = function DrawerBody() {
|
|
|
22909
22911
|
}
|
|
22910
22912
|
});
|
|
22911
22913
|
}, [controller]);
|
|
22912
|
-
return
|
|
22914
|
+
return React.createElement(Table$1, {
|
|
22913
22915
|
bordered: true,
|
|
22914
22916
|
size: "small",
|
|
22915
22917
|
columns: columns,
|
|
@@ -23009,7 +23011,7 @@ var ImportGoodsDrawer = (function () {
|
|
|
23009
23011
|
};
|
|
23010
23012
|
}())();
|
|
23011
23013
|
}, [controller]);
|
|
23012
|
-
return
|
|
23014
|
+
return React.createElement(Drawer, {
|
|
23013
23015
|
title: "\u5546\u54C1\u5217\u8868",
|
|
23014
23016
|
placement: "right",
|
|
23015
23017
|
// closable={false}
|
|
@@ -23017,11 +23019,11 @@ var ImportGoodsDrawer = (function () {
|
|
|
23017
23019
|
width: 983,
|
|
23018
23020
|
onClose: onClose,
|
|
23019
23021
|
visible: visible
|
|
23020
|
-
}, topExpand &&
|
|
23022
|
+
}, topExpand && React.createElement("div", {
|
|
23021
23023
|
style: {
|
|
23022
23024
|
marginBottom: 10
|
|
23023
23025
|
}
|
|
23024
|
-
}, topExpand),
|
|
23026
|
+
}, topExpand), React.createElement(DrawerBody$2, null));
|
|
23025
23027
|
});
|
|
23026
23028
|
|
|
23027
23029
|
var DrawerBody$2 = function DrawerBody() {
|
|
@@ -23043,7 +23045,7 @@ var DrawerBody$2 = function DrawerBody() {
|
|
|
23043
23045
|
}
|
|
23044
23046
|
});
|
|
23045
23047
|
}, [controller]);
|
|
23046
|
-
return
|
|
23048
|
+
return React.createElement(Table$1, {
|
|
23047
23049
|
bordered: true,
|
|
23048
23050
|
size: "small",
|
|
23049
23051
|
columns: columns,
|
|
@@ -23330,7 +23332,7 @@ var EndowCodeDrawer = (function () {
|
|
|
23330
23332
|
setDefaultValue(undefined);
|
|
23331
23333
|
}
|
|
23332
23334
|
}, [visible]);
|
|
23333
|
-
return
|
|
23335
|
+
return React.createElement(Drawer, {
|
|
23334
23336
|
title: "\u8D4B\u7801",
|
|
23335
23337
|
placement: "right",
|
|
23336
23338
|
destroyOnClose: true,
|
|
@@ -23338,7 +23340,7 @@ var EndowCodeDrawer = (function () {
|
|
|
23338
23340
|
width: 383,
|
|
23339
23341
|
onClose: onClose,
|
|
23340
23342
|
visible: visible
|
|
23341
|
-
}, defaultValue &&
|
|
23343
|
+
}, defaultValue && React.createElement(DrawerBody$3, {
|
|
23342
23344
|
defaultValue: defaultValue
|
|
23343
23345
|
}));
|
|
23344
23346
|
});
|
|
@@ -23478,7 +23480,7 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23478
23480
|
};
|
|
23479
23481
|
}());
|
|
23480
23482
|
}, [actions, dataSource, readOnlyTaxRate]);
|
|
23481
|
-
return
|
|
23483
|
+
return React.createElement(Select, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
23482
23484
|
showSearch: true,
|
|
23483
23485
|
showArrow: false,
|
|
23484
23486
|
notFoundContent: null,
|
|
@@ -23486,7 +23488,7 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23486
23488
|
onSearch: onSearch,
|
|
23487
23489
|
onChange: onChange
|
|
23488
23490
|
}), dataSource.map(function (e) {
|
|
23489
|
-
return
|
|
23491
|
+
return React.createElement(Select.Option, {
|
|
23490
23492
|
key: e.value,
|
|
23491
23493
|
value: e.value
|
|
23492
23494
|
}, e.label);
|
|
@@ -23516,14 +23518,14 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23516
23518
|
|
|
23517
23519
|
|
|
23518
23520
|
var createTreeNode = React.useCallback(function () {
|
|
23519
|
-
if (!list) return
|
|
23521
|
+
if (!list) return React.createElement(React.Fragment, null);
|
|
23520
23522
|
return ctn(list);
|
|
23521
23523
|
|
|
23522
23524
|
function title(label) {
|
|
23523
23525
|
if (!filter) return label;
|
|
23524
23526
|
label = (filter.taxCategoryCode ? label.split(new RegExp(filter.taxCategoryCode, 'g')) : [label]).join("<span style=\"color: #1890ff;\">".concat(filter.taxCategoryCode, "</span>"));
|
|
23525
23527
|
label = (filter.val ? label.split(new RegExp(filter.val, 'g')) : [label]).join("<span style=\"color: #1890ff;\">".concat(filter.val, "</span>"));
|
|
23526
|
-
return
|
|
23528
|
+
return React.createElement("span", {
|
|
23527
23529
|
dangerouslySetInnerHTML: {
|
|
23528
23530
|
__html: label
|
|
23529
23531
|
}
|
|
@@ -23532,11 +23534,11 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23532
23534
|
|
|
23533
23535
|
function ctn(l) {
|
|
23534
23536
|
var p = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '0';
|
|
23535
|
-
if (!l || !l.length) return [
|
|
23537
|
+
if (!l || !l.length) return [React.createElement(React.Fragment, null)];
|
|
23536
23538
|
return l.filter(function (e) {
|
|
23537
23539
|
return e.pid === p;
|
|
23538
23540
|
}).map(function (e) {
|
|
23539
|
-
return
|
|
23541
|
+
return React.createElement(TreeNode, {
|
|
23540
23542
|
title: title(e.label),
|
|
23541
23543
|
key: e.id
|
|
23542
23544
|
}, ctn(l, e.id));
|
|
@@ -23649,46 +23651,46 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23649
23651
|
setList([]);
|
|
23650
23652
|
}
|
|
23651
23653
|
}, [visible]);
|
|
23652
|
-
return
|
|
23654
|
+
return React.createElement(React.Fragment, null, React.createElement(Input, {
|
|
23653
23655
|
readOnly: true,
|
|
23654
23656
|
value: props.value,
|
|
23655
|
-
addonAfter:
|
|
23657
|
+
addonAfter: React.createElement(Button, {
|
|
23656
23658
|
size: "small",
|
|
23657
23659
|
type: "link",
|
|
23658
23660
|
onClick: function onClick() {
|
|
23659
23661
|
setVisible(true);
|
|
23660
23662
|
}
|
|
23661
23663
|
}, "\u70B9\u51FB\u9009\u62E9")
|
|
23662
|
-
}),
|
|
23664
|
+
}), React.createElement(Drawer, {
|
|
23663
23665
|
title: "\u7A0E\u6536\u5206\u7C7B\u7F16\u7801",
|
|
23664
23666
|
visible: visible,
|
|
23665
23667
|
width: 500,
|
|
23666
23668
|
onClose: function onClose() {
|
|
23667
23669
|
setVisible(false);
|
|
23668
23670
|
}
|
|
23669
|
-
},
|
|
23671
|
+
}, React.createElement(Form, {
|
|
23670
23672
|
key: "".concat(visible)
|
|
23671
|
-
},
|
|
23673
|
+
}, React.createElement(Form.Item, {
|
|
23672
23674
|
label: "\u4EA7\u54C1\u6216\u670D\u52A1\u7B80\u79F0"
|
|
23673
|
-
},
|
|
23675
|
+
}, React.createElement(Input, {
|
|
23674
23676
|
onChange: function onChange(e) {
|
|
23675
23677
|
setFilter(_objectSpread2(_objectSpread2({}, filter), {}, {
|
|
23676
23678
|
val: e.target.value
|
|
23677
23679
|
}));
|
|
23678
23680
|
}
|
|
23679
|
-
})),
|
|
23681
|
+
})), React.createElement(Form.Item, {
|
|
23680
23682
|
label: "\u7A0E\u6536\u5206\u7C7B\u7F16\u7801"
|
|
23681
|
-
},
|
|
23683
|
+
}, React.createElement(Input, {
|
|
23682
23684
|
onChange: function onChange(e) {
|
|
23683
23685
|
setFilter(_objectSpread2(_objectSpread2({}, filter), {}, {
|
|
23684
23686
|
taxCategoryCode: e.target.value
|
|
23685
23687
|
}));
|
|
23686
23688
|
}
|
|
23687
|
-
}))), list && list.length > 0 ?
|
|
23689
|
+
}))), list && list.length > 0 ? React.createElement(Tree, {
|
|
23688
23690
|
defaultExpandAll: true,
|
|
23689
23691
|
selectedKeys: [],
|
|
23690
23692
|
onSelect: onSelect
|
|
23691
|
-
}, createTreeNode()) :
|
|
23693
|
+
}, createTreeNode()) : React.createElement("span", {
|
|
23692
23694
|
style: {
|
|
23693
23695
|
color: '#00000073'
|
|
23694
23696
|
}
|
|
@@ -23894,11 +23896,11 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
23894
23896
|
return data;
|
|
23895
23897
|
};
|
|
23896
23898
|
|
|
23897
|
-
return
|
|
23899
|
+
return React.createElement(React.Fragment, null, React.createElement(Input, {
|
|
23898
23900
|
readOnly: true,
|
|
23899
23901
|
onClick: onClick,
|
|
23900
23902
|
value: props.value
|
|
23901
|
-
}),
|
|
23903
|
+
}), React.createElement(TaxClassificationModal, {
|
|
23902
23904
|
list: list,
|
|
23903
23905
|
open: open,
|
|
23904
23906
|
onSelect: onSelect,
|
|
@@ -24017,14 +24019,14 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24017
24019
|
React.useEffect(function () {
|
|
24018
24020
|
if (controller.getTaxCategoryCodeList) controller.getTaxCategoryCodeList();
|
|
24019
24021
|
}, [controller]);
|
|
24020
|
-
return
|
|
24022
|
+
return React.createElement(SchemaForm, {
|
|
24021
24023
|
actions: actions,
|
|
24022
24024
|
previewPlaceholder: " ",
|
|
24023
24025
|
components: _objectSpread2(_objectSpread2({}, components), {}, {
|
|
24024
24026
|
showSearch: !!controller.state.goodsListState.endowCode.onLoadTaxClassificationCode ? ShowSearch3 : ShowSearch
|
|
24025
24027
|
}),
|
|
24026
24028
|
effects: effects
|
|
24027
|
-
},
|
|
24029
|
+
}, React.createElement(FormButtonGroup, null, React.createElement(SchemaMarkupField, {
|
|
24028
24030
|
name: "taxClassificationCode",
|
|
24029
24031
|
type: "showSearch",
|
|
24030
24032
|
title: "\u7A0E\u6536\u5206\u7C7B\u7F16\u7801",
|
|
@@ -24034,13 +24036,13 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24034
24036
|
message: '请选择税收分类编码',
|
|
24035
24037
|
required: true
|
|
24036
24038
|
}]
|
|
24037
|
-
}),
|
|
24039
|
+
}), React.createElement(SchemaMarkupField, {
|
|
24038
24040
|
name: "shorthand",
|
|
24039
24041
|
type: "string",
|
|
24040
24042
|
readOnly: true,
|
|
24041
24043
|
default: defaultValue === null || defaultValue === void 0 ? void 0 : defaultValue.shorthand,
|
|
24042
24044
|
title: "\u5546\u54C1\u548C\u670D\u52A1\u5206\u7C7B\u7B80\u79F0"
|
|
24043
|
-
}),
|
|
24045
|
+
}), React.createElement(SchemaMarkupField, {
|
|
24044
24046
|
name: "taxRate",
|
|
24045
24047
|
type: "string",
|
|
24046
24048
|
title: "\u7A0E\u7387",
|
|
@@ -24053,7 +24055,7 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24053
24055
|
message: '请选择税率',
|
|
24054
24056
|
required: true
|
|
24055
24057
|
}]
|
|
24056
|
-
}), taxRate === 0 && isTaxFreeTypeNeeded &&
|
|
24058
|
+
}), taxRate === 0 && isTaxFreeTypeNeeded && React.createElement(SchemaMarkupField, {
|
|
24057
24059
|
name: "taxFreeType",
|
|
24058
24060
|
type: "string",
|
|
24059
24061
|
title: "\u514D\u7A0E\u7C7B\u578B",
|
|
@@ -24066,7 +24068,7 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24066
24068
|
message: '请选择免税类型',
|
|
24067
24069
|
required: true
|
|
24068
24070
|
}]
|
|
24069
|
-
}),
|
|
24071
|
+
}), React.createElement(SchemaMarkupField, {
|
|
24070
24072
|
name: "favouredPolicyMark",
|
|
24071
24073
|
type: "number",
|
|
24072
24074
|
title: "\u662F\u5426\u4EAB\u53D7\u4F18\u60E0\u653F\u7B56",
|
|
@@ -24085,7 +24087,7 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24085
24087
|
message: '请选择是否享受优惠政策',
|
|
24086
24088
|
required: true
|
|
24087
24089
|
}]
|
|
24088
|
-
}), favouredPolicyMark === 1 &&
|
|
24090
|
+
}), favouredPolicyMark === 1 && React.createElement(SchemaMarkupField, {
|
|
24089
24091
|
name: "favouredPolicyName",
|
|
24090
24092
|
type: "string",
|
|
24091
24093
|
title: "\u4F18\u60E0\u653F\u7B56\u7C7B\u578B",
|
|
@@ -24098,14 +24100,14 @@ var DrawerBody$3 = function DrawerBody(props) {
|
|
|
24098
24100
|
message: '请选择是否享受优惠政策',
|
|
24099
24101
|
required: true
|
|
24100
24102
|
}]
|
|
24101
|
-
})),
|
|
24103
|
+
})), React.createElement("span", {
|
|
24102
24104
|
className: "kts-invoice-operate-goods-endow-code-button-list"
|
|
24103
|
-
},
|
|
24105
|
+
}, React.createElement(Button, {
|
|
24104
24106
|
onClick: function onClick() {
|
|
24105
24107
|
actions.submit(onSubmit);
|
|
24106
24108
|
},
|
|
24107
24109
|
type: "primary"
|
|
24108
|
-
}, "\u786E\u5B9A"),
|
|
24110
|
+
}, "\u786E\u5B9A"), React.createElement(Button, {
|
|
24109
24111
|
onClick: function onClick() {
|
|
24110
24112
|
controller.pipeline( /*#__PURE__*/function () {
|
|
24111
24113
|
var _ref17 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee17(s) {
|
|
@@ -24265,53 +24267,53 @@ function AddComparisonDrawer() {
|
|
|
24265
24267
|
}));
|
|
24266
24268
|
}
|
|
24267
24269
|
}, [good]);
|
|
24268
|
-
return
|
|
24270
|
+
return React.createElement(Drawer$1, {
|
|
24269
24271
|
width: 500,
|
|
24270
24272
|
onClose: onClose,
|
|
24271
24273
|
placement: "right",
|
|
24272
24274
|
title: "\u5546\u54C1\u6620\u5C04",
|
|
24273
24275
|
visible: !!good,
|
|
24274
|
-
footer:
|
|
24276
|
+
footer: React.createElement("div", {
|
|
24275
24277
|
style: {
|
|
24276
24278
|
display: 'flex',
|
|
24277
24279
|
justifyContent: 'flex-end',
|
|
24278
24280
|
gap: 10
|
|
24279
24281
|
}
|
|
24280
|
-
},
|
|
24282
|
+
}, React.createElement(Button, {
|
|
24281
24283
|
type: "primary",
|
|
24282
24284
|
onClick: onSubmit
|
|
24283
|
-
}, "\u63D0\u4EA4"),
|
|
24285
|
+
}, "\u63D0\u4EA4"), React.createElement(Button, {
|
|
24284
24286
|
onClick: onClose
|
|
24285
24287
|
}, "\u53D6\u6D88"))
|
|
24286
|
-
}, !!good &&
|
|
24288
|
+
}, !!good && React.createElement(Form$1, {
|
|
24287
24289
|
layout: "vertical",
|
|
24288
24290
|
style: {
|
|
24289
24291
|
flex: 1
|
|
24290
24292
|
},
|
|
24291
24293
|
form: form
|
|
24292
|
-
},
|
|
24294
|
+
}, React.createElement(Row$2, {
|
|
24293
24295
|
gutter: [8, 8]
|
|
24294
|
-
},
|
|
24296
|
+
}, React.createElement(Col$2, {
|
|
24295
24297
|
span: 12
|
|
24296
|
-
},
|
|
24298
|
+
}, React.createElement(Form$1.Item, {
|
|
24297
24299
|
name: "itemNameSelf",
|
|
24298
24300
|
label: "\u6211\u65B9\u5546\u54C1\u540D\u79F0"
|
|
24299
|
-
},
|
|
24301
|
+
}, React.createElement(Input, null))), React.createElement(Col$2, {
|
|
24300
24302
|
span: 12
|
|
24301
|
-
},
|
|
24303
|
+
}, React.createElement(Form$1.Item, {
|
|
24302
24304
|
name: "itemName",
|
|
24303
24305
|
label: "\u5BF9\u65B9\u5546\u54C1\u540D\u79F0"
|
|
24304
|
-
},
|
|
24306
|
+
}, React.createElement(Input, null))), React.createElement(Col$2, {
|
|
24305
24307
|
span: 12
|
|
24306
|
-
},
|
|
24308
|
+
}, React.createElement(Form$1.Item, {
|
|
24307
24309
|
name: 'itemModelNameSelf',
|
|
24308
24310
|
label: "\u6211\u65B9\u89C4\u683C\u578B\u53F7"
|
|
24309
|
-
},
|
|
24311
|
+
}, React.createElement(Input, null))), React.createElement(Col$2, {
|
|
24310
24312
|
span: 12
|
|
24311
|
-
},
|
|
24313
|
+
}, React.createElement(Form$1.Item, {
|
|
24312
24314
|
name: "itemModelName",
|
|
24313
24315
|
label: "\u5BF9\u65B9\u89C4\u683C\u578B\u53F7"
|
|
24314
|
-
},
|
|
24316
|
+
}, React.createElement(Input, null))))));
|
|
24315
24317
|
} // function validateFields(form: WrappedFormUtils<any>) {
|
|
24316
24318
|
// return new Promise<{ err: any, values: any }>(resolve => {
|
|
24317
24319
|
// form.validateFields((err, values) => {
|
|
@@ -24322,7 +24324,7 @@ function AddComparisonDrawer() {
|
|
|
24322
24324
|
|
|
24323
24325
|
/** 发票组件的上下文 */
|
|
24324
24326
|
|
|
24325
|
-
var InvoiceContext =
|
|
24327
|
+
var InvoiceContext = React.createContext(undefined);
|
|
24326
24328
|
|
|
24327
24329
|
var Invoice = /*#__PURE__*/function (_React$PureComponent) {
|
|
24328
24330
|
_inherits(Invoice, _React$PureComponent);
|
|
@@ -24369,9 +24371,9 @@ var Invoice = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
24369
24371
|
/** 获取控制器钩子 */
|
|
24370
24372
|
function render() {
|
|
24371
24373
|
if (this.props.invoiceType === 'digtal') {
|
|
24372
|
-
return
|
|
24374
|
+
return React.createElement(Digtal, _objectSpread2({}, this.props));
|
|
24373
24375
|
} else {
|
|
24374
|
-
return
|
|
24376
|
+
return React.createElement(Main$4, _objectSpread2({}, this.props));
|
|
24375
24377
|
}
|
|
24376
24378
|
}
|
|
24377
24379
|
}]);
|
|
@@ -24414,10 +24416,10 @@ var Main$4 = function Main(props) {
|
|
|
24414
24416
|
React.useEffect(function () {
|
|
24415
24417
|
setKey(key + 1);
|
|
24416
24418
|
}, [controller]);
|
|
24417
|
-
return
|
|
24419
|
+
return React.createElement(InvoiceContext.Provider, {
|
|
24418
24420
|
key: key,
|
|
24419
24421
|
value: controller
|
|
24420
|
-
},
|
|
24422
|
+
}, React.createElement("div", {
|
|
24421
24423
|
className: "kts-invoice-operate",
|
|
24422
24424
|
ref: controller.pipeline( /*#__PURE__*/function () {
|
|
24423
24425
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(s, e) {
|
|
@@ -24439,17 +24441,17 @@ var Main$4 = function Main(props) {
|
|
|
24439
24441
|
return _ref.apply(this, arguments);
|
|
24440
24442
|
};
|
|
24441
24443
|
}())
|
|
24442
|
-
}, props.invoiceHeader ||
|
|
24444
|
+
}, props.invoiceHeader || React.createElement(InvoiceHeader, null)
|
|
24443
24445
|
/** 发票头 */
|
|
24444
|
-
, props.buyer ||
|
|
24446
|
+
, props.buyer || React.createElement(Buyer$1, null)
|
|
24445
24447
|
/** 购买方 */
|
|
24446
|
-
, props.goodsList ||
|
|
24448
|
+
, props.goodsList || React.createElement(GoodsList, null)
|
|
24447
24449
|
/** 货物列表 */
|
|
24448
|
-
, props.seller ||
|
|
24450
|
+
, props.seller || React.createElement(Buyer, null)
|
|
24449
24451
|
/** 销售方 */
|
|
24450
|
-
, props.sign ||
|
|
24452
|
+
, props.sign || React.createElement(Sign, null)
|
|
24451
24453
|
/** 落款 */
|
|
24452
|
-
, props.footExpand),
|
|
24454
|
+
, props.footExpand), React.createElement(ImportBuyerDrawer, null), React.createElement(ImportGoodsDrawer, null), React.createElement(EndowCodeDrawer, null), React.createElement(AddComparisonDrawer, null));
|
|
24453
24455
|
};
|
|
24454
24456
|
/** 数电 */
|
|
24455
24457
|
|
|
@@ -24468,10 +24470,10 @@ var Digtal = function Digtal(props) {
|
|
|
24468
24470
|
React.useEffect(function () {
|
|
24469
24471
|
setKey(key + 1);
|
|
24470
24472
|
}, [controller]);
|
|
24471
|
-
return
|
|
24473
|
+
return React.createElement(InvoiceContext.Provider, {
|
|
24472
24474
|
key: key,
|
|
24473
24475
|
value: controller
|
|
24474
|
-
},
|
|
24476
|
+
}, React.createElement("div", {
|
|
24475
24477
|
className: "kts-invoice-operate-digtal",
|
|
24476
24478
|
ref: controller.pipeline( /*#__PURE__*/function () {
|
|
24477
24479
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(s, e) {
|
|
@@ -24493,19 +24495,19 @@ var Digtal = function Digtal(props) {
|
|
|
24493
24495
|
return _ref2.apply(this, arguments);
|
|
24494
24496
|
};
|
|
24495
24497
|
}())
|
|
24496
|
-
}, props.invoiceHeader ||
|
|
24498
|
+
}, props.invoiceHeader || React.createElement(InvoiceHeaderDigtal, null)
|
|
24497
24499
|
/** 发票头 */
|
|
24498
|
-
,
|
|
24500
|
+
, React.createElement("div", {
|
|
24499
24501
|
className: 'kts-invoice-operate-digtal-cont'
|
|
24500
|
-
}, props.stakeholder ||
|
|
24502
|
+
}, props.stakeholder || React.createElement(Stakeholder$1, null)
|
|
24501
24503
|
/** 干系人 */
|
|
24502
|
-
, props.goodsList ||
|
|
24504
|
+
, props.goodsList || React.createElement(GoodsList$1, null)
|
|
24503
24505
|
/** 货物列表 */
|
|
24504
24506
|
), props.specialInfor
|
|
24505
24507
|
/** 特殊信息 */
|
|
24506
|
-
, props.sign ||
|
|
24508
|
+
, props.sign || React.createElement(SignDigtal, null)
|
|
24507
24509
|
/** 落款 */
|
|
24508
|
-
),
|
|
24510
|
+
), React.createElement(ImportGoodsDrawer, null), React.createElement(EndowCodeDrawer, null));
|
|
24509
24511
|
};
|
|
24510
24512
|
|
|
24511
24513
|
function TaxClassificationModal(props) {
|
|
@@ -24546,26 +24548,26 @@ function TaxClassificationModal(props) {
|
|
|
24546
24548
|
}, 500);
|
|
24547
24549
|
}
|
|
24548
24550
|
}, [form, props.open]);
|
|
24549
|
-
return
|
|
24551
|
+
return React.createElement(Drawer$1, {
|
|
24550
24552
|
title: "\u5546\u54C1\u548C\u670D\u52A1\u7A0E\u6536\u5206\u7C7B\u7F16\u7801",
|
|
24551
24553
|
placement: "right",
|
|
24552
24554
|
open: props.open,
|
|
24553
24555
|
width: 503,
|
|
24554
24556
|
onClose: props.onCancel
|
|
24555
|
-
},
|
|
24557
|
+
}, React.createElement(Form$1, {
|
|
24556
24558
|
form: form
|
|
24557
|
-
},
|
|
24559
|
+
}, React.createElement(Form$1.Item, {
|
|
24558
24560
|
name: 'search'
|
|
24559
|
-
},
|
|
24561
|
+
}, React.createElement(Input$1, {
|
|
24560
24562
|
placeholder: "\u8BF7\u8F93\u5165\u7A0E\u6536\u5206\u7C7B\u7F16\u7801\u3001\u7A0E\u6536\u5206\u7C7B\u540D\u79F0\u8FDB\u884C\u68C0\u7D22",
|
|
24561
24563
|
onChange: searchTax
|
|
24562
|
-
})),
|
|
24564
|
+
})), React.createElement(Form$1.Item, {
|
|
24563
24565
|
name: 'tree'
|
|
24564
|
-
},
|
|
24566
|
+
}, React.createElement(Tree$1, {
|
|
24565
24567
|
onSelect: props.onSelect,
|
|
24566
24568
|
loadData: props.onLoad,
|
|
24567
24569
|
treeData: props.list,
|
|
24568
|
-
switcherIcon:
|
|
24570
|
+
switcherIcon: React.createElement(Icon$1, {
|
|
24569
24571
|
type: "down"
|
|
24570
24572
|
})
|
|
24571
24573
|
}))));
|