Selection.vue 4.45 KB
Newer Older
liumin committed
1 2
<template>
  <div class="eibs-tab">
liumin committed
3
    <!-- ======================= 左边 ========================= -->
liumin 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>
liumin committed
16 17 18 19 20 21 22 23 24
     <c-col :span="24">
        <el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left"> 
          <c-checkbox
                disabled :checked="true"
                v-model="model.bopbut.basflg"
                >基础数据</c-checkbox
              >
        </el-form-item>
      </c-col>
liumin committed
25 26 27 28 29 30 31 32 33 34
    </c-col>
    <!-- ======================= 右边 ========================= -->
    <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
35
          :code="codes.bopacttyp1"
liumin committed
36 37 38 39
        >
        </c-select>
      </el-form-item>
    </c-col>
liumin committed
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
    </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>
    </c-col>

    <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> -->
liumin committed
144 145 146
  </div>
</template>
<script>
liumin committed
147
import Api from "~/service/Api";
liumin committed
148
import commonProcess from "~/mixin/commonProcess";
liumin committed
149 150
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Dbcinf/Event";
liumin committed
151 152

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