sale-client 3.5.270-2 → 3.5.271

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 (49) hide show
  1. package/build/dev-server.js +2 -5
  2. package/package.json +3 -3
  3. package/src/components/FilesManage/FileAddressManage.vue +1 -1
  4. package/src/components/FilesManage/UserEssentialInfoTest.vue +1 -1
  5. package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
  6. package/src/components/charge/business/refund/machineRefund.vue +193 -193
  7. package/src/components/common/userinfo_detail/ic_detail/HandQueryUser.vue +365 -365
  8. package/src/components/revenue/base/leftview/otherinfo.vue +2 -2
  9. package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
  10. package/src/filiale/gehua/HandManager.vue +1834 -1834
  11. package/src/filiale/gehua/sale.js +105 -105
  12. package/src/filiale/huayin/base/otherinfo.vue +2 -2
  13. package/src/filiale/ningjin/FileUserFiles.vue +3 -0
  14. package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
  15. package/src/filiale/rizhao/otherinfo.vue +2 -2
  16. package/src/filiale/rongcheng/FileAddressManage.vue +1 -1
  17. package/src/filiale/rongcheng/RecordCancel.vue +314 -314
  18. package/src/filiale/shanxian/components/FilesManage/FileAddressList.vue +2 -2
  19. package/src/filiale/shanxian/components/FilesManage/UserGeneralInfoTest.vue +693 -693
  20. package/src/filiale/shanxian/components/FilesManageNew/UserGeneralInfoTest.vue +617 -617
  21. package/src/filiale/shanxian/sale.js +48 -48
  22. package/src/filiale/shexian/MeterinfoTest.vue +990 -990
  23. package/src/filiale/shexian/sale.js +7 -7
  24. package/src/filiale/tongchuan/base/otherinfo.vue +2 -2
  25. package/src/filiale/wenxi/UserGeneralInfoTest.vue +713 -715
  26. package/src/filiale/yuansheng/sale.js +20 -20
  27. package/src/filiale/zhongyi/FileUserFiles.vue +3 -0
  28. package/src/main.js +1 -1
  29. package/yarn-error.log +9224 -0
  30. package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
  31. package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
  32. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  33. package/.gradle/5.2.1/fileContent/fileContent.lock +0 -0
  34. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  35. package/.gradle/5.2.1/gc.properties +0 -0
  36. package/.gradle/7.5.1/checksums/checksums.lock +0 -0
  37. package/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  38. package/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
  39. package/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
  40. package/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  41. package/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  42. package/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  43. package/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  44. package/.gradle/7.5.1/gc.properties +0 -0
  45. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  46. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  47. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  48. package/.gradle/file-system.probe +0 -0
  49. package/.gradle/vcs-1/gc.properties +0 -0
@@ -1,5 +1,5 @@
1
1
  var path = require('path')
2
- const [localUrl, serverRul] = ['http://59.48.150.94:7300', 'http://59.48.150.94:7300']
2
+ const [localUrl, serverRul] = ['http://101.200.150.80:8400/', 'http://101.200.150.80:8400/']
3
3
  var merge = require('webpack-merge')
4
4
  var baseConfig = require('./webpack.dev.conf')
