zhaoxiaoqiang1
2026-01-04 f1d30d03186c79ca2cbcfe60d6d2ce7d73fba97b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
<!-- 产品保证金退款 -->
<template>
  <el-container>
    <el-main :style="{ padding: 0 }">
      <ScrollToTab
        :tabId="`#${tabScroll}`"
        :contentId="`#${contentScroll}`"
        :tabIndex="tabIndex"
        @changeTab="changeTab"
        ref="scrollTab"
      >
        <div class="scroll-content">
          <ul
            class="tab-scroll"
            :id="tabScroll"
            :style="{
              height: `${clientHeight}px`,
            }"
          >
            <li class="back-section">
              <el-button size="small" icon="el-icon-back" round @click="goBack"
                >返回列表</el-button
              >
            </li>
            <li
              v-for="(item, index) in treeList"
              :key="index"
              @click="changeTab(index, true)"
              class="tab-list"
              :class="{ active: tabIndex === index }"
            >
              <a>{{ item.tabname }}</a>
            </li>
          </ul>
          <ul
            class="content-scroll"
            :id="contentScroll"
            :style="{
              height: `${clientHeight}px`,
            }"
          >
            <li
              v-for="(item, index) in treeList"
              :key="index"
              class="content-list"
            >
              <div
                class="scroll-inner"
                :style="{
                  minHeight:
                    index === treeList.length - 1
                      ? `${clientHeight + 40}px`
                      : 'auto',
                }"
              >
                <p class="scroll-title">{{ item.tabname }}</p>
                <div class="inner-content">
                  <div class="form-content">
                    <el-form
                      v-if="item.tabname == '保证金信息'"
                      :inline="true"
                      ref="editForm"
                      :label-width="'180px'"
                      size="small"
                      :model="formValues"
                      :class="`form-cols-3`"
                    >
                      <el-form-item
                        v-for="(item, index) in computedFormList"
                        :prop="item.name"
                        :key="index"
                        :label="item.label"
                        :class="[
                          {
                            'textarea-item':
                              item.type === 'textarea' || item.isLong,
                          },
                          { 'textarea-grid': item.multiRow },
                        ]"
                      >
                        <CommInput
                          :class="{ 'percent-input': item.showPercent }"
                          :info="item"
                          @updateValue="updateValue"
                          :showList="computedFormList"
                        ></CommInput>
                      </el-form-item>
                    </el-form>
                  </div>
                  <!-- 保证金退款模块 -->
                  <div class="form-content">
                    <el-form
                      v-if="item.tabname == '保证金退款'"
                      :inline="true"
                      ref="refundFormContent"
                      :label-width="'180px'"
                      size="small"
                      :model="refundFormValues"
                      :rules="rules"
                      :class="`form-cols-3`"
                    >
                      <el-form-item
                        v-for="(item, index) in refundFormList"
                        :prop="item.name"
                        :key="index"
                        :label="item.label"
                        :class="[
                          {
                            'textarea-item':
                              item.type === 'textarea' || item.isLong,
                          },
                          { 'textarea-grid': item.multiRow },
                        ]"
                      >
                        <CommInput
                          :info="item"
                          @updateValue="refundUpdateValue"
                          :showList="refundFormList"
                        ></CommInput>
                      </el-form-item>
                    </el-form>
                  </div>
                  <div
                    v-if="item.tabname == '保证金退款'"
                    class="tab-form-buttons"
                    style="
                      display: flex;
                      flex-direction: row;
                      justify-content: center;
                    "
                  >
                    <p style="margin: 0 40px 0 0">
                      <el-button class="comm-button" @click="goBack"
                        >返回</el-button
                      >
                    </p>
                    <p style="margin: 0 0 0 40px">
                      <el-button
                        class="comm-button"
                        type="primary"
                        @click="mainSubmit"
                        :loading="mainSubmitLoading"
                        >提交</el-button
                      >
                    </p>
                  </div>
                </div>
              </div>
            </li>
            <Dialog
              v-model="isShowDialog"
              icon="succ"
              iconText="提交成功"
              :buttons="[{ text: '确定', type: 'primary' }]"
              @handleClick="goBack"
            ></Dialog>
          </ul>
        </div>
      </ScrollToTab>
    </el-main>
  </el-container>
