<template>
<div>
  <el-col :span="24">
    <el-col :span="6" class="suffix-title">
      币种
    </el-col>
    <el-col :span="18">
      <c-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>
      </c-select>
    </el-col>
  </el-col>
  <el-col :span="6" class="suffix-title">
    原始金额
  </el-col>
  <el-col :span="18">
    <c-input  v-model="model.oldamt" maxlength="32"  placeholder="请输入"></c-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    变动金额
  </el-col>
  <el-col :span="18">
    <c-input  v-model="model.chgamt" maxlength="32"  placeholder="请输入"></c-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    金额
  </el-col>
  <el-col :span="18">
    <c-input  v-model="model.amt" maxlength="32"  placeholder="请输入"></c-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    结算账号
  </el-col>
  <el-col :span="18">
    <c-input  v-model="model.cusact" maxlength="32"  placeholder="请输入"></c-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    保证金账号
  </el-col>
  <el-col :span="18">
    <c-input  v-model="model.ccvact" maxlength="32"  placeholder="请输入"></c-input>
  </el-col>
  <el-col :span="6" class="suffix-title">
    记账
  </el-col>
  <el-col :span="18">
    <c-select v-model="model.gleflg" style="width:100%" placeholder="请选择">
      <el-option
        v-for="item in codes.onsel"
        :key="item.value"
        :label="item.label"
        :value="item.value">
      </el-option>
    </c-select>
  </el-col>
</div>
</template>
<script>
export default {
  inject: ['root'],
  props: ['model', 'codes']
}
</script>
<style scoped>
.suffix-title {
  line-height: 40px;
}
[class*=el-col-] {
  height: 50px;
}
</style>