sale-client 3.6.227 → 3.6.228

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.227",
3
+ "version": "3.6.228",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -207,7 +207,7 @@
207
207
  }
208
208
  console.log('查询。。。', this.f_orgid)
209
209
  if (this.f_orgid) {
210
- args.condition = `${args.condition} and f_orgid in ${this.f_orgid}`
210
+ args.condition = `${args.condition} and (f_orgid in ${this.f_orgid} or s.f_filialeid in ${this.f_orgid}) `
211
211
  }
212
212
  this.model.search(args.condition, args.model)
213
213
  },
@@ -5,6 +5,16 @@
5
5
  <criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:cri>
6
6
  <div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
7
7
  <div class="row">
8
+ <div
9
+ class="col-sm-2 form-group">
10
+ <label class="font_normal_body">组织机构</label>
11
+ <res-select :initresid='$parent.$parent.curorgid'
12
+ @res-select="$parent.$parent.getorg"
13
+ class="select select_list"
14
+ restype='organization'
15
+ style="width: 60%">
16
+ </res-select>
17
+ </div>
8
18
  <div class="col-sm-2 form-group">
9
19
  <label for="f_payment" class="font_normal_body">付款方式:</label>
10
20
  <v-select id="f_payment"
@@ -220,12 +230,17 @@
220
230
  this.$refs.paged.$refs.cri.search()
221
231
  },
222
232
  selfSearch (args) {
223
-
233
+ if (!this.f_orgid) {
234
+ this.getorg([this.$login.f.orgid])
235
+ }
224
236
  this.model.params.startDate = this.$refs.paged.$refs.cri.model.startDate
225
237
  this.model.params.endDate = this.$refs.paged.$refs.cri.model.endDate
226
238
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
227
239
  this.model.params.f_payment = this.model.f_payment
228
240
  this.model.params.f_bank_name = this.model.f_bank_name
241
+ if (this.f_orgid) {
242
+ args.condition = `${args.condition} and (f_orgid in ${this.f_orgid} or f_filialeid in ${this.f_orgid}) `
243
+ }
229
244
  this.condition2 = args.condition
230
245
  this.model.search(args.condition, args.model)
231
246
  },
@@ -79,6 +79,7 @@
79
79
  <th style="text-align: center;">客户地址</th>
80
80
  <th style="text-align: center;">客户类型</th>
81
81
  <th style="text-align: center;">表具类型</th>
82
+ <th style="text-align: center;">机表阀门状态</th>
82
83
  <th style="text-align: center;">入户时间(最新记录)</th>
83
84
  <th style="text-align: center;">用户状态(最新记录)</th>
84
85
  <th style="text-align: center;">安检类型(最新记录)</th>
@@ -95,6 +96,7 @@
95
96
  <td style="text-align: center;">{{row.f_address}}</td>
96
97
  <td style="text-align: center;">{{row.f_user_type}}</td>
97
98
  <td style="text-align: center;">{{row.f_meter_classify}}</td>
99
+ <td style="text-align: center;">{{row.f_bqf_state}}</td>
98
100
  <td style="text-align: center;">{{row.f_in_time}}</td>
99
101
  <td style="text-align: center;">{{row.f_user_state}}</td>
100
102
  <td style="text-align: center;">{{row.f_check_type}}</td>
@@ -11,6 +11,7 @@
11
11
  <th style="text-align: center;">用户状态</th>
12
12
  <th style="text-align: center;">防盗卡号</th>
13
13
  <th style="text-align: center;">所属阀井</th>
14
+ <th style="text-align: center;">机表阀门状态</th>
14
15
  <th style="text-align: center;">安检类型</th>
15
16
  <th style="text-align: center;">上次时间</th>
16
17
  <th style="text-align: center;">操作人</th>
@@ -29,6 +30,7 @@
29
30
  <td style="text-align: center;">{{row.f_user_state}}</td>
30
31
  <td style="text-align: center;">{{row.f_fdcard_id}}</td>
31
32
  <td style="text-align: center;">{{row.f_valve_wall}}</td>
33
+ <td style="text-align: center;">{{row.f_bqf_state}}</td>
32
34
  <td style="text-align: center;">{{row.f_check_type}}</td>
33
35
  <td style="text-align: center;">{{row.f_last_time}}</td>
34
36
  <td style="text-align: center;">{{row.f_operator}}</td>
@@ -350,7 +350,7 @@ export default {
350
350
  export (row) {
351
351
  this.row = row
352
352
  this.getotherfooter(row)
353
- this.getCondition = {condition: `p.f_civill_id = ${row.id}`}
353
+ this.getCondition = {condition: `p.f_civill_id = '${row.id}'`}
354
354
  this.excelhead = []
355
355
  let headData = []
356
356
  headData.push(this.starthead)