Selection.vue 4.44 KB
Newer Older
Wuyuqiu committed
1 2 3
<template>
  <div class="eibs-tab">
    <!-- ======================= 左边 ========================= -->
Wuyuqiu committed
4 5 6 7 8 9 10 11 12 13 14 15
    <c-col :span="12" style="padding-right: 20px"> 
     <c-col :span="24">
      <el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
        <c-date-picker
          type="date"
          v-model="model.ctlmod.dbl.reldat"
          style="width: 100%"
          placeholder="请输入收付汇日期"
          disabled
        ></c-date-picker>
      </el-form-item>
    </c-col>
Wuyuqiu committed
16 17 18 19 20
     <c-col :span="24">
        <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left"> 
          <c-checkbox
                disabled :checked="true"
                v-model="model.bopbut.basflg"
21
                >基础信息</c-checkbox
Wuyuqiu committed
22 23 24
              >
        </el-form-item>
      </c-col>
Wuyuqiu committed
25 26
    </c-col>
    <!-- ======================= 右边 ========================= -->
Wuyuqiu committed
27 28 29 30 31 32 33 34
    <c-col :span="12" style="padding-left: 20px"> 
     <c-col :span="24">
      <el-form-item label="款项去向" prop="bopbut.acttyp">
        <c-select
          v-model="model.bopbut.acttyp"
          style="width: 100%"
          placeholder="请输入款项去向"
          disabled
LiRui committed
35
          :code="codes.acttyp"
Wuyuqiu committed
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
        >
        </c-select>
      </el-form-item>
    </c-col>
    </c-col>
    <!-- S0000015 : 收付汇日期 -->

    
<!-- 
    <c-col :span="12">
      <span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab">
      </span>
    </c-col>

    

    <c-col :span="12">
      <el-form-item label="�'�易类型" prop="ctlmod.wrkdbl.trdtyp">
        <c-select
          v-model="model.ctlmod.wrkdbl.trdtyp"
          style="width: 100%"
          :placeholder="$t('other.please_enter')+'�'�易类型'"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBopbutSav">
        {{ $t("butp.C0000006") }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBopbutMod">
        {{ $t("butp.C0000009") }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBopbutChk">
        {{ $t("butp.C0000007") }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button size="small" icon="el-icon-delete" @click="onBopbutDel">
        {{ $t("butp.C0000010") }}
      </c-button>
Wuyuqiu committed
85
    </c-col>
Wuyuqiu committed
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

    <c-col :span="12">
      <span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel"> </span>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.bopbut.vrfflg">{{
        $t("bopbut.C0000011")
      }}</c-checkbox>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.bopbut.basflg">{{
        $t("bopbut.C0000009")
      }}</c-checkbox>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.bopbut.dclflg">{{
        $t("bopbut.C0000010")
      }}</c-checkbox>
    </c-col>

    <c-col :span="12">
      <c-checkbox v-model="model.bopbut.ackflg">{{
        $t("bopbut.C0000014")
      }}</c-checkbox>
    </c-col>

    <c-col :span="12">
      <c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
        <c-input
          type="textarea"
          v-model="model.bopbut.actiondesc"
          maxlength="32"
          show-word-limit
          :placeholder="$t('other.please_enter') + '修改/删除原因'"
        ></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBopbutAdd">
        {{ $t("bopbut.C0000019") }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onButpErr">
        {{ $t("butp.C0000013") }}
      </c-button>
    </c-col>

    <c-col :span="12">
      <c-button size="small" type="primary" @click="onBopbutExt">
        {{ $t("butp.CG000004") }}
      </c-button>
    </c-col> -->
Wuyuqiu committed
144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
  </div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbcinf/Event";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
Wuyuqiu committed
159 160 161 162 163 164 165 166 167 168
  computed:{
    basflg: {
      get() {
        return this.model.opbut.basflg === "X";
      },
      set(val) {
        this.model.opbut.basflg = val ? "X" : "";
      },
    },
  },
Wuyuqiu committed
169 170 171 172 173 174
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>