</template>
<script>
import {
  qryProdList,
  queryDepositList,
  queryBankWaterInfo,
  depositClaim,
  qryBaseDepositInfo,
  qryBaseDepositInfoMap,
  saveBaseDepositInfo,
  queryCodeObject,
  malGetAllCityAreaList,
  prodDepositRefundApply,
} from "@comprehensive/serve/public";
import ScrollToTab from "./components/ScrollToTab";
import FormList from "./components/FormList";
import TableList from "./components/TableList";
import Dialog from "./components/Dialog.vue";
import FormInfo from "./components/FormInfo.vue";
import CommInput from "./components/CommInput.vue";
import {
  queryAcctLoanInfoMargin,
  productMarginInfo,
} from "@comprehensive/utils/formHeaders";
import { loanMarginManagementToBeClaimHeader } from "@comprehensive/utils/tableHeaders";
import {
  loanMarginManagementClaimSearch,
  loanMarginManagementToBeClaimedSearch,
} from "@comprehensive/utils/formItems";
export default {
  components: {
    ScrollToTab,
    FormList,
    TableList,
    Dialog,
    FormInfo,
    CommInput,
  },
  computed: {},
  data() {
    return {
      serialNo: "",
      tabScroll: "tab_scroll",
      contentScroll: "content_scroll",
      tabIndex: 0,
      clientHeight: 800,
      treeList: [],
      formValues: {},
      refundFormValues: {},
      computedFormList: [],
      rules: {
        name: [
          {
            required: true,
            message: "请输入退款收款账户户名",
            trigger: "blur",
          },
        ],
        accountNo: [
          {
            required: true,
            message: "请输入退款收款账户账号",
            trigger: "blur",
          },
        ],
        bankName: [
          {
            required: true,
            message: "请选择退款收款账户开户银行",
            trigger: "blur",
          },
        ],
        paymentAccountNo: [
          {
            required: true,
            message: "请输入退款收款账户开户分支行",
            trigger: "blur",
          },
        ],
        actualWaiveAmt: [
          { required: true, message: "请输入退款金额", trigger: "blur" },
          {
            pattern: /^[1-9]\d*(\.\d{1,2})?$/,
            message: "请输入数字值",
            trigger: "blur",
          },
        ],
      },
      refundFormList: [
        {
          type: "input",
          label: "退款收款账户户名",
          value: "",
          name: "name",
        },
        {
          type: "input",
          label: "退款收款账户账号",
          value: "",
          name: "accountNo",
        },
        {
          type: "select",
          label: "退款收款账户开户银行",
          value: "",
          // hide: true,
          name: "bankName",
          options: [],
        },
        {
          type: "autocomplete",
          label: "退款收款账户开户分支行",
          value: "",
          name: "paymentAccountNo",
        },
        {
          type: "input",
          label: "联行号",
          value: "",
          name: "paymentbranchno",
        },
        {
          type: "select",
          label: "退款收款账户开户行所在省",
          value: "",
          name: "province",
          descName: "provinceDesc",
          options: [],
        },
        {
          type: "select",
          label: "退款收款账户开户行所在市",
          value: "",
          name: "city",
          descName: "cityDesc",
          options: [],
        },
        {
          type: "input",
          label: "退款金额",
          value: "",
          name: "actualWaiveAmt",
          options: [],
          // attrs: ["readonly"],
          // disable: true,
        },
        {
          type: "textarea",
          label: "申请原因",
          value: "",
          name: "remark",
          style: {
            width: "562px",
            height: "100px",
          },
        },
        {
          type: "input",
          label: "申请日期",
          value: this.dayjs(new Date()).format("YYYY/MM/DD"),
          name: "refundDate",
          attrs: ["readonly"],
          disable: true,
        },
        {
          type: "input",
          label: "申请时间",
          value: this.dayjs(new Date()).format("HH:mm:ss"),
          name: "refundTime",
          attrs: ["readonly"],
          disable: true,
        },
        {
          type: "input",
          label: "申请人",
          value: "",
          name: "userName",
          attrs: ["readonly"],
          disable: true,
        },
        {
          type: "input",
          label: "申请人直属机构",
          value: "",
          name: "inputOrgName",
          attrs: ["readonly"],
          disable: true,
        },
      ],
 
      loading: false,
      mainSubmitLoading: false,
      isShowDialog: false,
      isShowSubmit: false,
      bankList: [],
      allProvinceList: [],
      allCityList: [],
    };
  },
  created() {
    this.init();
  },
  mounted() {
    this.setEleHeight();
    window.addEventListener("resize", this.setEleHeight);
  },
  beforeDestroy() {
    window.removeEventListener("resize", this.setEleHeight);
  },
  methods: {
    init() {
      this.serialNo = this.$route.params.id;
      this.tabIndex = 0;
      this.treeList = [
        {
          tabname: "保证金信息",
          exist: "Y",
          gray: "",
          visible: "",
          open: "",
          edit: "",
          readonly: "N",
          state: "LOAN_INFO",
        },
        {
          tabname: "保证金退款",
          exist: "Y",
          gray: "",
          visible: "",
          open: "",
          edit: "",
          readonly: "N",
          state: "LOAN_INFO",
        },
      ];
      this.qryProdList();
      this.requestQryBaseDepositInfoMap();
      this.queryCodeObject();
      this.qryAllCityAreaList();
    },
    // 产品名称下拉列表
    async qryProdList() {
      const res = await qryProdList({ productTypeNo: "" });
      const { result } = res;
      const { computedFormList } = this;
      computedFormList.map((item) => {
        if (item.name == "productName") {
          item.options = [
            { label: "", value: "" }, // 保留空选项
            ...result.map((product) => ({
              label: product.productName, // 将productName赋值给label
              value: product.productCode, // 将productCode赋值给value
            })),
          ];
        }
      });
    },
    setEleHeight() {
      const clientHeight = document.documentElement.clientHeight;
      this.clientHeight = clientHeight || 800;
    },
    // 返回列表
    goBack() {
      this.isShowDialog = false;
      window.history.go(-1);
    },
    // 切换tab的处理
    changeTab(index, flg = false) {
      this.tabIndex = index;
      this.$refs.scrollTab.setScrollTop(index, flg);
      this.$nextTick(() => this.$refs.scrollTab.setTabScrollTop());
    },
    //获取产品保证金基础数据
    async requestQryBaseDepositInfoMap() {
      const resp = await qryBaseDepositInfoMap({
        serialNo: this.serialNo,
        opt: 0,
      });
      if (resp.code == "00") {
        this.computedFormList = Object.values(resp.result)
          .filter((item) => item.visible !== false)
          .map((item) => {
            // 基础结构
            const formItem = {
              label: item.filedDescription, // 使用字段描述或字段名作为label
              value: item.value || "", // 值
              name: item.name, // 字段名
              options: [], // 默认空选项
            };
            if (item.writeAble === false) {
              // 不可编辑的字段设为input并添加只读属性
              formItem.attrs = ["readonly"];
              formItem.disable = true;
            } else {
              // 可编辑字段默认为select
              formItem.disable = false;
            }
            if (item.name === "productName") {
              if (this.canEdit) {
                formItem.type = "select"; // 产品名称用下拉框
              } else {
                formItem.type = "input";
              }
            } else {
              formItem.type = "input";
            }
            if (item.name === "depositRatio") {
              formItem.showPercent = true;
            }
            this.formValues[item.name] = resp.result[item.name].value;
            return formItem;
          });
      }
    },
    //获取开户行信息
    queryCodeObject() {
      queryCodeObject({ codeno: "BankCode" }).then((res) => {
        this.bankList = res.result.reduce((pre, curr) => {
          const { itemname, itemno } = curr;
          // let tempdepositStatus = isRecDeposit == '1'?'已收取':'未收取'
          pre.push({
            ...curr,
            label: itemname,
            value: itemno,
          });
          return pre;
        }, []);
        this.refundFormList.map((item) => {
          if (item.name == "bankName") {
            item.options = this.bankList;
          }
        });
      });
    },
    //获取开户行省市
    qryAllCityAreaList(areaCode = "") {
      if (areaCode) {
        malGetAllCityAreaList({ queryFlag: "02", areaCode: areaCode }).then(
          (res) => {
            this.allCityList = res.result.reduce((pre, curr) => {
              const { itemname, itemno } = curr;
              pre.push({
                ...curr,
                label: itemname,
                value: itemno,
              });
              return pre;
            }, []);
            this.refundFormList.map((item) => {
              if (item.name == "city") {
                item.options = this.allCityList;
              }
            });
          }
        );
      } else {
        malGetAllCityAreaList({ queryFlag: "01" }).then((res) => {
          this.allProvinceList = res.result.reduce((pre, curr) => {
            const { itemname, itemno } = curr;
            pre.push({
              ...curr,
              label: itemname,
              value: itemno,
            });
            return pre;
          }, []);
          this.refundFormList.map((item) => {
            if (item.name == "province") {
              item.options = this.allProvinceList;
            }
          });
        });
      }
    },
    //产品保证金退款申请
    async requestProdDepositRefundApply() {
      const { refundFormList, refundFormValues, serialNo } = this;
      this.mainSubmitLoading = true;
      try {
        const resp = await prodDepositRefundApply({
          object: serialNo,
          ...refundFormValues,
        });
        this.mainSubmitLoading = false;
        // 提交成功后存储标记
        localStorage.setItem("refreshProductMarginManagement", "true");
        this.isShowDialog = true;
      } catch (error) {
        this.mainSubmitLoading = false;
      }
    },
    updateValue(index, info) {
      const { computedFormList, formValues } = this;
      computedFormList.map((item) => {
        if (item.name == info.name) {
          item.value = index;
          formValues[item.name] = index;
        }
      });
    },
    refundUpdateValue(index, info) {
      const { refundFormList, refundFormValues } = this;
      // 更新表单值
      this.$set(refundFormValues, info.name, index);
      // 更新对应的formItem值(如果需要)
      refundFormList.forEach((item) => {
        if (item.name === info.name) {
          item.value = index;
        }
      });
 
      // 特殊处理
      if (info.name === "bankName") {
        const selectedBank = info.options.find((item) => item.value === index);
        if (selectedBank) {
          refundFormValues.bankName = selectedBank.itemname;
          refundFormValues.bankCode = selectedBank.attribute1;
        }
      }
      // //相关逻辑处理
      if (info.name == "province") {
        this.qryAllCityAreaList(index);
      }
    },
    //提交
    async mainSubmit() {
      const { refundFormList, refundFormValues } = this;
      this.$refs["refundFormContent"][0].validate(async (valid) => {
        if (valid) {
          this.requestProdDepositRefundApply();
        } else {
          return false;
        }
      });
    },
  },
};
</script>
 
