sale-client 3.5.62 → 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.62",
3
+ "version": "3.5.63",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -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数组元素
@@ -61,7 +61,8 @@
61
61
  </div>
62
62
  <div class="col-sm-4" :class="[$v.f_cardfees.required ? 'has-error' : '']">
63
63
  <label class=" font_normal_body">补&emsp;卡&emsp;费</label>
64
- <input class="input_search" style="width:60%" v-validate:f_cardfees='{required: true }' type="number" v-model="model.f_cardfees">
64
+ <input class="input_search" style="width:60%" v-validate:f_cardfees='{required: true }' type="number"
65
+ v-model="model.f_cardfees">
65
66
  </div>
66
67
  </div>
67
68
  <div class="row" style="margin-top:5px;">
@@ -76,10 +77,11 @@
76
77
  close-on-select clear-button>
77
78
  </v-select>
78
79
  </div>
79
- <div class="col-sm-4" :class="[$v.f_business_tracking_number.required ? 'has-error' : '']">
80
+ <div class="col-sm-4" v-if = "this.model.f_type == 'IC卡丢失或损坏'"
81
+ :class="this.model.f_payment != '现金缴费' ? [$v.f_business_tracking_number.required ? 'has-error' : ''] : ''">
80
82
  <label class=" font_normal_body">业务单号</label>
81
83
  <input class="input_search"
82
- style="width:60%" v-validate:f_business_tracking_number='{required: true }'
84
+ style="width:60%" this.model.f_payment != '现金缴费' ? v-validate:f_business_tracking_number='{required: true }' :
83
85
  v-model="model.f_business_tracking_number">
84
86
  </div>
85
87
  </div>