apply-clients 3.1.37 → 3.1.40

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.
@@ -63,6 +63,9 @@
63
63
  <button type="button" name="button" class="btn btn-link"
64
64
  @click.stop="$parent.$parent.$parent.modifyParam(row)" >修改
65
65
  </button>
66
+ <button type="button" name="button" class="btn btn-link"
67
+ @click.stop="$parent.$parent.$parent.searchProduct(row)" >增值产品
68
+ </button>
66
69
  <!-- <button type="button" name="button" class="btn btn-link"-->
67
70
  <!-- @click.stop="$parent.$parent.$parent.delete(row)">删除-->
68
71
  <!-- </button>-->
@@ -393,52 +396,196 @@
393
396
  </modal>
394
397
 
395
398
 
396
- <modal :show.sync="showFile" v-ref:modal backdrop="false">
399
+ <!-- <modal :show.sync="showFile" v-ref:modal backdrop="false">-->
400
+ <!-- <header slot="modal-header" class="modal-header">-->
401
+ <!-- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>-->
402
+ <!-- <h4 class="modal-title">档案及工料费导入</h4>-->
403
+ <!-- </header>-->
404
+ <!-- <article slot="modal-body" class="modal-body">-->
405
+ <!-- <div class="form-group">-->
406
+ <!-- <file-upload class="my-file-uploader" :name="key+(Math.random()+3)+8882" :id="key+(Math.random()+3)+8882"-->
407
+ <!-- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>-->
408
+ <!-- </div>-->
409
+ <!-- </article>-->
410
+ <!-- <footer slot="modal-footer" class="modal-footer"></footer>-->
411
+ <!-- </modal>-->
412
+ <!-- <modal :show.sync="showInfo" v-ref:modal backdrop="false">-->
413
+ <!-- <header slot="modal-header" class="modal-header">-->
414
+ <!-- <button type="button" class="close" @click="closeFile1"><span>&times;</span></button>-->
415
+ <!-- <h4 class="modal-title">增值产品导入</h4>-->
416
+ <!-- </header>-->
417
+ <!-- <article slot="modal-body" class="modal-body">-->
418
+ <!-- <div class="form-group">-->
419
+ <!-- <file-upload class="my-file-uploader" :name="key+(Math.random()+3)+8883" :id="key+(Math.random()+3)+8883"-->
420
+ <!-- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file_one></file-upload>-->
421
+ <!-- </div>-->
422
+ <!-- </article>-->
423
+ <!-- <footer slot="modal-footer" class="modal-footer"></footer>-->
424
+ <!-- </modal>-->
425
+ <!-- 档案及工料费导入 -->
426
+ <modal :show.sync="showInfo" v-ref:modal backdrop="false">
397
427
  <header slot="modal-header" class="modal-header">
398
- <button type="button" class="close" @click="closeFile"><span>&times;</span></button>
399
- <h4 class="modal-title">档案及工料费导入</h4>
428
+ <button type="button" class="close" @click="closeFile"><span class="glyphicon glyphicon-remove"></span></button>
429
+ <h4 class="modal-title" style="text-align: center">档案及工料费导入</h4>
400
430
  </header>
401
- <article slot="modal-body" class="modal-body">
402
- <div class="form-group">
403
- <file-upload class="my-file-uploader" :name="key+(Math.random()+3)+8882" :id="key+(Math.random()+3)+8882"
404
- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file></file-upload>
431
+ <article slot="modal-body" class="modal-body form-horizontal">
432
+ <div class="form-group" style="text-align: center">
433
+ <file-upload class="my-file-uploader" :name="'myFile' + selectdata.f_process_id"
434
+ action="rs/file/uploadFile" tagname="文件导入" :headers="headers" multiple v-ref:file></file-upload>
405
435
  </div>
406
436
  </article>
407
- <footer slot="modal-footer" class="modal-footer"></footer>
437
+ <footer slot="modal-footer" class="modal-footer">
438
+ </footer>
408
439
  </modal>
