sale-client 4.2.5 → 4.2.6

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": "4.2.5",
3
+ "version": "4.2.6",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -250,6 +250,14 @@
250
250
  close-on-select
251
251
  condition="f_meter_book_num in {}"></v-select>
252
252
  </div>
253
+ <div class="col-sm-2 form-group">
254
+ <label class="font_normal_body">抄表册编号</label>
255
+ <v-select :value.sync="model.f_book_code" v-model="model.f_book_code"
256
+ :options='$parent.$parent.bookcodes' placeholder='抄表册编号'
257
+ style="width:60%"
258
+ :multiple="true"
259
+ condition="f_book_code in {}"></v-select>
260
+ </div>
253
261
  <div class="col-sm-2 form-group">
254
262
  <label for="belongmonth" class="font_normal_body">所属年月</label>
255
263
  <datepicker placeholder="所属年月" style="width:60%"
@@ -328,6 +336,9 @@
328
336
  <th>
329
337
  <nobr>表册片区</nobr>
330
338
  </th>
339
+ <th>
340
+ <nobr>抄表册编号</nobr>
341
+ </th>
331
342
  <th>
332
343
  <nobr>客户地址</nobr>
333
344
  </th>
@@ -483,6 +494,9 @@
483
494
  <td style="text-align: center;">
484
495
  <nobr>{{ row.f_book_slice_area }}</nobr>
485
496
  </td>
497
+ <td style="text-align: center;">
498
+ <nobr>{{ row.f_book_code }}</nobr>
499
+ </td>
486
500
  <td style="text-align: center;">
487
501
  <nobr>{{ row.f_address }}</nobr>
488
502
  </td>
