apply-clients 5.0.35-26 → 5.0.35-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.
@@ -103,6 +103,25 @@
103
103
  </div>
104
104
  </div>
105
105
 
106
+ <div class="form-group col-sm-2">
107
+ <label class="col-sm-4 control-label linehhh">业务类型</label>
108
+ <div class="col-sm-8">
109
+ <v-select :value.sync="model.f_work_type" v-model="model.f_work_type"
110
+ :options='$parent.$parent.worktype' width="100%"
111
+ close-on-select condition="a.f_work_type = '{}'">
112
+ </v-select>
113
+ </div>
114
+ </div>
115
+
116
+ <div class="form-group col-sm-2">
117
+ <label class="col-sm-4 control-label linehhh">用户类型</label>
118
+ <div class="col-sm-8">
119
+ <v-select :value.sync="model.f_user_type" v-model="model.f_user_type"
120
+ :options='$parent.$parent.usertype' width="100%"
121
+ close-on-select condition="a.f_user_type = '{}'">
122
+ </v-select>
123
+ </div>
124
+ </div>
106
125
 
107
126
  <div class="form-group">
108
127
  <button class="btn btn-primary" @click="search(),$parent.$parent.showpager()">
@@ -196,7 +215,7 @@
196
215
  import * as Util from '../../../../Util'
197
216
 
198
217
  import { PagedList } from 'vue-client'
199
-
218
+ import {HttpResetClass} from 'vue-client'
200
219
  Date.prototype.Format = function (fmt) {
201
220
  var o = {
202
221
  "M+": this.getMonth() + 1, //月份
@@ -230,6 +249,14 @@
230
249
  human: [],
231
250
  filiale: [],
232
251
  method: [],
252
+ usertype:[
253
+ {label: '民用', value: '民用'},
254
+ {label: '非民用', value: '非民用'}
255
+ ],
256
+ worktype:[
257
+ {label: '新报装', value: '新报装'},
258
+ {label: '改管', value: '改管'}
259
+ ],
233
260
  correct: [
234
261
  {label: '是', value: '是'},
235
262
  {label: '否', value: '否'}
@@ -264,11 +291,15 @@
264
291
  // this.$refs.cp.pager = true
265
292
  this.$dispatch('hiddenbtn')
266
293
  },
267
- search () {
268
- let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
294
+ search () {
295
+ let condition = "1=1 and r.f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
296
+ // debugger
297
+ // let condition = args.condition
298
+ debugger
269
299
  this.model.search(condition)
270
300
  this.modeluse.search(condition)
271
- this.price.search(condition)
301
+ let condition1 = "1=1 and f_filiale like '%" + this.$login.f.f_fengongsi + "%'"
302
+ this.price.search(condition1)
272
303
  },
273
304
  update_way (row) {
274
305
  console.log('进入修改方法')
@@ -295,8 +326,11 @@
295
326
  })
296
327
  },
297
328
  selfSearch (args) {
298
- args.condition = args.condition + ` and tbd.f_orgstr like '%${this.filialeCodeStr}%'`
329
+ args.condition = args.condition + ` and a.f_filialeids like '%${this.filialeCodeStr}%'`
330
+ console.log('condition:', args.condition)
299
331
  this.model.search(args.condition, args.model)
332
+ this.modeluse.search(args.condition, args.model)
333
+ this.price.search(args.condition, args.model)
300
334
  },
301
335
  cleaner () {
302
336
  Object.keys(this.$refs.paged.$refs.criteria.model).forEach((key) => {