409
- <modal :show.sync="showInfo" v-ref:modal backdrop="false">
440
+ <!-- 增值产品导入 -->
441
+ <modal :show.sync="showFile" v-ref:modal backdrop="false">
410
442
  <header slot="modal-header" class="modal-header">
411
- <button type="button" class="close" @click="closeFile1"><span>&times;</span></button>
412
- <h4 class="modal-title">增值产品导入</h4>
443
+ <button type="button" class="close" @click="closeFile1"><span class="glyphicon glyphicon-remove"></span></button>
444
+ <h4 class="modal-title" style="text-align: center">增值产品导入</h4>
413
445
  </header>
414
- <article slot="modal-body" class="modal-body">
415
- <div class="form-group">
416
- <file-upload class="my-file-uploader" :name="key+(Math.random()+3)+8883" :id="key+(Math.random()+3)+8883"
417
- action="rs/file/uploadFile" tagname="文件导入" :headers="headers" v-ref:file_one></file-upload>
446
+ <article slot="modal-body" class="modal-body form-horizontal">
447
+ <div class="form-group" style="text-align: center">
448
+ <file-upload class="my-file-uploader" :name="'myFile' + selectdata.f_process_id"
449
+ action="rs/file/uploadFile" tagname="文件导入" :headers="headers" multiple v-ref:file1></file-upload>
418
450
  </div>
419
451
  </article>
420
- <footer slot="modal-footer" class="modal-footer"></footer>
452
+ <footer slot="modal-footer" class="modal-footer">
453
+ </footer>
421
454
  </modal>
422
- <!-- 建档花名册下载 -->
423
- <!-- <modal :show.sync="upload_meter" backdrop="false">-->
424
- <!-- <header slot="modal-header" class="modal-header">-->
425
- <!-- <h4 class="modal-title">建档花名册下载</h4>-->
426
- <!-- </header>-->
427
- <!-- <article slot="modal-body" class="modal-body">-->
428
- <!-- <div class="col-sm-12 span recordTable" style="margin-top: 10px;height:70vh;">-->
429
- <!-- <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>&ndash;&gt;-->
430
- <!-- &lt;!&ndash;<customer-file v-ref:file :selectdata="selectdata"></customer-file>&ndash;&gt;-->
455
+ <!-- 弹出框显示增值产品信息 -->
456
+ <modal :show.sync="productPage" v-ref:modal backdrop="false" style="width: 100%">
457
+ <header slot="modal-header" class="modal-header" style="width: 100%">
458
+ <button type="button" class="close" @click="closeProduct"><span class="glyphicon glyphicon-remove"></span></button>
459
+ <h4 class="modal-title" style="text-align: center">增值产品信息</h4>
460
+ </header>
461
+ <article slot="modal-body" class="modal-body clearfix" style="width: 100%">
462
+ <!-- <div class="form-group col-sm-12">-->
463
+ <!-- <label class="col-sm-2 control-label">增值产品类型:</label>-->
464
+ <!-- <div class="col-sm-10">-->
465
+ <!-- <input type="text"-->
466
+ <!-- class="form-control input_view"-->
467
+ <!-- readonly-->
468
+ <!-- v-model="productData.f_increment_type" />-->
469
+ <!-- </div>-->
431
470
  <!-- </div>-->
432
- <!-- </article>-->
433
- <!-- <footer slot="modal-footer" class="modal-footer">-->
434
- <!-- <div class="from-group" style="width: 100%;float: left">-->
435
- <!-- <button v-show="upload_meter" type="button" class="btn btn-default" @click='upload_meter_close'>关闭</button>-->
436
- <!--&lt;!&ndash; <button v-show="upload_meter" type="button" class="btn btn-success" @click='showClose'>&ndash;&gt;-->
437
- <!--&lt;!&ndash; 确认&ndash;&gt;-->
438
- <!--&lt;!&ndash; </button>&ndash;&gt;-->
471
+ <!-- <div class="form-group col-sm-12">-->
472
+ <!-- <label class="col-sm-2 control-label">型号:</label>-->
473
+ <!-- <div class="col-sm-10">-->
474
+ <!-- <input type="text"-->
475
+ <!-- class="form-control input_view"-->
476
+ <!-- style="width: 100%"-->
477
+ <!-- readonly-->
478
+ <!-- v-model="productData.f_increment_style" />-->
479
+ <!-- </div>-->
439
480
  <!-- </div>-->
