sale-client 4.3.93 → 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.
Files changed (29) hide show
  1. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  2. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  3. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  4. package/.gradle/5.2.1/fileContent/fileContent.lock +0 -0
  5. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  6. package/.gradle/5.2.1/gc.properties +0 -0
  7. package/.gradle/8.10/checksums/checksums.lock +0 -0
  8. package/.gradle/8.10/dependencies-accessors/gc.properties +0 -0
  9. package/.gradle/8.10/executionHistory/executionHistory.bin +0 -0
  10. package/.gradle/8.10/executionHistory/executionHistory.lock +0 -0
  11. package/.gradle/8.10/fileChanges/last-build.bin +0 -0
  12. package/.gradle/8.10/fileHashes/fileHashes.bin +0 -0
  13. package/.gradle/8.10/fileHashes/fileHashes.lock +0 -0
  14. package/.gradle/8.10/gc.properties +0 -0
  15. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  16. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  17. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  18. package/.gradle/file-system.probe +0 -0
  19. package/.gradle/vcs-1/gc.properties +0 -0
  20. package/build/dev-server.js +13 -13
  21. package/package.json +1 -1
  22. package/src/expandcss.less +569 -0
  23. package/src/filiale/liaoyuan/ChangeMeter.vue +6 -6
  24. package/src/filiale/meihekou/OtherMaintenanceLists.vue +247 -0
  25. package/src/filiale/meihekou/changemeterListMaintain.vue +522 -0
  26. package/src/filiale/meihekou/replaceMentList.vue +426 -0
  27. package/src/filiale/meihekou/sale.js +6 -0
  28. package/src/main.js +1 -1
  29. package/src/plugins/GetSaleParams.js +56 -0
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Wed Mar 18 10:18:57 CST 2026
2
+ gradle.version=5.2.1
Binary file
File without changes
@@ -1,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://219.151.186.185:31467/', 'http://localhost:9026']
4
+ const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://localhost:9026']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -25,12 +25,12 @@ var devConfig = {
25
25
  // },
26
26
  // target: localUrl
27
27
  // },
28
- // '/api/af-revenue/logic': {
29
- // pathRewrite: {
30
- // '/api/af-revenue/logic': '/logic'
31
- // },
32
- // target: localUrl
33
- // },
28
+ '/api/af-revenue/logic': {
29
+ pathRewrite: {
30
+ '/api/af-revenue/logic': '/logic'
31
+ },
32
+ target: localUrl
33
+ },
34
34
  // '/api/af-revenue/file': {
35
35
  // // pathRewrite: {
36
36
  // // '/api/af-revenue/file': '/file'
@@ -41,12 +41,12 @@ var devConfig = {
41
41
  //
42
42
  // target: 'http://410663id1ia4.vicp.fun'
43
43
  // },
44
- // '/api/af-revenue/sql': {
45
- // pathRewrite: {
46
- // '/api/af-revenue/sql': '/sql'
47
- // },
48
- // target: localUrl
49
- // },
44
+ '/api/af-revenue/sql': {
45
+ pathRewrite: {
46
+ '/api/af-revenue/sql': '/sql'
47
+ },
48
+ target: localUrl
49
+ },
50
50
  '/rs/pay': {
51
51
  target: 'http://localhost:8080'
52
52
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.93",
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
+ }
@@ -205,6 +205,7 @@
205
205
  *组合界面,加载机表,物联网表,气量卡表,金额卡表旧表信息,以及控制显示换新表信息
206
206
  */
207
207
  import { HttpResetClass } from 'vue-client'
208
+ import * as Util from '../../Util'
208
209
  let getPrice = async function (self) {
209
210
  await self.$LoadParams.loadParam(self.$login.f.orgid)
210
211
  await self.$getConfig(self, 'ChargeMeter')
@@ -370,16 +371,15 @@ export default {
370
371
  }
371
372
  },
372
373
  async confirm (type) {
373
- const today = new Date().toISOString().slice(0, 10); // 获取 YYYY-MM-DD
374
-
374
+ const today = Util.toStandardDateString() // 获取 YYYY-MM-DD
375
375
  const validFiles = (this.$refs.uploadfile.fileInfoData || []).filter(f => {
376
376
  const uploadDate = f.f_uploaddate?f.f_uploaddate.slice(0, 10):null
377
- const isBusinessInvalid = !f.f_businessid || f.f_businessid === 'undefined';
378
- return uploadDate === today && isBusinessInvalid;
379
- });
377
+ const isBusinessInvalid = !f.f_businessid || f.f_businessid === 'undefined'
378
+ return uploadDate === today && isBusinessInvalid
379
+ })
380
380
 
381
381
  if (validFiles.length >= 2) {
382
- console.log('有效文件', validFiles);
382
+ console.log('有效文件', validFiles)
383
383
  } else {
384
384
  return this.$showMessage(`换表请上传新旧表图片`)
385
385
  }