<template>
<div>
  <el-col :span="6" class="suffix-title">
    借/贷
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.debcdtflg" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    结算币种
  </el-col>
  <el-col :span="18">
    <el-select v-model="model.cur" style="width:100%" placeholder="请选择">
      <el-option
        v-for="item in codes.curtxt"
        :key="item.value"
        :label="item.label"
        :value="item.value">
      </el-option>
    </el-select>
  </el-col>
  <el-col :span="6" class="suffix-title">
    结算金额
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.amt" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    结算方式
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.dsp" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    账户
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.act" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    原币种
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.acccur" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    原金额
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.accamt" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    汇率
  </el-col>
  <el-col :span="18">
    <el-input  v-model="model.rat" maxlength="32"  placeholder="请输入"></el-input>
  </el-col>
</div>
</template>
<script>
export default {
  props: ['model', 'codes']
}
</script>
<style scoped>
.suffix-title {
  line-height: 40px;
}
[class*=el-col-] {
  height: 50px;
}
</style>