Ovwp.vue 9.23 KB
Newer Older
李少勇 committed
1 2 3
<template>
  <div class="eibs-tab">
    <c-col :span="24">
4 5 6 7
      <!-- ==================左边================ -->
        <c-col :span="12" style="padding-right: 20px">
          <!-- S0000039 : 结售汇业务参考号 -->
      <c-col :span="24">
李少勇 committed
8
        <c-form-item :label="$t('fxtp.结售汇业务参考号')" prop="fxtp.fxdgrp.rec.ownref">
9
          <c-fullbox>
李少勇 committed
10
          <c-input v-model="model.fxtp.fxdgrp.rec.ownref" maxlength="16"></c-input>
11 12 13 14 15 16 17
           <template slot="footer">
                            <c-button style="margin: 0 0" size="small" type="primary" 
                            @click="getOwnref">
                            获取
                            </c-button>
                        </template>
          </c-fullbox>
李少勇 committed
18 19 20 21
        </c-form-item>
      </c-col>
      <!-- S0000041 : 业务负责人 -->
  
22 23
      <c-col :span="24">
        <c-form-item label="业务负责人" prop="fxtp.usrget.usr.extkey">
李少勇 committed
24 25
          <c-input v-model="model.fxtp.usrget.usr.extkey" maxlength="8"></c-input>
        </c-form-item>
26 27

        <c-form-item label="" prop="fxtp.usrget.sdamod.seainf" style="display:none">
李少勇 committed
28 29 30 31 32
          <c-input v-model="model.fxtp.usrget.sdamod.seainf"></c-input>
        </c-form-item>
      </c-col>
      <!-- S0000047 : 结售汇类型 -->
  
33
      <c-col :span="24">
李少勇 committed
34
        <el-form-item :label="$t('fxtp.结售汇类型')" prop="fxtp.fxdgrp.rec.fxtyp">
35
          <c-select v-model="model.fxtp.fxdgrp.rec.fxtyp" :code="codes.fxt_fxtyp" style="width:100%">
李少勇 committed
36 37 38
          </c-select>
        </el-form-item>
      </c-col>
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

      <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="Sale Amount" prop="fxtp.fxdgrp.cbs.max.cur">
                    <c-select-cur v-model="model.fxtp.fxdgrp.cbs.max.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="fxtp.fxdgrp.cbs.max.amt">
                    <c-input-currency
                        :currency="model.fxtp.fxdgrp.cbs.max.cur"
                        v-model="model.fxtp.fxdgrp.cbs.max.amt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>
        <c-col :span="24">
                <c-col :span="12">
                    <el-form-item label="Domestic Cur.Amount" prop="fxtp.fxdgrp.cbs.nom1.cur">
                    <c-select-cur v-model="model.fxtp.fxdgrp.cbs.nom1.cur" style="width: 100%" dbCode="curtxt"> </c-select-cur>
                    </el-form-item>
                </c-col>
                <c-col :span="12">
                    <el-form-item label-width="5px" prop="fxtp.fxdgrp.cbs.nom1.amt">
                    <c-input-currency
                        :currency="model.fxtp.fxdgrp.cbs.nom1.cur"
                        v-model="model.fxtp.fxdgrp.cbs.nom1.amt"></c-input-currency>
                    </el-form-item>
                </c-col>
            </c-col>

            <!-- S0000060 : 对外牌价 -->
李少勇 committed
70
  
71
      <c-col :span="24">
李少勇 committed
72 73 74 75
        <c-form-item :label="$t('fxtp.对外牌价')" prop="fxtp.fxdgrp.rec.rat">
          <c-input v-model="model.fxtp.fxdgrp.rec.rat"></c-input>
        </c-form-item>
      </c-col>
76

李少勇 committed
77
      <!-- S0000061 : 中间价 -->
78
  <c-col :span="24">
