tplus-components-touch 3.41.6 → 3.42.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/dist/components/billSearch/index.js +38 -15
  2. package/dist/components/billSearch/index.js.map +1 -1
  3. package/dist/components/cloudPrint/BTPrintFormatUtil.js +2 -2
  4. package/dist/components/cloudPrint/BTPrintFormatUtil.js.map +1 -1
  5. package/dist/components/cloudPrint/index.js +608 -891
  6. package/dist/components/cloudPrint/index.js.map +1 -1
  7. package/dist/components/cloudPrint/printDispatch.js +47 -151
  8. package/dist/components/cloudPrint/printDispatch.js.map +1 -1
  9. package/dist/components/deliverySearch/index.js +1 -5
  10. package/dist/components/deliverySearch/index.js.map +1 -1
  11. package/dist/components/hardwareAPI/index.js +12 -46
  12. package/dist/components/hardwareAPI/index.js.map +1 -1
  13. package/dist/components/inventorySearch/tab.js +1 -6
  14. package/dist/components/inventorySearch/tab.js.map +1 -1
  15. package/dist/components/loading/loadingContent.js +2 -5
  16. package/dist/components/loading/loadingContent.js.map +1 -1
  17. package/dist/components/message/index.js +5 -4
  18. package/dist/components/message/index.js.map +1 -1
  19. package/dist/components/notification/index.js +12 -11
  20. package/dist/components/notification/index.js.map +1 -1
  21. package/dist/components/progressState/EmptyAndErrorView.js +7 -5
  22. package/dist/components/progressState/EmptyAndErrorView.js.map +1 -1
  23. package/dist/components/settlement/settlement.js +93 -62
  24. package/dist/components/settlement/settlement.js.map +1 -1
  25. package/dist/components/settlement/settlementStore.js +26 -16
  26. package/dist/components/settlement/settlementStore.js.map +1 -1
  27. package/dist/components/ticon/iconfont/demo.css +539 -539
  28. package/dist/components/touchTable/index.js +3 -5
  29. package/dist/components/touchTable/index.js.map +1 -1
  30. package/package.json +3 -3
  31. package/dist/components/cloudPrint/printTemplate/dialy_one.json +0 -239
  32. package/dist/components/cloudPrint/printTemplate/duty_one.json +0 -239
  33. package/dist/components/cloudPrint/printTemplate/retail_one.json +0 -208
  34. package/dist/components/cloudPrint/printTemplate/retail_two.json +0 -220
  35. package/dist/components/cloudPrint/printTemplate/storage_one.json +0 -129
  36. package/dist/components/cloudPrint/printTemplate/template.js +0 -52
  37. package/dist/components/cloudPrint/printTemplate/template.js.map +0 -1
