sale-client 3.6.193 → 3.6.194

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.6.193",
3
+ "version": "3.6.194",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -304,6 +304,7 @@ let getPrice = async function (self) {
304
304
 
305
305
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
306
306
  self.model.f_payment = self.config.payment
307
+ self.model.f_ladder_sync = self.config.ladderSync
307
308
  self.mulPrint = self.config.printType instanceof Array
308
309
  self.model.f_use_type = self.config.billType
309
310
  self.model.f_bill_type = self.model.f_print
@@ -384,7 +385,7 @@ export default {
384
385
  f_oldmeter_use_reference: 0 // 旧表使用量参考值
385
386
  },
386
387
  // 旧表底数
387
- f_ladder_sync: '同步',
388
+ f_ladder_sync: '',
388
389
  f_using_base_old: '',
389
390
  // 换表补气量
390
391
  f_remanent_gas: 0,
@@ -417,6 +418,7 @@ export default {
417
418
  billType: '其他费用', // 票据类型(燃气费,其他费用,调用的发票代码不同)
418
419
  printType: '普通收据', // 收据/电子票/专用发票/国税发票
419
420
  payment: '现金缴费',
421
+ ladderSync: '同步',
420
422
  open_way: '指令开户',
421
423
  hasArrearsChange: false, // 是否可以有欠费换表
422
424
  f_change_operator: false, // 换表人是否必填
@@ -349,9 +349,9 @@ export default {
349
349
  this.model.f_share_times = this.model.f_share_times[0]
350
350
  this.model.f_support_bluetooth = this.model.f_support_bluetooth[0]
351
351
  this.model.f_isdecimal = this.model.f_meter_type.includes('物联网') ? '是' : this.model.f_isdecimal[0]
352
- this.model.f_collection_type = this.model.f_collection_type[0]
353
- this.model.f_calculation = this.model.f_calculation[0]
354
- this.model.f_system_settlement = this.model.f_system_settlement[0]
352
+ this.model.f_collection_type = this.model.f_collection_type[0] ? this.model.f_collection_type[0]: ''
353
+ this.model.f_calculation = this.model.f_calculation[0] ? this.model.f_calculation[0] : ''
354
+ this.model.f_system_settlement = this.model.f_system_settlement ? this.model.f_system_settlement[0] : ''
355
355
  this.model.useOrg = this.useOrg
356
356
  this.getArrParam()
357
357
  this.$LogicService.addGasBrand(this.model, this.addGasModelArray)
@@ -299,11 +299,8 @@
299
299
  },
300
300
  search () {
301
301
  let condition = '1=1'
302
- if (this.f_orgid) {
303
- condition += `and (u.f_filialeid in ${this.f_orgid} or g.f_orgid in ${this.f_orgid}) `
304
- } else {
305
- condition += `and (u.f_filialeid = '${this.$login.f.orgid}' or g.f_orgid ='${this.$login.f.orgid}')`
306
- }
302
+ condition += `and (u.f_filialeid = '${this.$login.f.orgid}' or g.f_orgid ='${this.$login.f.orgid}')`
303
+ console.log('condition========>', condition)
307
304
  this.$refs.pv.load(this.sqlurl, {data: {condition: condition}}).then((a) => {
308
305
  if (a.data.length === 0) {
309
306
  this.model.rows = []
@@ -498,11 +495,7 @@
498
495
  // if (!this.$login.f.parent.parent.name.includes('统一资源管理')) {
499
496
  // args.condition += `and f_filialeids = '${this.$login.f.f_orgids}'`
500
497
  // }
501
- // if (this.f_orgid) {
502
- // args.condition += `and r.f_orgid in ${this.f_orgid}`
503
- // } else {
504
- // args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
505
- // }
498
+ args.condition += `and r.f_orgid = '${this.$login.f.orgid}'`
506
499
  if (this.authArr.includes('操作记录查询限定')) {
507
500
  args.condition += ` and r.f_operatorid = '${this.$login.f.id}'`
508
501
  }
@@ -311,6 +311,7 @@ let getPrice = async function (self) {
311
311
  await self.$getConfig(self, 'ChargeMeter')
312
312
 
313
313
  self.model.f_print = self.config.printType instanceof Array ? self.config.printType : [self.config.printType]
314
+ self.model.f_ladder_sync = self.config.ladderSync
314
315
  self.model.f_payment = self.config.payment
315
316
  self.mulPrint = self.config.printType instanceof Array
316
317
  self.model.f_use_type = self.config.billType
@@ -392,7 +393,7 @@ export default {
392
393
  f_oldmeter_use_reference: 0 // 旧表使用量参考值
393
394
  },
394
395
  // 旧表底数
395
- f_ladder_sync: '同步',
396
+ f_ladder_sync: '',
396
397
  f_using_base_old: '',
397
398
  // 换表补气量
398
399
  f_remanent_gas: 0,
@@ -422,6 +423,7 @@ export default {
422
423
  hasBillManage: false, // 默认不启用发票管理
423
424
  billType: '其他费用', // 票据类型(燃气费,其他费用,调用的发票代码不同)
424
425
  printType: '普通收据', // 收据/电子票/专用发票/国税发票
426
+ ladderSync: '不同步',
425
427
  payment: '现金缴费',
426
428
  open_way: '指令开户',
427
429
  showupload: true, //
@@ -31,7 +31,7 @@
31
31
  </div>
32
32
  <div class="col-sm-8" :class="[$v.f_newidnumber.identityCardValid ? 'has-error' : '']" v-if="model.f_newcredentials[0] === '身份证'">
33
33
  <label id="label" class="font_normal_body">*证件号码</label>
34
- <input type="text" v-model="model.f_newidnumber" v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%" placeholder="新身份证号">
34
+ <input type="text" v-model="model.f_newidnumber" maxlength="18" v-validate:f_newidnumber='{identityCardValid: true}' class="input_search" style="width:80%" placeholder="新身份证号">
35
35
  </div>
36
36
  <div class="col-sm-8" v-if="model.f_newcredentials[0] !== '身份证'">
37
37
  <label class="font_normal_body">&nbsp;证件号码</label>