Canp.vue 9.16 KB
Newer Older
chenwen committed
1
<template>
chenwen committed
2 3 4 5 6 7 8 9 10
  <div class="eibs-tab">                        
    <c-row>     
     <!-- =================顶部====================== -->   
     <c-col :span="24">                     
        <c-col :span="12">
            <el-form-item label="参考号" prop="didgrp.rec.ownref">
                <c-input  v-model="model.didgrp.rec.ownref" disabled maxlength="16"  placeholder="请输入参考号"></c-input>
            </el-form-item>
        </c-col>
chenwen committed
11
                                   
chenwen committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
        <c-col :span="12">
            <el-form-item label="名称" prop="didgrp.rec.nam">
                <c-input  v-model="model.didgrp.rec.nam" disabled maxlength="40"  placeholder="请输入名称"></c-input>
            </el-form-item>
        </c-col>
      </c-col>         
     <!-- ====================左边======================= -->
    <c-col :span="11">  
        <c-col :span="12">
        <el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
          <c-select
            disabled
            v-model="model.didgrp.cbs.nom1.cur"
            style="width: 95%"
            placeholder="请选择Currency"
            @keyup.enter.native="nom1CurEvent"
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="8">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="didgrp.cbs.nom1.amt"
        >
          <c-input-currency
            disabled
            v-model="model.didgrp.cbs.nom1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入信用证金额"
            @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
          ></c-input-currency>
        </el-form-item>
      </c-col>
        <c-col :span="3">
	        <c-checkbox v-model="model.ditp0.aammod.addamtflg">附加金额标志</c-checkbox>
        </c-col>


        <c-col :span="12">
        <el-form-item label="信用证余额" prop="didgrp.cbs.nom1.cur">
          <c-select
            disabled
            v-model="model.didgrp.cbs.nom1.cur"
            style="width: 95%"
            placeholder="请选择Currency"
            @keyup.enter.native="nom1CurEvent"
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="8">
        <el-form-item
          style="text-align: left"
          label-width="0"
          prop="didgrp.cbs.opn1.amt"
        >
          <c-input-currency
            disabled
            v-model="model.didgrp.cbs.opn1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入信用证金额"
            @keyup.enter.native="defaultFunction('didgrp.cbs.opn1.amt', model.didgrp.cbs.opn1.amt)"
          ></c-input-currency>
        </el-form-item>
      </c-col>
      <c-col :span="3">
          <c-checkbox v-model="model.didgrp.rec.revflg">循环信用证标志</c-checkbox>
      </c-col>

      <c-col :span="24">
        <el-form-item label="指定银行" prop="didgrp.avbnam">
            <c-input disabled v-model="model.didgrp.avbnam" maxlength="40"  placeholder="请输入指定银行"></c-input>
chenwen committed
100
        </el-form-item>
chenwen committed
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
      </c-col>
      


      <c-col :span="18">
        <el-form-item label="兑付方式" prop="didgrp.rec.avbby">
            <c-select disabled v-model="model.didgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式">
            </c-select>
        </el-form-item>
      </c-col>
      <c-col :span="6">
	      <c-checkbox disabled v-model="model.didgrp.rec.redclsflg">红/绿条款</c-checkbox>
      </c-col>
        <c-col :span="24">
        <c-col :span="13">
        <el-form-item label="开立日期" prop="didgrp.rec.opndat">
            <c-date-picker type="date" disabled v-model="model.didgrp.rec.opndat" style="width:100%"  placeholder="请选择开立日期"></c-date-picker>
chenwen committed
118
        </el-form-item>
chenwen committed
119
        </c-col>
chenwen committed
120
       </c-col>
chenwen committed
121 122 123 124 125

      <c-col :span="24">
       <c-col :span="13">
        <el-form-item label="到期日" prop="didgrp.rec.expdat">
            <c-date-picker type="date" disabled v-model="model.didgrp.rec.expdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
chenwen committed
126 127
        </el-form-item>
       </c-col>
chenwen committed
128 129 130 131
      </c-col>
      <c-col :span="24">
        <el-form-item label="有效地点" prop="didgrp.rec.expplc">
            <c-input type="textarea" disabled v-model="model.didgrp.rec.expplc" maxlength="35" show-word-limit placeholder="请输入到期日" ></c-input>
chenwen committed
132
        </el-form-item>
chenwen committed
133 134 135 136 137
      </c-col>
       <c-col :span="24">
        <el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
            <c-select v-model="model.didgrp.rec.lcrtyp" disabled style="width:100%" placeholder="请选择信用证类型">
              </c-select>
chenwen committed
138 139
        </el-form-item>
       </c-col>
