sale-client 3.6.504 → 3.6.505

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
- #Wed Mar 12 09:11:13 CST 2025
1
+ #Mon Mar 17 13:40:05 CST 2025
2
2
  gradle.version=5.2.1
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.6.504",
3
+ "version": "3.6.505",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -336,8 +336,11 @@ var data
336
336
  this.model.f_bill_operator = this.$login.f.name
337
337
  }
338
338
  this.$resetpost('rs/logic/saveing', {data: {recordlist: this.recordList, newData: this.model}}).then((res) => {
339
- console.log('this.model', this.model)
339
+ console.log('this.model:', this.model)
340
+ this.recordList = []
341
+ console.log('this.recordList:', this.recordList)
340
342
  })
343
+ this.recordList = []
341
344
  this.$dispatch('close')
342
345
  }
343
346
  },
@@ -93,9 +93,10 @@
93
93
  value-single="true"
94
94
  :value.sync="model.f_gasproperties"
95
95
  style="width:60%"
96
+ multiple
96
97
  v-model="model.f_gasproperties"
97
98
  :options='$parent.$parent.Gasproperties'
98
- close-on-select condition="f_gasproperties ='{}'">
99
+ close-on-select condition="f_gasproperties in {}">
99
100
  </v-select>
100
101
  </div>
101
102
  <div class="col-sm-2 form-group">
@@ -114,13 +115,13 @@
114
115
  <label class="font_normal_body">气表品牌</label>
115
116
  <v-select
116
117
  placeholder='气表品牌'
117
-
118
+ multiple
118
119
  :value.sync="model.f_gasbrand"
119
120
  style="width:60%"
120
121
  v-model="model.f_gasbrand"
121
122
  :options='$parent.$parent.meterbrand'
122
123
  close-on-select
123
- condition="f_meter_brand='{}'">
124
+ condition="f_meter_brand in {}">
124
125
  </v-select>
125
126
  </div>
126
127
  <div class="col-sm-2 form-group">
@@ -41,20 +41,20 @@
41
41
  </div>
42
42
  </template>
43
43
  <script>
44
- /**
45
- *用户信息
46
- *维修情况
47
- */
44
+ /**
45
+ *用户信息
46
+ *维修情况
47
+ */
48
48
 
49
- import {HttpResetClass} from 'vue-client'
49
+ import {HttpResetClass} from 'vue-client'
50
50
 
