sale-client 4.2.54 → 4.2.56

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,7 +1,7 @@
1
1
  var path = require('path')
2
2
  var checkVersion = require('./versionCheck.js')
3
3
  checkVersion()
4
- const [ serverRul, localUrl ] = ['http://111.229.34.22:31467/', 'http://127.0.0.1:9026/']
4
+ const [ serverRul, localUrl ] = ['http://192.168.50.67:31567/', 'http://192.168.50.67:31567/']
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': '/singlepage/api'
31
- },
32
- target: serverRul
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,32 +41,23 @@ var devConfig = {
41
41
  //
42
42
  // target: 'http://410663id1ia4.vicp.fun'
43
43
  // },
44
- '/api/af-revenue/sql': {
45
- pathRewrite: {
46
- '/api': '/singlepage/api'
47
- },
48
- target: serverRul
49
- },
50
- '/rs/pay': {
51
- target: 'http://localhost:8080'
52
- },
53
- // '/api/af-revenue': {
44
+ // '/api/af-revenue/sql': {
54
45
  // pathRewrite: {
55
- // '/api/af-revenue': '/af-revenue'
46
+ // '/api/af-revenue/sql': '/sql'
56
47
  // },
57
- // target: "http://localhost:8080"
48
+ // target: localUrl
58
49
  // },
59
- '/api/af-revenue/logic/getOperBtns': {
50
+ '/rs/pay': {
51
+ target: 'http://localhost:8080'
52
+ },
53
+ '/api/af-revenue': {
60
54
  pathRewrite: {
61
- '/api/af-revenue': '/rs'
55
+ '/api/af-revenue': '/af-revenue'
62
56
  },
63
- target: 'http://127.0.0.1:8080'
57
+ target: "http://localhost:8080"
64
58
  },
65
59
  '/api': {
66
- target: serverRul,
67
- pathRewrite: {
68
- '/api/af-revenue': '/singlepage/rs'
69
- }
60
+ target: serverRul
70
61
  },
71
62
  '/rs': {
72
63
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.54",
3
+ "version": "4.2.56",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -107,7 +107,11 @@
107
107
  </div>
108
108
  <div class="row" v-if="data.f_meter_type.includes('卡表')">
109
109
  <label class = "col-sm-5 " style="color: brown">累购写卡金额</label>
110
- <span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}</span>
110
+ <span class = "col-sm-7" style="color: brown">{{data?data.f_write_totalfee:dafault.f_total_fee}}
111
+ <span v-if="data && this.$login.r.includes('收费页面修改累购')" @click.stop="changeMeterWriteFee"
112
+ class="glyphicon glyphicon-pencil click-change" title="修改累购写卡金额">
113
+ </span>
114
+ </span>
111
115
  </div>
112
116
  <div class="row">
113
117
  <label class = "col-sm-5 " >气表表号</label>
@@ -223,16 +227,16 @@
223
227
  <div class="form-horizontal">
224
228
  <div class="row">
225
229
  <div class="col-sm-12 form-group">
226
- <label class="font_normal_body">旧表累购金额</label>
230
+ <label class="font_normal_body">原累购金额</label>
227
231
  <input readonly type="text" style="width:80%" class="input_search"
228
- v-model="data.f_total_fee" placeholder='旧表累购金额'>
232
+ v-model="data.f_total_fee" placeholder='原累购金额' disabled>
229
233
  </div>
230
234
  </div>
231
235
  <div class="row">
232
236
  <div class="col-sm-12 form-group">
233
- <label class="font_normal_body">旧表累购金额</label>
237
+ <label class="font_normal_body">修改后累购金额</label>
234
238
  <input type="text" style="width:80%" class="input_search" v-model="newMeterFee"
235
- placeholder='旧表累购金额'>
239
+ placeholder='修改后累购金额'>
236
240
  </div>
237
241
  </div>
238
242
  </div>
@@ -242,20 +246,45 @@
242
246
  <button type="button" class="button_clear" @click='close'>取消</button>
243
247
  </footer>
244
248
  </modal>
249
+ <modal v-if="showSelectUserWriteFee" :show.sync="showSelectUserWriteFee" width="40%" title="修正表累购写卡金额"
250
+ v-ref:modal large backdrop="false">
251
+ <article slot="modal-body" class="modal-body">
252
+ <div class="form-horizontal">
253
+ <div class="row">
254
+ <div class="col-sm-12 form-group">
255
+ <label class="font_normal_body">原表累购写卡金额</label>
256
+ <input readonly type="text" style="width:80%" class="input_search"
257
+ v-model="data.f_write_totalfee" placeholder='原表累购写卡金额' disabled>
258
+ </div>
259
+ </div>
260
+ <div class="row">
261
+ <div class="col-sm-12 form-group">
262
+ <label class="font_normal_body">修改后累购写卡金额</label>
263
+ <input type="text" style="width:80%" class="input_search" v-model="newMeterWriteFee"
264
+ placeholder='修改后累购写卡金额'>
265
+ </div>
266
+ </div>
267
+ </div>
268
+ </article>
269
+ <footer slot="modal-footer" class="modal-footer">
270
+ <button class="button_search" :disabled='!$m.valid ' @click="modifyUserFile('累购写卡金额')">确定</button>
271
+ <button type="button" class="button_clear" @click='close'>取消</button>
272
+ </footer>
273
+ </modal>
245
274
  <modal v-if="showSelectUserGas" :show.sync="showSelectUserGas" width="40%" title="修正表累购气量"
246
275
  v-ref:modal large backdrop="false">
247
276
  <article slot="modal-body" class="modal-body">
248
277
  <div class="form-horizontal">
249
278
  <div class="row">
250
279
  <div class="col-sm-12 form-group">
251
- <label class="font_normal_body">旧表累购气量</label>
280
+ <label class="font_normal_body">原表累购气量</label>
252
281
  <input readonly type="text" style="width:80%" class="input_search"
253
- v-model="data.f_total_gas" placeholder='旧表累购气量'>
282
+ v-model="data.f_total_gas" placeholder='原表累购气量' disabled>
254
283
  </div>
255
284
  </div>
256
285
  <div class="row">
257
286
  <div class="col-sm-12 form-group">
258
- <label class="font_normal_body">新表累购气量</label>
287
+ <label class="font_normal_body">修改后累购气量</label>
259
288
  <input type="text" style="width:80%" class="input_search" v-model="newMeterGas"
260
289
  placeholder='新表累购气量'>
261
290
  </div>
@@ -313,13 +342,14 @@ export default {
313
342
  },
314
343
  f_arrears_fee: 0,
315
344
  model: null,
316
- f_arrears_fee: 0,
317
345
  showselectncuserfile: false,
318
346
  showSelectUserFee: false,
347
+ showSelectUserWriteFee: false,
319
348
  showSelectUserGas: false,
320
349
  newmetertitles: '',
321
350
  newMeterGas: 0,
322
- newMeterFee: 0
351
+ newMeterFee: 0,
352
+ newMeterWriteFee: 0
323
353
  }
324
354
  },
