manage-client 3.2.219 → 3.2.221

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.
@@ -21,7 +21,7 @@ var qtx= 'http://36.103.222.144:6300/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
22
  var bendi = 'http://192.168.50.4:8400'
23
23
  // var bendi = 'http://119.187.112.234:8400/'
24
- var wode = 'http://127.0.0.1:8080'
24
+ var wode = 'http://127.0.0.1:8090'
25
25
  // 192.168.
26
26
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
27
27
  // var str = 'http://192.168.10.233:8300', str2 = 'http://192.168.10.14:8300'
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.219",
3
+ "version": "3.2.221",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -101,12 +101,22 @@
101
101
  close-on-select></v-select>
102
102
  </div>-->
103
103
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
104
+ <div class="col-sm-2 form-group">
105
+ <label class="font_normal_body">气价类型</label>
106
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
107
+ @change="$parent.$parent.pricetypechanged"
108
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
109
+ close-on-select v-ref:type>
110
+ </v-select>
111
+ </div>
104
112
  <div class="col-sm-2 form-group">
105
113
  <label class="font_normal_body">气价名称</label>
106
114
  <v-select :value.sync="model.f_price_name"
107
- :options='$parent.$parent.priceName' placeholder='请选择' v-model="model.f_price_name"
108
- condition="f_price_name = '{}'"
109
- close-on-select></v-select>
115
+ v-model="model.f_price_name"
116
+ multiple
117
+ :options="$parent.$parent.getPricenames"
118
+ condition="f_price_name in {}"
119
+ ></v-select>
110
120
  </div>
111
121
  </div>
112
122
  </div>
@@ -282,6 +292,7 @@
282
292
  dep:[],
283
293
  user:[],
284
294
  },
295
+ f_filialeid: this.$login.f.orgid,
285
296
  show:false,
286
297
  rowdata:{},
287
298
  criteriaShow: false,
@@ -313,6 +324,9 @@
313
324
  })
314
325
  },
315
326
  methods: {
327
+ pricetypechanged(){
328
+ this.$refs.paged.$refs.cri.model.f_price_name = []
329
+ },
316
330
  Fileinput(){
317
331
  this.batchmoneyShow=true;
318
332
  },
@@ -436,6 +450,38 @@
436
450
  },
437
451
  },
438
452
  computed: {
453
+ getPricenames() {
454
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
455
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
456
+ console.log("打印一下:",f_user_type,pricetype,this.f_filialeid)
457
+ if(this.$refs.paged.$refs.cri.model !==null) {
458
+ let rs = []
459
+ let priceArr = []
460
+ if ( pricetype.length >0) {
461
+ let params = {
462
+ f_price_type: pricetype[0],
463
+ filter: this.f_filialeid,
464
+ prices: this.prices
465
+ }
466
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
467
+ let temp = {}
468
+ temp.label = item.label
469
+ temp.value = item.value.f_price_name
470
+ priceArr.push(temp)
471
+ })
472
+ if(priceArr.length == 0 ){
473
+ rs= [{label: '全部', value: ''}]
474
+ }else{
475
+ rs = [ ...priceArr]
476
+ }
477
+ }
478
+ if (rs.length === 0) {
479
+ console.log('rs读出来是空')
480
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
481
+ }
482
+ return rs
483
+ }
484
+ },
439
485
  getCondition() {
440
486
  return {condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
441
487
  orderitem: this.orderitem?`${this.orderitem}`: " f_input_date desc "}
@@ -464,9 +510,9 @@
464
510
  whetherPay() {
465
511
  return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
466
512
  },
467
- priceName() {
513
+ pricetypes() {
468
514
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
469
- }
515
+ },
470
516
  },
471
517
  events:{
472
518
  'onFileUpload': function (file, res) {
@@ -14,7 +14,7 @@
14
14
  :value.sync="model.startDate"
15
15
  :format="'yyyy-MM-dd'"
16
16
  :show-reset-button="true"
17
- condition="f_open_date >= '{} 00:00:00'">
17
+ condition="f_operate_date >= '{} 00:00:00'">
18
18
  </datepicker>
19
19
  </div>
20
20
  <div class="col-sm-2 form-group">
@@ -24,7 +24,7 @@
24
24
  :value.sync="model.endDate"
25
25
  :format="'yyyy-MM-dd'"
26
26
  :show-reset-button="true"
27
- condition="f_open_date <= '{} 23:59:59'">
27
+ condition="f_operate_date <= '{} 23:59:59'">
28
28
  </datepicker>
29
29
  </div>
30
30
  <div class="span" style="float:right;">