440
- <!-- </footer>-->
441
- <!-- </modal>-->
481
+ <!-- <div class="form-group col-sm-12">-->
482
+ <!-- <label class="col-sm-2 control-label">收款方式:</label>-->
483
+ <!-- <div class="col-sm-10">-->
484
+ <!-- <input type="text"-->
485
+ <!-- class="form-control input_view"-->
486
+ <!-- style="width: 100%"-->
487
+ <!-- readonly-->
488
+ <!-- v-model="productData.f_increment_payment_method" />-->
489
+ <!-- </div>-->
490
+ <!-- </div>-->
491
+ <!-- <div class="form-group col-sm-12">-->
492
+ <!-- <label class="col-sm-2 control-label">售价:</label>-->
493
+ <!-- <div class="col-sm-10">-->
494
+ <!-- <input type="text"-->
495
+ <!-- class="form-control input_view"-->
496
+ <!-- style="width: 100%"-->
497
+ <!-- readonly-->
498
+ <!-- v-model="productData.f_increment_money" />-->
499
+ <!-- </div>-->
500
+ <!-- </div>-->
501
+ <!-- <div class="form-group col-sm-12">-->
502
+ <!-- <label class="col-sm-2 control-label">增值产品票号:</label>-->
503
+ <!-- <div class="col-sm-10">-->
504
+ <!-- <input type="text"-->
505
+ <!-- class="form-control input_view"-->
506
+ <!-- style="width: 100%"-->
507
+ <!-- readonly-->
508
+ <!-- v-model="productData.f_increment_ticket_number" />-->
509
+ <!-- </div>-->
510
+ <!-- </div>-->
511
+ <!-- <div class="form-group col-sm-12">-->
512
+ <!-- <label class="col-sm-2 control-label">增值产品营销人员:</label>-->
513
+ <!-- <div class="col-sm-10">-->
514
+ <!-- <input type="text"-->
515
+ <!-- class="form-control input_view"-->
516
+ <!-- style="width: 100%"-->
517
+ <!-- readonly-->
518
+ <!-- v-model="productData.f_increment_marketing_person" />-->
519
+ <!-- </div>-->
520
+ <!-- </div>-->
521
+ <!-- <div class="form-group col-sm-12">-->
522
+ <!-- <label class="col-sm-2 control-label">套数:</label>-->
523
+ <!-- <div class="col-sm-10">-->
524
+ <!-- <input type="text"-->
525
+ <!-- class="form-control input_view"-->
526
+ <!-- style="width: 100%"-->
527
+ <!-- readonly-->
528
+ <!-- v-model="productData.f_increment_number" />-->
529
+ <!-- </div>-->
530
+ <!-- </div>-->
531
+ <!-- <div class="form-group col-sm-12">-->
532
+ <!-- <label class="col-sm-2 control-label">增值产品备注:</label>-->
533
+ <!-- <div class="col-sm-10">-->
534
+ <!-- <input type="text"-->
535
+ <!-- class="form-control input_view"-->
536
+ <!-- style="width: 100%"-->
537
+ <!-- readonly-->
538
+ <!-- v-model="productData.f_increment_remarks" />-->
539
+ <!-- </div>-->
540
+ <!-- </div>-->
541
+ <!-- <div class="form-group col-sm-12">-->
542
+ <!-- <label class="col-sm-2 control-label">增值产品收费日期:</label>-->
543
+ <!-- <div class="col-sm-10">-->
544
+ <!-- <input type="text"-->
545
+ <!-- class="form-control input_view"-->
546
+ <!-- style="width: 100%"-->
547
+ <!-- readonly-->
548
+ <!-- v-model="productData.f_increment_charge_date" />-->
549
+ <!-- </div>-->
550
+ <!-- </div>-->
551
+
552
+ <div class="col-sm-12 span recordTable" style="margin-top: 10px;height:70vh;width: 100%">
553
+
554
+ <partial-view v-ref:single-load>
555
+ <data-grid :model="productData" v-ref:grid>
556
+ <template partial='head'>
557
+ <tr>
558
+ <th>增值产品类型</th>
559
+ <th>型号</th>
560
+ <th>收款方式</th>
561
+ <th>售价</th>
562
+ <th>增值产品票号</th>
563
+ <th>增值产品营销人员</th>
564
+ <th >套数</th>
565
+ <th >增值产品备注</th>
566
+ <th >增值产品收费日期</th>
567
+ </tr>
568
+ </template>
569
+ <template partial='body' >
570
+ <td style="text-align: center">{{row.f_increment_type}}</td>
571
+ <td style="text-align: center">{{row.f_increment_style}}</td>
572
+ <td style="text-align: center">{{row.f_increment_payment_method}}</td>
573
+ <td style="text-align: center">{{row.f_increment_money}}</td>
574
+ <td style="text-align: center">{{row.f_increment_ticket_number}}</td>
575
+ <td style="text-align: center">{{row.f_increment_marketing_person}}</td>
576
+ <td style="text-align: center">{{row.f_increment_number}}</td>
577
+ <td style="text-align: center">{{row.f_increment_remarks}}</td>
578
+ <td style="text-align: center">{{row.f_increment_charge_date}}</td>
579
+
580
+ </template>
581
+ </data-grid>
582
+
583
+ </partial-view>
584
+ </div>
585
+ </article>
586
+ <footer slot="modal-footer" class="modal-footer">
587
+ </footer>
588
+ </modal>
442
589
  <work-busy :is-busy="iswork" v-show="iswork"></work-busy>