@@ -750,6 +764,7 @@ let readySomething = async function (self) {
750
764
 
751
765
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
752
766
  self.loadMeterBooks()
767
+ self.loadBookCodes()
753
768
  // await self.$LoadParams.loadMeterBook(self.f_filialeid)
754
769
  // self.loadMeterBooks()
755
770
  self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
@@ -809,6 +824,7 @@ export default {
809
824
  inputtouPerson: [],
810
825
  priceNames: [],
811
826
  meterbrands: [],
827
+ bookcodes: [],
812
828
  printshow: false,
813
829
  f_filialeid: this.$login.f.f_orgid,
814
830
  all: false,
@@ -851,6 +867,7 @@ export default {
851
867
  'f_sellinggas_operate_date': '收费时间',
852
868
  'f_inputtor': '抄表员',
853
869
  'f_book_slice_area': '表册片区',
870
+ 'f_book_code': '抄表册编号',
854
871
  'f_hand_date': '下发日期',
855
872
  'f_input_date': '录入日期',
856
873
  'f_meter_state': '抄表状态',
@@ -935,6 +952,9 @@ export default {
935
952
  loadMeterBooks () {
936
953
  this.meterbooks = [...this.meterbooks, ...this.$GetSaleParam.getMeterBooks()]
937
954
  },
955
+ loadBookCodes () {
956
+ this.bookcodes = this.$GetSaleParam.getBookCodes()
957
+ },
938
958
  getuuid () {
939
959
  let uuidA = ''
940
960
  var s = []
@@ -147,6 +147,19 @@
147
147
  :multiple="true"
148
148
  condition="f_meter_book_num in {}"></v-select>
149
149
  </div>
150
+ <div class="col-sm-2 form-group">
151
+ <label class="font_normal_body">抄表册编号</label>
152
+ <v-select :value.sync="model.f_book_code" v-model="model.f_book_code"
153
+ :options='$parent.$parent.bookcodes' placeholder='抄表册编号'
154
+ style="width:60%"
155
+ :multiple="true"
156
+ condition="f_book_code in {}"></v-select>
157
+ </div>
158
+ <div class="col-sm-2 form-group">
159
+ <label class="font_normal_body">周&ensp;&ensp;&ensp;&ensp;期</label>
160
+ <input type="text" style="width:60%" class="input_search" v-model="model.f_period"
161
+ condition="f_period = '{}'" placeholder='周期'>
162
+ </div>
150
163
  <div class="col-sm-2 form-group">
151
164
  <label class="font_normal_body">调压箱名</label>
152
165
  <v-select :value.sync="model.f_adjustable_name" v-model="model.f_adjustable_name"
@@ -238,14 +251,18 @@
238
251
  <th>
239
252
  <nobr>上期底数</nobr>
240
253
  </th>
241
-
242
254
  <!-- <th>抄表册</th>-->
243
255
  <th>
244
256
  <nobr>
245
257
  <data-order field="f_book_name" name="抄表册"
246
258
  :order.sync="$parent.$parent.$parent.orderFields.f_book_name"></data-order>
247
259
  </nobr>
248
-
260
+ </th>
261
+ <th>
262
+ <nobr>抄表册编号</nobr>
263
+ </th>
264
+ <th>
265
+ <nobr>周期</nobr>
249
266
  </th>
250
267
  <th>
251
268
  <nobr>操作</nobr>
@@ -277,6 +294,8 @@
277
294
  <td style="text-align: center;">{{row.f_meternumber}}</td>
278
295
  <td style="text-align: center;">{{row.f_meter_base}}</td>
279
296
  <td style="text-align: center;">{{row.f_book_name}}</td>
297
+ <td style="text-align: center;">{{row.f_book_code}}</td>
298
+ <td style="text-align: center;">{{row.f_period}}</td>
280
299
  <td style="text-align: center;"><nobr>
281
300
  <!-- <button type="button" name="button" class="button_search button_spacing width-60"-->
282
301
  <!-- v-if="$parent.$parent.$parent.config.customCal && row.f_meter_state === '已抄表' && row.states === 1 && row.f_oper_state === '正常' && row.f_whether_pay === '否'"-->
@@ -438,8 +457,10 @@
438
457
 
439
458
  let readyGen = async function (self) {
440
459
  await self.$getConfig(self, 'HandManager')
460
+ await self.$LoadParams.loadParam(self.f_filialeid)
441
461
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
442
462
  self.loadMeterBooks()
463
+ self.loadBookCodes()
443
464
  self.getfield = self.config.excelHeaders
444
465
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
445
466
  self.reflash()
@@ -561,6 +582,8 @@
561
582
  'f_oughtamount': '应交气量',
562
583
  'f_whether_pay': '是否缴费',
563
584
  'f_book_name': '抄表册',
585
+ 'f_book_code': '抄表册编号',
586
+ 'f_period': '周期',
564
587
  'f_meter_classify': '气表分类',
565
588
  'f_price_type': '气价类型',
566
589
  'f_price_name': '气价名称',
@@ -621,6 +644,7 @@
621
644
  splitdata: '',
622
645
  f_filialeid: this.$login.f.orgid,
623
646
  meterbooks: [],
647
+ bookcodes: [],
624
648
  upshow: false,
625
649
  inputid: 0,
626
650
  showfiles: false,
@@ -733,7 +757,9 @@
733
757
  loadMeterBooks () {
734
758
  this.meterbooks = this.$GetSaleParam.getMeterBooks()
735
759
  },
736
-
760
+ loadBookCodes () {
761
+ this.bookcodes = this.$GetSaleParam.getBookCodes()
762
+ },
737
763
  fileterprice (row) {
738
764
  this.splitdata = row
739
765
  this.priceSplit = true
@@ -1098,7 +1124,9 @@
1098
1124
  'f_balance': '上期结余',
1099
1125
  'f_meternumber': '表号',
1100
1126
  'f_meter_base': '上期底数',
1101
- 'f_book_name': '抄表册'
1127
+ 'f_book_name': '抄表册',
1128
+ 'f_book_code': '抄表册编号',
1129
+ 'f_period': '周期'
1102
1130
  }
1103
1131
  },
1104
1132
  getCondition () {