李少勇 committed
79 80 81 82 83 84 85
      <c-col :span="12">
        <c-form-item :label="$t('fxtp.中间价')" prop="fxtp.fxdgrp.rec.midrat">
          <c-input v-model="model.fxtp.fxdgrp.rec.midrat"></c-input>
        </c-form-item>
      </c-col>
  
      <c-col :span="12">
86
        <el-form-item label-width="5px" prop="fxtp.cshflg">
87
          <c-select v-model="model.fxtp.cshflg" :code="codes.cshflg" style="width:100%">
李少勇 committed
88 89 90
          </c-select>
        </el-form-item>
      </c-col>
91 92 93
  </c-col>

  <!-- S0000064 : 登记日期 -->
李少勇 committed
94
  
95
      <c-col :span="24">
李少勇 committed
96 97 98 99
        <el-form-item :label="$t('fxtp.登记日期')" prop="fxtp.fxdgrp.rec.opndat">
          <c-date-picker type="date" v-model="model.fxtp.fxdgrp.rec.opndat" style="width:100%"></c-date-picker>
        </el-form-item>
      </c-col>
100 101

  <!-- S0000072 : 远期交割日 -->
李少勇 committed
102
  
103
      <c-col :span="24">
李少勇 committed
104 105 106 107
        <el-form-item :label="$t('fxtp.远期交割日')" prop="fxtp.fxdgrp.rec.setdat">
          <c-date-picker type="date" v-model="model.fxtp.fxdgrp.rec.setdat" style="width:100%"></c-date-picker>
        </el-form-item>
      </c-col>
108

李少勇 committed
109 110
      <!-- S0000073 : 择期交割起始日 -->
  
111
      <c-col :span="24">
李少勇 committed
112 113 114 115 116 117
        <el-form-item :label="$t('fxtp.择期交割起始日')" prop="fxtp.fxdgrp.rec.setdatfrm">
          <c-date-picker type="date" v-model="model.fxtp.fxdgrp.rec.setdatfrm" style="width:100%"></c-date-picker>
        </el-form-item>
      </c-col>
      <!-- S0000078 : 外币结算账号 -->
  
118
  <c-col :span="24">
李少勇 committed
119 120
      <c-col :span="12">
        <el-form-item :label="$t('fxtp.外币结算账号')" prop="fxtp.fxdgrp.rec.dsp">
121
          <c-select v-model="model.fxtp.fxdgrp.rec.dsp" :code="codes.fxt_dsp" style="width:100%">
李少勇 committed
122 123 124 125 126
          </c-select>
        </el-form-item>
      </c-col>
  
      <c-col :span="12">
127
        <el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc">
128
          <c-select v-model="model.fxtp.fxdgrp.rec.acc"  style="width:100%">
李少勇 committed
129 130 131
          </c-select>
        </el-form-item>
      </c-col>
132 133 134
  </c-col>

  <!-- S0000075 : 交易主体 -->
李少勇 committed
135
  
136 137
      <c-col :span="24">
        <el-form-item :label="$t('fxtp.交易主体')" prop="fxtp.fxdgrp.rec.trnman">
138
          <c-select v-model="model.fxtp.fxdgrp.rec.trnman" :code="codes.trnman" style="width:100%">
李少勇 committed
139 140 141
          </c-select>
        </el-form-item>
      </c-col>
142 143 144 145 146 147 148 149 150 151 152 153 154 155 156

      <!-- S0000069 : 备注 -->
  
      <c-col :span="24">
        <c-form-item :label="$t('fxtp.备注')" prop="fxtp.fxdgrp.blk.remark">
          <c-input type="textarea" v-model="model.fxtp.fxdgrp.blk.remark" maxlength="35" show-word-limit></c-input>
        </c-form-item>
      </c-col>
        </c-col>

        

         <!-- ==================右边================ -->
    <c-col :span="12" style="padding-right: 20px">
      <!-- S0000040 : 名称 -->
