tplus-components-touch 3.22.15 → 3.22.16
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/package.json +1 -1
- package/dist/components/acCitySelect/CitySelect.js +0 -541
- package/dist/components/acCitySelect/CitySelect.js.map +0 -1
- package/dist/components/acCitySelect/CitySelect.less +0 -10
- package/dist/components/acCitySelect/citys.js +0 -1270
- package/dist/components/acCitySelect/citys.js.map +0 -1
- package/dist/components/acCitySelect/index.js +0 -18
- package/dist/components/acCitySelect/index.js.map +0 -1
- package/dist/components/acCitySelect/provinceData.js +0 -40
- package/dist/components/acCitySelect/provinceData.js.map +0 -1
- package/dist/components/addLog/AddLogProcessor.js +0 -49
- package/dist/components/addLog/AddLogProcessor.js.map +0 -1
- package/dist/components/addLog/OperationLogApi.js +0 -125
- package/dist/components/addLog/OperationLogApi.js.map +0 -1
- package/dist/components/autoComplete/index.js +0 -245
- package/dist/components/autoComplete/index.js.map +0 -1
- package/dist/components/autoComplete/index.less +0 -89
- package/dist/components/autoComplete/option.js +0 -75
- package/dist/components/autoComplete/option.js.map +0 -1
- package/dist/components/autoCompleteWithKeyboard/index.js +0 -231
- package/dist/components/autoCompleteWithKeyboard/index.js.map +0 -1
- package/dist/components/autoCompleteWithKeyboard/index.less +0 -8
- package/dist/components/billSearch/api.js +0 -465
- package/dist/components/billSearch/api.js.map +0 -1
- package/dist/components/billSearch/index.js +0 -2063
- package/dist/components/billSearch/index.js.map +0 -1
- package/dist/components/billSearch/index.less +0 -373
- package/dist/components/cloudPrint/BTPrintFormatUtil.js +0 -568
- package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +0 -1
- package/dist/components/cloudPrint/api.js +0 -349
- package/dist/components/cloudPrint/api.js.map +0 -1
- package/dist/components/cloudPrint/index.js +0 -674
- package/dist/components/cloudPrint/index.js.map +0 -1
- package/dist/components/cloudPrint/printDispatch.js +0 -223
- package/dist/components/cloudPrint/printDispatch.js.map +0 -1
- package/dist/components/commonForm/addressPicker/index.js +0 -232
- package/dist/components/commonForm/addressPicker/index.js.map +0 -1
- package/dist/components/commonForm/addressPicker/style.less +0 -11
- package/dist/components/commonForm/autoComplete/index.js +0 -241
- package/dist/components/commonForm/autoComplete/index.js.map +0 -1
- package/dist/components/commonForm/autoComplete/style.less +0 -3
- package/dist/components/commonForm/datePicker/index.js +0 -89
- package/dist/components/commonForm/datePicker/index.js.map +0 -1
- package/dist/components/commonForm/datePicker/style.less +0 -5
- package/dist/components/commonForm/formControl/index.js +0 -143
- package/dist/components/commonForm/formControl/index.js.map +0 -1
- package/dist/components/commonForm/formControl/style.less +0 -0
- package/dist/components/commonForm/index.js +0 -225
- package/dist/components/commonForm/index.js.map +0 -1
- package/dist/components/commonForm/inputNumber/index.js +0 -272
- package/dist/components/commonForm/inputNumber/index.js.map +0 -1
- package/dist/components/commonForm/inputNumber/style.less +0 -11
- package/dist/components/commonForm/radio/index.js +0 -132
- package/dist/components/commonForm/radio/index.js.map +0 -1
- package/dist/components/commonForm/radio/style.less +0 -0
- package/dist/components/commonForm/style.less +0 -2
- package/dist/components/deliverySearch/api.js +0 -355
- package/dist/components/deliverySearch/api.js.map +0 -1
- package/dist/components/deliverySearch/index.js +0 -1214
- package/dist/components/deliverySearch/index.js.map +0 -1
- package/dist/components/deliverySearch/index.less +0 -554
- package/dist/components/form/index.js +0 -310
- package/dist/components/form/index.js.map +0 -1
- package/dist/components/hardwareAPI/index.js +0 -181
- package/dist/components/hardwareAPI/index.js.map +0 -1
- package/dist/components/hotKey/config.js +0 -306
- package/dist/components/hotKey/config.js.map +0 -1
- package/dist/components/hotKey/hotKeyModal.js +0 -479
- package/dist/components/hotKey/hotKeyModal.js.map +0 -1
- package/dist/components/hotKey/index.js +0 -785
- package/dist/components/hotKey/index.js.map +0 -1
- package/dist/components/hotKey/localConfig.js +0 -1021
- package/dist/components/hotKey/localConfig.js.map +0 -1
- package/dist/components/hotKey/style.less +0 -96
- package/dist/components/hotKey/utils.js +0 -135
- package/dist/components/hotKey/utils.js.map +0 -1
- package/dist/components/input/index.js +0 -251
- package/dist/components/input/index.js.map +0 -1
- package/dist/components/input/style.less +0 -99
- package/dist/components/input/tplusInput/index.js +0 -81
- package/dist/components/input/tplusInput/index.js.map +0 -1
- package/dist/components/input/tplusInput/inputContent.js +0 -128
- package/dist/components/input/tplusInput/inputContent.js.map +0 -1
- package/dist/components/input/tplusInput/inputs.js +0 -151
- package/dist/components/input/tplusInput/inputs.js.map +0 -1
- package/dist/components/input/tplusInput/style.less +0 -132
- package/dist/components/input/utils/index.js +0 -26
- package/dist/components/input/utils/index.js.map +0 -1
- package/dist/components/inventorySearch/api.js +0 -214
- package/dist/components/inventorySearch/api.js.map +0 -1
- package/dist/components/inventorySearch/index.js +0 -303
- package/dist/components/inventorySearch/index.js.map +0 -1
- package/dist/components/inventorySearch/index.less +0 -120
- package/dist/components/inventorySearch/store.js +0 -344
- package/dist/components/inventorySearch/store.js.map +0 -1
- package/dist/components/inventorySearch/tab.js +0 -258
- package/dist/components/inventorySearch/tab.js.map +0 -1
- package/dist/components/keyboard/index.js +0 -255
- package/dist/components/keyboard/index.js.map +0 -1
- package/dist/components/keyboard/index.less +0 -470
- package/dist/components/keyboard/letterKeyboard.js +0 -210
- package/dist/components/keyboard/letterKeyboard.js.map +0 -1
- package/dist/components/keyboard/numKeyboard.js +0 -459
- package/dist/components/keyboard/numKeyboard.js.map +0 -1
- package/dist/components/keyboard/numKeyboardScan.js +0 -195
- package/dist/components/keyboard/numKeyboardScan.js.map +0 -1
- package/dist/components/keyboard/numberButton_input.js +0 -303
- package/dist/components/keyboard/numberButton_input.js.map +0 -1
- package/dist/components/keyboard/numkeyboardPassword.js +0 -460
- package/dist/components/keyboard/numkeyboardPassword.js.map +0 -1
- package/dist/components/keyboard/onlyKeyboard.js +0 -90
- package/dist/components/keyboard/onlyKeyboard.js.map +0 -1
- package/dist/components/keyboard/onlyLetterButton.js +0 -187
- package/dist/components/keyboard/onlyLetterButton.js.map +0 -1
- package/dist/components/keyboard/onlyLetterButton2.js +0 -235
- package/dist/components/keyboard/onlyLetterButton2.js.map +0 -1
- package/dist/components/keyboard/onlyLetterButton2.less +0 -162
- package/dist/components/keyboard/onlyNumberButton.js +0 -128
- package/dist/components/keyboard/onlyNumberButton.js.map +0 -1
- package/dist/components/keyboard/onlyNumberButton2.js +0 -115
- package/dist/components/keyboard/onlyNumberButton2.js.map +0 -1
- package/dist/components/keyboard/textKeyboard.js +0 -50
- package/dist/components/keyboard/textKeyboard.js.map +0 -1
- package/dist/components/layout/hamburger.js +0 -29
- package/dist/components/layout/hamburger.js.map +0 -1
- package/dist/components/layout/index.js +0 -31
- package/dist/components/layout/index.js.map +0 -1
- package/dist/components/layout/layout.js +0 -182
- package/dist/components/layout/layout.js.map +0 -1
- package/dist/components/layout/sider.js +0 -165
- package/dist/components/layout/sider.js.map +0 -1
- package/dist/components/layout/style.less +0 -82
- package/dist/components/loading/index.js +0 -198
- package/dist/components/loading/index.js.map +0 -1
- package/dist/components/loading/loadingContent.js +0 -176
- package/dist/components/loading/loadingContent.js.map +0 -1
- package/dist/components/loading/style.less +0 -61
- package/dist/components/loading/utils.js +0 -29
- package/dist/components/loading/utils.js.map +0 -1
- package/dist/components/message/index.js +0 -308
- package/dist/components/message/index.js.map +0 -1
- package/dist/components/message/index.less +0 -101
- package/dist/components/modal/index.js +0 -93
- package/dist/components/modal/index.js.map +0 -1
- package/dist/components/modal/index.less +0 -19
- package/dist/components/modalVertical/index.js +0 -325
- package/dist/components/modalVertical/index.js.map +0 -1
- package/dist/components/modalVertical/style.less +0 -60
- package/dist/components/modalWraper/index.js +0 -470
- package/dist/components/modalWraper/index.js.map +0 -1
- package/dist/components/modalWraper/style.less +0 -257
- package/dist/components/modalWraper/utils.js +0 -48
- package/dist/components/modalWraper/utils.js.map +0 -1
- package/dist/components/notification/index.js +0 -119
- package/dist/components/notification/index.js.map +0 -1
- package/dist/components/notification/index.less +0 -52
- package/dist/components/overflowTip/index.js +0 -269
- package/dist/components/overflowTip/index.js.map +0 -1
- package/dist/components/overflowTip/style.less +0 -66
- package/dist/components/page/index.js +0 -49
- package/dist/components/page/index.js.map +0 -1
- package/dist/components/page/index.less +0 -22
- package/dist/components/product/detail.js +0 -148
- package/dist/components/product/detail.js.map +0 -1
- package/dist/components/product/getCard.js +0 -145
- package/dist/components/product/getCard.js.map +0 -1
- package/dist/components/product/index.less +0 -128
- package/dist/components/progressState/EmptyAndErrorView.js +0 -143
- package/dist/components/progressState/EmptyAndErrorView.js.map +0 -1
- package/dist/components/progressState/ProgressState.js +0 -157
- package/dist/components/progressState/ProgressState.js.map +0 -1
- package/dist/components/progressState/index.js +0 -14
- package/dist/components/progressState/index.js.map +0 -1
- package/dist/components/progressState/style.less +0 -65
- package/dist/components/scan/index.js +0 -219
- package/dist/components/scan/index.js.map +0 -1
- package/dist/components/scan/index.less +0 -34
- package/dist/components/select/index.js +0 -28
- package/dist/components/select/index.js.map +0 -1
- package/dist/components/select/index.less +0 -12
- package/dist/components/settlement/asyncModal.js +0 -204
- package/dist/components/settlement/asyncModal.js.map +0 -1
- package/dist/components/settlement/index.js +0 -16
- package/dist/components/settlement/index.js.map +0 -1
- package/dist/components/settlement/prototypeTable/index.js +0 -349
- package/dist/components/settlement/prototypeTable/index.js.map +0 -1
- package/dist/components/settlement/prototypeTable/style.less +0 -59
- package/dist/components/settlement/prototypeTable/utils.js +0 -14
- package/dist/components/settlement/prototypeTable/utils.js.map +0 -1
- package/dist/components/settlement/settlement.js +0 -5471
- package/dist/components/settlement/settlement.js.map +0 -1
- package/dist/components/settlement/settlement.less +0 -1594
- package/dist/components/settlement/settlementStore.js +0 -2099
- package/dist/components/settlement/settlementStore.js.map +0 -1
- package/dist/components/settlement/utils.js +0 -249
- package/dist/components/settlement/utils.js.map +0 -1
- package/dist/components/socket/index.js +0 -220
- package/dist/components/socket/index.js.map +0 -1
- package/dist/components/spin/index.js +0 -95
- package/dist/components/spin/index.js.map +0 -1
- package/dist/components/spin/spin-style.less +0 -436
- package/dist/components/test/index.js +0 -330
- package/dist/components/test/index.js.map +0 -1
- package/dist/components/ticon/iconfont/demo.css +0 -539
- package/dist/components/ticon/iconfont/demo_index.html +0 -5202
- package/dist/components/ticon/iconfont/iconfont.css +0 -887
- package/dist/components/ticon/iconfont/iconfont.eot +0 -0
- package/dist/components/ticon/iconfont/iconfont.js +0 -35
- package/dist/components/ticon/iconfont/iconfont.js.map +0 -1
- package/dist/components/ticon/iconfont/iconfont.json +0 -1535
- package/dist/components/ticon/iconfont/iconfont.svg +0 -593
- package/dist/components/ticon/iconfont/iconfont.ttf +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff +0 -0
- package/dist/components/ticon/iconfont/iconfont.woff2 +0 -0
- package/dist/components/ticon/index.js +0 -60
- package/dist/components/ticon/index.js.map +0 -1
- package/dist/components/touchScroll/index.js +0 -182
- package/dist/components/touchScroll/index.js.map +0 -1
- package/dist/components/touchTable/AuthProcess.js +0 -42
- package/dist/components/touchTable/AuthProcess.js.map +0 -1
- package/dist/components/touchTable/generateWater.js +0 -59
- package/dist/components/touchTable/generateWater.js.map +0 -1
- package/dist/components/touchTable/index.js +0 -1109
- package/dist/components/touchTable/index.js.map +0 -1
- package/dist/components/touchTable/index.less +0 -370
- package/dist/components/touchTable/utils.js +0 -14
- package/dist/components/touchTable/utils.js.map +0 -1
- package/dist/demo/PopOverDemo.js +0 -126
- package/dist/demo/PopOverDemo.js.map +0 -1
- package/dist/index.js +0 -249
- package/dist/index.js.map +0 -1
- package/dist/util/tools.js +0 -202
- package/dist/util/tools.js.map +0 -1
|
@@ -1,349 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = undefined;
|
|
7
|
-
|
|
8
|
-
var _table = require('antd/es/table');
|
|
9
|
-
|
|
10
|
-
var _table2 = _interopRequireDefault(_table);
|
|
11
|
-
|
|
12
|
-
var _button = require('antd/es/button');
|
|
13
|
-
|
|
14
|
-
var _button2 = _interopRequireDefault(_button);
|
|
15
|
-
|
|
16
|
-
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
|
|
17
|
-
|
|
18
|
-
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
|
19
|
-
|
|
20
|
-
var _classCallCheck2 = require('babel-runtime/helpers/classCallCheck');
|
|
21
|
-
|
|
22
|
-
var _classCallCheck3 = _interopRequireDefault(_classCallCheck2);
|
|
23
|
-
|
|
24
|
-
var _createClass2 = require('babel-runtime/helpers/createClass');
|
|
25
|
-
|
|
26
|
-
var _createClass3 = _interopRequireDefault(_createClass2);
|
|
27
|
-
|
|
28
|
-
var _possibleConstructorReturn2 = require('babel-runtime/helpers/possibleConstructorReturn');
|
|
29
|
-
|
|
30
|
-
var _possibleConstructorReturn3 = _interopRequireDefault(_possibleConstructorReturn2);
|
|
31
|
-
|
|
32
|
-
var _inherits2 = require('babel-runtime/helpers/inherits');
|
|
33
|
-
|
|
34
|
-
var _inherits3 = _interopRequireDefault(_inherits2);
|
|
35
|
-
|
|
36
|
-
var _class;
|
|
37
|
-
|
|
38
|
-
require('antd/es/table/style');
|
|
39
|
-
|
|
40
|
-
require('antd/es/button/style');
|
|
41
|
-
|
|
42
|
-
var _react = require('react');
|
|
43
|
-
|
|
44
|
-
var _react2 = _interopRequireDefault(_react);
|
|
45
|
-
|
|
46
|
-
var _tplusComponentsTouch = require('tplus-components-touch');
|
|
47
|
-
|
|
48
|
-
var _mutantsMicrofx = require('mutants-microfx');
|
|
49
|
-
|
|
50
|
-
var _utils = require('./utils');
|
|
51
|
-
|
|
52
|
-
require('./style.less');
|
|
53
|
-
|
|
54
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
55
|
-
|
|
56
|
-
var PrototypeTableModal = (0, _mutantsMicrofx.observer)(_class = function (_Component) {
|
|
57
|
-
(0, _inherits3.default)(PrototypeTableModal, _Component);
|
|
58
|
-
|
|
59
|
-
function PrototypeTableModal() {
|
|
60
|
-
(0, _classCallCheck3.default)(this, PrototypeTableModal);
|
|
61
|
-
return (0, _possibleConstructorReturn3.default)(this, (PrototypeTableModal.__proto__ || (0, _getPrototypeOf2.default)(PrototypeTableModal)).apply(this, arguments));
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
(0, _createClass3.default)(PrototypeTableModal, [{
|
|
65
|
-
key: 'getColumns',
|
|
66
|
-
value: function getColumns(data1) {
|
|
67
|
-
var _this2 = this;
|
|
68
|
-
|
|
69
|
-
var columns = [{
|
|
70
|
-
title: '商品名称',
|
|
71
|
-
dataIndex: 'InventoryName',
|
|
72
|
-
key: 'InventoryName',
|
|
73
|
-
align: 'center',
|
|
74
|
-
width: 120,
|
|
75
|
-
render: function render(showText, record, index) {
|
|
76
|
-
// return (<span className='unitPrice'>{text}</span>)
|
|
77
|
-
var _props = _this2.props,
|
|
78
|
-
badge = _props.badge,
|
|
79
|
-
_props$height = _props.height,
|
|
80
|
-
height = _props$height === undefined ? 50 : _props$height;
|
|
81
|
-
var _record$badge = record.badge;
|
|
82
|
-
_record$badge = _record$badge === undefined ? {} : _record$badge;
|
|
83
|
-
var text = _record$badge.text,
|
|
84
|
-
_record$badge$positio = _record$badge.position,
|
|
85
|
-
position = _record$badge$positio === undefined ? 'leftTop' : _record$badge$positio,
|
|
86
|
-
_record$badge$classNa = _record$badge.className,
|
|
87
|
-
className = _record$badge$classNa === undefined ? '' : _record$badge$classNa;
|
|
88
|
-
|
|
89
|
-
var badgeClassName = _utils.badgeClassNames[position];
|
|
90
|
-
var baseNum = position.includes('Bottom') ? 25 : 0;
|
|
91
|
-
var style = {};
|
|
92
|
-
// if (type === 'bee'){
|
|
93
|
-
// style = {
|
|
94
|
-
// top : baseNum + (height * index)
|
|
95
|
-
// }
|
|
96
|
-
// }
|
|
97
|
-
return _react2.default.createElement(
|
|
98
|
-
'div',
|
|
99
|
-
{ className: 'tplus-table-badge' },
|
|
100
|
-
_react2.default.createElement(
|
|
101
|
-
'div',
|
|
102
|
-
{ className: 'badge-item ' + className + ' ' + badgeClassName, style: style },
|
|
103
|
-
_react2.default.createElement(
|
|
104
|
-
'span',
|
|
105
|
-
null,
|
|
106
|
-
text
|
|
107
|
-
)
|
|
108
|
-
),
|
|
109
|
-
_react2.default.createElement(
|
|
110
|
-
'div',
|
|
111
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
112
|
-
showText
|
|
113
|
-
)
|
|
114
|
-
);
|
|
115
|
-
}
|
|
116
|
-
}, {
|
|
117
|
-
title: '单位',
|
|
118
|
-
dataIndex: 'UnitName',
|
|
119
|
-
key: 'UnitName',
|
|
120
|
-
ellipsis: true,
|
|
121
|
-
align: 'center',
|
|
122
|
-
width: 40
|
|
123
|
-
}, {
|
|
124
|
-
title: '数量',
|
|
125
|
-
dataIndex: 'nQuantity',
|
|
126
|
-
key: 'nQuantity',
|
|
127
|
-
ellipsis: true,
|
|
128
|
-
align: 'center',
|
|
129
|
-
width: 70,
|
|
130
|
-
render: function render(showText, record, index) {
|
|
131
|
-
return _react2.default.createElement(
|
|
132
|
-
'div',
|
|
133
|
-
{ className: 'tplus-table-badge' },
|
|
134
|
-
_react2.default.createElement(
|
|
135
|
-
'div',
|
|
136
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
137
|
-
showText
|
|
138
|
-
)
|
|
139
|
-
);
|
|
140
|
-
}
|
|
141
|
-
}, {
|
|
142
|
-
title: '零售价',
|
|
143
|
-
dataIndex: 'nRetailPrice',
|
|
144
|
-
key: 'nRetailPrice',
|
|
145
|
-
ellipsis: true,
|
|
146
|
-
align: 'center',
|
|
147
|
-
width: 70,
|
|
148
|
-
render: function render(showText, record, index) {
|
|
149
|
-
return _react2.default.createElement(
|
|
150
|
-
'div',
|
|
151
|
-
{ className: 'tplus-table-badge' },
|
|
152
|
-
_react2.default.createElement(
|
|
153
|
-
'div',
|
|
154
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
155
|
-
showText
|
|
156
|
-
)
|
|
157
|
-
);
|
|
158
|
-
}
|
|
159
|
-
}, {
|
|
160
|
-
title: '折扣额',
|
|
161
|
-
dataIndex: 'Discount',
|
|
162
|
-
key: 'Discount',
|
|
163
|
-
ellipsis: true,
|
|
164
|
-
align: 'center',
|
|
165
|
-
width: 70,
|
|
166
|
-
render: function render(text, record, index) {
|
|
167
|
-
return _react2.default.createElement(
|
|
168
|
-
'span',
|
|
169
|
-
{ className: 'unitPrice row-cell-div' },
|
|
170
|
-
text
|
|
171
|
-
);
|
|
172
|
-
}
|
|
173
|
-
}, {
|
|
174
|
-
title: '单价',
|
|
175
|
-
dataIndex: 'nTaxPrice',
|
|
176
|
-
key: 'nTaxPrice',
|
|
177
|
-
ellipsis: true,
|
|
178
|
-
align: 'center',
|
|
179
|
-
width: 70,
|
|
180
|
-
render: function render(showText, record, index) {
|
|
181
|
-
return _react2.default.createElement(
|
|
182
|
-
'div',
|
|
183
|
-
{ className: 'tplus-table-badge' },
|
|
184
|
-
_react2.default.createElement(
|
|
185
|
-
'div',
|
|
186
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
187
|
-
showText
|
|
188
|
-
)
|
|
189
|
-
);
|
|
190
|
-
}
|
|
191
|
-
}, {
|
|
192
|
-
title: '金额',
|
|
193
|
-
dataIndex: 'nAmount',
|
|
194
|
-
key: 'nAmount',
|
|
195
|
-
ellipsis: true,
|
|
196
|
-
align: 'center',
|
|
197
|
-
width: 70,
|
|
198
|
-
render: function render(showText, record, index) {
|
|
199
|
-
return _react2.default.createElement(
|
|
200
|
-
'div',
|
|
201
|
-
{ className: 'tplus-table-badge' },
|
|
202
|
-
_react2.default.createElement(
|
|
203
|
-
'div',
|
|
204
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
205
|
-
showText
|
|
206
|
-
)
|
|
207
|
-
);
|
|
208
|
-
}
|
|
209
|
-
}, {
|
|
210
|
-
title: '折扣额合计',
|
|
211
|
-
dataIndex: 'TotalDiscount',
|
|
212
|
-
key: 'TotalDiscount',
|
|
213
|
-
ellipsis: true,
|
|
214
|
-
align: 'center',
|
|
215
|
-
width: 80,
|
|
216
|
-
render: function render(showText, record, index) {
|
|
217
|
-
return _react2.default.createElement(
|
|
218
|
-
'div',
|
|
219
|
-
{ className: 'tplus-table-badge' },
|
|
220
|
-
_react2.default.createElement(
|
|
221
|
-
'div',
|
|
222
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
223
|
-
showText
|
|
224
|
-
)
|
|
225
|
-
);
|
|
226
|
-
}
|
|
227
|
-
}];
|
|
228
|
-
|
|
229
|
-
var data2 = data1.find(function (item) {
|
|
230
|
-
return item.ShowFreeItem === true;
|
|
231
|
-
});
|
|
232
|
-
var obj = {
|
|
233
|
-
title: '属性',
|
|
234
|
-
dataIndex: 'FreeItem',
|
|
235
|
-
key: 'FreeItem',
|
|
236
|
-
ellipsis: true,
|
|
237
|
-
align: 'center',
|
|
238
|
-
width: 70,
|
|
239
|
-
render: function render(showText, record, index) {
|
|
240
|
-
return _react2.default.createElement(
|
|
241
|
-
'div',
|
|
242
|
-
{ className: 'tplus-table-badge' },
|
|
243
|
-
_react2.default.createElement(
|
|
244
|
-
'div',
|
|
245
|
-
{ className: 'row-cell-div row-cell-pad', style: { width: '100%' } },
|
|
246
|
-
showText
|
|
247
|
-
)
|
|
248
|
-
);
|
|
249
|
-
}
|
|
250
|
-
};
|
|
251
|
-
if (data2) {
|
|
252
|
-
columns.splice(1, 0, obj);
|
|
253
|
-
}
|
|
254
|
-
return columns;
|
|
255
|
-
}
|
|
256
|
-
}, {
|
|
257
|
-
key: 'render',
|
|
258
|
-
value: function render() {
|
|
259
|
-
var _props2 = this.props,
|
|
260
|
-
prototypeVisible = _props2.prototypeVisible,
|
|
261
|
-
discount = _props2.discount,
|
|
262
|
-
dataSource = _props2.dataSource,
|
|
263
|
-
handleprototypeCancel = _props2.handleprototypeCancel,
|
|
264
|
-
isHorizontalPad = _props2.isHorizontalPad;
|
|
265
|
-
|
|
266
|
-
var columns = this.getColumns(dataSource);
|
|
267
|
-
return _react2.default.createElement(
|
|
268
|
-
_tplusComponentsTouch.ModalWraper,
|
|
269
|
-
{
|
|
270
|
-
wrapClassName: 'protoWraper',
|
|
271
|
-
width: '800px',
|
|
272
|
-
show: prototypeVisible,
|
|
273
|
-
maskClosable: false,
|
|
274
|
-
onCancel: function onCancel() {
|
|
275
|
-
return handleprototypeCancel();
|
|
276
|
-
},
|
|
277
|
-
centered: !isHorizontalPad ? true : false,
|
|
278
|
-
title: "优惠明细",
|
|
279
|
-
maskStyle: { 'z-index': '1006' },
|
|
280
|
-
destroyOnClose: true,
|
|
281
|
-
footer: _react2.default.createElement(
|
|
282
|
-
'div',
|
|
283
|
-
{ className: 'action' },
|
|
284
|
-
_react2.default.createElement(
|
|
285
|
-
'span',
|
|
286
|
-
{ className: 'prototypeSummary primary-color' },
|
|
287
|
-
'\u63D0\u793A\uFF1A\u4F18\u60E0\u4E0D\u5305\u542B\u8D60\u54C1'
|
|
288
|
-
),
|
|
289
|
-
_react2.default.createElement(
|
|
290
|
-
'span',
|
|
291
|
-
{ className: 'prototypeSummary' },
|
|
292
|
-
'\u4F18\u60E0\u524D',
|
|
293
|
-
_react2.default.createElement(
|
|
294
|
-
'span',
|
|
295
|
-
null,
|
|
296
|
-
'\xA5',
|
|
297
|
-
discount.discountRetailTotalAount
|
|
298
|
-
)
|
|
299
|
-
),
|
|
300
|
-
_react2.default.createElement(
|
|
301
|
-
'span',
|
|
302
|
-
{ className: 'prototypeSummary' },
|
|
303
|
-
'\u4F18\u60E0',
|
|
304
|
-
_react2.default.createElement(
|
|
305
|
-
'span',
|
|
306
|
-
{ className: 'unitPrice' },
|
|
307
|
-
'\xA5',
|
|
308
|
-
discount.discountPrototypeTotalAmount
|
|
309
|
-
)
|
|
310
|
-
),
|
|
311
|
-
_react2.default.createElement(
|
|
312
|
-
'span',
|
|
313
|
-
{ className: 'prototypeSummary' },
|
|
314
|
-
'\u4F18\u60E0\u540E',
|
|
315
|
-
_react2.default.createElement(
|
|
316
|
-
'span',
|
|
317
|
-
{ className: 'unitPrice' },
|
|
318
|
-
'\xA5',
|
|
319
|
-
discount.discountTotalAmount
|
|
320
|
-
)
|
|
321
|
-
),
|
|
322
|
-
_react2.default.createElement(
|
|
323
|
-
_button2.default,
|
|
324
|
-
{ onClick: function onClick() {
|
|
325
|
-
return handleprototypeCancel();
|
|
326
|
-
} },
|
|
327
|
-
'\u5173\u95ED'
|
|
328
|
-
)
|
|
329
|
-
)
|
|
330
|
-
},
|
|
331
|
-
_react2.default.createElement(
|
|
332
|
-
'div',
|
|
333
|
-
{ className: 'tableContainer' },
|
|
334
|
-
_react2.default.createElement(_table2.default, {
|
|
335
|
-
scroll: { y: 376 },
|
|
336
|
-
className: 'table',
|
|
337
|
-
columns: columns,
|
|
338
|
-
pagination: false,
|
|
339
|
-
dataSource: dataSource
|
|
340
|
-
})
|
|
341
|
-
)
|
|
342
|
-
);
|
|
343
|
-
}
|
|
344
|
-
}]);
|
|
345
|
-
return PrototypeTableModal;
|
|
346
|
-
}(_react.Component)) || _class;
|
|
347
|
-
|
|
348
|
-
exports.default = PrototypeTableModal;
|
|
349
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-components-touch/components/settlement/prototypeTable/index.js"],"names":["PrototypeTableModal","observer","data1","columns","title","dataIndex","key","align","width","render","showText","record","index","props","badge","height","text","position","className","badgeClassName","badgeClassNames","baseNum","includes","style","ellipsis","data2","find","item","ShowFreeItem","obj","splice","prototypeVisible","discount","dataSource","handleprototypeCancel","isHorizontalPad","getColumns","discountRetailTotalAount","discountPrototypeTotalAmount","discountTotalAmount","y","Component"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;A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AAML,uBAAN;AAAA,iBAAjB;AAAA;AAAA;AALQ;AAVV;AAkBE;AAAA;AAAA,YAAK,WAAU,gBAAf;AACE;AACE,oBAAQ,EAAEM,GAAG,GAAL,EADV;AAEE,uBAAU,OAFZ;AAGE,qBAASrC,OAHX;AAIE,wBAAY,KAJd;AAKE,wBAAY8B;AALd;AADF;AAlBF,OADJ;AA8BD;;;EAvL8CQ,gB;;kBAA5BzC,mB","file":"index.js","sourcesContent":["import React, { Component } from 'react';\nimport { ModalWraper } from 'tplus-components-touch'\nimport { observer } from \"mutants-microfx\"\nimport { Table, Button } from 'antd';\nimport { badgeClassNames } from './utils'\nimport './style.less';\n\n@observer\nexport default class PrototypeTableModal extends Component {\n\n getColumns(data1) {\n let columns = [\n {\n title: '商品名称',\n dataIndex: 'InventoryName',\n key: 'InventoryName',\n align: 'center',\n width: 120,\n render: (showText, record, index) => {\n // return (<span className='unitPrice'>{text}</span>)\n const { badge, height = 50 } = this.props;\n const { badge: { text, position = 'leftTop', className = '' } = {} } = record;\n const badgeClassName = badgeClassNames[position];\n const baseNum = position.includes('Bottom') ? 25 : 0;\n let style = {}\n // if (type === 'bee'){\n // style = {\n // top : baseNum + (height * index)\n // }\n // }\n return (\n <div className='tplus-table-badge'>\n <div className={`badge-item ${className} ${badgeClassName}`} style={style}><span>{text}</span></div>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n {\n title: '单位',\n dataIndex: 'UnitName',\n key: 'UnitName',\n ellipsis: true,\n align: 'center',\n width: 40,\n },\n {\n title: '数量',\n dataIndex: 'nQuantity',\n key: 'nQuantity',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n {\n title: '零售价',\n dataIndex: 'nRetailPrice',\n key: 'nRetailPrice',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n {\n title: '折扣额',\n dataIndex: 'Discount',\n key: 'Discount',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (text, record, index) => {\n return (<span className='unitPrice row-cell-div'>{text}</span>)\n }\n },\n {\n title: '单价',\n dataIndex: 'nTaxPrice',\n key: 'nTaxPrice',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n {\n title: '金额',\n dataIndex: 'nAmount',\n key: 'nAmount',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n {\n title: '折扣额合计',\n dataIndex: 'TotalDiscount',\n key: 'TotalDiscount',\n ellipsis: true,\n align: 'center',\n width: 80,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n },\n ]\n\n let data2 = data1.find((item) => {\n return item.ShowFreeItem === true;\n })\n let obj = {\n title: '属性',\n dataIndex: 'FreeItem',\n key: 'FreeItem',\n ellipsis: true,\n align: 'center',\n width: 70,\n render: (showText, record, index) => {\n return (\n <div className='tplus-table-badge'>\n <div className='row-cell-div row-cell-pad' style={{ width: '100%' }}>{showText}</div>\n </div>\n )\n }\n }\n if (data2) {\n columns.splice(1, 0, obj);\n }\n return columns;\n }\n\n render() {\n const {prototypeVisible,discount, dataSource, handleprototypeCancel, isHorizontalPad} = this.props;\n let columns = this.getColumns(dataSource);\n return (\n <ModalWraper\n wrapClassName={`protoWraper`}\n width=\"800px\"\n show={prototypeVisible}\n maskClosable={false}\n onCancel = { () => handleprototypeCancel() }\n centered={ !isHorizontalPad ? true : false}\n title={\"优惠明细\"}\n maskStyle={{'z-index': '1006'}}\n destroyOnClose={true}\n footer={<div className=\"action\">\n <span className='prototypeSummary primary-color'>提示:优惠不包含赠品</span>\n <span className='prototypeSummary'>优惠前<span>¥{discount.discountRetailTotalAount}</span></span>\n <span className='prototypeSummary'>优惠<span className='unitPrice'>¥{discount.discountPrototypeTotalAmount}</span></span>\n <span className='prototypeSummary'>优惠后<span className='unitPrice'>¥{discount.discountTotalAmount}</span></span>\n <Button onClick={() => handleprototypeCancel()}>关闭</Button>\n </div>}\n >\n <div className='tableContainer'>\n <Table \n scroll={{ y: 376 }}\n className='table'\n columns={columns}\n pagination={false}\n dataSource={dataSource}\n />\n </div>\n </ModalWraper>\n );\n }\n}\n"]}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
.protoWraper{
|
|
2
|
-
.ant-modal-body {
|
|
3
|
-
height: 376px !important;
|
|
4
|
-
padding: 0 !important;
|
|
5
|
-
overflow: hidden;
|
|
6
|
-
.tableContainer {
|
|
7
|
-
.row-cell-div {
|
|
8
|
-
display: -webkit-box;
|
|
9
|
-
-webkit-box-orient: vertical;
|
|
10
|
-
-webkit-line-clamp: 2;
|
|
11
|
-
overflow: hidden;
|
|
12
|
-
white-space: normal;
|
|
13
|
-
}
|
|
14
|
-
.tplus-table-badge {
|
|
15
|
-
.badge-item {
|
|
16
|
-
position: absolute;
|
|
17
|
-
width : 0;
|
|
18
|
-
height : 0;
|
|
19
|
-
|
|
20
|
-
span {
|
|
21
|
-
position : absolute;
|
|
22
|
-
left : 0;
|
|
23
|
-
top : -2px;
|
|
24
|
-
transform: scale(0.8, 0.8);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.badge-left-top {
|
|
29
|
-
left : 0;
|
|
30
|
-
border-right: 26px solid transparent;
|
|
31
|
-
top: 0;
|
|
32
|
-
span {
|
|
33
|
-
top: -27px;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.badge-right-top {
|
|
38
|
-
right : 0;
|
|
39
|
-
border-left: 26px solid transparent;
|
|
40
|
-
|
|
41
|
-
span {
|
|
42
|
-
top : -27px;
|
|
43
|
-
left: -14px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
.prototypeSummary {
|
|
50
|
-
padding: 0 20px;
|
|
51
|
-
span{
|
|
52
|
-
font-weight: 500;
|
|
53
|
-
margin-left: 10px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
.unitPrice {
|
|
57
|
-
color: #FF4E0F;
|
|
58
|
-
}
|
|
59
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var badgeClassNames = {
|
|
7
|
-
leftTop: 'badge-left-top',
|
|
8
|
-
rightTop: 'badge-right-top',
|
|
9
|
-
leftBottom: 'badge-left-bottom',
|
|
10
|
-
rightBottom: 'badge-right-bottom'
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
exports.badgeClassNames = badgeClassNames;
|
|
14
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["tplus-components-touch/components/settlement/prototypeTable/utils.js"],"names":["badgeClassNames","leftTop","rightTop","leftBottom","rightBottom"],"mappings":";;;;;AAAA,IAAMA,kBAAkB;AACpBC,aAAS,gBADW;AAEpBC,cAAU,iBAFU;AAGpBC,gBAAY,mBAHQ;AAIpBC,iBAAa;AAJO,CAAxB;;QAOUJ,e,GAAAA,e","file":"utils.js","sourcesContent":["const badgeClassNames = {\n leftTop: 'badge-left-top',\n rightTop: 'badge-right-top',\n leftBottom: 'badge-left-bottom',\n rightBottom: 'badge-right-bottom',\n };\n \n export {badgeClassNames};"]}
|