Canp.vue 11.6 KB
Newer Older
孟冬雪 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<template>
  <div class="eibs-tab">
    <c-row>
      <!-- =================顶部====================== -->
      <c-col :span="24">
        <c-col :span="11">
          <el-form-item label="L/C Reference" prop="ledgrp.rec.ownref">
            <c-input
              v-model="model.ledgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入L/C Reference"
            ></c-input>
          </el-form-item>
        </c-col>
孟冬雪 committed
15
        <c-col :span="11" :offset="1">
孟冬雪 committed
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
          <el-form-item label="Name" prop="ledgrp.rec.nam">
            <c-input
              v-model="model.ledgrp.rec.nam"
            
              maxlength="40"
              placeholder="请输入Name"
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="11" :offset="2">
        <el-form-item label="" prop="lttp0.ledget.sdamod.seainf">
            <c-input  v-model="model.lttp0.ledget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col> -->
        <c-col :span="11">
          <el-form-item label="Transfer Reference" prop="ltdgrp.rec.ownref">
            <c-input
              v-model="model.ltdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Transfer Reference"
            ></c-input>
          </el-form-item>
        </c-col>
孟冬雪 committed
39
        <c-col :span="11" :offset="1">
孟冬雪 committed
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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
          <el-form-item label="Name" prop="ltdgrp.rec.nam">
            <c-input
              v-model="model.ltdgrp.rec.nam"
              maxlength="40"
              placeholder="请输入Name"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <!-- <c-col :span="12">
        <el-form-item label="" prop="lttp0.recget.sdamod.seainf">
            <c-input  v-model="model.lttp0.recget.sdamod.seainf"  placeholder="请输入"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Drag  Drop Sender" prop="lttp0.recget.sdamod.dadsnd">
            <c-input  v-model="model.lttp0.recget.sdamod.dadsnd"  placeholder="请输入Drag  Drop Sender"></c-input>
        </el-form-item>
       </c-col> -->

      <!-- ====================左边======================= -->
      <c-col :span="11">
        <c-col :span="24">
          <c-col :span="6">
            <el-form-item
              label="Transfer L/C Amount"
              prop="ltdgrp.cbs.nom1.cur"
            >
              <c-select
                v-model="model.ltdgrp.cbs.nom1.cur"
                style="width: 100%"
                placeholder=""
              >
                <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="10">
            <el-form-item
              label=""
              label-width="15px"
              prop="ltdgrp.cbs.nom1.amt"
            >
              <c-input
                v-model="model.ltdgrp.cbs.nom1.amt"
                placeholder="请输入Balance"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="6" :offset="1" class="centerLable">
            <c-checkbox v-model="model.lttp0.aammod.addamtflg"
              >Add. Amount</c-checkbox
            >
          </c-col>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Available with" prop="ltdgrp.avt.pts.nam">
            <c-input
              v-model="model.ltdgrp.avt.pts.nam"
              maxlength="40"
              placeholder="请输入Available with"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Available by" prop="ltdgrp.rec.avbby">
            <c-select
              v-model="model.ltdgrp.rec.avbby"
              style="width: 100%"
              placeholder="请选择Available by"
孟冬雪 committed
117
              :code="codes.avbby"
孟冬雪 committed
118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Shipment Date" prop="ltdgrp.rec.shpdat">
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.shpdat"
              style="width: 100%"
              placeholder="请选择Shipment Date"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Date Issued/Form" prop="ltdgrp.rec.opndat">
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.opndat"
              style="width: 100%"
              placeholder="请选择Date Issued/Form"
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="" prop="ltdgrp.rec.lcrtyp">
            <c-select
              v-model="model.ltdgrp.rec.lcrtyp"
              style="width: 100%"
              placeholder="请选择Date Issued/Form"
孟冬雪 committed
148
              :code="codes.lcrtyp"
