Canp.vue 11.1 KB
Newer Older
cyy committed
1
<template>
LiRui committed
2
  <div class="eibs">
3 4 5 6
    <!-- <c-row class="infrow" style="margin-top: 50px"> -->
    <!-- ============================顶部================================ -->
    <c-row>
      <c-col :span="24">
LiRui committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
        <c-col :span="12" style="padding-right: 20px;">
          <el-form-item label="出口信用证编号" prop="ledgrp.rec.ownref">
            <c-input
              v-model="model.ledgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入编号"
              :disabled="true"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12" style="padding-left: 20px;">
          <el-form-item label="简略信息" prop="ledgrp.rec.nam">
            <c-input
              text-align="middle"
              v-model="model.ledgrp.rec.nam"
              maxlength="40"
              placeholder="请输入"
24 25
              disabled
            >
LiRui committed
26
            </c-input>
27 28
          </el-form-item>
        </c-col>
LiRui committed
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
      </c-col>
    </c-row>

        <!-- ========================上半部分的左边=========================== -->
    <c-row>
      <c-col :span="12" style="padding-right: 20px;">
        <!-- L/C Amount -->
        <c-col :span="24">
          <c-col :span="11">
            <el-form-item label="信用证金额" prop="ledgrp.cbs.nom1.cur">
              <c-select
                v-model="model.ledgrp.cbs.nom1.cur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.curtxt1"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="" label-width="5px" prop="ledgrp.cbs.nom1.amt">
              <c-input-currency
                v-model="model.ledgrp.cbs.nom1.amt"
                style="text-align: left; width: 100%"
                class="m-input-currency"
                placeholder="请输入信用证金额"
                @keyup.enter.native="$event.target.blur()"
                disabled
              ></c-input-currency>
              <!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
            </el-form-item>
          </c-col>

          <c-col :span="5">
            <c-checkbox
              v-model="model.letp0.aammod.addamtflg"
              style="margin-left: 10px"
67
              disabled
LiRui committed
68 69 70
              >附加金额</c-checkbox
            >
          </c-col>
71 72
        </c-col>

LiRui committed
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
                  <!-- Open Amount -->
        <c-col :span="24">
          <c-col :span="11">
            <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
              <c-select
                v-model="model.ledgrp.cbs.opn1.cur"
                maxlength="3"
                placeholder="请选择币种"
                disabled
                :code="codes.curtxt1"
              ></c-select>
            </el-form-item>
          </c-col>
          <c-col :span="8">
            <el-form-item label="" label-width="5px" prop="ledgrp.cbs.opn1.amt">
              <c-input
                v-model="model.ledgrp.cbs.opn1.amt"
                style="text-align: left; width: 100%"
                class="m-input-currency"
                placeholder="请输入金额"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="model.ledgrp.rec.revflg"
99 100
            style="margin-left: 10px"
            disabled
LiRui committed
101 102 103
              >循环信用证</c-checkbox
            >
          </c-col>
104 105
        </c-col>

LiRui committed
106 107 108 109 110 111 112 113 114 115 116 117
        <c-row>
          <c-col :span="19">
            <el-form-item label="可用银行" prop="ledgrp.avbnam">
              <c-input
                v-model="model.ledgrp.avbnam"
                maxlength="40"
                placeholder="请输入可用银行"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-row>
118

LiRui committed
119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134
        <c-col :span="24">
          <c-col :span="19">
            <el-form-item label="兑付方式" prop="ledgrp.rec.avbby">
              <c-select
                v-model="model.ledgrp.rec.avbby"
                style="width: 100%"
                placeholder="请选择兑付方式"
                disabled
                :code="codes.avbby"
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="5">
            <c-checkbox v-model="model.ledgrp.rec.redclsflg"
              style="margin-left: 10px"
135
              disabled
LiRui committed
136 137 138 139 140 141 142 143 144 145 146 147
              >红/绿条款</c-checkbox
            >
          </c-col>
        </c-col>
        
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="开立日期" prop="ledgrp.rec.opndat">
              <c-date-picker
                type="date"
                v-model="model.ledgrp.rec.opndat"
                style="width: 100%"
wangna committed
148
                placeholder="请选择开立日期"
LiRui committed
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165
                value-format="yyyy-MM-dd"
                disabled
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label="装运日期" prop="ledgrp.rec.shpdat">
              <c-date-picker
                type="date"
                v-model="model.ledgrp.rec.shpdat"
                style="width: 100%"
                placeholder="请选择日期"
                value-format="yyyy-MM-dd"
                disabled
              ></c-date-picker>
            </el-form-item>
          </c-col>
166 167
        </c-col>

LiRui committed
168 169 170 171 172 173 174
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="生效日期" prop="ledgrp.rec.expdat">
              <c-date-picker
                type="date"
                v-model="model.ledgrp.rec.expdat"
                style="width: 100%"
wangna committed
175
                placeholder="请选择生效日期"
LiRui committed
176 177 178 179 180 181 182 183 184 185
                value-format="yyyy-MM-dd"
                disabled
              ></c-date-picker>
            </el-form-item>
          </c-col>
          <c-col :span="12">
            <el-form-item label="" label-width="5px" prop="ledgrp.rec.expplc">
              <c-input
                v-model="model.ledgrp.rec.expplc"
                maxlength="29"
