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