sale-client 4.3.94 → 4.3.95

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.
File without changes
@@ -1,2 +1,2 @@
1
- #Wed May 13 15:19:48 CST 2026
1
+ #Wed Mar 18 10:18:57 CST 2026
2
2
  gradle.version=5.2.1
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.94",
3
+ "version": "4.3.95",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,569 @@
1
+ @import "./bootstrap/less/variables.less";
2
+
3
+ @form-text-fout-size: @font-size-base;//引用bootstrap的字体大小
4
+ @form-text-padding: 10px;//右padding
5
+ /**
6
+ 文本表单flex布局实现固定label
7
+ */
8
+ .form-fix-width{
9
+ display: -webkit-box;
10
+ display: -webkit-flex;
11
+ display: -ms-flexbox;
12
+ display:flex;
13
+ }
14
+ .form-fix-width>:first-child{
15
+ width: @form-text-padding+@form-text-fout-size*5;
16
+ -webkit-box-flex:none;
17
+ -webkit-flex:none;
18
+ -ms-flexbox-flex:none;
19
+ flex:none;
20
+ }
21
+ .form-fix-width>:last-child{
22
+ flex:1;
23
+ -webkit-box-flex:1;
24
+ -webkit-flex:1;
25
+ -ms-flexbox-flex:1;
26
+ }
27
+ /**
28
+ 固定checkbox的一些属性 后续继续扩增
29
+ */
30
+ .checkbox-fix-width {
31
+ width: @form-text-fout-size*4+@form-text-padding+20px;
32
+ text-align: left;
33
+ margin-left: 0px !important;
34
+ }
35
+
36
+ #android-app {
37
+ font-size: 16px;
38
+ }
39
+
40
+ /* 解决chrome最小字体为12px问题 */
41
+ .chrome_adjust {
42
+ font-size: 10px;
43
+ -webkit-transform: scale(0.85);
44
+ -o-transform: scale(1); //针对能识别-webkit的opera browser设置
45
+ }
46
+
47
+ /* 表单内输入框 */
48
+ .form-input-group-large {
49
+ display: -webkit-box;
50
+ display: -webkit-flex;
51
+ display: -ms-flexbox;
52
+ display: flex;
53
+ .control-label {
54
+ width: 100px;
55
+ line-height: @input-height-base;
56
+ text-align: right;
57
+ + * {
58
+ -webkit-box-flex:1;
59
+ -webkit-flex:1;
60
+ -ms-flexbox-flex:1;
61
+ flex: 1;
62
+ width: 100px; // 随意给的宽度,将有flex重新计算
63
+ box-sizing: border-box;
64
+ vertical-align:middle;
65
+ }
66
+ }
67
+ }
68
+ .form-input-group {
69
+ display: -webkit-box;
70
+ display: -webkit-flex;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ .control-label {
74
+ // 居中对齐
75
+ line-height: @input-height-base;
76
+ width: 70px;
77
+ // padding-top: 6px;
78
+ text-align: right;
79
+ vertical-align: middle;
80
+ + * {
81
+ -webkit-box-flex:1;
82
+ -webkit-flex:1;
83
+ -ms-flexbox-flex:1;
84
+ flex: 1;
85
+ width: 100px; // 随意给的宽度,将有flex重新计算
86
+ box-sizing: border-box;
87
+ vertical-align:middle;
88
+ }
89
+ }
90
+ }
91
+ .form-input-group-small {
92
+ display: -webkit-box;
93
+ display: -webkit-flex;
94
+ display: -ms-flexbox;
95
+ display: flex;
96
+ label {
97
+ width: 50px;
98
+ line-height: @input-height-base;
99
+ text-align: right;
100
+ + * {
101
+ -webkit-box-flex:1;
102
+ -webkit-flex:1;
103
+ -ms-flexbox-flex:1;
104
+ flex: 1;
105
+ width: 100px; // 随意给的宽度,将有flex重新计算
106
+ box-sizing: border-box;
107
+ vertical-align:middle;
108
+ }
109
+ }
110
+ }
111
+ .bg-white {
112
+ background-color: white;
113
+ }
114
+ .mgb-5 {
115
+ margin-bottom: 5px;
116
+ }
117
+ .pdl-12 {
118
+ padding-left: 12px;
119
+ }
120
+ // 字体加粗
121
+ .fwb {
122
+ font-weight: bold;
123
+ }
124
+ // 浮动右对齐
125
+ .fr {
126
+ float: right;
127
+ }
128
+ .pl-12 {
129
+ padding-left: 12px;
130
+ }
131
+ .p-10 {
132
+ padding: 10px;
133
+ }
134
+ .pt-8 {
135
+ padding-top: 8px;
136
+ }
137
+ // 下拉选择框占据剩余全部空间
138
+ .select-overspread {
139
+ .form-group {
140
+ // margin: 0px 5px 10px 0px;
141
+ .form-control {
142
+ margin-right: 0px;
143
+ }
144
+ }
145
+ .btn-group, .btn-group-vertical {
146
+ // width: 100%;
147
+ // padding-right: 5px;
148
+ button {
149
+ width: 100%;
150
+ display: flex;
151
+ justify-content: space-between;
152
+ align-items: center;
153
+ }
154
+ }
155
+ .dropdown-menu {
156
+ min-width: 100%
157
+ }
158
+ }
159
+ .app-bg {
160
+ background: #F5F5F5;
161
+ }
162
+ .app-input {
163
+ background: #FFF;
164
+ border-bottom: 1px solid #ccc;
165
+ }
166
+ .app-input input, .app-input label {
167
+ padding: 8px 10px;
168
+ border: none;
169
+ outline: none;
170
+ margin: 0px;
171
+ }
172
+ .app-textarea {
173
+ display: block;
174
+ padding: 10px 15px;
175
+ border: 0;
176
+ resize: none;
177
+ width: 100%;
178
+ color: inherit;
179
+ font-size: 1em;
180
+ line-height: inherit;
181
+ outline: 0;
182
+ }
183
+ .app-cells {
184
+ height: auto;
185
+ background-color: #FFFFFF;
186
+ font-size: 1.2em;
187
+ overflow: hidden;
188
+ position: relative;
189
+ }
190
+ .app-cells label {
191
+ padding: 10px;
192
+ margin: 0px;
193
+ color: #999999;
194
+ font-weight: normal;
195
+ }
196
+ .app-cells * + * {
197
+ border-top: 1px solid #D5D5D6;
198
+ }
199
+ .app-btn {
200
+ display: flex;
201
+ width: 100%;
202
+ }
203
+ .app-btn button{
204
+ flex: 1;
205
+ border-radius: 17px;
206
+ margin: 10px;
207
+ }
208
+ .app-btn button:focus, .app-btn button::selection {
209
+ outline: none;
210
+ }
211
+ .app-list {
212
+ margin-top: 8px;
213
+ background: #FFF;
214
+ }
215
+ .app-list div {
216
+ padding: 6px 10px;
217
+ }
218
+ .app-list div:first-child{
219
+ border-bottom: 1px solid #ccc;
220
+ }
221
+ .app-input .datepicker-input[readonly] {
222
+ border: none;
223
+ background: none;
224
+ }
225
+ div[contenteditable=true]{
226
+ height: 80px;
227
+ width: 100%;
228
+ outline: none;
229
+ padding: 8px;
230
+ overflow: scroll;
231
+ }
232
+
233
+ .flex-between {
234
+ display: flex;
235
+ justify-content: space-between;
236
+ align-items: center;
237
+ }
238
+ .flex-between span {
239
+ padding-right: 10px;
240
+ }
241
+ .flex-full {
242
+ flex: 1;
243
+ }
244
+ /* app卡片样式 */
245
+ .app-preview {
246
+ position: relative;
247
+ background-color: #FFF;
248
+ height: auto;
249
+ }
250
+ .app-preview > .head > * {
251
+ padding: 0px;
252
+ margin: 0px;
253
+ }
254
+ .app-preview > .head {
255
+ display: flex;
256
+ justify-content: space-between;
257
+ padding: 10px 15px;
258
+ line-height: 2.5em;
259
+ border-bottom: 1px solid #D5D5D6;
260
+ }
261
+ .app-preview-btn-default {
262
+ color: #999999;
263
+ }
264
+ .app-preview-btn-success {
265
+ color: #3CC51F;
266
+ }
267
+ .app-preview > .body {
268
+ padding: 10px 15px;
269
+ border-bottom: 1px solid #D5D5D6;
270
+
271
+ }
272
+ .app-preview > .body > div > label {
273
+ text-align: justify;
274
+ text-align-last: justify;
275
+ min-width: 70px;
276
+ }
277
+ .app-preview > .foot {
278
+ display: flex;
279
+ height: 50px;
280
+ }
281
+ .app-preview > .foot > * {
282
+ flex: 1;
283
+ display: block;
284
+ flex: 1;
285
+
286
+ text-align: center;
287
+ }
288
+ .app-preview > .foot > * + * {
289
+ border-left: 1px solid #D5D5D6;
290
+ }
291
+ // 为工单列表样式
292
+ .compatible {
293
+ padding: 8px;
294
+ }
295
+ .compatible .form-input-group {
296
+ margin: 3px 0px;
297
+ padding: 0 8px;
298
+ }
299
+ @media screen and (min-width:992px) {
300
+ .hd-disappear{
301
+ display: none;
302
+ }
303
+ }
304
+
305
+ #work-history ul {
306
+ padding: 0px;
307
+ }
308
+
309
+ // 从order文件夹拷贝
310
+ // 为blockquote写的通用样式
311
+ // 大背景
312
+ .repair-bg {
313
+ background: #DBDBDB;
314
+ }
315
+ // 头部信息提示
316
+ .bq-parent {
317
+ height: auto;
318
+ background: #FFF;
319
+ padding: 10px 15px;
320
+ >blockquote {
321
+ padding: 0px;
322
+ padding-left: 8px;
323
+ margin: 0px;
324
+ font-size: 18px;
325
+ font-weight: bold;
326
+ border-left-color: #4C647A;
327
+ }
328
+ }
329
+ // 为移动端提供左侧修饰性边框
330
+ .lb-left {
331
+ padding-left: 8px;
332
+ border: none;
333
+ border-left: 5px solid #A2C2EB;
334
+ }
335
+ // 内容块
336
+ .repair-info-content {
337
+ margin: 15px;
338
+ background: #FFF;
339
+ border-radius: 5px;
340
+ }
341
+ @media screen and (max-width:768px) {
342
+ .repair-info-content {
343
+ margin: 0px;
344
+ padding: 8px;
345
+ background: #FFF;
346
+ border-radius: 0px;
347
+ }
348
+ }
349
+ // 为a标签:berfor伪元素写的通用样式
350
+ .tab-befor-img (@url) {
351
+ content: '';
352
+ background-image: url("@{url}");
353
+ background-size: 30px;
354
+ display: inline-block;
355
+ margin-right: 8px;
356
+ height: 30px;
357
+ width: 30px;
358
+ vertical-align: -35%;
359
+ }
360
+ .android-repair-order {
361
+ > div {
362
+ > ul {
363
+ background: #4C647A;
364
+ overflow: auto;
365
+ li {
366
+ display: block;
367
+ width: 100%;
368
+ }
369
+ > .active {
370
+ a {
371
+ background: #7599C4!important;
372
+ color: #FFF!important;
373
+ border: none;
374
+ display: block;
375
+ font-weight: bold;
376
+ &::after {
377
+ content: "";
378
+ width: 0px;
379
+ height: 0px;
380
+ border-width: 8px 8px 8px 0px;
381
+ border-color: transparent #FFF;
382
+ border-style: solid;
383
+ position: absolute;
384
+ right: 0;
385
+ top: 50%;
386
+ transform: translateY(-50%);
387
+ }
388
+ &:focus {
389
+ color: #FFF;
390
+ background: none;
391
+ }
392
+ }
393
+ }
394
+ a {
395
+ font-size: 18px;
396
+ color: #FFF;
397
+ padding: 13px 16px;
398
+ }
399
+ }
400
+ }
401
+ }
402
+
403
+ // 从app中考出
404
+ .no-close .nav-tabs a {
405
+ padding: 5px 12px;
406
+ }
407
+ /* checkbox和radio的样式 */
408
+ .magic-radio,
409
+ .magic-checkbox {
410
+ position: absolute;
411
+ display: none;
412
+ }
413
+
414
+ .magic-radio[disabled],
415
+ .magic-checkbox[disabled] {
416
+ cursor: not-allowed;
417
+ }
418
+
419
+ .magic-radio + label,
420
+ .magic-checkbox + label {
421
+ position: relative;
422
+ display: block;
423
+ padding-left: 30px;
424
+ cursor: pointer;
425
+ vertical-align: middle;
426
+ text-align: left;
427
+ }
428
+
429
+ .magic-radio + label:hover:before,
430
+ .magic-checkbox + label:hover:before {
431
+ animation-duration: 0.4s;
432
+ animation-fill-mode: both;
433
+ animation-name: hover-color;
434
+ }
435
+
436
+ .magic-radio + label:before,
437
+ .magic-checkbox + label:before {
438
+ position: absolute;
439
+ top: 0;
440
+ left: 0;
441
+ display: inline-block;
442
+ width: 20px;
443
+ height: 20px;
444
+ content: '';
445
+ border: 1px solid #c0c0c0;
446
+ }
447
+
448
+ .magic-radio + label:after,
449
+ .magic-checkbox + label:after {
450
+ position: absolute;
451
+ display: none;
452
+ content: '';
453
+ }
454
+
455
+ .magic-radio[disabled] + label,
456
+ .magic-checkbox[disabled] + label {
457
+ cursor: not-allowed;
458
+ color: #e4e4e4;
459
+ }
460
+
461
+ .magic-radio[disabled] + label:hover, .magic-radio[disabled] + label:before, .magic-radio[disabled] + label:after,
462
+ .magic-checkbox[disabled] + label:hover,
463
+ .magic-checkbox[disabled] + label:before,
464
+ .magic-checkbox[disabled] + label:after {
465
+ cursor: not-allowed;
466
+ }
467
+
468
+ .magic-radio[disabled] + label:hover:before,
469
+ .magic-checkbox[disabled] + label:hover:before {
470
+ border: 1px solid #e4e4e4;
471
+ animation-name: none;
472
+ }
473
+
474
+ .magic-radio[disabled] + label:before,
475
+ .magic-checkbox[disabled] + label:before {
476
+ border-color: #e4e4e4;
477
+ }
478
+
479
+ .magic-radio:checked + label:before,
480
+ .magic-checkbox:checked + label:before {
481
+ animation-name: none;
482
+ }
483
+
484
+ .magic-radio:checked + label:after,
485
+ .magic-checkbox:checked + label:after {
486
+ display: block;
487
+ }
488
+
489
+ .magic-radio + label:before {
490
+ border-radius: 50%;
491
+ }
492
+
493
+ .magic-radio + label:after {
494
+ top: 4px;
495
+ left: 4px;
496
+ width: 12px;
497
+ height: 12px;
498
+ border-radius: 50%;
499
+ background: #7697c4;
500
+ }
501
+
502
+ .magic-radio:checked + label:before {
503
+ border: 2px solid #7697c4;
504
+ }
505
+
506
+ .magic-radio:checked[disabled] + label:before {
507
+ border: 2px solid #c9e2f9;
508
+ }
509
+
510
+ /*.magic-radio:checked[disabled] + label:after {
511
+ background: #c9e2f9; }*/
512
+
513
+ .magic-checkbox + label:before {
514
+ border-radius: 3px;
515
+ }
516
+
517
+ .magic-checkbox + label:after {
518
+ top: 2px;
519
+ left: 7px;
520
+ box-sizing: border-box;
521
+ width: 6px;
522
+ height: 12px;
523
+ transform: rotate(45deg);
524
+ border-width: 2px;
525
+ border-style: solid;
526
+ border-color: #fff;
527
+ border-top: 0;
528
+ border-left: 0;
529
+ }
530
+
531
+ .magic-checkbox:checked + label:before {
532
+ border: #7697c4;
533
+ background: #7697c4;
534
+ }
535
+
536
+ .magic-checkbox:checked[disabled] + label:before {
537
+ border: #c9e2f9;
538
+ background: #c9e2f9;
539
+ }
540
+ /* 滚动条样式 */
541
+ /*---滚动条默认显示样式--*/
542
+ ::-webkit-scrollbar-thumb{
543
+ // display: none;
544
+ background-color:rgba(0,0,0,0.2);
545
+ height:50px;
546
+ outline-offset:-2px;
547
+ /*outline:2px solid #fff;*/
548
+ -webkit-border-radius:4px;
549
+ /*border: 2px solid #fff;*/
550
+ }
551
+
552
+ /*---鼠标点击滚动条显示样式--*/
553
+ ::-webkit-scrollbar-thumb:hover{
554
+ // display: inherit;
555
+ background-color:rgba(0,0,0,0.4);
556
+ height:50px;
557
+ -webkit-border-radius:4px;
558
+ }
559
+ /*---滚动条大小--*/
560
+ ::-webkit-scrollbar{
561
+ width:8px;
562
+ height:8px;
563
+ }
564
+ /*---滚动框背景样式--*/
565
+ ::-webkit-scrollbar-track-piece{
566
+ /* 全透明,不显示 */
567
+ background-color:rgba(255,255,255,0);
568
+ -webkit-border-radius:0;
569
+ }
@@ -176,6 +176,24 @@ let GetSaleParam = {
176
176
  }, [])