325
355
  props: ['data'],
@@ -364,6 +394,10 @@ export default {
364
394
  // 修改累购金额
365
395
  this.showSelectUserFee = true
366
396
  },
397
+ changeMeterWriteFee () {
398
+ // 修改累购写卡金额
399
+ this.showSelectUserWriteFee = true
400
+ },
367
401
  async modifyUserFile (type) {
368
402
  let param = {
369
403
  f_userinfo_id: this.data.f_userinfo_id,
@@ -376,21 +410,25 @@ export default {
376
410
  f_depid: this.$login.f.depids,
377
411
  f_depname: this.$login.f.deps
378
412
  }
379
- if (type == '表封号') {
413
+ if (type === '表封号') {
380
414
  param.new_metertitles = this.newmetertitles
381
- } else if (type == '累购气量') {
415
+ } else if (type === '累购气量') {
382
416
  param.new_metergas = this.newMeterGas
383
- } else if (type == '累购金额') {
417
+ } else if (type === '累购金额') {
384
418
  param.new_meterfee = this.newMeterFee
419
+ } else if (type === '累购写卡金额') {
420
+ param.new_meterwritefee = this.newMeterWriteFee
385
421
  }
386
422
  await this.$resetpost('/api/af-revenue/logic/changeuserfilesmetertitles', {data: param}, {resolveMsg: '修正成功', rejectMsg: null})
387
423
  this.data.f_metertitles = this.newmetertitles
388
- if (type == '表封号') {
424
+ if (type === '表封号') {
389
425
  this.data.f_metertitles = this.newmetertitles
390
- } else if (type == '累购气量') {
426
+ } else if (type === '累购气量') {
391
427
  this.data.f_total_gas = this.newMeterGas
392
- } else if (type == '累购金额') {
428
+ } else if (type === '累购金额') {
393
429
  this.data.f_total_fee = this.newMeterFee
430
+ } else if (type === '累购写卡金额') {
431
+ this.data.f_write_totalfee = this.newMeterWriteFee
394
432
  }
395
433
  this.$parent.$parent.close()
396
434
  this.$parent.$parent.clean()
@@ -404,6 +442,7 @@ export default {
404
442
  this.newmetertitles = 0
405
443
  this.newMeterGas = 0
406
444
  this.newMeterFee = 0
445
+ this.newMeterWriteFee = 0
407
446
  }
408
447
  },
409
448
  watch: {
@@ -1967,7 +1967,7 @@
1967
1967
  f_depname: this.$login.f.deps
1968
1968
  },
1969
1969
  uuid: uuid,
1970
- filepath: res.f_downloadpath
1970
+ filepath: res.f_realpath
1971
1971
  }
1972
1972
  try {
1973
1973
  await this.HttpReset.load('POST', 'api/af-revenue/logic/batchSettleFileupdate', data, {resolveMsg: null, rejectMsg: null}, 1000)
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/beifangshiye/sale'
5
+ import FilialeSale from './filiale/yuncheng/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'
File without changes
File without changes
File without changes
@@ -1,2 +0,0 @@
1
- #Sat Sep 13 14:19:54 CST 2025
2
- gradle.version=5.2.1
Binary file
File without changes
package/.npmignore DELETED
@@ -1,12 +0,0 @@
1
- src/bootstrap
2
- .idea/
3
- .DS_Store
4
- node_modules/
5
- dist/
6
- examples/
7
- gradle/
8
- npm-debug.log
9
- selenium-debug.log
10
- test/unit/coverage
11
- test/e2e/reports
12
- lib/**/lib
package/src/.npmignore DELETED
@@ -1 +0,0 @@
1
-