apply-clients 3.4.75 → 3.4.77

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.4.75",
3
+ "version": "3.4.77",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -252,7 +252,7 @@
252
252
  </template>
253
253
 
254
254
  <script>
255
- import {PagedList} from 'vue-client'
255
+ import {HttpResetClass, PagedList} from 'vue-client'
256
256
 
257
257
  export default {
258
258
  title: '点火派单',
@@ -341,11 +341,18 @@ export default {
341
341
  }
342
342
  },
343
343
  async getsliceareas () {
344
+ let data = {
345
+ source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
346
+ userid: this.$login.f.id
347
+ }
344
348
 
345
- let res = await this.$resetpost(
346
- 'rs/logic/getsliceareas',{data:null},
347
- {resolveMsg: null, rejectMsg: '获取片区失败!!!'}
348
- )
349
+ let http = new HttpResetClass()
350
+ let res = await http.load(
351
+ 'POST',
352
+ `rs/search`,
353
+ {data: data},
354
+ {resolveMsg: null, rejectMsg: '片区查询失败!!!'}
355
+ )
349
356
  this.sliceareas = [{label: '全部', value: ''}, ...res.data]
350
357
  },
351
358
  async openOperatorModal () {
@@ -113,7 +113,14 @@
113
113
  if (!item.value) {
114
114
  item.value = null
115
115
  }
116
-
116
+ if(this.selectdata.f_apply_type === '集体报建' && this.selectdata.defname === '报装缴费'){
117
+ if(item.label === '未结总金额'){
118
+ item.value = this.selectdata.f_due_money - this.selectdata.f_cumulative_payment_money
119
+ }
120
+ if(item.label === '付款比例'){
121
+ item.value = (this.selectdata.f_cumulative_payment_money/this.selectdata.f_due_money * 100) + '%'
122
+ }
123
+ }
117
124
  if (!item.value && (item.default || item.default === 0) && item.type !== 'datepicker') {
118
125
  if (item.eval) {
119
126
  item.value = eval(item.default)