sale-client 3.5.61 → 3.5.63

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.61",
3
+ "version": "3.5.63",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -700,7 +700,7 @@
700
700
  },
701
701
  async meternumberValidate () {
702
702
  let http1 = new HttpResetClass()
703
- let res1 = await http1.load('POST', '/rs/sql/getBrandAndType', {data: {condition: ` mi.f_meternumber = '${this.row.f_meternumber}' and mi.f_filialeid= '${this.$login.f.orgid}'`}}, {resolveMsg: null, rejectMsg: '获取默认气表品牌型号失败!!'})
703
+ let res1 = await http1.load('POST', '/rs/sql/getBrandAndType', {data: {condition: ` mi.f_meternumber = '${this.row.f_meternumber}'`}}, {resolveMsg: null, rejectMsg: '获取默认气表品牌型号失败!!'})
704
704
  if (res1.data.length > 0) {
705
705
  // 替换表号自带的气表品牌和型号
706
706
  let meterbrands = this.meterbrands
@@ -48,7 +48,6 @@
48
48
  <div class="col-sm-4" :class="{'has-success':row.f_unitprice,'has-error':!row.f_unitprice}">
49
49
  <label style="" for="f_unitprice" class=" font_normal_body">*单&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;价</label>
50
50
  <input class="input_search" style="width:60%" type="number" min="1" @blur.prevent="getcollection()"
51
- v-validate:f_unitprice='{required: true, dctest: config.checkFlag?[0, ">=" ]: [0, ">" ] }'
52
51
  v-model="row.f_unitprice"
53
52
  :value.sync="row.f_unitprice"
54
53
  placeholder="单价" v-next-el='sl'>
@@ -346,8 +345,8 @@ export default {
346
345
  },
347
346
  methods: {
348
347
  setTypeprice (val) {
349
- if (val && this.model.otherdetail[val] && this.model.otherdetail[val].f_typenumber) {
350
- let unitprice = this.$appdata.getSingleValue(this.model.otherdetail[val].f_typenumber)
348
+ if (this.model.otherdetail[val] && this.model.otherdetail[val].f_typenumber[0]) {
349
+ let unitprice = this.$appdata.getSingleValue(this.model.otherdetail[val].f_typenumber[0])
351
350
  if (unitprice !== undefined) {
352
351
  this.model.otherdetail[val].f_unitprice = unitprice
353
352
  }
@@ -110,8 +110,10 @@
110
110
  <input @keyup.enter="search" style="width:60%" type="checkbox" v-model='checked1' :checked="$parent.$parent.$parent.checked1"
111
111
  @click="$parent.$parent.$parent.checkedALL()"></th>
112
112
  <th><nobr>收费编号</nobr></th>
113
+ <th><nobr>表号</nobr></th>
113
114
  <th><nobr>用户编号</nobr></th>
114
115
  <th><nobr>用户姓名</nobr></th>
116
+ <th><nobr>证件号码</nobr></th>
115
117
  <th><nobr>收费形式</nobr></th>
116
118
  <th><nobr>是否有效</nobr></th>
117
119
  <th><nobr>收据类型</nobr></th>
@@ -133,8 +135,10 @@
133
135
  <input @keyup.enter="search" style="width:60%" type="checkbox" checked="checked" name="opertioninput"
134
136
  @click="$parent.$parent.$parent.checked(row)"></td>
135
137
  <td style="text-align: center;"><nobr>{{row.id}}</nobr></td>
138
+ <td style="text-align: center;"><nobr>{{row.f_meternumber}}</nobr></td>
136
139
  <td style="text-align: center;"><nobr>{{row.f_userinfo_code}}</nobr></td>
137
140
  <td style="text-align: center;"><nobr>{{row.f_user_name}}</nobr></td>
141
+ <td style="text-align: center;"><nobr>{{row.idnumber}}</nobr></td>
138
142
  <td style="text-align: center;"><nobr>{{row.f_payment}}</nobr></td>
139
143
  <td style="text-align: center;"><nobr>{{row.f_state}}</nobr></td>
140
144
  <td style="text-align: center;"><nobr>{{row.f_bill_style}}</nobr></td>
@@ -207,8 +211,10 @@ const myMap = new Map()
207
211
  condition: '',
208
212
  getfield: {
209
213
  'id': '收费编号',
214
+ 'f_meternumber': '表号',
210
215
  'f_userinfo_code': '用户编号',
211
216
  'f_user_name': '用户姓名',
217
+ 'idnumber': '证件号码',
212
218
  'f_payment': '收费形式',
213
219
  'f_state': '是否有效',
214
220
  'f_bill_style': '收据类型',
@@ -394,6 +394,7 @@
394
394
 
395
395
  let asyncCardMeterCenter = async function (self) {
396
396
  await self.$getConfig(self, 'CardMeterCenter')
397
+ await self.getList()
397
398
  console.log('卡表收费config', self.config)
398
399
 
399
400
  // 添加 “系统余额透支” 付款方式
@@ -582,7 +583,6 @@
582
583
  }
583
584
  this.$els.fpregas.focus()
584
585
  asyncCardMeterCenter(this)
585
- this.getList()
586
586
  },
587
587
  watch: {
588
588
  'model.f_payment.length' (val) {
@@ -71,6 +71,7 @@
71
71
  <script>
72
72
  let readyGen = async function (self) {
73
73
  await self.$getConfig(self, 'GarbageCharge')
74
+ await self.getList()
74
75
  // 默认打印格式
75
76
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
76
77
  self.model.f_payment = [self.config.payment]
@@ -122,7 +123,6 @@ export default {
122
123
  props: ['row'],
123
124
  ready () {
124
125
  readyGen(this)
125
- this.getList()
126
126
  },
127
127
  methods: {
128
128
  async getList () {
@@ -385,6 +385,7 @@
385
385
  }
386
386
  let asyncCardMeterCenter = async function (self) {
387
387
  await self.$getConfig(self, 'IOTMeterCenter')
388
+ await self.getList()
388
389
  console.log('卡表收费config', self.config)
389
390
 
390
391
  // 添加 “系统余额透支” 付款方式
@@ -540,7 +541,6 @@
540
541
  this.model.f_pregas = ''
541
542
  document.getElementById('pregasFocue').focus()
542
543
  asyncCardMeterCenter(this)
543
- this.getList()
544
544
  },
545
545
  watch: {
546
546
  'model.f_payment.length' (val) {
@@ -204,6 +204,7 @@ import {HttpResetClass} from 'vue-client'
204
204
 
205
205
  let asyncMachineMeterCenter = async function (self) {
206
206
  await self.$getConfig(self, 'MachineMeterCenter')
207
+ await self.getList()
207
208
  self.data.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
208
209
  self.data.f_payment = [self.config.payment]
209
210
  self.data.f_use_type = self.config.billType
@@ -377,7 +378,6 @@ export default {
377
378
  }
378
379
  document.getElementById('f_collection').focus()
379
380
  asyncMachineMeterCenter(this)
380
- this.getList()
381
381
  },
382
382
  events: {
383
383
  // 删除Resid数组元素
@@ -4,6 +4,10 @@ let specialComp = {
4
4
  'file-meter-info': (resolve) => { require(['./MeterinfoTest'], resolve) },
5
5
  'file-user-essential-info': (resolve) => { require(['./UserEssentialInfoTest'], resolve) },
6
6
  // 物联网表收费
7
- 'iot-meter-center': (resolve) => { require(['./IOTMeterCenter'], resolve) }
7
+ 'iot-meter-center': (resolve) => { require(['./IOTMeterCenter'], resolve) },
8
+ //机表收费
9
+ 'machine-meter-center': (resolve) => { require(['./MachineMeterCenter'], resolve) },
10
+ //卡表
11
+ 'card-meter-center': (resolve) => { require(['./CardMeterCenter'], resolve) }
8
12
  }
9
13
  exports.specialComp = specialComp