<template>
<div>
  <c-col :span="6" class="suffix-title">
    借/贷
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.debcdtflg" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    结算币种
  </c-col>
  <c-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>
  </c-col>
  <c-col :span="6" class="suffix-title">
    结算金额
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.amt" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    结算方式
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.dsp" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    账户
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.act" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    原币种
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.acccur" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    原金额
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.accamt" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
  <c-col :span="6" class="suffix-title">
    汇率
  </c-col>
  <c-col :span="18">
    <el-input  v-model="model.rat" maxlength="32"  placeholder="请输入"></el-input>
  </c-col>
</div>
</template>
<script>
export default {
  props: ['model', 'codes']
}
</script>
<style scoped>
.suffix-title {
  line-height: 40px;
}
[class*=c-col-] {
  height: 50px;
}
</style>