Canp.vue 5.9 KB
Newer Older
fukai committed
1 2
<template>
  <div class="eibs-tab">
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
    <!-- S0000076 : 头寸调拨业务参考号 -->
    <c-col :span="12">
      <c-form-item
        :label="$t('fttpcm.头寸调拨业务参考号')"
        prop="ftdgrp.rec.ownref"
      >
        <c-fullbox>
          <c-input v-model="model.ftdgrp.rec.ownref" maxlength="16"></c-input>
          <template slot="footer">
            <c-button size="small" style="margin-left: 5px" type="primary">
              Get Ref
            </c-button>
          </template>
        </c-fullbox>
      </c-form-item>
    </c-col>
    <!-- S0000077 : 名称 -->
    <c-col :span="12">
      <c-form-item :label="$t('fttp.名称')" prop="ftdgrp.rec.nam">
        <c-input v-model="model.ftdgrp.rec.nam" maxlength="40"></c-input>
      </c-form-item>
    </c-col>

    <c-col :span="24">
      <el-divider></el-divider>
    </c-col>

    <c-col :span="12">
      <!-- S0000080 : 资金部负责人 -->
      <c-col :span="24">
        <c-form-item :label="$t('fttp.资金部负责人')" prop="fttp.usr.extkey">
          <c-input v-model="model.fttp.usr.extkey" maxlength="8"></c-input>
        </c-form-item>
      </c-col>
      <!-- S0000063 : 头寸调拨类型 -->
      <c-col :span="24">
        <c-form-item :label="$t('fttpcn.头寸调拨类型')" prop="ftdgrp.rec.fttyp">
          <c-select v-model="model.ftdgrp.rec.fttyp" style="width: 100%">
          </c-select>
        </c-form-item>
      </c-col>
      <!-- S0000083 : 头寸调拨金额 -->
      <c-col :span="24">
        <c-col :span="10">
          <c-form-item
            :label="$t('fttp.头寸调拨金额')"
            prop="ftdgrp.cbs.max.cur"
          >
            <c-select v-model="model.ftdgrp.cbs.max.cur" style="width: 100%">
            </c-select>
          </c-form-item>
fukai committed
54
        </c-col>
55 56 57 58
        <c-col :span="14">
          <c-form-item label-width="10px" prop="ftdgrp.cbs.max.amt">
            <c-input v-model="model.ftdgrp.cbs.max.amt"></c-input>
          </c-form-item>
fukai committed
59
        </c-col>
60 61 62 63 64 65 66 67 68 69 70 71 72
      </c-col>
      <!-- S0000067 : 待销账金额 -->
      <c-col :span="24">
        <c-col :span="10">
          <c-form-item
            :label="$t('fttpcn.待销账金额')"
            prop="ftdgrp.cbs.opn2.cur"
          >
            <c-select
              v-model="model.ftdgrp.cbs.opn2.cur"
              maxlength="3"
            ></c-select>
          </c-form-item>
fukai committed
73
        </c-col>
74 75 76 77 78 79 80 81 82 83 84 85
        <c-col :span="14">
          <c-form-item label-width="10px" prop="ftdgrp.cbs.opn2.amt">
            <c-input v-model="model.ftdgrp.cbs.opn2.amt"></c-input>
          </c-form-item>
        </c-col>
      </c-col>
      <!-- S0000068 : 实际销账金额 -->
      <c-col :span="24">
        <c-col :span="10">
          <c-form-item :label="$t('fttpcn.实际销账金额')" prop="setmod.doccur">
            <c-select v-model="model.setmod.doccur" maxlength="3"></c-select>
          </c-form-item>
fukai committed
86
        </c-col>
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
        <c-col :span="14">
          <c-form-item label-width="10px" prop="canamt">
            <c-input v-model="model.canamt"></c-input>
          </c-form-item>
        </c-col>
      </c-col>
      <c-col :span="24" style="display:inline-flex;padding-left: 150px;">
        <c-checkbox v-model="model.mtabut.clsflg">{{
          $t("mtabut.业务闭卷")
        }}</c-checkbox>
      </c-col>
    </c-col>

    <c-col :span="12">
      <!-- S0000078 : 头寸调出行 -->
      <c-col :span="24">
        <c-form-item :label="$t('fttp.头寸调出行')" prop="ftdgrp.tro.pts.ref">
          <c-input v-model="model.ftdgrp.tro.pts.ref" maxlength="20"></c-input>
        </c-form-item>
      </c-col>
      <c-col :span="24">
        <c-form-item prop="ftdgrp.tro.pts.extkey">
          <c-fullbox>
            <c-input
              v-model="model.ftdgrp.tro.pts.extkey"
              maxlength="16"
            ></c-input>
            <template slot="footer">
              <c-button size="small" style="margin-left: 5px" type="primary">
                i
              </c-button>
              <c-button size="small" style="margin-left: 5px" type="primary">
                明细
              </c-button>
            </template>
          </c-fullbox>
        </c-form-item>
      </c-col>
      <c-col :span="24">
        <c-form-item label="" prop="ftdgrp.tro.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.ftdgrp.tro.pts.adrblk"
            :rows="3"
            maxlength="35"
            show-word-limit
          ></c-input>
        </c-form-item>
      </c-col>
      <!-- S0000066 : 头寸调入行 -->
      <c-col :span="24">
        <c-form-item :label="$t('fttpcn.头寸调入行')" prop="ftdgrp.tri.pts.ref">
          <c-input v-model="model.ftdgrp.tri.pts.ref" maxlength="20"></c-input>
        </c-form-item>
      </c-col>
      <c-col :span="24">
        <c-form-item prop="ftdgrp.tri.pts.extkey">
          <c-fullbox>
            <c-input
              v-model="model.ftdgrp.tri.pts.extkey"
              maxlength="16"
            ></c-input>
            <template slot="footer">
              <c-button size="small" style="margin-left: 5px" type="primary">
                i
              </c-button>
              <c-button size="small" style="margin-left: 5px" type="primary">
                明细
              </c-button>
            </template>
          </c-fullbox>
        </c-form-item>
      </c-col>
      <c-col :span="24">
        <c-form-item label="" prop="ftdgrp.tri.pts.adrblk">
          <c-input
            type="textarea"
            v-model="model.ftdgrp.tri.pts.adrblk"
            :rows="3"
            maxlength="35"
            show-word-limit
          ></c-input>
        </c-form-item>
      </c-col>
    </c-col>
fukai committed
172 173 174
  </div>
</template>
<script>
175 176
import Api from "~/service/Api";
import event from "../event";
fukai committed
177 178

export default {
179 180 181 182 183 184 185 186 187
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event],
  data() {
    return {};
  },
  methods: {},
  created: function () {},
};
fukai committed
188 189 190
</script>
<style>
</style>