51
51
  export default {
52
52
  title: '安检维修情况',
53
53
  data () {
54
54
  return {
55
55
  model: {},
56
- pared: 0
57
-
56
+ pared: 0,
57
+ service: null
58
58
  }
59
59
  },
60
60
  props: ['data'],
@@ -63,10 +63,16 @@
63
63
  methods: {
64
64
  repairlist (row) {
65
65
  console.log(row)
66
- this.$goto('new-repair-paper', {curActivity: row})
66
+ this.$resetpost('rs/path/getService', {data: {id: row.id}}, {resolveMsg: null, rejectMsg: null})
67
+ .then((res) => {
68
+ this.service = res.data[0]
69
+ console.log('99889', this.service)
70
+ // self.getrepair()
71
+ this.$goto('new-repair-paper', {curActivity: this.service.serviceacitivity[1]})
72
+ })
67
73
  },
68
74
  async getServiceRepair () {
69
- if(this.data && this.data.f_userinfo_id){
75
+ if (this.data && this.data.f_userinfo_id) {
70
76
  let data = {
71
77
  f_userinfo_id: this.data.f_userinfo_id
72
78
  }
@@ -79,7 +85,7 @@
79
85
  } else {
80
86
  this.pared = 0
81
87
  }
82
- } else{
88
+ } else {
83
89
  this.pared = 0
84
90
  }
85
91
  }
@@ -1359,7 +1359,7 @@
1359
1359
  f_tablebase: row.f_tablebase,
1360
1360
  f_userinfo_id: row.f_userinfo_id
1361
1361
  }
1362
- this.$resetpost('rs/logic/sale_commonEnter', {data: param}, {resolveMsg: null, rejectMsg: null}).then((res) => {
1362
+ this.$resetpost('rs/logic/sale_commonEnter', {data: param}, {resolveMsg: null, rejectMsg: null,newly:true}).then((res) => {
1363
1363
  row.f_meter_state = res.data.f_meter_state
1364
1364
  row.f_whether_pay = res.data.f_whether_pay
1365
1365
  row.f_oughtfee = res.data.f_oughtfee
@@ -1374,13 +1374,13 @@
1374
1374
  f_input_date = ` ,f_input_date = '${row.f_input_date}'`
1375
1375
  }
1376
1376
  let sqldata = `update t_handplan set f_result_state = '${f_result_state}' ${f_input_date} where id = '${row.id}'`
1377
- this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败'})
1377
+ this.$resetpost('rs/logic/runSQL', {data: {sql: sqldata}}, {resolveMsg: null, rejectMsg: '业务单号保存失败',newly:true})
1378
1378
  // }).catch((error) => {
1379
1379
  // row.state = '失败'
1380
1380
  // Vue.set(row, 'error', JSON.stringify(error))
1381
1381
  // this.speckText('抄表出错,请注意!')
1382
1382
  // })
1383
- // this.search()
1383
+
1384
1384
  }).catch((error) => {
1385
1385
  row.state = '失败'
1386
1386
  Vue.set(row, 'error', JSON.stringify(error))
@@ -281,6 +281,7 @@ export default {
281
281
  url: 'rs/report/overuse_bill',
282
282
  bill: ''
283
283
  },
284
+ dataSource: '',
284
285
  print: false,
285
286
  eticket_msg: false,
286
287
  eticket_show: false,
@@ -381,6 +382,7 @@ export default {
381
382
  this.billData.bill = val.bill
382
383
  },
383
384
  async calPreamount () {
385
+ this.dataSource = 'gas'
384
386
  this.collectionreload = false
385
387
  this.model.f_preamount = ((this.model.f_pregas - 0) * (this.model.f_price - 0)).toFixed(4)
386
388
  this.model.f_totalcost = this.model.f_balance > this.model.f_preamount ? 0 : (this.model.f_preamount - 0) - (this.model.f_balance - 0)
@@ -388,7 +390,9 @@ export default {
388
390
  await this.$nextTick()
389
391
  this.collectionreload = true
390
392
  },
393
+
391
394
  async calCollection () {
395
+ this.dataSource = 'amount'
392
396
  this.collectionreload = false
393
397
  this.model.f_totalcost = this.model.f_balance > this.model.f_preamount ? 0 : (this.model.f_preamount - 0) - (this.model.f_balance - 0)
394
398
  this.model.f_pregas = ((this.model.f_preamount - 0) / (this.model.f_price - 0)).toFixed(4)
@@ -409,7 +413,10 @@ export default {
409
413
  },
410
414
  watch: {
411
415
  'model.f_pregas' () {
412
- this.calPreamount()
416
+ if (this.dataSource !== 'amount') {
417
+ this.calPreamount()
418
+ }
419
+ this.dataSource = ''
413
420
  },
414
421
  'model.f_price' (newVal, oldVal) {
415
422
  this.oldprice = oldVal
@@ -262,6 +262,7 @@ let FileManageService = {
262
262
  meter.devicesinfo.forEach((devitem) => {
263
263
  let userfilesdevice = Object.assign({}, userfilesdevice, devitem)
264
264
  userfilesdevice.f_user_id = data.meterinfo[0].f_user_id ? data.meterinfo[0].f_user_id : null
265
+ userfilesdevice.f_userinfo_id = result.f_userinfo_id || null
265
266
  userfilesdevice.f_devices_type = userfilesdevice.f_devices_type
266
267
  userfilesdevice.WatchPurchase = userfilesdevice.WatchPurchase
267
268
  userfilesdevice.f_state = userfilesdevice.f_state ? userfilesdevice.f_state : '有效'