孟冬雪 committed
149 150 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 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <el-form-item label="Date / Place of Expiry" prop="ltdgrp.rec.expdat">
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.expdat"
              style="width: 100%"
              placeholder="请选择Date / Place of Expiry"
            ></c-date-picker>
          </el-form-item>
        </c-col>

        <c-col :span="12">
          <el-form-item label="" prop="ltdgrp.rec.expplc">
            <c-input
              v-model="model.ltdgrp.rec.expplc"
              maxlength="29"
              placeholder="请输入Date / Place of Expiry"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="Narrative" prop="lttcanp.trnrec.strinf">
            <c-input
              type="textarea"
              v-model="model.lttcanp.trnrec.strinf"
              :autosize="{ minRows: 20, maxRows: 38}"
              style="height:339px"
              maxlength="50"
              show-word-limit
              placeholder="请输入Narrative"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>
      <!-- <c-col :span="24">
        <el-form-item label="Transfer L/C Amount" prop="ltdgrp.cbs.nom1.cur">
            <c-input  v-model="model.ltdgrp.cbs.nom1.cur" maxlength="3"  placeholder="请输入Transfer L/C Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="ltdgrp.cbs.nom1.amt">
            <c-input  v-model="model.ltdgrp.cbs.nom1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.lttp0.aammod.addamtflg">Add. Amount</c-checkbox>
       </c-col> -->
      <!-- ========================右边======================= -->
      <c-col :span="11" :offset="1">
        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '第一受益人',
              grp: 'ltdgrp',
              rol: 'be1',
            }"
            :disabled="true"
            @onSeainf="onSeainf"
            @onAplpDet="onBe1pDet"
          >
          </c-ptap>
        </c-col>
        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '第二受益人',
              grp: 'ltdgrp',
              rol: 'be2',
            }"
            :disabled="true"
            @onSeainf="onSeainf"
            @onAplpDet="onBe2pDet"
          >
          </c-ptap>
        </c-col>
        <c-col :span="24">
          <c-ptap
            :model="model"
            :argadr="{
              title: '通知行',
              grp: 'ltdgrp',
              rol: 'adt',
            }"
            :disabled="true"
            @onSeainf="onSeainf"
            @onAplpDet="onAdtpDet"
          >
          </c-ptap>
        </c-col>
        <c-col :span="24">
          <c-checkbox v-model="model.sndmsg" 
          style="height:100%;width:100%;margin-left:50px;">Send Message</c-checkbox>
        </c-col>
        <!-- <c-col :span="24">
        <el-fo rm-item label="1st Beneficiary" prop="ltdgrp.be1.pts.ref">
            <c-input  v-model="model.ltdgrp.be1.pts.ref" maxlength="16"  placeholder="请输入1st Beneficiary"></c-input>
        </el-form-item>
       </c-col>
                                   
       <c-col :span="12">
        <el-form-item label="Open Amount" prop="ltdgrp.cbs.opn1.cur">
            <c-input  v-model="model.ltdgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入Open Amount"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Balance" prop="ltdgrp.cbs.opn1.amt">
            <c-input  v-model="model.ltdgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="ltdgrp.be1.pts.nam">
            <c-input  v-model="model.ltdgrp.be1.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   
 
                                                    
       <c-col :span="12">
        <el-form-item label="2nd Beneficiary" prop="ltdgrp.be2.pts.ref">
            <c-input  v-model="model.ltdgrp.be2.pts.ref" maxlength="16"  placeholder="请输入2nd Beneficiary"></c-input>
        </el-form-item>
       </c-col>
                                   

                                   

                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="ltdgrp.be2.pts.nam">
            <c-input  v-model="model.ltdgrp.be2.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   

                  

                                                    
       <c-col :span="12">
        <el-form-item label="Advising Bank" prop="ltdgrp.adt.pts.ref">
            <c-input  v-model="model.ltdgrp.adt.pts.ref" maxlength="16"  placeholder="请输入Advising Bank"></c-input>
        </el-form-item>
       </c-col>
                                   

                  
       <c-col :span="12">
        <el-form-item label="Name of Party" prop="ltdgrp.adt.pts.nam">
            <c-input  v-model="model.ltdgrp.adt.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>
                                   

                  
       <c-col :span="12">
        <c-button size="small" type="primary" icon="el-icon-search" @click="onCanletButtxmsel">
            ...
        </c-button>
       </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
       </c-col> -->
      </c-col>
    </c-row>
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
327
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
328 329 330 331 332 333 334
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttcan/Event";
import Ptap from "~/views/Public/Ptap";
export default {
  components: { "c-ptap": Ptap },
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
335
  mixins: [commonProcess],
孟冬雪 committed
336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
.centerLable {
  margin-left: -10px;
  height: 32px;
  line-height: 32px;
}
.marginLable {
  padding-left: 150px;
}
</style>