sale-client 4.3.84 → 4.3.86

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/build/dev-server.js +4 -10
  2. package/package.json +1 -1
  3. package/src/filiale/meihekou/CorrectBill.vue +93 -0
  4. package/src/filiale/meihekou/GasPriceUser.vue +503 -490
  5. package/src/filiale/meihekou/RecordCancel.vue +1 -1
  6. package/src/filiale/meihekou/UserPriceChangeManage.vue +709 -689
  7. package/src/filiale/meihekou/batch/batchEditFiles.vue +104 -4
  8. package/src/filiale/meihekou/batch/batchEditManage.vue +15 -2
  9. package/src/filiale/meihekou/batch/batchUserList.vue +81 -47
  10. package/src/filiale/meihekou/sale.js +2 -0
  11. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  12. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  13. package/.gradle/5.2.1/gc.properties +0 -0
  14. package/.gradle/6.7/executionHistory/executionHistory.lock +0 -0
  15. package/.gradle/6.7/fileChanges/last-build.bin +0 -0
  16. package/.gradle/6.7/fileHashes/fileHashes.lock +0 -0
  17. package/.gradle/6.7/gc.properties +0 -0
  18. package/.gradle/9.0.0/checksums/checksums.lock +0 -0
  19. package/.gradle/9.0.0/fileChanges/last-build.bin +0 -0
  20. package/.gradle/9.0.0/fileHashes/fileHashes.bin +0 -0
  21. package/.gradle/9.0.0/fileHashes/fileHashes.lock +0 -0
  22. package/.gradle/9.0.0/gc.properties +0 -0
  23. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  24. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  25. package/.gradle/checksums/checksums.lock +0 -0
  26. package/.gradle/configuration-cache/gc.properties +0 -0
  27. package/.gradle/vcs-1/gc.properties +0 -0
  28. package/.history/src/components/charge//346/211/271/351/207/217/346/226/260/345/273/272/346/255/243/345/274/217/346/210/267/346/241/243/346/241/210_/351/224/231/350/257/257/346/217/220/347/244/272/345/242/236/345/212/240/350/241/214/345/217/267_20260409222129.groovy +0 -418
  29. package/.history/src/components/charge//346/211/271/351/207/217/346/226/260/345/273/272/346/255/243/345/274/217/346/210/267/346/241/243/346/241/210_/351/224/231/350/257/257/346/217/220/347/244/272/345/242/236/345/212/240/350/241/214/345/217/267_20260409222230.groovy +0 -418
  30. package/.history/src/components/revenue/base/rightview/CardList_20260413150433.vue +0 -572
  31. package/.history/src/components/revenue/base/rightview/CardList_20260413154215.vue +0 -572
  32. package/build/ResponseFilter.class +0 -0
  33. package/build/classes/Config.class +0 -0
  34. package/build/classes/java/NewDesensitizationTool.class +0 -0
  35. package/hs_err_pid32452.log +0 -625
  36. package/hs_err_pid36896.log +0 -249
  37. package/src/components/charge//346/211/271/351/207/217/346/226/260/345/273/272/346/255/243/345/274/217/346/210/267/346/241/243/346/241/210_/351/224/231/350/257/257/346/217/220/347/244/272/345/242/236/345/212/240/350/241/214/345/217/267.groovy +0 -418
@@ -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://116.204.64.92:31467/', 'http://116.204.64.92:31467/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -57,19 +57,13 @@ var devConfig = {
57
57
  // target: "http://localhost:9026"
58
58
  // },
59
59
  '/api': {
60
- target: serverRul,
61
- secure: false,
62
- changeOrigin: true,
60
+ target: serverRul
63
61
  },
64
62
  '/resource': {
65
- target: serverRul,
66
- secure: false,
67
- changeOrigin: true
63
+ target: serverRul
68
64
  },
69
65
  '/rs': {
70
- target: serverRul,
71
- secure: false,
72
- changeOrigin: true,
66
+ target: serverRul
73
67
  }
74
68
  }
75
69
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.3.84",
3
+ "version": "4.3.86",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -0,0 +1,93 @@
1
+ <template>
2
+ <div class="auto form-horizontal" >
3
+ <modal :show.sync="show" v-ref:modal large backdrop="false">
4
+ <header slot="modal-header" class="modal-header">
5
+ <h3 style="color:black" class="modal-title">{{title}}</h3>
6
+ </header>
7
+ <article slot="modal-body" style = "display: flex;justify-content: center;" id="bill">
8
+ <div v-if="bill.data">
9
+ {{{bill.data}}}
10
+ </div>
11
+ </article>
12
+ <footer slot="modal-footer" class="modal-footer">
13
+ <div v-if="billConfig.hasBillManage">
14
+ <div class="col-sm-2">
15
+ <span><strong>发票号:{{model.f_using_number}}</strong></span>
16
+ </div>
17
+ </div>
18
+ <button type="button" class="btn btn-success" @click='print()'>打印</button>
19
+ <report-print id='bill' top='15mm' left='5mm' width='90%' height='70%' :notrepeat="true" :showbtn="false" v-ref:reportprint></report-print>
20
+ <button type="button" class="btn btn-default" @click='cancel()' v-if="!billManager">取消</button>
21
+ </footer>
22
+ </modal>
23
+ </div>
24
+ </template>
25
+ <script>
26
+ import { DataModel } from 'vue-client'
27
+
28
+ let getBillData = async function (self, val) {
29
+ console.log('看看打票里面的data', self.data, self.billData, val)
30
+ self.bill = new DataModel(self.billData.url, {reprint: "'冲正'"}, 'af-revenue')
31
+ await self.bill.search(self.data.id)
32
+
33
+ self.model.f_using_number = self.billData.bill.number
34
+ }
35
+
36
+ export default {
37
+ title: '收费发票',
38
+ data () {
39
+ return {
40
+ model: {
41
+ f_using_number: null
42
+ },
43
+ bill: {},
44
+ messShow: false
45
+ }
46
+ },
47
+ props: ['show', 'data', 'billData', 'billConfig', 'title'],
48
+ ready () {
49
+ console.log('打票', this.billConfig, this.billData)
50
+ },
51
+ methods: {
52
+ cancel () {
53
+ this.$dispatch('toggle')
54
+ },
55
+
56
+ async print () {
57
+ // 更新系统发票号
58
+ try {
59
+ console.log('开具冲红收据的参数:', this.data.id, this.data.f_type)
60
+ if (this.billConfig.hasBillManage) {
61
+ await this.$CommonService.correctPaperBill(this.data.id, this.data.f_type, this.data.f_use_type, this.billData.bill, 'newBill')
62
+ }
63
+ console.log('系统票号更新完毕')
64
+ this.$refs.reportprint.print()
65
+ } catch (error) {
66
+ this.$dispatch('refresh')
67
+ }
68
+ }
69
+ },
70
+ watch: {
71
+ 'show' (val) {
72
+ if (val) {
73
+ getBillData(this, val).then(() => {
74
+ this.$emit('ready')
75
+ }).catch((error) => {
76
+ this.$emit('error', error)
77
+ })
78
+ }
79
+ }
80
+ },
81
+ events: {
82
+ 'print' () {
83
+ // 对票据明细进行更新或插入操作
84
+ this.$dispatch('printok', '发票打印', this.data)
85
+ },
86
+ 'print-error' () {
87
+ this.$dispatch('error', '发票打印', this.data, null)
88
+ }
89
+ }
90
+ }
91
+ </script>
92
+ <style >
93
+ </style>