sale-client 4.2.93 → 4.2.95

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
- #Thu Sep 25 18:19:00 CST 2025
2
- gradle.version=9.0.0
1
+ #Thu Oct 30 09:31:24 CST 2025
2
+ gradle.version=5.2.1
Binary file
package/.npmignore ADDED
@@ -0,0 +1,12 @@
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
@@ -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:31467/', 'http://127.0.0.1:9026/']
5
5
  var merge = require('webpack-merge')
6
6
  var baseConfig = require('./webpack.dev.conf')
7
7
  var devConfig = {
@@ -52,11 +52,17 @@ var devConfig = {
52
52
  },
53
53
  '/api/af-revenue': {
54
54
  pathRewrite: {
55
- '/api/af-revenue': '/af-revenue'
55
+ '/api/af-revenue': ''
56
56
  },
57
- target: "http://localhost:8080"
57
+ target: "http://localhost:9026"
58
58
  },
59
59
  '/api': {
60
+ // pathRewrite: {
61
+ // '/api': '/singlepage/api/api'
62
+ // },
63
+ // pathRewrite: {
64
+ // '/api/af-revenue': 'z'
65
+ // },
60
66
  target: serverRul
61
67
  },
62
68
  '/rs': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "4.2.93",
3
+ "version": "4.2.95",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
package/src/.npmignore ADDED
@@ -0,0 +1 @@
1
+
@@ -291,16 +291,16 @@ export default {
291
291
  f_house_type: true
292
292
  },
293
293
  validateRules: {},
294
- inputtores: this.$appdata.getParam('抄表员'),
295
- credentials: this.$appdata.getParam('证件类型'),
296
- costtypes: this.$appdata.getParam('缴费类型'),
297
- banknames: this.$appdata.getParam('银行名称'),
294
+ inputtores: this.$appdata.getParam('抄表员') ? this.$appdata.getParam('抄表员') : [],
295
+ credentials: this.$appdata.getParam('证件类型') ? this.$appdata.getParam('证件类型') : [],
296
+ costtypes: this.$appdata.getParam('缴费类型') ? this.$appdata.getParam('缴费类型') : [],
297
+ banknames: this.$appdata.getParam('银行名称') ? this.$appdata.getParam('银行名称') : [],
298
298
  userstates: this.$appdata.getParam('预备客户状态参数') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('预备客户状态参数')] : [{label: '预备', value: '预备'}],
299
- housetype: this.$appdata.getParam('房屋类型'),
300
- mgq: this.$appdata.getParam('是否煤改气'),
301
- costtype: this.$appdata.getParam('付款类型'),
299
+ housetype: this.$appdata.getParam('是否煤改气') ? this.$appdata.getParam('是否煤改气') : [],
300
+ mgq: this.$appdata.getParam('是否煤改气') ? this.$appdata.getParam('是否煤改气') : [],
301
+ costtype: this.$appdata.getParam('付款类型') ? this.$appdata.getParam('付款类型') : [],
302
302
  printstate: this.$appdata.getParam('建档打印类型') ? [{label: '暂不选择', value: '暂不选择'}, ...this.$appdata.getParam('建档打印类型')] : [{label: '暂不选择', value: '暂不选择'}],
303
- peopleMax: this.$appdata.getSingleValue('最大人口数'),
303
+ peopleMax: this.$appdata.getSingleValue('最大人口数') ? this.$appdata.getParam('最大人口数') : [],
304
304
  jurisdiction: this.$login.r,
305
305
  edituserstate: false,
306
306
  // highMeterPlugin: {},
@@ -341,14 +341,15 @@ export default {
341
341
  // },
342
342
 
343
343
  getConfigValidate (name, defaultVal) {
344
- this.$resetValidation()
344
+ console.log(name, defaultVal)
345
345
  if (this.formconfig && this.formconfig[name]) {
346
346
  let Validate = {}
347
347
  if (this.formconfig[name].required) {
348
348
  Object.assign(Validate, {required: true})
349
349
  } else {
350
- // 这里是防止默认值位true 第一遍加载时 formconfig 中没值导致校验中required一直是true的情况
351
- if (this.$v && this.$v[name] && this.$v[name].required) {
350
+ console.log(name, this.formconfig[name])
351
+ // 这里是防止默认值为true 第一遍加载时 formconfig 中没值导致校验中required一直是true的情况
352
+ if (defaultVal && this.$v && this.$v[name] && this.$v[name].required) {
352
353
  this.$set(this.$v[name], 'required', false)
353
354
  }
354
355
  }