<template>
  <div>
    <el-col :span="12">
      <el-col :span="22">
        <el-form-item label="委托行">
          <el-col :span="24" class="m-inputbtn">
            <el-col class="m-inputbtn-input">
              <el-input  v-model="model.didgrp.age.pts.extkey" maxlength="100"  placeholder="请输入" disabled></el-input>
              <el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch" disabled></el-button>
            </el-col>
          </el-col>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="名称">
          <el-input v-model="model.didgrp.age.pts.namcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="地址">
          <el-input v-model="model.didgrp.age.pts.adrcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="合同编号">
          <el-input v-model="model.didgrp.rec.conno" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="合同金额">
					<el-col :span="24">
						<el-col :span="12" class="m-cur-select">
							<el-form-item>
								<el-select v-model="model.didgrp.rec.concur" 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-form-item>
						</el-col>
						<el-col :span="12">
							<el-form-item>
								<el-input v-model="model.didgrp.rec.conamt" :precision="2" :step="0.1" :max="100000000000000" placeholder="请输入"></el-input>
							</el-form-item>
						</el-col>
					</el-col>
				</el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="分批装运货物/提供服务">
          <el-select v-model="model.didgrp.rec.shppar" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.allow"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="分期装运/提供服务">
          <el-select v-model="model.didgrp.rec.shpper" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.allow"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="转运">
          <el-select v-model="model.didgrp.rec.shptrs" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.allow"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="是否可转让">
          <el-select v-model="model.didgrp.rec.traflg" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.yesno"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="保兑标志">
          <el-select v-model="model.didgrp.rec.cfmflg" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.yesno"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-col>



    <el-col :span="12">
      <el-col :span="22">
        <el-form-item label="转让行">
          <el-col :span="24" class="m-inputbtn">
            <el-col class="m-inputbtn-input">
              <el-input v-model="model.didgrp.a2b.pts.extkey" maxlength="100"  placeholder="请输入" disabled></el-input>
              <el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch" disabled></el-button>
            </el-col>
          </el-col>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="名称">
          <el-input v-model="model.didgrp.a2b.pts.namcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="地址">
          <el-input v-model="model.didgrp.a2b.pts.adrcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="保兑行">
          <el-col :span="24" class="m-inputbtn">
            <el-col class="m-inputbtn-input">
              <el-input v-model="model.didgrp.con.pts.extkey" maxlength="100"  placeholder="请输入" disabled></el-input>
              <el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch" disabled></el-button>
            </el-col>
          </el-col>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="名称">
          <el-input v-model="model.didgrp.con.pts.namcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="地址">
          <el-input v-model="model.didgrp.con.pts.adrcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="议付行">
          <el-col :span="24" class="m-inputbtn">
            <el-col class="m-inputbtn-input">
              <el-input v-model="model.didgrp.neg.pts.extkey" maxlength="100"  placeholder="请输入" disabled></el-input>
              <el-button type="primary" icon="el-icon-search" class="m-inputbtn-btn" @click="handleSearch" disabled></el-button>
            </el-col>
          </el-col>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="名称">
          <el-input v-model="model.didgrp.neg.pts.namcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="地址">
          <el-input v-model="model.didgrp.neg.pts.adrcn" maxlength="32"  placeholder="请输入" disabled></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="指定议付行">
          <el-select v-model="model.didgrp.rec.negflg" style="width:100%" placeholder="请输入">
            <el-option
              v-for="item in codes.negCode"
              :key="item.value"
              :label="item.label"
              :value="item.value">
            </el-option>
          </el-select>
        </el-form-item>
      </el-col>
    </el-col>

    <el-col :span="18">
      <el-col :span="22">
        <el-form-item label="货物运输或交货方式/服务方式" label-width="250px">
          <el-input v-model="model.didgrp.rec.tratyp" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="分期装运/提供服务约定"  label-width="250px">
          <el-input v-model="model.didgrp.rec.trdapt" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="交单期限" label-width="250px">
          <el-input v-model="model.didgrp.rec.preper" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="货物装运地(港)" label-width="250px">
          <el-input v-model="model.didgrp.rec.shpfro" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="货物目的地、交货地（港）" label-width="250px">
          <el-input v-model="model.didgrp.rec.shpto" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="服务提供地点" label-width="250px">
          <el-input v-model="model.didgrp.rec.shppro" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>

      <el-col :span="22">
        <el-form-item label="有效地点" label-width="250px">
          <el-input v-model="model.didgrp.rec.expplc" maxlength="32"  placeholder="请输入"></el-input>
        </el-form-item>
      </el-col>
    </el-col>
  </div>
</template>

<script>
export default {
  props: ['model', 'codes'],
  methods: {
    handleSearch () {
      console.log('搜索')
    },
  }
}
</script>