sale-client 4.3.97 → 4.3.99

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.
@@ -1,2 +1,2 @@
1
- #Wed Mar 18 10:18:57 CST 2026
1
+ #Wed May 13 15:19:48 CST 2026
2
2
  gradle.version=5.2.1
@@ -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://123.180.154.5: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.97",
3
+ "version": "4.3.99",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -317,7 +317,7 @@
317
317
  </div>
318
318
  </form>
319
319
  </validator>
320
- <modal v-if="showselectaddress" :show.sync="showselectaddress" width="50%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
320
+ <modal v-if="showselectaddress" :show.sync="showselectaddress" width="80%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
321
321
  <article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
322
322
  <file-address-manage :is-select="isSelect" :fileinfo="addressinfo"
323
323
  @address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage>
@@ -18,16 +18,30 @@
18
18
  </div>
19
19
  <div class="col-sm-4 form-group" v-if="!config.f_change_operator">
20
20
  <label for="f_change_operator" class=" font_normal_body">换&ensp;表&ensp;人</label>
21
- <input class="input_search" style="width:60%" type="text" v-model="model.f_change_operator"
22
- placeholder="换表人">
21
+ <input v-show="false" v-model="model.f_change_operator">
22
+ <v-select :value.sync="model.f_change_operator"
23
+ :options='changeoperator' placeholder='请选择'
24
+ selected="换表人"
25
+ search
26
+ :value-single="true"
27
+ style="width:60%"
28
+ close-on-select></v-select>
23
29
  </div>
24
30
  <div class="col-sm-4 form-group" v-if="config.f_change_operator" :class="[$v.f_change_operator.required ? 'has-error' : '']">
25
31
  <label for="f_change_operator" class=" font_normal_body">换&ensp;表&ensp;人</label>
26
- <input class="input_search" style="width:60%" type="text" v-model="model.f_change_operator"
27
- v-validate:f_change_operator="{required: true }"
28
- placeholder="换表人">
32
+ <input v-show="false" v-model="model.f_change_operator"
33
+ v-validate:f_change_operator='{required: true}'>
34
+ <v-select :value.sync="model.f_change_operator"
35
+ :options='changeoperator' placeholder='请选择'
36
+ selected="换表人"
37
+ search
38
+ :value-single="true"
39
+ style="width:60%"
40
+ close-on-select></v-select>
29
41
  </div>
30
42
 
43
+
44
+
31
45
  <div class="col-sm-4 form-group"
32
46
  :class="[$v.f_using_base_old.required || $v.f_using_base_old.dctest ? 'has-error' : 'has-success']">
33
47
  <label for="f_remanent_gas" class=" font_normal_body">旧表底数</label>
@@ -351,7 +365,6 @@ import Vue from 'vue'
351
365
  let getPrice = async function (self) {
352
366
  await self.$LoadParams.loadParam(self.$login.f.orgid)
353
367
  await self.$getConfig(self, 'ChangeMeter')
354
-
355
368
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
356
369
  self.model.f_payment = self.config.payment
357
370
  self.model.f_ladder_sync = self.config.ladderSync
@@ -512,6 +525,7 @@ export default {
512
525
  },
513
526
  ladder: [{label: '累计', value: '同步'}, {label: '不累计', value: '不同步'}],
514
527
  auditor: [],
528
+ changeoperator:[],
515
529
  opentype: [{label: '指令开户', value: '指令开户'}, {label: '发卡开户', value: '发卡开户'}],
516
530
  usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : [],
517
531
  pricetypes: this.$appdata.getParam('气价类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')] : [],
@@ -570,6 +584,7 @@ export default {
570
584
  async getAuditor () {
571
585
  await this.$GetSaleParam.initinputtor()
572
586
  this.auditor = this.$GetSaleParam.getAudit(this.$login.f.orgid)
587
+ this.changeoperator = this.$GetSaleParam.getAllOperator(this.$login.f.orgid)
573
588
  },
574
589
  getRandomId () {
575
590
  this.model.randomBusinessId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
package/src/main.js CHANGED
@@ -2,7 +2,7 @@ import Vue from 'vue'
2
2
  import all from 'vue-client/src/all'
3
3
  import App from './App'
4
4
  import system from 'system-clients/src/system'
5
- import FilialeSale from './filiale/jinhong/sale'
5
+ import FilialeSale from './filiale/meihekou/sale'
6
6
  import sale from './sale'
7
7
  import address from 'address-client/src/address'
8
8
  import ldap from 'ldap-clients/src/ldap'
@@ -80,6 +80,22 @@ let GetSaleParam = {
80
80
  }
81
81
  return auditor
82
82
  },
83
+ getAllOperator(orgid) {
84
+ console.log('11111111111-------,', orgid)
85
+ let allOperator = []
86
+ console.log('1GetSaleParam.inputtors-------,', GetSaleParam.inputtors)
87
+ if (GetSaleParam.inputtors.length > 0) {
88
+ let arr = GetSaleParam.inputtors.filter((res) => {
89
+ if (res.rolestr != null && res.rolestr != '') {
90
+ return res.f_orgid == orgid
91
+ }
92
+ })
93
+ arr.forEach((res) => {
94
+ allOperator.push({label: res.name, value: res.name})
95
+ })
96
+ }
97
+ return allOperator
98
+ },
83
99
  getRole (orgid,role) {
84
100
  console.log('11111111111-------,', orgid)
85
101
  let operator = []
File without changes
Binary file
@@ -1,569 +0,0 @@
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
- }