@@ -1,239 +0,0 @@
1
- {
2
- "templateName": "模板1",
3
- "width": 58,
4
- "body": [
5
- {
6
- "type": "lineFeed",
7
- "height": 1
8
- },
9
- {
10
- "type": "printTitle",
11
- "value": "交班"
12
- },
13
- {
14
- "type": "separateLine",
15
- "height": 1
16
- },
17
- {
18
- "type": "leftPrintMsg",
19
- "body": [
20
- {
21
- "name": "单号",
22
- "attribute": "Code",
23
- "type": "string"
24
- },
25
- {
26
- "name": "门店",
27
- "attribute": "Store.Name",
28
- "type": "string"
29
- },
30
- {
31
- "name": "POS编码",
32
- "attribute": "POSCode",
33
- "type": "string"
34
- },
35
- {
36
- "name": "POS名称",
37
- "attribute": "POSName",
38
- "type": "string"
39
- },
40
- {
41
- "name": "收 银 员",
42
- "attribute": "UserName",
43
- "type": "string"
44
- },
45
- {
46
- "name": "上班日期",
47
- "attribute": "WorkingDateAndTime",
48
- "type": "string"
49
- },
50
- {
51
- "name": "交班日期",
52
- "attribute": "DutyDateAndTime",
53
- "type": "string"
54
- }
55
- ]
56
- },
57
- {
58
- "type": "lineFeed",
59
- "height": 1
60
- },
61
- {
62
- "type": "printStarTitle",
63
- "value": "销售看板"
64
- },
65
- {
66
- "type": "separateLine",
67
- "height": 1
68
- },
69
- {
70
- "type": "leftPrintMsg",
71
- "body": [
72
- {
73
- "name": "销售金额",
74
- "attribute": "RetailAmount",
75
- "type": "price"
76
- },
77
- {
78
- "name": "退货金额",
79
- "attribute": "ReturnAmount",
80
- "type": "price"
81
- },
82
- {
83
- "name": "净销售金额",
84
- "attribute": "NetAmount",
85
- "type": "price"
86
- },
87
- {
88
- "name": "储值销售金额",
89
- "attribute": "SalesStorageTotalAmount",
90
- "type": "price"
91
- },
92
- {
93
- "name": "抵现销售金额",
94
- "attribute": "CashOutAmount",
95
- "type": "price"
96
- },
97
- {
98
- "name": "券抵扣(负劳务行)",
99
- "attribute": "CouponsDeduct",
100
- "type": "price"
101
- },
102
- {
103
- "name": "优惠券抵扣、代金券",
104
- "attribute": "CouponsAmount",
105
- "type": "price"
106
- },
107
- {
108
- "name": "线上收款金额",
109
- "attribute": "OnlineAmount",
110
- "type": "price"
111
- },
112
- {
113
- "name": "水单总数",
114
- "attribute": "TotalCount",
115
- "type": "number"
116
- },
117
- {
118
- "name": "来客数量",
119
- "attribute": "TotalCustom",
120
- "type": "number"
121
- },
122
- {
123
- "name": "客单价",
124
- "attribute": "Price",
125
- "type": "price"
126
- }
127
- ]
128
- },
129
- {
130
- "type": "lineFeed",
131
- "height": 1
132
- },
133
- {
134
- "type": "printStarTitle",
135
- "value": "收银统计"
136
- },
137
- {
138
- "type": "separateLine",
139
- "height": 1
140
- },
141
- {
142
- "type": "printMenuMSG",
143
- "headerList": [
144
- {
145
- "headerText": "结算方式",
146
- "headerWeight":1,
147
- "isTitle": false,
148
- "isFoot": false
149
- },
150
- {
151
- "headerText": "零售收款金额",
152
- "headerWeight":1,
153
- "isTitle": false,
154
- "isFoot": false
155
- },
156
- {
157
- "headerText": "储值金额",
158
- "headerWeight":1,
159
- "isTitle": false,
160
- "isFoot": false
161
- }
162
- ],
163
- "bodyList":{
164
- "name": "结算方式",
165
- "attribute":"ShiftVoucherDetails",
166
- "list": [
167
- {
168
- "attribute":"SettleStyle.Name",
169
- "type":"string"
170
- },
171
- {
172
- "attribute":"OrigAmount",
173
- "type":"price"
174
- },
175
- {
176
- "attribute":"MemberDepositAmount",
177
- "type":"price"
178
- }
179
- ]
180
- }
181
- },
182
- {
183
- "type": "leftPrintMsg",
184
- "body": [
185
- {
186
- "name": "备用金初始金额",
187
- "attribute": "InitialAmount",
188
- "type": "price"
189
- },
190
- {
191
- "name": "增减备用金",
192
- "attribute": "ImprestAmount",
193
- "type": "price"
194
- },
195
- {
196
- "name": "备用金余额",
197
- "attribute": "ImprestBalance",
198
- "type": "price"
199
- }
200
- ]
201
- },
202
- {
203
- "type": "separateLine",
204
- "height":1,
205
- "value": "="
206
- },
207
- {
208
- "type": "leftPrintMsg",
209
- "body": [
210
- {
211
- "name": "备注",
212
- "attribute": "Memo",
213
- "type": "string"
214
- }
215
- ]
216
- },
217
-
218
- {
219
- "type": "lineFeed",
220
- "height": 1
221
- },
222
- {
223
- "type": "spaceCenterPrintMsg",
224
- "value": ["收银员签字:", "收银主管签字:"]
225
- },
226
- {
227
- "type": "lineFeed",
228
- "height": 4
229
- },
230
- {
231
- "type": "separateLine",
232
- "height":1
233
- },
234
- {
235
- "type": "lineFeed",
236
- "height": 2
237
- }
238
- ]
239
- }
@@ -1,208 +0,0 @@
1
- {
2
- "templateName": "模板1",
3
- "width": 58,
4
- "body": [
5
- {
6
- "type": "lineFeed",
7
- "height": 1
8
- },
9
- {
10
- "type": "leftPrintMsg",
11
- "body": [
12
- {
13
- "name": "门店名称",
14
- "attribute": "Store.Name",
15
- "type": "string"
16
- },
17
- {
18
- "name": "门店电话",
19
- "attribute": "Store.Telephone",
20
- "type": "string"
21
- },
22
- {
23
- "name": "收银员",
24
- "attribute": "UserName",
25
- "type": "string"
26
- },
27
- {
28
- "name": "单号",
29
- "attribute": "Code",
30
- "type": "string"
31
- },
32
- {
33
- "name": "日期",
34
- "attribute": "CreatedTime",
35
- "type": "string"
36
- }
37
- ]
38
- },
39
- {
40
- "type": "lineFeed",
41
- "height": 1
42
- },
43
- {
44
- "type": "printMenuMSG",
45
- "headerList": [
46
- {
47
- "headerText": "商品名称",
48
- "headerWeight":1,
49
- "isTitle": true,
50
- "isFoot": false
51
- },
52
- {
53
- "headerText": "数量",
54
- "headerWeight":1,
55
- "isTitle": false,
56
- "isFoot": false
57
- },
58
- {
59
- "headerText": "单价",
60
- "headerWeight":1,
61
- "isTitle": false,
62
- "isFoot": false
63
- },
64
- {
65
- "headerText": "金额",
66
- "headerWeight":1,
67
- "isTitle": false,
68
- "isFoot": false
69
- }
70
- ],
71
- "bodyList":{
72
- "name": "明细数据",
73
- "attribute":"details",
74
- "list":[
75
- {
76
- "attribute":"Inventory.NameAndCode",
77
- "type":"string"
78
- },
79
- {
80
- "attribute":"quantityAndUnit",
81
- "type":"string"
82
- },
83
- {
84
- "attribute":"TaxPrice",
85
- "type":"price"
86
- },
87
- {
88
- "attribute":"Price",
89
- "type":"price"
90
- },
91
- {
92
- "attribute":"TaxAmount",
93
- "type":"price"
94
- }
95
- ]
96
- }
97
- },
98
- {
99
- "type": "leftPrintMsg",
100
- "body": [
101
- {
102
- "name": "数量",
103
- "attribute": "TotalCount",
104
- "type": "number"
105
- },
106
- {
107
- "name": "金额",
108
- "attribute": "TotalTaxAmount",
109
- "type": "price"
110
- },
111
- {
112
- "name": "抹零",
113
- "attribute": "WipeChange",
114
- "type": "price"
115
- }
116
- ]
117
- },
118
- {
119
- "type": "separateLine",
120
- "height":1
121
- },
122
- {
123
- "type": "lineFeed",
124
- "height": 1
125
- },
126
- {
127
- "type": "printMenuMSG",
128
- "headerList": [
129
- {
130
- "headerText": "支付方式",
131
- "headerWeight":1,
132
- "isTitle": false,
133
- "isFoot": false
134
- },
135
- {
136
- "headerText": "金额",
137
- "headerWeight":1,
138
- "isTitle": false,
139
- "isFoot": false
140
- }
141
- ],
142
- "bodyList":{
143
- "name": "支付方式",
144
- "attribute":"RetailPaymentDetails",
145
- "list":[
146
- {
147
- "attribute":"NameAndCode",
148
- "type":"string"
149
- },
150
- {
151
- "attribute":"TotalAmount",
152
- "type":"string"
153
- }
154
- ]
155
- }
156
- },
157
- {
158
- "type": "leftPrintMsg",
159
- "body": [
160
- {
161
- "name": "会员卡号",
162
- "attribute": "Member.CardCode",
163
- "type": "string"
164
- },
165
- {
166
- "name": "会员手机",
167
- "attribute": "Member.Mobilephone",
168
- "type": "string"
169
- },
170
- {
171
- "name": "积分余额",
172
- "attribute": "BalanceIntegral",
173
- "type": "number"
174
- },
175
- {
176
- "name": "本次积分",
177
- "attribute": "Integral",
178
- "type": "number"
179
- },
180
- {
181
- "name": "储值余额",
182
- "attribute": "BalanceStorage",
183
- "type": "price"
184
- }
185
- ]
186
- },
187
- {
188
- "type": "lineFeed",
189
- "height": 1
190
- },
191
- {
192
- "type": "separateLine",
193
- "height":1
194
- },
195
- {
196
- "type": "lineFeed",
197
- "height": 1
198
- },
199
- {
200
- "type": "text",
201
- "value": "\t谢谢惠顾,欢迎再次光临"
202
- },
203
- {
204
- "type": "lineFeed",
205
- "height": 3
206
- }
207
- ]
208
- }
@@ -1,220 +0,0 @@
1
- {
2
- "templateName": "模板2",
3
- "width": 58,
4
- "body": [
5
- {
6
- "type": "lineFeed",
7
- "height": 1
8
- },
9
- {
10
- "type": "leftPrintMsg",
11
- "body": [
12
- {
13
- "name": "门店名称",
14
- "attribute": "Store.Name",
15
- "type": "string"
16
- },
17
- {
18
- "name": "门店电话",
19
- "attribute": "Store.Telephone",
20
- "type": "string"
21
- },
22
- {
23
- "name": "收银员",
24
- "attribute": "UserName",
25
- "type": "string"
26
- },
27
- {
28
- "name": "单号",
29
- "attribute": "Code",
30
- "type": "string"
31
- },
32
- {
33
- "name": "日期",
34
- "attribute": "CreatedTime",
35
- "type": "string"
36
- }
37
- ]
38
- },
39
- {
40
- "type": "lineFeed",
41
- "height": 1
42
- },
43
- {
44
- "type": "printMenuMSG",
45
- "headerList": [
46
- {
47
- "headerText": "商品名称",
48
- "headerWeight":1,
49
- "isTitle": true,
50
- "isFoot": false
51
- },
52
- {
53
- "headerText": "数量",
54
- "headerWeight":1,
55
- "isTitle": false,
56
- "isFoot": false
57
- },
58
- {
59
- "headerText": "零售价",
60
- "headerWeight":1,
61
- "isTitle": false,
62
- "isFoot": false
63
- },
64
- {
65
- "headerText": "折后单价",
66
- "headerWeight":1,
67
- "isTitle": false,
68
- "isFoot": false
69
- },
70
- {
71
- "headerText": "金额",
72
- "headerWeight":1,
73
- "isTitle": false,
74
- "isFoot": false
75
- }
76
- ],
77
- "bodyList":{
78
- "name": "明细数据",
79
- "attribute":"RetailDetails",
80
- "list":[
81
- {
82
- "attribute":"Inventory.NameAndCode",
83
- "type":"string"
84
- },
85
- {
86
- "attribute":"quantityAndUnit",
87
- "type":"string"
88
- },
89
- {
90
- "attribute":"TaxPrice",
91
- "type":"price"
92
- },
93
- {
94
- "attribute":"Price",
95
- "type":"price"
96
- },
97
- {
98
- "attribute":"taxAmount",
99
- "type":"price"
100
- }
101
- ]
102
- }
103
- },
104
- {
105
- "type": "leftPrintMsg",
106
- "body": [
107
- {
108
- "name": "数量",
109
- "attribute": "TotalCount",
110
- "type": "number"
111
- },
112
- {
113
- "name": "金额",
114
- "attribute": "TotalTaxAmount",
115
- "type": "price"
116
- },
117
- {
118
- "name": "优惠金额",
119
- "attribute": "TotalDiscountAmount",
120
- "type": "price"
121
- },
122
- {
123
- "name": "抹零",
124
- "attribute": "WipeChange",
125
- "type": "price"
126
- }
127
- ]
128
- },
129
- {
130
- "type": "separateLine",
131
- "height":1
132
- },
133
- {
134
- "type": "lineFeed",
135
- "height": 1
136
- },
137
- {
138
- "type": "printMenuMSG",
139
- "headerList": [
140
- {
141
- "headerText": "支付方式",
142
- "headerWeight":1,
143
- "isTitle": false,
144
- "isFoot": false
145
- },
146
- {
147
- "headerText": "金额",
148
- "headerWeight":1,
149
- "isTitle": false,
150
- "isFoot": false
151
- }
152
- ],
153
- "bodyList":{
154
- "name": "支付方式",
155
- "attribute":"RetailPaymentDetails",
156
- "type": "array",
157
- "list":[
158
- {
159
- "attribute":"NameAndCode",
160
- "type":"string"
161
- },
162
- {
163
- "attribute":"TotalAmount",
164
- "type":"string"
165
- }
166
- ]
167
- }
168
- },
169
- {
170
- "type": "leftPrintMsg",
171
- "body": [
172
- {
173
- "name": "会员卡号",
174
- "attribute": "Member.CardCode",
175
- "type": "string"
176
- },
177
- {
178
- "name": "会员手机",
179
- "attribute": "Member.Mobilephone",
180
- "type": "string"
181
- },
182
- {
183
- "name": "积分余额",
184
- "attribute": "BalanceIntegral",
185
- "type": "number"
186
- },
187
- {
188
- "name": "本次积分",
189
- "attribute": "Integral",
190
- "type": "number"
191
- },
192
- {
193
- "name": "储值余额",
194
- "attribute": "BalanceStorage",
195
- "type": "price"
196
- }
197
- ]
198
- },
199
- {
200
- "type": "lineFeed",
201
- "height": 1
202
- },
203
- {
204
- "type": "separateLine",
205
- "height":1
206
- },
207
- {
208
- "type": "lineFeed",
209
- "height": 1
210
- },
211
- {
212
- "type": "text",
213
- "value": "\t谢谢惠顾,欢迎再次光临"
214
- },
215
- {
216
- "type": "lineFeed",
217
- "height": 3
218
- }
219
- ]
220
- }