chenwen committed
140 141 142 143

      <c-col :span="24">
        <el-form-item label="附言" prop="ditcanf.strinf">
            <c-input type="textarea" v-model="model.ditcanf.strinf" maxlength="50" show-word-limit placeholder="请输入附言" ></c-input>
chenwen committed
144
        </el-form-item>
chenwen committed
145 146 147 148 149
      </c-col>

      <c-col :span="24">
        <el-form-item label="注销/闭卷原因" prop="didgrp.blk.canrsn">
            <c-input type="textarea" v-model="model.didgrp.blk.canrsn" maxlength="35" show-word-limit placeholder="请输入注销/闭卷原因" ></c-input>
chenwen committed
150
        </el-form-item>
chenwen committed
151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
      </c-col>


    </c-col>

     <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">                              
        <c-col :span="24">
            <el-form-item
            label="申请人           参考号"
            prop="didgrp.apl.pts.ref"
            style="width: 100%"
            >
            <c-input
            disabled
            v-model="model.didgrp.apl.pts.ref"
            maxlength="16"
            placeholder="请输入申请人           参考号"
            ></c-input>
            </el-form-item>
        </c-col>
        
       <c-col :span="24">
        <el-form-item label="申请人名称" prop="didgrp.apl.pts.nam">
            <c-input disabled v-model="model.didgrp.apl.pts.nam" maxlength="40"  placeholder="请输入申请人"></c-input>
chenwen committed
176 177
        </el-form-item>
       </c-col>
chenwen committed
178 179 180
       <c-col :span="24">
        <el-form-item label="受益人参考号" prop="didgrp.ben.pts.ref">
            <c-input  disabled v-model="model.didgrp.ben.pts.ref" maxlength="16"  placeholder="请输入受益人参考号"></c-input>
chenwen committed
181 182
        </el-form-item>
       </c-col>
chenwen committed
183 184 185
       <c-col :span="24">
        <el-form-item label="受益人名称" prop="didgrp.ben.pts.nam">
            <c-input disabled v-model="model.didgrp.ben.pts.nam" maxlength="40"  placeholder="请输入受益人名称"></c-input>
chenwen committed
186 187
        </el-form-item>
       </c-col>
chenwen committed
188 189 190 191
       <c-col :span="24">
        <c-col :span="13">
        <el-form-item label="提货日期/服务提供日" prop="didgrp.rec.shpdat">
            <c-date-picker type="date" disabled  v-model="model.didgrp.rec.shpdat" style="width:100%"  placeholder="请选择Shipment Date"></c-date-picker>
chenwen committed
192
        </el-form-item>
chenwen committed
193
        </c-col>
chenwen committed
194
       </c-col>
chenwen committed
195
      <c-col :span="24">
chenwen committed
196
        <el-form-item label="通知行编号" prop="didgrp.rec.tzref">
chenwen committed
197
            <c-input disabled v-model="model.didgrp.rec.tzref" maxlength="35"  placeholder="请输入通知行编号"></c-input>
chenwen committed
198 199
        </el-form-item>
       </c-col>
chenwen committed
200
       <c-col :span="24">
chenwen committed
201
        <el-form-item label="通知行" prop="didgrp.adv.pts.ref">
chenwen committed
202
            <c-input disabled v-model="model.didgrp.adv.pts.ref" maxlength="16"  placeholder="请输入通知行"></c-input>
chenwen committed
203 204
        </el-form-item>
       </c-col>
chenwen committed
205 206 207
       <c-col :span="24">
        <el-form-item label="通知行名称" prop="didgrp.adv.pts.nam">
            <c-input disabled v-model="model.didgrp.adv.pts.nam" maxlength="40"  placeholder="请输入通知行名称"></c-input>
chenwen committed
208 209
        </el-form-item>
       </c-col>
chenwen committed
210 211 212 213
      <c-col :span="24">
	    <c-checkbox v-model="model.byinst">根据申请人指示</c-checkbox>
      </c-col>          
       <c-col :span="24">
chenwen committed
214 215
	    <c-checkbox v-model="model.sndmsg">Send message to apllicant</c-checkbox>
       </c-col>
chenwen committed
216 217

       <c-col :span="24">
chenwen committed
218 219 220 221 222
        <el-form-item label="注销/闭卷" prop="rejhnd">
            <c-select v-model="model.rejhnd" style="width:100%" placeholder="请选择注销/闭卷">
              </c-select>
        </el-form-item>
       </c-col>
chenwen committed
223 224 225 226

    </c-col>                  

    </c-row>             
chenwen committed
227 228 229 230 231
                  
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
232
import commonProcess from "~/mixin/commonProcess";
chenwen committed
233 234 235 236 237 238
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditcan/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
239
    mixins: [commonProcess],
chenwen committed
240 241 242 243 244 245 246 247 248 249 250 251 252 253
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>