sale-client 4.3.92 → 4.3.94

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.
File without changes
@@ -1,2 +1,2 @@
1
- #Mon Jun 22 09:12:25 CST 2026
1
+ #Wed May 13 15:19:48 CST 2026
2
2
  gradle.version=5.2.1
package/.project CHANGED
@@ -5,6 +5,11 @@
5
5
  <projects>
6
6
  </projects>
7
7
  <buildSpec>
8
+ <buildCommand>
9
+ <name>org.eclipse.jdt.core.javabuilder</name>
10
+ <arguments>
11
+ </arguments>
12
+ </buildCommand>
8
13
  <buildCommand>
9
14
  <name>org.eclipse.buildship.core.gradleprojectbuilder</name>
10
15
  <arguments>
@@ -12,6 +17,7 @@
12
17
  </buildCommand>
13
18
  </buildSpec>
14
19
  <natures>
20
+ <nature>org.eclipse.jdt.core.javanature</nature>
15
21
  <nature>org.eclipse.buildship.core.gradleprojectnature</nature>
16
22
  </natures>
17
23
  <filteredResources>
@@ -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://192.168.50.67:31567/', 'http://192.168.50.67:31567']
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.92",
3
+ "version": "4.3.94",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -94,7 +94,7 @@ export default {
94
94
  methods: {
95
95
 
96
96
  async createHand () {
97
- if (this.config.upload) {
97
+ if (this.config.upload && this.model.userinfo.f_user_state === '正常') {
98
98
  if (this.$refs.caneclfile.fileInfoData && this.$refs.caneclfile.fileInfoData.length > 0) {
99
99
  console.log(this.$refs.caneclfile.fileInfoData)
100
100
  } else {
@@ -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
  }
@@ -0,0 +1,247 @@
1
+ <template>
2
+ <div style="flex: 1.5" class="flex">
3
+ <div class="flex">
4
+ <criteria-paged :model="model" v-ref:paged @sort="sort">
5
+ <criteria partial='criteria' v-ref:criteria @condition-changed="$parent.selfSearch"
6
+ v-show="$parent.searchshow">
7
+ <div novalidate class="form-inline auto" partial>
8
+ <div class="row">
9
+ <div
10
+ :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
11
+ class="form-group">
12
+ <label class="font_normal_body">组织机构</label>
13
+ <res-select :initresid='$parent.$parent.curorgid'
14
+ @res-select="$parent.$parent.getorg"
15
+ class="select select_list"
16
+ restype='organization'
17
+ style="width: 60%">
18
+ </res-select>
19
+ </div>
20
+ <div class="col-sm-2 form-group">
21
+ <label class="font_normal_body">客户编号</label>
22
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
23
+ condition="f_userinfo_code = '{}'" placeholder='客户编号'>
24
+ </div>
25
+ <div class="col-sm-2 form-group">
26
+ <label class="font_normal_body">客户姓名</label>
27
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_user_name"
28
+ condition="f_user_name = '{}'" placeholder='客户姓名'>
29
+ </div>
30
+ <div class="col-sm-2 form-group">
31
+ <label class="font_normal_body" title="用户等级">用户等级</label>
32
+ <v-select id="f_user_level"
33
+ :value.sync="model.f_user_level"
34
+ v-model="model.f_user_level"
35
+ placeholder='用户等级'
36
+ :options='$parent.$parent.userlevels'
37
+ condition="f_user_level = '{}'"
38
+ close-on-select clear-button>
39
+ </v-select>
40
+ </div>
41
+ <div class="col-sm-2 form-group">
42
+ <label class="font_normal_body">地址</label>
43
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_address"
44
+ condition="f_address like '%{}%'" placeholder='地址查询'>
45
+ </div>
46
+ <div class="col-sm-2 form-group">
47
+ <label class="font_normal_body">操作人</label>
48
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_operator"
49
+ condition="f_operator like '%{}%'" placeholder='操作人'>
50
+ </div>
51
+ <div class="col-sm-2 form-group">
52
+ <label class="font_normal_body">状态</label>
53
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_state"
54
+ condition="f_state = '{}'" placeholder='状态'>
55
+ </div>
56
+ <div class="col-sm-2 form-group">
57
+ <label class="font_normal_body">支付流水号</label>
58
+ <input type="text" class="input_search" style="width: 60%" v-model="model.f_serial_id"
59
+ condition="f_serial_id = '{}'" placeholder='支付流水号'>
60
+ </div>
61
+ <div
62
+ :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
63
+ class="form-group">
64
+ <label class="font_normal_body">开始日期</label>
65
+ <datepicker placeholder="开始日期" v-model="model.startDate" :value.sync="model.startDate" style="width:60%"
66
+ :format="'yyyy-MM-dd 00:00:00'" condition="f_operate_date >= '{}'">
67
+ </datepicker>
68
+ </div>
69
+ <div
70
+ :class="{'col-sm-2':!$parent.$parent.editList,'col-sm-4':$parent.$parent.editList}"
71
+ class="form-group">
72
+ <label class="font_normal_body">结束日期</label>
73
+ <datepicker placeholder="结束日期" v-model="model.endDate" :value.sync="model.endDate" style="width:60%"
74
+ :format="'yyyy-MM-dd 23:59:59'" condition="f_operate_date <= '{}'">
75
+ </datepicker>
76
+ </div>
77
+ <div class="span" style="float:right;">
78
+ <import-excel template-name="其他收费导入模板" logic-name="otherImport" import-json="othercharge.json" ></import-excel>
79
+ <button class="button_search" @click="search()">查 询</button>
80
+ <export-excel v-if="$parent.$parent.authArr.includes('其他收费导出权限')"
81
+ :data="{condition: $parent.$parent.excelCondition}"
82
+ :field="$parent.$parent.fields"
83
+ sqlurl="api/af-revenue/logic/saleExport" sql-name="querylists"
84
+ template-name='其他收费导出'
85
+ :choose-col="true">
86
+ </export-excel>
87
+ <!--<div
88
+ :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
89
+ @click="$parent.$parent.hidden()" class="button_spacing" style="float: right"></div>-->
90
+ </div>
91
+
92
+ </div>
93
+ </div>
94
+ </criteria>
95
+ <data-grid :model="model" v-ref:grid class="list_area table_sy" partial='list'>
96
+ <template partial='head'>
97
+ <tr>
98
+ <th><nobr>序号</nobr></th>
99
+ <th><nobr>客户编号</nobr></th>
100
+ <th><nobr>客户姓名</nobr></th>
101
+ <th><nobr>用户等级</nobr></th>
102
+ <th><nobr>客户地址</nobr></th>
103
+ <th><nobr>缴费类型</nobr></th>
104
+ <th><nobr>缴费金额</nobr></th>
105
+ <th><nobr>支付流水号</nobr></th>
106
+ <th><nobr>收据类型</nobr></th>
107
+ <th><data-order field="f_operate_date" name="收费时间"></data-order></th>
108
+ <th><nobr>操作人</nobr></th>
109
+ </tr>
110
+ </template>
111
+ <template partial='body'>
112
+ <td style="text-align: center;"><nobr>{{$index + 1}}</nobr></td>
113
+ <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
114
+ <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
115
+ <td style="text-align: center;"><nobr>{{row.f_user_level}}</nobr></td>
116
+ <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
117
+ <td style="text-align: center;"><nobr>{{row.f_payment}}</nobr></td>
118
+ <td style="text-align: center;"><nobr>{{row.f_collection}}</nobr></td>
119
+ <td style="text-align: center;"><nobr>{{row.f_serial_id}}</nobr></td>
120
+ <td style="text-align: center;"><nobr>{{row.f_bill_style}}</nobr></td>
121
+ <td style="text-align: center;"><nobr>{{row.f_operate_date}}</nobr></td>
122
+ <td style="text-align: center;"><nobr>{{row.f_operator}}</nobr></td>
123
+ </template>
124
+ </data-grid>
125
+ </criteria-paged>
126
+ </div>
127
+ </div>
128
+ </template>
129
+
130
+ <script>
131
+ import {PagedList} from 'vue-client'
132
+ const myMap = new Map()
133
+ export default {
134
+ 'title': '其他记录维护',
135
+ data () {
136
+ return {
137
+ model: new PagedList('api/af-revenue/sql/querylists', 20, {orderitem: '"f_operate_date DESC"'}),
138
+ // pj:this.$appdata.getParam('是否有附件')?[{label: '全部', value: ''},...this.$appdata.getParam('是否有附件')] : [],
139
+ // 排序
140
+ orderitem: 'f_operate_date desc',
141
+ orderFields: {
142
+ f_operate_date: 'no'
143
+ },
144
+ // 控制查询条件显示
145
+ searchshow: true,
146
+ userlevels: this.$appdata.getParam('用户等级') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')] : [],
147
+ curorgid: [this.$login.f.orgid],
148
+ f_orgid: '',
149
+ // f_audit_state: [{label:'全部',value:''},{label:'已审核',value:`= '已审核'`},{label:'审核中',value:`= '审核中'`},{label:'其他',value:'is null'}],
150
+ da: {
151
+ rows: []
152
+ },
153
+ fields: {
154
+ 'f_userinfo_code': '用户编号',
155
+ 'f_user_name': '用户姓名',
156
+ 'f_user_phone': '用户电话',
157
+ 'f_address': '用户地址',
158
+ 'f_payment': '缴费类型',
159
+ 'f_collection': '缴费金额',
160
+ 'f_serial_id': '支付流水号',
161
+ 'f_bill_style': '收据类型',
162
+ 'f_operate_date': '收费时间',
163
+ 'f_operator': '操作人'
164
+ },
165
+ excelCondition: '',
166
+ priceSplit: false,
167
+ criteriaShow: false
168
+ // imgshow:false,
169
+ // imgfilename:''
170
+ }
171
+ },
172
+ ready () {
173
+ this.search()
174
+
175
+ // this.getwarehouse()
176
+ },
177
+ props: ['showMessage'],
178
+ methods: {
179
+ fileterprice (row) {
180
+ this.splitdata = row
181
+ this.priceSplit = true
182
+ console.log('row==>', row)
183
+ },
184
+ getorg (val) {
185
+ this.f_orgid = this.$login.convertToIn(val)
186
+ this.f_filialeid = val[0]
187
+ },
188
+ sort (field, rule) {
189
+ // 将所有排序方式设为不排序,实现相互排斥
190
+ for (let key in this.orderFields) {
191
+ if (key === field) {
192
+ this.orderFields[key] = rule
193
+ } else {
194
+ this.orderFields[key] = 'no'
195
+ }
196
+ }
197
+ // 如果新规则不排序,还原为默认排序
198
+ if (rule === 'no') {
199
+ this.model.paramSource.orderitem = `'${this.orderitem}'`
200
+ } else {
201
+ this.model.paramSource.orderitem = `'${field} ${rule}'`
202
+ }
203
+
204
+ this.search()
205
+ },
206
+ search () {
207
+ this.$refs.paged.$refs.criteria.search()
208
+ },
209
+ selfSearch (args) {
210
+ if (!this.f_orgid) {
211
+ this.getorg([this.$login.f.orgid])
212
+ }
213
+ if (this.f_orgid) {
214
+ args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
215
+ }
216
+ console.log('查询。。。')
217
+ this.excelCondition = args.condition
218
+ this.model.search(args.condition, args.model)
219
+ }
220
+ },
221
+ watch: {
222
+
223
+ }
224
+ /* computed: {
225
+ ischecked () {
226
+ return function (index, i) {
227
+ // console.log("计算属性")
228
+ if (!this.radio[index]) {
229
+ return false
230
+ }
231
+ return this.radio[index][i]
232
+ }
233
+ },
234
+ distributionstate () {
235
+ return [{label: '全部', value: ''}, {label: '待分配', value: 'is null'}, {label: '已入库', value: 'is not null'}]
236
+ }
237
+ } */
238
+ }
239
+ </script>
240
+ <style>
241
+ .datapanel {
242
+ color: #333;
243
+ background-color: white;
244
+ padding: 10px 20px;
245
+ border-radius: 15px;
246
+ }
247
+ </style>