kts-component-invoice-operate 3.2.27 → 3.2.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.d.ts +2 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.d.ts +7 -0
- package/dist/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.d.ts +3 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.d.ts +2 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.d.ts +7 -0
- package/dist/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.d.ts +7 -0
- package/dist/index.esm.js +252 -54
- package/dist/index.js +252 -54
- package/package.json +1 -1
- package/src/Invoice/InvoiceController/InvoiceControllerState/AutoComplete/index.ts +3 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/Drag/index.ts +10 -0
- package/src/Invoice/InvoiceController/InvoiceControllerState/GoodsListState/index.ts +4 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/autoFillFn/index.ts +16 -1
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/index.tsx +37 -30
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.less +3 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/index.tsx +49 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/Drag/svg/I001.svg +1 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.less +18 -0
- package/src/Invoice/ui/default/GoodsList/hook/useColumns/ui/ItemCodeInput/index.tsx +45 -0
- package/src/Invoice/ui/default/GoodsList/ui/BulkMenu/hooks/useMergeDetails/index.tsx +4 -4
|
@@ -7,4 +7,6 @@ export default class AutoComplete {
|
|
|
7
7
|
onBuyerNameSearch?: (searchText: string) => Promise<any[]>;
|
|
8
8
|
/** 统一社会信用代码/纳税人识别号 */
|
|
9
9
|
onBuyerTaxIdSearch?: (searchText: string) => Promise<any[]>;
|
|
10
|
+
/** 商品编码自动补全 */
|
|
11
|
+
onItemCodeSearch?: (searchText: string) => Promise<any[]>;
|
|
10
12
|
}
|
|
@@ -6,6 +6,7 @@ import ProductComparison from './ProductComparison';
|
|
|
6
6
|
import { WrappedFormUtils } from 'kts-components-antd-x3/lib/form/Form';
|
|
7
7
|
import InvoiceController from '../..';
|
|
8
8
|
import IColumnsReplenish from './IColumnsReplenish';
|
|
9
|
+
import Drag from './Drag';
|
|
9
10
|
export default class GoodsListState {
|
|
10
11
|
/** 扣除额 */
|
|
11
12
|
deduction: number;
|
|
@@ -71,4 +72,6 @@ export default class GoodsListState {
|
|
|
71
72
|
isMergeDiscount: boolean;
|
|
72
73
|
/** 正在 添加商品对照 的货物 */
|
|
73
74
|
addComparisonIndex?: string;
|
|
75
|
+
/** 商品拖拽数据 */
|
|
76
|
+
drag: Drag;
|
|
74
77
|
}
|
|
@@ -33,3 +33,5 @@ export declare const onSaveEditGood: (...par: any[]) => void;
|
|
|
33
33
|
export declare const endowCode: (controller: InvoiceController, goods: IGood) => Promise<void>;
|
|
34
34
|
/** 修改了 项目名称 */
|
|
35
35
|
export declare const onChangeItemName: (controller: InvoiceController, form: WrappedFormUtils<any>, record: IGood) => Promise<void>;
|
|
36
|
+
/** 修改了 商品编码 */
|
|
37
|
+
export declare const onChangeItemCode: (controller: InvoiceController, form: WrappedFormUtils<any>, record: IGood) => Promise<void>;
|
package/dist/index.esm.js
CHANGED
|
@@ -985,6 +985,14 @@ var ProductComparison = /*#__PURE__*/_createClass(function ProductComparison() {
|
|
|
985
985
|
this.onComply = void 0;
|
|
986
986
|
});
|
|
987
987
|
|
|
988
|
+
/** 商品拖拽数据 */
|
|
989
|
+
var Drag = /*#__PURE__*/_createClass(function Drag() {
|
|
990
|
+
_classCallCheck(this, Drag);
|
|
991
|
+
|
|
992
|
+
this.current = void 0;
|
|
993
|
+
this.container = void 0;
|
|
994
|
+
});
|
|
995
|
+
|
|
988
996
|
var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
989
997
|
_classCallCheck(this, GoodsListState);
|
|
990
998
|
|
|
@@ -1019,6 +1027,7 @@ var GoodsListState = /*#__PURE__*/_createClass(function GoodsListState() {
|
|
|
1019
1027
|
this.isMergeDetails = false;
|
|
1020
1028
|
this.isMergeDiscount = false;
|
|
1021
1029
|
this.addComparisonIndex = void 0;
|
|
1030
|
+
this.drag = new Drag();
|
|
1022
1031
|
});
|
|
1023
1032
|
|
|
1024
1033
|
var BuyerState = /*#__PURE__*/_createClass(function BuyerState() {
|
|
@@ -1089,6 +1098,7 @@ var AutoComplete = /*#__PURE__*/_createClass(function AutoComplete() {
|
|
|
1089
1098
|
this.onItemNameSearch = void 0;
|
|
1090
1099
|
this.onBuyerNameSearch = void 0;
|
|
1091
1100
|
this.onBuyerTaxIdSearch = void 0;
|
|
1101
|
+
this.onItemCodeSearch = void 0;
|
|
1092
1102
|
});
|
|
1093
1103
|
|
|
1094
1104
|
var InvoiceControllerState = /*#__PURE__*/_createClass(function InvoiceControllerState() {
|
|
@@ -8960,6 +8970,94 @@ var onChangeItemName = /*#__PURE__*/function () {
|
|
|
8960
8970
|
return _ref16.apply(this, arguments);
|
|
8961
8971
|
};
|
|
8962
8972
|
}();
|
|
8973
|
+
/** 修改了 商品编码 */
|
|
8974
|
+
|
|
8975
|
+
var onChangeItemCode = /*#__PURE__*/function () {
|
|
8976
|
+
var _ref18 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee19(controller, form, record) {
|
|
8977
|
+
return _regeneratorRuntime().wrap(function _callee19$(_context19) {
|
|
8978
|
+
while (1) {
|
|
8979
|
+
switch (_context19.prev = _context19.next) {
|
|
8980
|
+
case 0:
|
|
8981
|
+
controller.run( /*#__PURE__*/function () {
|
|
8982
|
+
var _ref19 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee18(s) {
|
|
8983
|
+
var value;
|
|
8984
|
+
return _regeneratorRuntime().wrap(function _callee18$(_context18) {
|
|
8985
|
+
while (1) {
|
|
8986
|
+
switch (_context18.prev = _context18.next) {
|
|
8987
|
+
case 0:
|
|
8988
|
+
value = form.getFieldsValue().itemCode;
|
|
8989
|
+
|
|
8990
|
+
if (!s.goodsListState.isMyShow) {
|
|
8991
|
+
_context18.next = 10;
|
|
8992
|
+
break;
|
|
8993
|
+
}
|
|
8994
|
+
|
|
8995
|
+
_context18.next = 4;
|
|
8996
|
+
return controller.setEditGood({
|
|
8997
|
+
itemCodeSelf: value
|
|
8998
|
+
});
|
|
8999
|
+
|
|
9000
|
+
case 4:
|
|
9001
|
+
_context18.t0 = record.itemCode;
|
|
9002
|
+
|
|
9003
|
+
if (!_context18.t0) {
|
|
9004
|
+
_context18.next = 8;
|
|
9005
|
+
break;
|
|
9006
|
+
}
|
|
9007
|
+
|
|
9008
|
+
_context18.next = 8;
|
|
9009
|
+
return controller.setEditGood({
|
|
9010
|
+
itemCode: record.itemCode
|
|
9011
|
+
});
|
|
9012
|
+
|
|
9013
|
+
case 8:
|
|
9014
|
+
_context18.next = 16;
|
|
9015
|
+
break;
|
|
9016
|
+
|
|
9017
|
+
case 10:
|
|
9018
|
+
_context18.next = 12;
|
|
9019
|
+
return controller.setEditGood({
|
|
9020
|
+
itemCode: value
|
|
9021
|
+
});
|
|
9022
|
+
|
|
9023
|
+
case 12:
|
|
9024
|
+
_context18.t1 = record.itemCodeSelf;
|
|
9025
|
+
|
|
9026
|
+
if (!_context18.t1) {
|
|
9027
|
+
_context18.next = 16;
|
|
9028
|
+
break;
|
|
9029
|
+
}
|
|
9030
|
+
|
|
9031
|
+
_context18.next = 16;
|
|
9032
|
+
return controller.setEditGood({
|
|
9033
|
+
itemCodeSelf: record.itemCodeSelf
|
|
9034
|
+
});
|
|
9035
|
+
|
|
9036
|
+
case 16:
|
|
9037
|
+
case "end":
|
|
9038
|
+
return _context18.stop();
|
|
9039
|
+
}
|
|
9040
|
+
}
|
|
9041
|
+
}, _callee18);
|
|
9042
|
+
}));
|
|
9043
|
+
|
|
9044
|
+
return function (_x37) {
|
|
9045
|
+
return _ref19.apply(this, arguments);
|
|
9046
|
+
};
|
|
9047
|
+
}());
|
|
9048
|
+
|
|
9049
|
+
case 1:
|
|
9050
|
+
case "end":
|
|
9051
|
+
return _context19.stop();
|
|
9052
|
+
}
|
|
9053
|
+
}
|
|
9054
|
+
}, _callee19);
|
|
9055
|
+
}));
|
|
9056
|
+
|
|
9057
|
+
return function onChangeItemCode(_x34, _x35, _x36) {
|
|
9058
|
+
return _ref18.apply(this, arguments);
|
|
9059
|
+
};
|
|
9060
|
+
}();
|
|
8963
9061
|
|
|
8964
9062
|
/**
|
|
8965
9063
|
* 删除一个货物
|
|
@@ -10492,6 +10590,99 @@ function ItemNameInput(props) {
|
|
|
10492
10590
|
// return format15(evaluate(`${record.priceIncludeTax} / (1+${s.taxRate}/100)`), calculatingDigits);
|
|
10493
10591
|
// };
|
|
10494
10592
|
|
|
10593
|
+
var css_248z$7 = ".kts-invoice-operate-goods-list-itemCode-input {\n display: flex;\n flex: 1;\n padding-left: 10px;\n height: 31px;\n}\n.kts-invoice-operate-goods-list-itemCode-input .ktsAntX-select {\n width: 100%;\n}\n.kts-invoice-operate-goods-list-itemCode-input .ktsAntX-select .ktsAntX-select-selector {\n height: 100%;\n}\n.has-error .kts-invoice-operate-goods-list-itemCode-input {\n border: 1px solid #f5222d;\n}\n";
|
|
10594
|
+
styleInject(css_248z$7);
|
|
10595
|
+
|
|
10596
|
+
function ItemCodeInput(props) {
|
|
10597
|
+
var controller = Invoice.useInvoiceController();
|
|
10598
|
+
var autoComplete = controller.useMemo(function (s) {
|
|
10599
|
+
return s.autoComplete;
|
|
10600
|
+
}, []);
|
|
10601
|
+
|
|
10602
|
+
var _React$useState = React.useState([]),
|
|
10603
|
+
_React$useState2 = _slicedToArray(_React$useState, 2),
|
|
10604
|
+
options = _React$useState2[0],
|
|
10605
|
+
setOptions = _React$useState2[1];
|
|
10606
|
+
|
|
10607
|
+
var onChange = React.useCallback(function (e) {
|
|
10608
|
+
var event = _objectSpread2({}, e);
|
|
10609
|
+
|
|
10610
|
+
props.onChange && props.onChange(event);
|
|
10611
|
+
}, []);
|
|
10612
|
+
var onSearch = React.useCallback( /*#__PURE__*/function () {
|
|
10613
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(searchText) {
|
|
10614
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
10615
|
+
while (1) {
|
|
10616
|
+
switch (_context.prev = _context.next) {
|
|
10617
|
+
case 0:
|
|
10618
|
+
_context.prev = 0;
|
|
10619
|
+
|
|
10620
|
+
if (!autoComplete.onItemCodeSearch) {
|
|
10621
|
+
_context.next = 7;
|
|
10622
|
+
break;
|
|
10623
|
+
}
|
|
10624
|
+
|
|
10625
|
+
_context.t0 = setOptions;
|
|
10626
|
+
_context.next = 5;
|
|
10627
|
+
return autoComplete.onItemCodeSearch(searchText);
|
|
10628
|
+
|
|
10629
|
+
case 5:
|
|
10630
|
+
_context.t1 = _context.sent;
|
|
10631
|
+
(0, _context.t0)(_context.t1);
|
|
10632
|
+
|
|
10633
|
+
case 7:
|
|
10634
|
+
_context.next = 13;
|
|
10635
|
+
break;
|
|
10636
|
+
|
|
10637
|
+
case 9:
|
|
10638
|
+
_context.prev = 9;
|
|
10639
|
+
_context.t2 = _context["catch"](0);
|
|
10640
|
+
setOptions([]);
|
|
10641
|
+
throw _context.t2;
|
|
10642
|
+
|
|
10643
|
+
case 13:
|
|
10644
|
+
case "end":
|
|
10645
|
+
return _context.stop();
|
|
10646
|
+
}
|
|
10647
|
+
}
|
|
10648
|
+
}, _callee, null, [[0, 9]]);
|
|
10649
|
+
}));
|
|
10650
|
+
|
|
10651
|
+
return function (_x) {
|
|
10652
|
+
return _ref.apply(this, arguments);
|
|
10653
|
+
};
|
|
10654
|
+
}(), [autoComplete.onItemCodeSearch]);
|
|
10655
|
+
var onChangeAutoComplete = React.useCallback(function (itemName) {
|
|
10656
|
+
var record = options.filter(function (e) {
|
|
10657
|
+
return e.itemCode === itemName;
|
|
10658
|
+
})[0];
|
|
10659
|
+
if (!record) return;
|
|
10660
|
+
}, [options, controller]);
|
|
10661
|
+
return React.createElement("div", {
|
|
10662
|
+
className: 'kts-invoice-operate-goods-list-itemCode-input'
|
|
10663
|
+
}, props.shorthand && React.createElement("span", {
|
|
10664
|
+
style: {
|
|
10665
|
+
alignSelf: 'center',
|
|
10666
|
+
fontSize: 12
|
|
10667
|
+
}
|
|
10668
|
+
}, "*", props.shorthand, "*"), React.createElement(AutoComplete$1, {
|
|
10669
|
+
onSearch: onSearch,
|
|
10670
|
+
options: options.map(function (e) {
|
|
10671
|
+
return {
|
|
10672
|
+
value: e.itemCode
|
|
10673
|
+
};
|
|
10674
|
+
}),
|
|
10675
|
+
onChange: onChangeAutoComplete
|
|
10676
|
+
}, React.createElement(Input, {
|
|
10677
|
+
style: {
|
|
10678
|
+
height: '100%',
|
|
10679
|
+
border: 'none'
|
|
10680
|
+
},
|
|
10681
|
+
value: props.value,
|
|
10682
|
+
onChange: onChange
|
|
10683
|
+
})));
|
|
10684
|
+
}
|
|
10685
|
+
|
|
10495
10686
|
/** 拆分全称加简称 */
|
|
10496
10687
|
var getSN = function getSN(value) {
|
|
10497
10688
|
if (!value) return undefined;
|
|
@@ -10626,7 +10817,14 @@ var useColumns = (function (form) {
|
|
|
10626
10817
|
var columns = React.useMemo(function () {
|
|
10627
10818
|
var _columnsReplenish$ite, _columnsReplenish$uni, _columnsReplenish$qua, _columnsReplenish$pri, _columnsReplenish$pri2, _columnsReplenish$tax;
|
|
10628
10819
|
|
|
10629
|
-
return [{
|
|
10820
|
+
return [// {
|
|
10821
|
+
// title: ' ',
|
|
10822
|
+
// key: 'drag',
|
|
10823
|
+
// width: 40,
|
|
10824
|
+
// align: 'center',
|
|
10825
|
+
// render: (_: any, record: IGood) => <Drag record={record} />
|
|
10826
|
+
// },
|
|
10827
|
+
{
|
|
10630
10828
|
title: '序号',
|
|
10631
10829
|
key: 'serialNo',
|
|
10632
10830
|
dataIndex: 'serialNo',
|
|
@@ -10638,6 +10836,24 @@ var useColumns = (function (form) {
|
|
|
10638
10836
|
}
|
|
10639
10837
|
}, e);
|
|
10640
10838
|
}
|
|
10839
|
+
}, {
|
|
10840
|
+
title: '商品编码',
|
|
10841
|
+
key: 'itemCode',
|
|
10842
|
+
width: 119,
|
|
10843
|
+
render: function render(_, record) {
|
|
10844
|
+
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
10845
|
+
return React.createElement(Form.Item, null, getFieldDecorator('itemCode', {
|
|
10846
|
+
initialValue: editGood.itemCode
|
|
10847
|
+
})(React.createElement(ItemCodeInput, {
|
|
10848
|
+
shorthand: editGood.shorthand,
|
|
10849
|
+
onChange: function onChange() {
|
|
10850
|
+
onChangeItemCode(controller, form, record);
|
|
10851
|
+
}
|
|
10852
|
+
})));
|
|
10853
|
+
} else {
|
|
10854
|
+
return record.itemCode;
|
|
10855
|
+
}
|
|
10856
|
+
}
|
|
10641
10857
|
}, {
|
|
10642
10858
|
title: React.createElement(TitleText, {
|
|
10643
10859
|
required: true
|
|
@@ -10739,19 +10955,6 @@ var useColumns = (function (form) {
|
|
|
10739
10955
|
});
|
|
10740
10956
|
}
|
|
10741
10957
|
}
|
|
10742
|
-
}, {
|
|
10743
|
-
title: '商品编码',
|
|
10744
|
-
key: 'itemCode',
|
|
10745
|
-
width: 119,
|
|
10746
|
-
render: function render(_, record) {
|
|
10747
|
-
if ((editGood === null || editGood === void 0 ? void 0 : editGood.$index) === record.$index) {
|
|
10748
|
-
return React.createElement(Form.Item, null, getFieldDecorator('itemCode', {
|
|
10749
|
-
initialValue: editGood.itemCode
|
|
10750
|
-
})(React.createElement(MyInput, null)));
|
|
10751
|
-
} else {
|
|
10752
|
-
return record.itemCode;
|
|
10753
|
-
}
|
|
10754
|
-
}
|
|
10755
10958
|
}, {
|
|
10756
10959
|
title: React.createElement(TitleText, {
|
|
10757
10960
|
rules: (_columnsReplenish$ite = columnsReplenish['itemModelName']) === null || _columnsReplenish$ite === void 0 ? void 0 : _columnsReplenish$ite.rules
|
|
@@ -11359,12 +11562,7 @@ var useColumns = (function (form) {
|
|
|
11359
11562
|
ellipsis: true
|
|
11360
11563
|
});
|
|
11361
11564
|
});
|
|
11362
|
-
}, [isTaxIncluded, editGood, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide]);
|
|
11363
|
-
// clearTimeout(t)
|
|
11364
|
-
// const t = setTimeout(() => { setChangeField('') }, 1000);
|
|
11365
|
-
// return () => { clearTimeout(t) }
|
|
11366
|
-
// }, [changeField]);
|
|
11367
|
-
|
|
11565
|
+
}, [isTaxIncluded, editGood, controller, changeField, deduction, isMyShow, searchValue, model, columnsReplenish, columnshide]);
|
|
11368
11566
|
return columns;
|
|
11369
11567
|
});
|
|
11370
11568
|
/** 字段 */
|
|
@@ -12016,8 +12214,8 @@ var useRowSelection = (function () {
|
|
|
12016
12214
|
};
|
|
12017
12215
|
});
|
|
12018
12216
|
|
|
12019
|
-
var css_248z$
|
|
12020
|
-
styleInject(css_248z$
|
|
12217
|
+
var css_248z$8 = ".kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 1px solid #dcdcdc;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list {\n flex: 1;\n display: flex;\n gap: 10px;\n padding-right: 10px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button {\n padding-left: 10px;\n padding-right: 10px;\n border-radius: 12px;\n color: #0074ff;\n border: 1px solid #0074ff;\n height: 24px;\n line-height: 22px;\n cursor: pointer;\n font-size: 12px;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-list button[disabled] {\n color: rgba(0, 0, 0, 0.25);\n border: 1px solid;\n}\n.kts-invoice-operate-goods-list .kts-invoice-operate-goods-list-able-extend {\n flex: none;\n display: flex;\n gap: 5px;\n}\n.kts-invoice-operate-goods-list .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell,\n.kts-invoice-operate-goods-list .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-discount .ktsAntX-table-cell {\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-item-control {\n line-height: 1;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input:focus {\n box-shadow: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-input,\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-select-selection--single {\n border: none;\n border-radius: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAnt3x-form-explain {\n display: none;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .has-error .ktsAnt3x-input {\n border: #f5222d solid 1px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-checked .ktsAntX-checkbox-inner::after {\n width: 5px;\n height: 10px;\n}\n";
|
|
12218
|
+
styleInject(css_248z$8);
|
|
12021
12219
|
|
|
12022
12220
|
var keys$1 = {};
|
|
12023
12221
|
/**
|
|
@@ -12248,8 +12446,8 @@ var lazyFn$1 = (function (fn) {
|
|
|
12248
12446
|
};
|
|
12249
12447
|
});
|
|
12250
12448
|
|
|
12251
|
-
var css_248z$
|
|
12252
|
-
styleInject(css_248z$
|
|
12449
|
+
var css_248z$9 = ".kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body {\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body {\n flex: 1;\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-body {\n flex: 1;\n overflow: auto;\n}\n.kts-invoice-operate-goods-list-add-discount-row .ktsAnt3x-drawer-wrapper-body .ktsAnt3x-drawer-body .add-discount-row-footer {\n flex: none;\n}\n";
|
|
12450
|
+
styleInject(css_248z$9);
|
|
12253
12451
|
|
|
12254
12452
|
var Text$3 = Typography.Text;
|
|
12255
12453
|
|
|
@@ -12631,8 +12829,8 @@ var DrawerBody = decorator(Form.create())(function (props) {
|
|
|
12631
12829
|
|
|
12632
12830
|
function useMergeDetails() {
|
|
12633
12831
|
var controller = Invoice.useInvoiceController();
|
|
12634
|
-
var
|
|
12635
|
-
return s.goodsListState.
|
|
12832
|
+
var selectedGoodIndex = controller.useMemo(function (s) {
|
|
12833
|
+
return s.goodsListState.selectedGoodIndex;
|
|
12636
12834
|
}, []);
|
|
12637
12835
|
var isMergeDetails = controller.useMemo(function (s) {
|
|
12638
12836
|
return s.goodsListState.isMergeDetails;
|
|
@@ -12664,9 +12862,9 @@ function useMergeDetails() {
|
|
|
12664
12862
|
if (!isMergeDetails) return React.createElement(React.Fragment, null);
|
|
12665
12863
|
return React.createElement(Button, {
|
|
12666
12864
|
onClick: onClick,
|
|
12667
|
-
disabled:
|
|
12865
|
+
disabled: selectedGoodIndex.length <= 1
|
|
12668
12866
|
}, "\u5408\u5E76\u660E\u7EC6");
|
|
12669
|
-
}, [
|
|
12867
|
+
}, [selectedGoodIndex.length]);
|
|
12670
12868
|
return {
|
|
12671
12869
|
/** 按钮 */
|
|
12672
12870
|
button: button
|
|
@@ -12970,8 +13168,8 @@ var Main = decorator(Form.create())(function (props) {
|
|
|
12970
13168
|
})), React.createElement("div", null, React.createElement(Statistics, null)));
|
|
12971
13169
|
});
|
|
12972
13170
|
|
|
12973
|
-
var css_248z$
|
|
12974
|
-
styleInject(css_248z$
|
|
13171
|
+
var css_248z$a = ".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";
|
|
13172
|
+
styleInject(css_248z$a);
|
|
12975
13173
|
|
|
12976
13174
|
var TextArea = Input.TextArea;
|
|
12977
13175
|
|
|
@@ -13389,8 +13587,8 @@ function interval(i, t) {
|
|
|
13389
13587
|
}
|
|
13390
13588
|
}
|
|
13391
13589
|
|
|
13392
|
-
var css_248z$
|
|
13393
|
-
styleInject(css_248z$
|
|
13590
|
+
var css_248z$b = ".kts-invoice-operate-buyer {\n display: flex;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message {\n flex: 1;\n display: flex;\n position: relative;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .ktsAnt3x-descriptions-item-label {\n width: 179px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list {\n width: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-view {\n border: none;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-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-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content {\n padding: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-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: 100%;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-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-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-descriptions-item-content .has-error .ktsAnt3x-input,\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-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-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item {\n margin: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-control {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children {\n height: 30px;\n display: block;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-item-children .ktsAnt3x-btn {\n line-height: 0;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-list .ktsAnt3x-form-explain {\n position: absolute;\n left: 5px;\n top: 6px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-message .kts-invoice-operate-buyer-message-Import {\n position: absolute;\n right: 0px;\n top: 0px;\n z-index: 10;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-password {\n border-left: 1px solid #dcdcdc;\n display: flex;\n flex: none;\n width: 458px;\n}\n.kts-invoice-operate-buyer .kts-invoice-operate-buyer-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-buyer .kts-invoice-operate-buyer-title label {\n display: table-cell;\n vertical-align: middle;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover {\n padding-top: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-inner-content {\n padding: 6px 0;\n display: flex;\n flex-direction: column;\n overflow-y: auto;\n overflow-x: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .ktsAnt3x-popover-arrow {\n display: none;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content {\n width: 567px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block {\n padding: 14px 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-block label {\n display: block;\n font-size: 12px;\n color: #666666;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued {\n padding: 0;\n margin: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued li {\n list-style: none;\n width: 50%;\n float: left;\n margin-bottom: 20px;\n padding: 0 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-recently-issued::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company {\n padding: 0;\n margin: 0;\n font-size: 12px;\n padding: 10px;\n font-weight: bold;\n color: #000000;\n cursor: pointer;\n transition: background 0.4s;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:hover {\n background: #e6e6e6e6;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company:last-child {\n margin-bottom: 0;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company li {\n list-style: none;\n width: 50%;\n float: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n padding-right: 10px;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content .kts-invoice-operate-buyer-name-content-select-company::after {\n content: \".\";\n display: block;\n height: 0;\n clear: left;\n visibility: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag {\n line-height: 1;\n padding: 4px 12px;\n background: #F3F3F3;\n border-radius: 9999px;\n font-size: 12px;\n font-weight: bold;\n color: #000;\n cursor: pointer;\n transition: background 0.4s;\n display: inline-block;\n max-width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n.ktsAnt3x-popover.kts-invoice-operate-buyer-name-popover .kts-invoice-operate-buyer-name-content-tag:hover {\n background: #e6e6e6e6;\n}\n";
|
|
13591
|
+
styleInject(css_248z$b);
|
|
13394
13592
|
|
|
13395
13593
|
var Text$4 = Typography.Text;
|
|
13396
13594
|
|
|
@@ -13541,8 +13739,8 @@ var Main$2 = decorator(Form.create())(function (props) {
|
|
|
13541
13739
|
}, React.createElement("label", null, "\u5BC6\u7801\u533A")), React.createElement("div", null))));
|
|
13542
13740
|
});
|
|
13543
13741
|
|
|
13544
|
-
var css_248z$
|
|
13545
|
-
styleInject(css_248z$
|
|
13742
|
+
var css_248z$c = ".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";
|
|
13743
|
+
styleInject(css_248z$c);
|
|
13546
13744
|
|
|
13547
13745
|
var Sign = decorator(Form.create())(function (props) {
|
|
13548
13746
|
var form = props.form;
|
|
@@ -13590,8 +13788,8 @@ var formItemLayout = {
|
|
|
13590
13788
|
}
|
|
13591
13789
|
};
|
|
13592
13790
|
|
|
13593
|
-
var css_248z$
|
|
13594
|
-
styleInject(css_248z$
|
|
13791
|
+
var css_248z$d = ".kts-invoice-operate-invoice-digtal-header {\n height: 121px;\n text-align: center;\n position: relative;\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-title {\n font-size: 28px;\n color: #9F603D;\n width: 100%;\n position: absolute;\n top: 21px;\n font-weight: 400;\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-title::after,\n.kts-invoice-operate-invoice-digtal-header .digtal-header-title::before {\n content: \"\";\n position: absolute;\n width: 330px;\n border-bottom: 2px solid #9F613E;\n left: 50%;\n bottom: -4px;\n transform: translateX(-50%);\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-title::after {\n bottom: -8px;\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-tag {\n position: absolute;\n top: 47px;\n left: 157px;\n padding: 2px 8px;\n border-radius: 4px;\n border: 1px solid #0074FF;\n color: #0074FF;\n background: rgba(0, 116, 255, 0.2);\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-fields {\n display: flex;\n flex-direction: column;\n position: absolute;\n right: 40px;\n top: 23px;\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-fields .digtal-header-field {\n display: flex;\n font-weight: bold;\n}\n.kts-invoice-operate-invoice-digtal-header .digtal-header-fields .digtal-header-field .digtal-header-field-title {\n color: #9F613E;\n}\n";
|
|
13792
|
+
styleInject(css_248z$d);
|
|
13595
13793
|
|
|
13596
13794
|
var InvoiceHeaderDigtal = decorator(Form.create())(function (props) {
|
|
13597
13795
|
var form = props.form;
|
|
@@ -14811,8 +15009,8 @@ function SvgPlus(props) {
|
|
|
14811
15009
|
})))));
|
|
14812
15010
|
}
|
|
14813
15011
|
|
|
14814
|
-
var css_248z$
|
|
14815
|
-
styleInject(css_248z$
|
|
15012
|
+
var css_248z$e = ".kts-invoice-operate-invoice-digtal-stakeholder {\n display: flex;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-expand-button {\n cursor: pointer;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div {\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n justify-content: end;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder > div:last-child {\n border-right: none;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form {\n padding: 20px 10px;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item {\n display: flex;\n margin-bottom: 0;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label {\n flex: none;\n font-weight: 500;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-label label {\n color: #9F603D;\n}\n.kts-invoice-operate-invoice-digtal-stakeholder .digtal-stakeholder-form .ktsAnt3x-row.ktsAnt3x-form-item .ktsAnt3x-form-item-control-wrapper {\n flex: 1;\n}\n";
|
|
15013
|
+
styleInject(css_248z$e);
|
|
14816
15014
|
|
|
14817
15015
|
var RULES = {
|
|
14818
15016
|
companyName: function companyName(label) {
|
|
@@ -15274,8 +15472,8 @@ Discontinue.start = function () {
|
|
|
15274
15472
|
});
|
|
15275
15473
|
};
|
|
15276
15474
|
|
|
15277
|
-
var css_248z$
|
|
15278
|
-
styleInject(css_248z$
|
|
15475
|
+
var css_248z$f = ".kts-invoice-operate-sign-digtal {\n padding: 20px 20px 0;\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-sign-digtal .sign-digtal-label {\n color: #9F613E;\n font-weight: bold;\n}\n.kts-invoice-operate-sign-digtal-readOnly .sign-digtal-readOnly-cont {\n border-bottom: 2px solid #9F613E;\n border-left: 2px solid #9F613E;\n border-right: 2px solid #9F613E;\n display: flex;\n}\n.kts-invoice-operate-sign-digtal-readOnly .sign-digtal-readOnly-cont > div:nth-child(even) {\n flex: 1;\n display: flex;\n flex-direction: column;\n padding: 10px;\n min-height: 189px;\n}\n.kts-invoice-operate-sign-digtal-readOnly .sign-digtal-readOnly-cont > div:nth-child(odd) {\n flex: none;\n text-align: center;\n color: #9F613E;\n display: flex;\n flex-direction: column;\n justify-content: center;\n justify-items: center;\n padding: 0 4px;\n border-right: 2px solid #9F613E;\n}\n.kts-invoice-operate-sign-digtal-readOnly .digtal-readOnly-form {\n padding-left: 30px;\n}\n.kts-invoice-operate-sign-digtal-readOnly .digtal-readOnly-form .ktsAnt3x-form-item-label label {\n color: #9F613E;\n font-weight: bold;\n}\n";
|
|
15476
|
+
styleInject(css_248z$f);
|
|
15279
15477
|
|
|
15280
15478
|
var SignDigtal = decorator(Form.create())(function (props) {
|
|
15281
15479
|
var form = props.form;
|
|
@@ -15361,8 +15559,8 @@ var MyDiv$1 = /*#__PURE__*/function (_React$Component) {
|
|
|
15361
15559
|
return MyDiv;
|
|
15362
15560
|
}(React.Component);
|
|
15363
15561
|
|
|
15364
|
-
var css_248z$
|
|
15365
|
-
styleInject(css_248z$
|
|
15562
|
+
var css_248z$g = ".kts-invoice-operate-goods-table-virtual .ktsAntX-table-body {\n height: 280px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-header > table > thead > tr > th {\n padding: 0 10px;\n height: 32px;\n background: #f4f4f4;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table.ktsAntX-table-bordered > .ktsAntX-table-container > .ktsAntX-table-body > table > tbody > tr > td {\n padding: 0;\n height: 32px;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-body > table {\n position: absolute;\n left: 0;\n top: 0;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-table .ktsAntX-table-tbody {\n position: relative;\n}\n.kts-invoice-operate-goods-table-virtual .ktsAntX-checkbox-wrapper .ktsAntX-checkbox-inner {\n width: 16px;\n height: 16px;\n border: 1px solid #d9d9d9;\n border-radius: 2px;\n top: 1px;\n}\n";
|
|
15563
|
+
styleInject(css_248z$g);
|
|
15366
15564
|
|
|
15367
15565
|
function TableVirtual$1 (props) {
|
|
15368
15566
|
var _props$dataSource2;
|
|
@@ -15494,8 +15692,8 @@ function SvgFork(props) {
|
|
|
15494
15692
|
})))));
|
|
15495
15693
|
}
|
|
15496
15694
|
|
|
15497
|
-
var css_248z$
|
|
15498
|
-
styleInject(css_248z$
|
|
15695
|
+
var css_248z$h = ".kts-invoice-operate-goods-list-statistics-digtal {\n overflow-y: scroll;\n /* 设置滚动条滑块颜色 */\n}\n.kts-invoice-operate-goods-list-statistics-digtal::-webkit-scrollbar-track {\n background-color: #f1f1f1;\n}\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total-tax,\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total {\n height: 42px;\n display: flex;\n align-items: center;\n}\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total-tax > div:first-child,\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total > div:first-child {\n width: 225px;\n color: #9F613E;\n font-family: PingFang SC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total-tax {\n border-top: 2px solid #9F613E;\n}\n.kts-invoice-operate-goods-list-statistics-digtal .statistics-digtal-total-tax > div:first-child {\n border-right: 2px solid #9F613E;\n}\n";
|
|
15696
|
+
styleInject(css_248z$h);
|
|
15499
15697
|
|
|
15500
15698
|
var nzhcn$1 = require('nzh').cn;
|
|
15501
15699
|
|
|
@@ -15860,8 +16058,8 @@ function SvgMagnifier$1(props) {
|
|
|
15860
16058
|
})));
|
|
15861
16059
|
}
|
|
15862
16060
|
|
|
15863
|
-
var css_248z$
|
|
15864
|
-
styleInject(css_248z$
|
|
16061
|
+
var css_248z$i = ".kts-invoice-operate-goods-list-able .kts-invoice-operate-goods-list-search {\n width: 350px;\n border-radius: 999px;\n}\n.kts-invoice-operate-goods-list-able .kts-invoice-operate-goods-list-search input {\n border-radius: 999px;\n border-color: #b8b8b8;\n font-size: 12px;\n}\n";
|
|
16062
|
+
styleInject(css_248z$i);
|
|
15865
16063
|
|
|
15866
16064
|
function Search$1() {
|
|
15867
16065
|
var controller = Invoice.useInvoiceController();
|
|
@@ -16011,8 +16209,8 @@ var TitleText$1 = (function (props) {
|
|
|
16011
16209
|
}, "*") : React.createElement(React.Fragment, null), children);
|
|
16012
16210
|
});
|
|
16013
16211
|
|
|
16014
|
-
var css_248z$
|
|
16015
|
-
styleInject(css_248z$
|
|
16212
|
+
var css_248z$j = ".kts-invoice-operate-goods-list-itemName-input {\n display: flex;\n flex: 1;\n padding-left: 0;\n height: 31px;\n}\n.has-error .kts-invoice-operate-goods-list-itemName-input {\n border: 1px solid #f5222d;\n}\n";
|
|
16213
|
+
styleInject(css_248z$j);
|
|
16016
16214
|
|
|
16017
16215
|
function ItemNameInput$1(props) {
|
|
16018
16216
|
var controller = Invoice.useInvoiceController();
|
|
@@ -19448,8 +19646,8 @@ var useEmptyRefill = (function () {
|
|
|
19448
19646
|
};
|
|
19449
19647
|
});
|
|
19450
19648
|
|
|
19451
|
-
var css_248z$
|
|
19452
|
-
styleInject(css_248z$
|
|
19649
|
+
var css_248z$k = ".goods-list-digtal-reselect-invoice-typeModal-radio {\n width: 100%;\n display: flex !important;\n}\n.goods-list-digtal-reselect-invoice-typeModal-radio > label {\n flex: 1;\n}\n";
|
|
19650
|
+
styleInject(css_248z$k);
|
|
19453
19651
|
|
|
19454
19652
|
function InvoiceTypeModal(props) {
|
|
19455
19653
|
var _props$disableds = props.disableds,
|
|
@@ -19621,8 +19819,8 @@ var useReselectInvoiceType = (function () {
|
|
|
19621
19819
|
};
|
|
19622
19820
|
});
|
|
19623
19821
|
|
|
19624
|
-
var css_248z$
|
|
19625
|
-
styleInject(css_248z$
|
|
19822
|
+
var css_248z$l = ".kts-invoice-operate-goods-list-digtal .goods-list-digtal-discount-tag {\n display: inline-block;\n height: 20px;\n line-height: 20px;\n border: 1px solid;\n padding: 0 5px;\n border-radius: 4px;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-table-tax-rate .ktsAnt3x-select-selection-selected-value {\n float: right;\n}\n.kts-invoice-operate-goods-list-digtal .kts-invoice-operate-goods-list-able {\n display: flex;\n padding: 10px;\n border-bottom: 2px solid #9F613E;\n gap: 10px;\n align-items: center;\n height: 48px;\n}\n.kts-invoice-operate-goods-list-digtal .ktsAntX-table .ktsAntX-table-row.kts-invoice-operate-goods-be-discount .ktsAntX-table-cell {\n color: #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .ktsAnt3x-form-item-control.has-error {\n border: 1px solid #f00;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table.kts-invoice-operate-prefab .ktsAnt3x-table-row {\n color: rgba(0, 0, 0, 0.25);\n background: #f5f5f5;\n}\n.kts-invoice-operate-goods-list-table-digtal .kts-invoice-operate-goods-list-table-search-protrude {\n background: #ff0;\n color: #000;\n font-weight: bold;\n}\n";
|
|
19823
|
+
styleInject(css_248z$l);
|
|
19626
19824
|
|
|
19627
19825
|
var GoodsList$1 = /*#__PURE__*/function (_React$Component) {
|
|
19628
19826
|
_inherits(GoodsList, _React$Component);
|
|
@@ -20232,8 +20430,8 @@ var getItemNameOther = function getItemNameOther(record, editGood) {
|
|
|
20232
20430
|
return record.itemName;
|
|
20233
20431
|
};
|
|
20234
20432
|
|
|
20235
|
-
var css_248z$
|
|
20236
|
-
styleInject(css_248z$
|
|
20433
|
+
var css_248z$m = ".kts-invoice-operate-goods-endow-code-button-list {\n display: flex;\n flex-direction: column;\n}\n.kts-invoice-operate-goods-endow-code-button-list > button {\n margin-bottom: 10px;\n}\n";
|
|
20434
|
+
styleInject(css_248z$m);
|
|
20237
20435
|
|
|
20238
20436
|
var TreeNode = Tree.TreeNode;
|
|
20239
20437
|
var confirm = Modal$1.confirm;
|