443
590
  </template>
444
591
 
@@ -528,7 +675,11 @@
528
675
  userinfo_array: [],
529
676
  super_book: false,
530
677
  super_book_array: [],
531
- upload_meter: false
678
+ upload_meter: false,
679
+ productPage: false,
680
+ productData: {
681
+ rows: []
682
+ }
532
683
  }
533
684
  },
534
685
  ready() {
@@ -879,6 +1030,10 @@
879
1030
  // 将选的文件清空
880
1031
  this.$refs.file_one.$el.querySelector('input').value = ''
881
1032
  },
1033
+ closeProduct() {
1034
+ this.productData.rows = []
1035
+ this.productPage = false
1036
+ },
882
1037
  delete(row){
883
1038
  console.log('开始删除')
884
1039
  let http = new HttpResetClass()
@@ -1010,6 +1165,29 @@
1010
1165
  this.$set('selectItem.version', row.version)
1011
1166
  this.show = true
1012
1167
  },
1168
+ //查询用户增值产品
1169
+ searchProduct(row) {
1170
+ let data = {
1171
+ tablename: 't_standing_book',
1172
+ condition: `f_userinfo_id = ${row.f_userinfo_id}`
1173
+ }
1174
+ let http = new HttpResetClass()
1175
+ let res = http.load('POST', 'rs/sql/applysingleTable', {data: data}, {
1176
+ resolveMsg: null,
1177
+ rejectMsg: '获取增值产品信息失败'
1178
+ }).then(res => {
1179
+ if (res.data.length > 0) {
1180
+ // console.log("增值产品:" + JSON.stringify(res.data))
1181
+ // console.log(JSON.stringify(res.data.length))
1182
+ this.productData.rows = res.data
1183
+ this.productPage = true
1184
+ }else {
1185
+ this.$showMessage("该用户无增值产品!")
1186
+ }
1187
+ })
1188
+
1189
+
1190
+ },
1013
1191
 
1014
1192
  //获取当前用户表档案信息
1015
1193
  getUserFiles(row) {