5
5
  var devConfig = {
@@ -8,7 +8,7 @@ var devConfig = {
8
8
  hot: true,
9
9
  publicPath: baseConfig.output.publicPath,
10
10
  historyApiFallback: true,
11
- host: "127.0.0.1",
11
+ host: '127.0.0.1',
12
12
  port: 8089,
13
13
  open: true,
14
14
  stats: {
@@ -35,9 +35,6 @@ var devConfig = {
35
35
  '/rs/logic/getSaleInitData': {
36
36
  target: serverRul
37
37
  },
38
- // '/rs/logic/filemanage_getFilesDetail': {
39
- // target: 'http://127.0.0.1:8080'
40
- // },
41
38
  // 用户登录服务地址
42
39
  '/rs/user': {
43
40
  target: serverRul
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.270-2",
3
+ "version": "3.5.271",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -74,7 +74,7 @@
74
74
  "karma-sourcemap-loader": "^0.3.7",
75
75
  "karma-spec-reporter": "0.0.31",
76
76
  "karma-webpack": "^2.0.2",
77
- "ldap-clients": "3.0.7",
77
+ "ldap-clients": "3.0.62",
78
78
  "less": "^2.7.3",
79
79
  "manage-client": "3.1.8-88",
80
80
  "mkdirp": "^0.5.1",
@@ -89,7 +89,7 @@
89
89
  "sinon-chai": "^2.8.0",
90
90
  "style": "0.0.3",
91
91
  "style-loader": "^0.20.3",
92
- "system-clients": "3.2.55",
92
+ "system-clients": "3.2.64",
93
93
  "url-loader": "^0.5.7",
94
94
  "vue-client": "1.24.79",
95
95
  "vue-clipboard2": "0.3.1",
@@ -3,7 +3,7 @@
3
3
  <div :class="{'basic-main':!useraddressShow,'binary-left':useraddressShow}" v-show="isSelect">
4
4
  <file-address-list @select-changed="selected" v-ref:addresslist :style="style" :select=select :company=company :f_filialeids.sync="f_filialeids"></file-address-list>
5
5
  </div>
6
- <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}">
6
+ <div v-show="useraddressShow" :class="{'basic-main':!isSelect, 'binary-right': isSelect}" style="width:60%">
7
7
  <div class="flex">
8
8
  <file-user-address :f_filialeids.sync="f_filialeids" :is_pecial="isSpecial" :isedit="isSelect" :row="row" v-ref:fileuseraddress></file-user-address>
9
9
 
@@ -205,7 +205,7 @@
205
205
  </div>
206
206
  </form>
207
207
  </validator>
208
- <modal v-if="showselectaddress" :show.sync="showselectaddress" width="50%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
208
+ <modal v-if="showselectaddress" :show.sync="showselectaddress" width="70%" height="80%" title="地址信息" v-ref:modal large backdrop="false">
209
209
  <article slot="modal-body" class="modal-body" style="height: 700px;padding: 0!important;">
210
210
  <file-address-manage :is-select="isSelect" :fileinfo="addressinfo"
211
211
  @address-valid="doNothing" :showselectaddress.sync="showselectaddress" v-ref:fileaddress ></file-address-manage>
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
96
+ <input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
97
97
  </div>
98
98
  </article>
99
99
  <footer slot="modal-footer" class="modal-footer">
@@ -1,193 +1,193 @@
1
- <template>
2
- <div class="auto">
3
- <validator name='v'>
4
- <form novalidate class="form-horizontal">
5
- <div class="row">
6
- <div class="col-sm-4 form-group">
7
- <label class="font_normal_body" title="参数名称:付款方式">收款方式</label>
8
-
9
- <v-select v-model="f_payment"
10
- placeholder='请选择'
11
- style="width:60%"
12
- :value.sync="model.f_payment"
13
- :options='paytype'
14
- close-on-select clear-button></v-select>
15
-
16
- </div>
17
- <div class="col-sm-4 form-group">
18
- <label for="f_print" class="font_normal_body">打印格式</label>
19
-
20
- <v-select id="print"
21
- v-model="f_print"
22
- style="width:60%"
23
- placeholder='请选择'
24
- :value.sync="model.f_print"
25
- :options='printstyle'
26
- close-on-select clear-button>
27
- </v-select>
28
- </div>
29
-
30
- <div class="col-sm-4 form-group">
31
- <label class="font_normal_body">剩余金额</label>
32
- <input class="input_search" style="width:60%" type="number" v-model="data.f_balance" readonly>
33
- </div>
34
- </div>
35
-
36
- <div class="row">
37
-
38
-
39
- <div class="col-sm-8">
40
- <label for="f_paper_account" class="font_normal_body ">&nbsp;&nbsp;&nbsp;备注&nbsp;&nbsp;&nbsp;</label>
41
- <input class="input_search" style="width:80%" v-model="model.f_comments">
42
- </div>
43
- <div class="col-sm-4 form-group" v-if="!config.overBalance"
44
- :class="[$v.f_refund_fee.required || $v.f_refund_fee.dctest ? 'has-error' : 'has-success']">
45
- <label class="font_normal_body">退费金额</label>
46
- <input class="input_search" style="width:60%" type="number" v-model="model.f_refund_fee"
47
- v-validate:f_refund_fee='{required: true, dctest: [data.f_balance, "<=" ]}' placeholder="退费金额">
48
- </div>
49
- <div class="col-sm-4 form-group" v-if="config.overBalance"
50
- :class="[$v.f_refund_fee.required || $v.f_refund_fee.dctest ? 'has-error' : 'has-success']">
51
- <label class="font_normal_body">退费金额</label>
52
- <input class="input_search" style="width:60%" type="number" v-model="model.f_refund_fee"
53
- v-validate:f_refund_fee='{required: true, dctest: [0, ">=" ]}' placeholder="退费金额">
54
- </div>
55
- </div>
56
- </form>
57
- <div style="text-align:right;">
58
- <button class="button_search btn-gn" @click="confirm()" :disabled='!$v.valid'>确认</button>
59
- <button class="button_clear btn-gn" @click="clean()">取消</button>
60
- </div>
61
- </validator>
62
- <validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
63
- <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
64
- <print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>
65
- </div>
66
-
67
- <upload :blodid="data.f_userinfo_id" isremark="true" fusetype="退费管理"></upload>
68
- </template>
69
-
70
-
71
- <script>
72
- let readyGen = async function (self) {
73
- await self.$getConfig(self, 'MachineTRefund')
74
- console.log('机表退费config', self.config)
75
- // 默认打印格式
76
- self.blodid = self.data.f_userinfo_id
77
- self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
78
- self.model.f_payment = [self.config.payment]
79
-
80
- self.model.f_use_type = self.config.billType
81
- self.model.f_bill_type = self.model.f_print
82
- self.hasValidateBill = self.config.hasBillManage
83
- }
84
-
85
- export default {
86
- title: '机表退费',
87
- data () {
88
- return {
89
- config: {
90
- showupload: false, // 默认不上传附件
91
- hasPrint: false, // 默认打票
92
- hasBillManage: false, // 默认不启用发票管理
93
- overBalance: false, //为true时退费金额可以大于余额
94
- printType: '普通收据', // 收据/电子票/专用发票/国税发票
95
- payment: '现金缴费',
96
- billType: '燃气费'
97
- },
98
- model: {
99
- f_refund_fee: '',
100
- f_comments: '',
101
- f_payment: '',
102
- f_print: ''
103
- },
104
-
105
- blodid: '',
106
- hasValidateBill: false,
107
- validateOk: false,
108
-
109
- printModel: {},
110
- print: false,
111
- billUrl: '',
112
- billData: {
113
- url: 'rs/report/refund_sell',
114
- bill: ''
115
- },
116
-
117
- // 下拉框值
118
- paytype: this.$appdata.getParam('付款方式'),
119
- printstyle: this.$appdata.getParam('打印格式')
120
- }
121
- },
122
- props: ['data'],
123
- ready () {
124
- /* if (this.data.f_billing === '按气量') {
125
- this.$showAlert('按气量缴费的机表退费功能尚未开放!!', 'warning', 3000)
126
- this.$dispatch('refresh')
127
- } else { */
128
- readyGen(this)
129
- /* } */
130
- },
131
- methods: {
132
- async confirm () {
133
- let param = {
134
- f_user_id: this.data.f_user_id,
135
- f_userfiles_id: this.data.f_userfiles_id,
136
- version: this.data.version,
137
- f_refund_fee: this.model.f_refund_fee,
138
- f_comments: this.model.f_comments,
139
- f_payment: this.model.f_payment[0],
140
- f_print: this.model.f_print[0],
141
- f_price_id: this.data.f_price_id,
142
-
143
- f_total_fee: this.data.f_total_fee,
144
- f_stairprice_id: this.data.f_stairprice_id,
145
- operInfo: {
146
- f_operator: this.$login.f.name,
147
- f_operatorid: this.$login.f.id,
148
- f_orgid: this.$login.f.orgid,
149
- f_orgname: this.$login.f.orgs,
150
- f_depid: this.$login.f.depids,
151
- f_depname: this.$login.f.deps
152
- }
153
- }
154
-
155
- let res = await this.$resetpost('rs/logic/machineRefund', {data: param}, {warnMsg: `确定要对用户${this.data.f_user_name}进行退费吗?`, resolveMsg: '退费成功!!', rejectMsg: '退费失败!!请重试!!'})
156
-
157
- if (this.model.f_print.indexOf('电子发票') == -1 && this.config.hasPrint && !this.$login.r.includes('不打印发票')) {
158
- console.log('this.config.hasBillManage', this.config.hasBillManage)
159
- if (this.config.hasBillManage) {
160
- // 启用发票管理,获取票据管理中的票号并存储记录
161
- this.printModel.id = res.data.id
162
- this.printModel.f_bill_type = '退费'
163
- this.printModel.f_bill_style = this.model.f_print[0]
164
- // this.billUrl = 'rs/report/refund_sell'
165
- this.print = true
166
- } else {
167
- this.printModel.id = res.data.id
168
- // this.billUrl = 'rs/report/refund_sell'
169
- this.print = true
170
- }
171
- } else if (this.config.printType === '国税发票') {
172
- // TODO
173
- this.$dispatch('success')
174
- } else if (this.config.printType === '电子发票') {
175
- // TODO
176
- this.$dispatch('success')
177
- } else {
178
- this.$dispatch('success')
179
- }
180
- },
181
- clean () {
182
- this.$dispatch('refresh')
183
- },
184
- printok () {
185
- this.$dispatch('success')
186
- },
187
- validateBill (val) {
188
- this.validateOk = !val.isOk
189
- this.billData.bill = val.bill
190
- }
191
- }
192
- }
193
- </script>
1
+ <template>
2
+ <div class="auto">
3
+ <validator name='v'>
4
+ <form novalidate class="form-horizontal">
5
+ <div class="row">
6
+ <div class="col-sm-4 form-group">
7
+ <label class="font_normal_body" title="参数名称:付款方式">收款方式</label>
8
+
9
+ <v-select v-model="f_payment"
10
+ placeholder='请选择'
11
+ style="width:60%"
12
+ :value.sync="model.f_payment"
13
+ :options='paytype'
14
+ close-on-select clear-button></v-select>
15
+
16
+ </div>
17
+ <div class="col-sm-4 form-group">
18
+ <label for="f_print" class="font_normal_body">打印格式</label>
19
+
20
+ <v-select id="print"
21
+ v-model="f_print"
22
+ style="width:60%"
23
+ placeholder='请选择'
24
+ :value.sync="model.f_print"
25
+ :options='printstyle'
26
+ close-on-select clear-button>
27
+ </v-select>
28
+ </div>
29
+
30
+ <div class="col-sm-4 form-group">
31
+ <label class="font_normal_body">剩余金额</label>
32
+ <input class="input_search" style="width:60%" type="number" v-model="data.f_balance" readonly>
33
+ </div>
34
+ </div>
35
+
36
+ <div class="row">
37
+
38
+
39
+ <div class="col-sm-8">
40
+ <label for="f_paper_account" class="font_normal_body ">&nbsp;&nbsp;&nbsp;备注&nbsp;&nbsp;&nbsp;</label>
41
+ <input class="input_search" style="width:80%" v-model="model.f_comments">
42
+ </div>
43
+ <div class="col-sm-4 form-group" v-if="!config.overBalance"
44
+ :class="[$v.f_refund_fee.required || $v.f_refund_fee.dctest ? 'has-error' : 'has-success']">
45
+ <label class="font_normal_body">退费金额</label>
46
+ <input class="input_search" style="width:60%" type="number" v-model="model.f_refund_fee"
47
+ v-validate:f_refund_fee='{required: true, dctest: [data.f_balance, "<=" ]}' placeholder="退费金额">
48
+ </div>
49
+ <div class="col-sm-4 form-group" v-if="config.overBalance"
50
+ :class="[$v.f_refund_fee.required || $v.f_refund_fee.dctest ? 'has-error' : 'has-success']">
51
+ <label class="font_normal_body">退费金额</label>
52
+ <input class="input_search" style="width:60%" type="number" v-model="model.f_refund_fee"
53
+ v-validate:f_refund_fee='{required: true, dctest: [0, ">=" ]}' placeholder="退费金额">
54
+ </div>
55
+ </div>
56
+ </form>
57
+ <div style="text-align:right;">
58
+ <button class="button_search btn-gn" @click="confirm()" :disabled='!$v.valid'>确认</button>
59
+ <button class="button_clear btn-gn" @click="clean()">取消</button>
60
+ </div>
61
+ </validator>
62
+ <validate-bill v-if="hasValidateBill" :data="model" @validate-bill="validateBill"></validate-bill>
63
+ <!--<print-bill :show="print" :bill-manager='config.hasBillManage' v-ref:printbill :bill-url='billUrl' v-on:toggle="clean" @printok="printok" :data='printModel'></print-bill>-->
64
+ <print-bill :show="print" :bill-config='config' :bill-data='billData' v-on:toggle="clean" @printok="printok" :data='printModel' v-ref:printbill></print-bill>
65
+ </div>
66
+
67
+ <upload :blodid="data.f_userinfo_id" isremark="true" fusetype="退费管理"></upload>
68
+ </template>
69
+
70
+
71
+ <script>
72
+ let readyGen = async function (self) {
73
+ await self.$getConfig(self, 'MachineTRefund')
74
+ console.log('机表退费config', self.config)
75
+ // 默认打印格式
76
+ self.blodid = self.data.f_userinfo_id
77
+ self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
78
+ self.model.f_payment = [self.config.payment]
79
+
80
+ self.model.f_use_type = self.config.billType
81
+ self.model.f_bill_type = self.model.f_print
82
+ self.hasValidateBill = self.config.hasBillManage
83
+ }
84
+
85
+ export default {
86
+ title: '机表退费',
87
+ data () {
88
+ return {
89
+ config: {
90
+ showupload: false, // 默认不上传附件
91
+ hasPrint: false, // 默认打票
92
+ hasBillManage: false, // 默认不启用发票管理
93
+ overBalance: false, //为true时退费金额可以大于余额
94
+ printType: '普通收据', // 收据/电子票/专用发票/国税发票
95
+ payment: '现金缴费',
96
+ billType: '燃气费'
97
+ },
98
+ model: {
99
+ f_refund_fee: '',
100
+ f_comments: '',
101
+ f_payment: '',
102
+ f_print: ''
103
+ },
104
+
105
+ blodid: '',
106
+ hasValidateBill: false,
107
+ validateOk: false,
108
+
109
+ printModel: {},
110
+ print: false,
111
+ billUrl: '',
112
+ billData: {
113
+ url: 'rs/report/refund_sell',
114
+ bill: ''
115
+ },
116
+
117
+ // 下拉框值
118
+ paytype: this.$appdata.getParam('付款方式'),
119
+ printstyle: this.$appdata.getParam('打印格式')
120
+ }
121
+ },
122
+ props: ['data'],
123
+ ready () {
124
+ /* if (this.data.f_billing === '按气量') {
125
+ this.$showAlert('按气量缴费的机表退费功能尚未开放!!', 'warning', 3000)
126
+ this.$dispatch('refresh')
127
+ } else { */
128
+ readyGen(this)
129
+ /* } */
130
+ },
131
+ methods: {
132
+ async confirm () {
133
+ let param = {
134
+ f_user_id: this.data.f_user_id,
135
+ f_userfiles_id: this.data.f_userfiles_id,
136
+ version: this.data.version,
137
+ f_refund_fee: this.model.f_refund_fee,
138
+ f_comments: this.model.f_comments,
139
+ f_payment: this.model.f_payment[0],
140
+ f_print: this.model.f_print[0],
141
+ f_price_id: this.data.f_price_id,
142
+
143
+ f_total_fee: this.data.f_total_fee,
144
+ f_stairprice_id: this.data.f_stairprice_id,
145
+ operInfo: {
146
+ f_operator: this.$login.f.name,
147
+ f_operatorid: this.$login.f.id,
148
+ f_orgid: this.$login.f.orgid,
149
+ f_orgname: this.$login.f.orgs,
150
+ f_depid: this.$login.f.depids,
151
+ f_depname: this.$login.f.deps
152
+ }
153
+ }
154
+
155
+ let res = await this.$resetpost('rs/logic/machineRefund', {data: param}, {warnMsg: `确定要对用户${this.data.f_user_name}进行退费吗?`, resolveMsg: '退费成功!!', rejectMsg: '退费失败!!请重试!!'})
156
+
157
+ if (this.model.f_print.indexOf('电子发票') == -1 && this.config.hasPrint && !this.$login.r.includes('不打印发票')) {
158
+ console.log('this.config.hasBillManage', this.config.hasBillManage)
159
+ if (this.config.hasBillManage) {
160
+ // 启用发票管理,获取票据管理中的票号并存储记录
161
+ this.printModel.id = res.data.id
162
+ this.printModel.f_bill_type = '退费'
163
+ this.printModel.f_bill_style = this.model.f_print[0]
164
+ // this.billUrl = 'rs/report/refund_sell'
165
+ this.print = true
166
+ } else {
167
+ this.printModel.id = res.data.id
168
+ // this.billUrl = 'rs/report/refund_sell'
169
+ this.print = true
170
+ }
171
+ } else if (this.config.printType === '国税发票') {
172
+ // TODO
173
+ this.$dispatch('success')
174
+ } else if (this.config.printType === '电子发票') {
175
+ // TODO
176
+ this.$dispatch('success')
177
+ } else {
178
+ this.$dispatch('success')
179
+ }
180
+ },
181
+ clean () {
182
+ this.$dispatch('refresh')
183
+ },
184
+ printok () {
185
+ this.$dispatch('success')
186
+ },
187
+ validateBill (val) {
188
+ this.validateOk = !val.isOk
189
+ this.billData.bill = val.bill
190
+ }
191
+ }
192
+ }
193
+ </script>