<style lang="postcss" scoped>
.detail-header {
  display: flex;
  & .header-right {
    flex: 1;
  }
  & .header-right-inner {
    display: flex;
    background: #f9f9f9;
    align-items: center;
    margin: 0 0 10px;
    background: #fff;
    padding: 20px 20px 20px 10px;
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.03);
    & .header-steps {
      flex: 1;
    }
    & .detail-header-control {
      margin-left: 30px;
      & >>> .el-button {
        padding: 4px 5px;
        border-radius: 2px;
        border: 1px solid rgba(238, 238, 238, 1);
        font-size: 12px;
        color: rgba(119, 119, 119, 1);
      }
    }
 
    & >>> .el-button--text {
      padding-top: 20px;
    }
  }
}
 
.el-container .el-main {
  padding: 16px 0;
}
.el-container .el-header {
  padding: 0;
}
.main-tab {
  padding: 20px;
}
.main-buttons {
  display: flex;
  width: 100%;
  justify-content: center;
  padding-top: 80px;
  & >>> .el-button {
    padding: 8px 41px;
  }
  & >>> .el-button--default {
    margin-right: 33px;
  }
}
.empty-tab {
  width: 100%;
  min-height: 550px;
}
.flex-container {
  display: flex;
  flex-wrap: wrap; /* 允许多行布局 */
}
.form-content {
  & >>> .el-form {
    display: grid;
    padding-bottom: 6px;
    & .el-form-item {
      display: flex;
      align-items: center;
      padding-right: 40px;
      margin: 0 0 24px 0;
      & label {
        padding: 0;
        text-align: right;
        margin-right: 10px;
        line-height: 16px;
      }
      & .el-form-item__content {
        flex: 1;
        margin: 0;
      }
      &.right-item {
        justify-content: right;
        grid-column-start: 3;
        grid-column-end: 4;
      }
      & .el-date-editor {
        width: 100%;
      }
      & .el-input--small {
        font-size: 14px;
      }
      & .el-select {
        width: 100%;
      }
    }
    & .form-sign {
      & label::after {
        content: ":";
      }
    }
  }
 
  & >>> .el-tag--info {
    max-width: 94%;
    overflow: hidden;
  }
  & >>> .el-select__tags-text {
    display: inline-block;
    max-width: 110px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  & .from-buttons {
    /* padding-left: 82px; */
    display: flex;
    justify-content: flex-end;
    & p {
      margin: 0;
      padding: 0;
    }
    & >>> .el-button {
      height: 32px;
      font-size: 12px;
      margin-left: 12px;
    }
    & .normal-button {
      height: 32px;
      font-size: 14px;
      margin-left: 22px;
    }
    & .el-button--primary {
      background-color: #0081f0;
      border-color: #0081f0;
    }
  }
  & >>> .el-tag__close {
    top: -5px;
    right: -6px;
  }
  & >>> .el-form-item__label {
    color: #888888;
  }
  & >>> .el-input__inner {
    border-color: #eeeeee;
    color: #222222;
  }
 
  & .is-error >>> .el-input__inner {
    border-color: #f56c6c;
  }
 
  & .long-lable >>> .el-form-item__label {
    line-height: 1.3em;
    padding-top: 0;
  }
  & .textarea {
    width: 100%;
    & >>> textarea {
      height: 100%;
    }
  }
  & .range-separato {
    width: 10px;
    display: inline-block;
    text-align: center;
  }
  & .range-input-item {
    display: inline-block;
  }
 
  & .form-cols-1 {
    grid-template-columns: 1fr;
    & .textarea-item {
      grid-column-start: 1;
      grid-column-end: 1;
    }
    & .form-right {
      grid-column-start: 1;
      grid-column-end: 1;
    }
  }
 
  & .form-cols-2 {
    grid-template-columns: repeat(2, 1fr);
    & .textarea-item {
      grid-column-start: 1;
      grid-column-end: 3;
    }
    & .form-right {
      grid-column-start: 2;
      grid-column-end: 3;
    }
  }
  & .form-cols-3 {
    grid-template-columns: repeat(3, 1fr);
    & .textarea-item {
      grid-column-start: 1;
      grid-column-end: 4;
    }
    & .form-right {
      grid-column-start: 3;
      grid-column-end: 4;
    }
  }
 
  & .form-cols-4,
  & .form-cols-5 {
    grid-template-columns: repeat(4, 1fr);
 
    & .textarea-item {
      grid-column-start: 1;
      grid-column-end: 5;
    }
    & .form-right {
      grid-column-start: 4;
      grid-column-end: 5;
    }
    & .textarea-grid {
      grid-column-start: 1;
      grid-column-end: 1;
      grid-row-end: span 3;
      align-self: start;
      &:nth-child(2) {
        grid-column-start: 2;
        grid-column-end: 2;
      }
    }
    & .textarea-grid {
      & >>> .el-textarea__inner {
        height: 88px;
      }
    }
    & .textarea-grid1 {
      & >>> .el-textarea__inner {
        height: 88px;
      }
    }
  }
  & .form-cols-5 {
    grid-template-columns: repeat(5, 1fr);
    & .form-right {
      grid-column-start: 5;
    }
 
    & >>> .el-range-editor {
      width: 215px !important;
    }
  }
}
 
.scroll-content {
  display: flex;
  & .tab-scroll {
    width: 128px;
    padding: 0 16px;
    overflow-y: auto;
    list-style: none;
    font-size: 14px;
    background: #fff;
    &::-webkit-scrollbar {
      width: 0px;
      height: 10px;
    }
    & .tab-list {
      padding: 0 10px 34px 0;
      & a {
        cursor: pointer;
        font-weight: 400;
        color: #222222;
        &:hover {
          color: #409eff;
        }
      }
 
      &.active {
        & a {
          color: #0081f0;
        }
      }
    }
    & .back-section {
      background: #fff;
      border-radius: 0px 4px 0px 0px;
      padding: 16px 16px 30px 0;
      & >>> .el-button {
        padding: 5px 9.5px;
        border: none;
        background: rgba(238, 238, 238, 1);
        border-radius: 12px;
        font-weight: 400;
        color: #333333;
      }
      & >>> .el-button span {
        margin-left: 2px;
        font-size: 12px;
      }
      & >>> .el-button i {
        font-weight: bold;
      }
    }
  }
  & .content-scroll {
    flex: 1;
    overflow-y: auto;
    position: relative;
    margin: 0 0 0 20px;
    & .scroll-inner {
      background: #fff;
      box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.03);
      margin-bottom: 20px;
      & .scroll-title {
        font-size: 16px;
        border-bottom: solid 2px #eeeeee;
        color: #000;
        padding: 16px 20px;
        margin-bottom: 10px;
        font-weight: 500;
      }
      & .inner-content {
        padding: 0 0 20px 20px;
        & >>> .el-tabs__header {
          margin: 0;
        }
      }
      & .tab-form-buttons {
        display: flex;
        justify-content: center;
        padding: 60px 0 30px 0;
        & p {
          margin: 0 40px 0 0;
        }
        & p:last-child {
          margin-right: 0;
        }
      }
    }
    &::-webkit-scrollbar {
      width: 0;
      height: 10px;
    }
    & .last-scroll-inner {
      min-height: 620px;
    }
  }
}
.apply-top-button {
  & >>> .el-button {
    margin-left: 20px;
  }
}
.apply-info {
  & >>> .clearCheckAll {
    .el-table__header-wrapper .el-checkbox {
      display: none;
    }
  }
}
 
.qrcode-content {
  text-align: center;
  & .qrode-close {
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    & i {
      cursor: pointer;
      font-size: 18px;
    }
    /* text-align: right; */
  }
}
.percent-input::after {
  content: "%";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}
</style>