wangna committed
186
                placeholder="请输入"
LiRui committed
187 188 189 190 191 192
                value-format="yyyy-MM-dd"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
193 194

        <c-col :span="24">
LiRui committed
195 196 197 198 199 200 201 202 203 204 205 206
          <el-form-item label="信用证类型" prop="ledgrp.rec.lcrtyp">
            <c-select
              v-model="model.ledgrp.rec.lcrtyp"
              style="width: 100%"
              placeholder="请选择类型"
              disabled
              :code="codes.lcrtyp"
            >
            </c-select>
          </el-form-item>
        </c-col>  
      </c-col>
207 208

        <!-- ========================上半部分的右边======================= -->
LiRui committed
209
      <c-col :span="12" style="padding-left: 20px;">
210
        <c-col :span="24">
LiRui committed
211 212 213 214
          <el-form-item label="申请人参考号" prop="ledgrp.apl.pts.ref">
            <c-input
              v-model="model.ledgrp.apl.pts.ref"
              maxlength="16"
wangna committed
215
              placeholder="请输入申请人参考号"
LiRui committed
216 217 218 219 220 221 222 223 224 225 226 227 228 229
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="" prop="ledgrp.apl.pts.nam">
            <c-input
              v-model="model.ledgrp.apl.pts.nam"
              maxlength="40"
              placeholder="请输入"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
230 231

        <c-col :span="24">
LiRui committed
232 233 234 235
          <el-form-item label="开证行参考号" prop="ledgrp.iss.pts.ref">
            <c-input
              v-model="model.ledgrp.iss.pts.ref"
              maxlength="16"
wangna committed
236
              placeholder="请输入开证行参考号"
LiRui committed
237 238 239 240
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
241
        <c-col :span="24">
LiRui committed
242 243 244 245 246 247 248 249 250
          <el-form-item label="开证行名称" prop="ledgrp.iss.pts.nam">
            <c-input
              v-model="model.ledgrp.iss.pts.nam"
              maxlength="40"
              placeholder="请输入名称"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
251 252

        <c-col :span="24">
LiRui committed
253 254 255 256 257 258 259 260 261
          <el-form-item label="受益人参考号" prop="ledgrp.ben.pts.ref">
            <c-input
              v-model="model.ledgrp.ben.pts.ref"
              maxlength="16"
              placeholder="请输入参考号"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
262
        <c-col :span="24">
LiRui committed
263 264 265 266 267 268 269 270 271
          <el-form-item label="受益人名称" prop="ledgrp.ben.pts.nam">
            <c-input
              v-model="model.ledgrp.ben.pts.nam"
              maxlength="40"
              placeholder="请输入名称"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
272
        <c-col :span="24">
LiRui committed
273 274 275 276
          <el-form-item label="确认文本" prop="letp0.cnftxt">
            <c-input
              v-model="model.letp0.cnftxt"
              maxlength="40"
wangna committed
277
              placeholder="请输入"
LiRui committed
278 279 280 281 282
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
283 284 285 286 287
          
    </c-row>

          <!-- ========================下半部分======================= -->
    <c-row>
LiRui committed
288 289 290 291 292 293 294 295 296 297
      <c-col :span="12" style="padding-right: 20px;">
        <c-col :span="24">
          <el-form-item label="叙述信息" prop="letcanf.strinf">
            <c-fullbox>
              <c-input
                type="textarea"
                v-model="model.letcanf.strinf"
                maxlength="1750"
                :rows="5"
                show-word-limit
wangna committed
298
                placeholder="请输入"
LiRui committed
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314
              ></c-input>
              <template slot="footer">
                <!-- @click="onCanletButtxmsel" -->
                <c-button
                  size="small"
                  type="primary"
                  icon="el-icon-more"
                  @click="showGridPromptDialog('letcanp.canlet.buttxmsel', null, null,{TXT: 'letcanf.strinf'}, {TXT: false},'doxpDialog')"
                >
                </c-button>
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <el-form-item label="" prop="sndmsg" class="checkbox-left">
          <c-checkbox v-model="model.sndmsg">发送信息</c-checkbox>
315 316 317 318 319
        </el-form-item>
      </c-col>
          
    </c-row>

jianglong committed
320
    
321
  </div>
cyy committed
322 323
</template>
<script>
324 325 326 327 328 329
import Api from '~/service/Api'
import commonProcess from '~/mixin/commonProcess'
import CodeTable from '~/config/CodeTable'
import Event from '~/model/Letcan/Event'
import Utils from '~/utils'
import Ptap from '~/views/Public/Ptap'
cyy committed
330 331

export default {
332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348
  components: { 'c-ptap': Ptap },
  inject: ['root'],
  props: ['model', 'codes'],
  mixins: [commonProcess],
  data() {
    return {
      // watch:{
      //     ownref(newValue){
      //         this.model.ledgrp.rec.ownref = newValue;
      //     }
      // }
    }
  },
  methods: {
    ...Event,
  },
  created: function () {},
cyy committed
349 350 351 352 353 354
}

// let vm = new Vue({
// el="#ownref",date:{}
// });
</script>
355
<style></style>