李少勇 committed
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
      <c-col :span="24">
        <c-form-item :label="$t('fxtp.名称')" prop="fxtp.fxdgrp.rec.nam">
          <c-input v-model="model.fxtp.fxdgrp.rec.nam" maxlength="40"></c-input>
        </c-form-item>
      </c-col>
      <c-col :span="24">
                    <el-card class="box-card">
                        <c-ptap :model="model" :requiredExtkey="true" :disabledExtkey="false" :disabled="false" :isAdrblk="true" :haveAdrLabel="true"
                        :isShowCard="false" :argadr="{title: '结售汇申请人',grp: 'fxdgrp', rol: 'apl',}"
                        :label="{labelExtkey:'结售汇申请人',labelNam:'名称',labelAdrblk:'地址'}" ptytyp="C">
                        </c-ptap>
                    </el-card>
          </c-col>
          <!-- S0000062 : 询价编号 -->
  
      <c-col :span="24">
        <c-form-item :label="$t('fxtp.询价编号')" prop="fxtp.fxdgrp.rec.quoref">
          <c-input v-model="model.fxtp.fxdgrp.rec.quoref" maxlength="16"></c-input>
        </c-form-item>
      </c-col>
      <!-- S0000063 : 资金部编号 -->
  
      <c-col :span="24">
        <c-form-item :label="$t('fxtp.资金部编号')" prop="fxtp.fxdgrp.rec.fudref">
          <c-input v-model="model.fxtp.fxdgrp.rec.fudref" maxlength="16"></c-input>
        </c-form-item>
      </c-col>

          <!-- S0000065 : 起息日 -->
  
      <c-col :span="24">
        <el-form-item :label="$t('fxtp.起息日')" prop="fxtp.fxdgrp.rec.valdat">
          <c-date-picker type="date" v-model="model.fxtp.fxdgrp.rec.valdat" style="width:100%"></c-date-picker>
李少勇 committed
191 192
        </el-form-item>
      </c-col>
193 194
      
      <!-- S0000074 : 择期交割截止日 -->
李少勇 committed
195
  
196 197 198
      <c-col :span="24">
        <el-form-item :label="$t('fxtp.择期交割截止日')" prop="fxtp.fxdgrp.rec.setdatto">
          <c-date-picker type="date" v-model="model.fxtp.fxdgrp.rec.setdatto" style="width:100%"></c-date-picker>
李少勇 committed
199 200
        </el-form-item>
      </c-col>
201 202 203 204

      <c-col :span="24">
        <c-col :span="12">
          <el-form-item :label="$t('fxtp.本币结算账号')" prop="fxtp.fxdgrp.rec.dsp2">
205
            <c-select v-model="model.fxtp.fxdgrp.rec.dsp2" :code="codes.fxt_dsp2" style="width:100%">
206 207 208 209 210 211
            </c-select>
          </el-form-item>
        </c-col>
    
        <c-col :span="12">
          <el-form-item label-width="5px" prop="fxtp.fxdgrp.rec.acc2">
212
            <c-select v-model="model.fxtp.fxdgrp.rec.acc2"  style="width:100%">
213 214 215 216 217 218
            </c-select>
          </el-form-item>
        </c-col>
     </c-col>

<!-- S0000076 : 结售汇类型 -->
李少勇 committed
219
  
220
      <c-col :span="24">
221
        <el-form-item :label="$t('fxtp.Exchange Title')" prop="fxtp.fxdgrp.rec.trdint">
李少勇 committed
222 223 224
          <c-select v-model="model.fxtp.fxdgrp.rec.trdint" style="width:100%">
          </c-select>
        </el-form-item>
225
        <el-form-item  prop="fxtp.fxdgrp.rec.trdout" style="display:none">
李少勇 committed
226 227 228 229
          <c-select v-model="model.fxtp.fxdgrp.rec.trdout" style="width:100%">
          </c-select>
        </el-form-item>
      </c-col>
230
    </c-col>
李少勇 committed
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253
    </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
import Event from "../event"

export default {
  inject: ['root'],
  props: ["model", "codes"],
  mixins: [],
  data() {
    return {

    }
  },
  methods: { ...Event },
  created: function () {

  }
}
</script>
<style></style>