apply-clients 3.5.6-25 → 3.5.6-27

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": "apply-clients",
3
- "version": "3.5.6-25",
3
+ "version": "3.5.6-27",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -47,7 +47,7 @@
47
47
  template-name='批量业务信息导出'
48
48
  :choose-col="true"></export-excel>
49
49
  <button v-if="false" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('打印')">批量打印</button>
50
- <button v-if="model.defname ==='合同签订'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('提交')">批量提交</button>
50
+ <button v-if="model.defname ==='合同签订' || model.defname ==='缴费审核'" class="button_export button_spacing" @click="$parent.$parent.batchdispatch('提交')">批量提交</button>
51
51
  <button v-if="model.defname ==='工程派工' || model.defname ==='点火申请'" class="button_export button_spacing" @click="$parent.$parent.showModal = !$parent.$parent.showModal">批量下派</button>
52
52
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
53
53
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
@@ -537,6 +537,7 @@ export default {
537
537
  {label: '合同签订', value: '合同签订'},
538
538
  {label: '工程派工', value: '工程派工'},
539
539
  {label: '点火申请', value: '点火申请'},
540
+ {label: '缴费审核', value: '缴费审核'}
540
541
  ],
541
542
  gasNatures: [
542
543
  {label: '全部',value: ''},
@@ -14,6 +14,7 @@
14
14
  v-model="model.f_residential_area"
15
15
  condition="(u.f_residential_area = '{}' or ua.f_residential_area = '{}')"
16
16
  @change="$parent.$parent.getbuilds"
17
+ :value-single="true"
17
18
  close-on-select clear-button>
18
19
  </v-select>
19
20
  <!-- 楼栋-->
@@ -426,18 +427,27 @@
426
427
  }
427
428
  },
428
429
  getbuilds(areas) {
430
+ // 检查是否为事件对象
431
+ let selectedValue
432
+ if (areas && areas.target) {
433
+ // 如果是事件对象,获取实际的值
434
+ selectedValue = this.$refs.cp.$refs.cri.model.f_residential_area
435
+ } else {
436
+ // 如果是直接传值
437
+ selectedValue = areas
438
+ }
429
439
  this.buildOptions = []
430
440
  this.unitOptions = []
431
441
  this.floorOptions = []
432
442
  this.$refs.cp.$refs.cri.model.f_building = ''
433
443
  this.$refs.cp.$refs.cri.model.f_unit = ''
434
444
  this.$refs.cp.$refs.cri.model.f_floor = ''
435
- if(areas.length == 0){
445
+ if(isEmpty(selectedValue)){
436
446
  return
437
447
  }
438
448
  let o = []
439
449
  for (const item of this.addressData) {
440
- if (item.f_residential_area == areas[0] && item.f_building){
450
+ if (item.f_residential_area == selectedValue && item.f_building){
441
451
  o.push(item.f_building)
442
452
  }
443
453
  }
@@ -48,7 +48,7 @@
48
48
  <p class="col-xs-8 text-left input-font">{{ row.f_confirm_date }}</p>
49
49
  </div>
50
50
  <div class="row">
51
- <button v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && $parent.$parent.isEmpty1(row.f_confirm_person)&& Vue.user.f_role_name.includes('确认收款')" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.showConfirmModal(row)">确认收款</button>
51
+ <button v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && $parent.$parent.isEmpty1(row.f_confirm_person) && $parent.$parent.showConfirmrole" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.showConfirmModal(row)">确认收款</button>
52
52
  </div>
53
53
  </div>
54
54
  </div>
@@ -491,6 +491,9 @@ export default {
491
491
  showadd() {
492
492
  return Vue.user.f_role_name.includes('报建收费')
493
493
  },
494
+ showConfirmrole() {
495
+ return Vue.user.f_role_name.includes('确认收款')
496
+ },
494
497
  paymentMethod() {
495
498
  return this.$appdata.getParam("付款方式")
496
499
  },