177
177
  return Array.from(new Set(result))
178
178
  },
179
+ getPriceByOrgNoLow (filialeid) {
180
+ let result = []
181
+ GetSaleParam.prices.forEach((item) => {
182
+ if (item.f_state === '有效' && filialeid == item.f_filialeid && (item.f_islow_income == null || item.f_islow_income == 0)) {
183
+ let value = {
184
+ label: item.f_price_name,
185
+ value: item
186
+ }
187
+ result.push(value)
188
+ }
189
+ })
190
+ let hash = {}
191
+ result = result.reduce((item, next) => {
192
+ hash[next.label] ? '' : hash[next.label] = true && item.push(next)
193
+ return item
194
+ }, [])
195
+ return Array.from(new Set(result))
196
+ },
179
197
  getOnlyPrice () {
180
198
  // 数组去重
181
199
  let arr = []
@@ -277,6 +295,44 @@ let GetSaleParam = {
277
295
  }
278
296
  return Array.from(new Set(result))
279
297
  },
298
+ getPriceAllNoLow (object) {
299
+ console.log('参数。。。', object)
300
+ // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type
301
+ if (!object.f_user_type || !object.f_gasproperties || !object.f_price_type) {
302
+ return
303
+ }
304
+ let result = []
305
+
306
+ console.log('获取价格。。。', object.filter, GetSaleParam.prices)
307
+
308
+ // 做筛选
309
+ if (object.filter) {
310
+ GetSaleParam.prices.forEach((item) => {
311
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type &&
312
+ object.f_gasproperties === item.f_gasproperties &&
313
+ object.f_price_type === item.f_price_type &&
314
+ object.filter == item.f_filialeid && (item.f_islow_income == null || item.f_islow_income == 0)) {
315
+ let value = {
316
+ label: item.f_price_name,
317
+ value: item
318
+ }
319
+ result.push(value)
320
+ }
321
+ })
322
+ } else {
323
+ GetSaleParam.prices.forEach((item) => {
324
+ if (item.f_state === '有效' && object.f_user_type === item.f_user_type && object.f_gasproperties === item.f_gasproperties && object.f_price_type === item.f_price_type && (item.f_islow_income == null || item.f_islow_income == 0)) {
325
+ let value = {
326
+ label: item.f_price_name,
327
+ value: item
328
+ }
329
+ console.log('进来了1111')
330
+ result.push(value)
331
+ }
332
+ })
333
+ }
334
+ return Array.from(new Set(result))
335
+ },
280
336
  getPriceAllOther (object) {
281
337
  console.log('参数。。。', object)
282
338
  // 目前支持三个字段并都有值 f_user_type,f_gasproperties,f_price_type