Accp.vue 12.4 KB
Newer Older
1
<template>
2 3 4 5 6 7 8 9 10 11 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
  <div class="eibs">
     <!-- =================顶部====================== -->
    <c-row>
      <!-- =======左边======== -->
      <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
          <c-col :span="20">
            <el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref" style="width: 100%">
              <c-input
                disabled
                v-model="model.ltdgrp.rec.ownref"
                maxlength="16"
                style="width: 95%"
                placeholder="请输入转让信用证编号"
              ></c-input>
            </el-form-item>
          </c-col>
          <c-col :span="1">
              <c-button size="small" type="primary" style="margin: 0 10px 0 0; padding: 0 12px" @click="onSeainf">
                <i class="el-icon-info" style="font-size:15px"></i>
              </c-button>
          </c-col>
           <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            :disabled="!this.flag && model.ltdgrp.rec.ownref == ''? false:true"
            @click="onDetpButgetref"
          >
            获取
          </c-button>
        </c-col>
        </c-col>


       <c-col :span="24">
        <c-col :span="20">
          <el-form-item
            label="单据编号"
            prop="btdgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.btdgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入出口单据编号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
          >
            <i class="el-icon-info" style="font-size:15px"></i>
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            :disabled="!this.flag && model.btdgrp.rec.ownref == ''? false:true"
            @click="onDetpButgetref"
          >
            获取
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <!-- </c-col> -->
wangna committed
82 83
      </c-col>
      </c-col>
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 117 118 119 120 121 122 123 124 125 126 127
      <!-- =====右边 =====-->
    <c-col :span="12" style="padding-left: 20px">
      <c-col :span="24">
          <c-col :span="20">
          <el-form-item
            label="信用证编号"
            prop="ledgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.ledgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入信用证编号"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="1" style="text-align: right"> -->
        <c-col :span="1">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 10px 0 0; padding: 0 12px"
            size="small"
            type="primary"
            @click="onSeainf"
          >
            <i class="el-icon-info" style="font-size:15px"></i>
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
        <c-col :span="2" :offset="1" style="text-align: right">
          <!-- <el-form-item label="" label-width="5px"> -->
          <c-button
            style="margin: 0 0"
            size="small"
            type="primary"
            :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
            @click="onDetpButgetref"
          >
            获取
          </c-button>
          <!-- </el-form-item> -->
        </c-col>
wangna committed
128
      </c-col>
129 130

      <c-col :span="24">
wangna committed
131 132
        <el-form-item label="票据合同名称" prop="btdgrp.rec.nam">
          <c-input
133
            disabled
wangna committed
134 135 136 137 138 139 140
            v-model="model.btdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入票据合同名称"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
141
    </c-row>
142

143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172
<!-- ================================================= -->
   
      <c-row>
      <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
              <c-select
                v-model="model.btdgrp.cbs.max.cur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
                disabled
              >
              </c-select>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="5px" prop="btdgrp.cbs.max.amt">
              <c-input-currency
                v-model="model.btdgrp.cbs.max.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>
173

174 175 176 177 178 179
          <c-col :span="5">
            <c-checkbox
              v-model="model.bttp0.aammod.addamtflg"
              style="margin-left: 10px"
              disabled
              >附加金额</c-checkbox
wangna committed
180
            >
181 182
          </c-col>
        </c-col>
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
        <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
              <c-select
                v-model="model.btdgrp.cbs.opn1.cur"
                style="width: 100%"
                placeholder="请输入余额"
                :code="codes.cur"
                disabled
              ></c-select>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="5px" prop="btdgrp.cbs.opn1.amt">
              <c-input
                v-model="model.btdgrp.cbs.opn1.amt"
                style="text-align: left; width: 100%"
                class="m-input-currency"
                placeholder="请输入余额"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
208

wangna committed
209 210 211
      <c-col :span="24">
        <el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
          <c-select
212
            disabled
wangna committed
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227
            v-model="model.btdgrp.rec.doctypcod"
            style="width: 100%"
            maxlength="1"
            placeholder="请选择单据类型"
          >
            <el-option
              v-for="item in codes.doctypcod"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
228

wangna committed
229 230 231 232
      <c-col :span="24">
        <el-form-item label="到期日" prop="btdgrp.rec.matdat">
          <c-date-picker
            type="date"
233
            disabled
wangna committed
234
            v-model="model.btdgrp.rec.matdat"
235
            value-format="yyyy-MM-dd"
wangna committed
236 237 238 239 240
            style="width: 100%"
            placeholder="请选择到期日"
          ></c-date-picker>
        </el-form-item>
      </c-col>
241

wangna committed
242 243 244 245 246 247 248
      <c-col :span="24">
        <el-form-item
          label="从第二受益人那收到单据日期"
          prop="btdgrp.rec.rcvdatbe2"
        >
          <c-date-picker
            type="date"
249
            disabled
wangna committed
250
            v-model="model.btdgrp.rec.rcvdatbe2"
251
            value-format="yyyy-MM-dd"
wangna committed
252 253 254 255 256
            style="width: 100%"
            placeholder="请选择从第二受益人那收到单据日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
257

wangna committed
258 259 260 261 262 263 264
      <c-col :span="24">
        <el-form-item
          label="从第一受益人那收到单据日期"
          prop="btdgrp.rec.rcvdatbe1"
        >
          <c-date-picker
            type="date"
265
            disabled
wangna committed
266
            v-model="model.btdgrp.rec.rcvdatbe1"
267
            value-format="yyyy-MM-dd"
wangna committed
268 269 270 271 272
            style="width: 100%"
            placeholder="请选择从第一受益人那收到单据日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
273

wangna committed
274 275 276
      <c-col :span="24">
        <el-form-item label="单据状态" prop="btdgrp.rec.docsta">
          <c-select
277
            disabled
wangna committed
278 279 280 281 282 283 284 285 286 287 288 289 290 291 292
            v-model="model.btdgrp.rec.docsta"
            style="width: 100%"
            maxlength="40"
            placeholder="请选择单据状态"
          >
            <el-option
              v-for="item in codes.docsta"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
      </c-col>
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
      <c-col :span="24">
          <c-col :span="12">
            <el-form-item label="更改金额" prop="setmod.doccur">
              <c-select
                v-model="model.setmod.doccur"
                style="width: 100%"
                placeholder="请选择币种"
                :code="codes.cur"
                disabled
              ></c-select>
            </el-form-item>
          </c-col>
          <c-col :span="7">
            <el-form-item label="" label-width="5px" prop="setmod.docamt">
              <c-input
                v-model="model.setmod.docamt"
                style="text-align: left; width: 100%"
                class="m-input-currency"
                placeholder="更改金额"
                disabled
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
wangna committed
318 319
    </c-col>
    <!-- ========================右边======================= -->
320 321 322 323 324 325 326 327 328 329 330
      <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
          <el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
            <c-input
              disabled
              v-model="model.btdgrp.be1.pts.ref"
              maxlength="16"
              placeholder="请输入第一受益人"
            ></c-input>
          </el-form-item>
        </c-col>
331

332 333 334 335 336 337 338 339 340 341
        <c-col :span="24">
          <el-form-item label="" prop="btdgrp.be1.pts.nam">
            <c-input
              disabled
              v-model="model.btdgrp.be1.pts.nam"
              maxlength="40"
              placeholder="请输入"
            ></c-input>
          </el-form-item>
        </c-col>
342

343
        <c-col :span="24">&nbsp;</c-col>
344

345 346 347 348 349 350 351 352 353 354
        <c-col :span="24">
          <el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
            <c-input
              disabled
              v-model="model.btdgrp.be2.pts.ref"
              maxlength="16"
              placeholder="请输入第二受益人"
            ></c-input>
          </el-form-item>
        </c-col>
355

356 357 358 359 360 361 362 363 364 365
        <c-col :span="24">
          <el-form-item label="" prop="btdgrp.be2.pts.nam">
            <c-input
              disabled
              v-model="model.btdgrp.be2.pts.nam"
              maxlength="40"
              placeholder="请输入"
             ></c-input>
          </el-form-item>
        </c-col>
366

367 368 369 370 371
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
372

373
         <c-col :span="24">
wangna committed
374 375 376 377 378 379 380 381 382 383
        <el-form-item label="承兑报文的详细内容" prop="trnmod.swiadd.strinf">
          <c-input
            type="textarea"
            v-model="model.trnmod.swiadd.strinf"
            maxlength="35"
            show-word-limit
            placeholder="请输入承兑报文的详细内容"
          ></c-input>
        </el-form-item>
      </c-col>
384 385
      </c-col>
    </c-row>
386 387 388
  </div>
</template>
<script>
wangna committed
389
import Api from "~/service/Api";
wangren committed
390
import commonProcess from "~/mixin/commonProcess";
wangna committed
391 392
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttacc/Event";
393 394

export default {
wangna committed
395 396 397 398 399 400 401 402 403
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
404 405 406
</script>
<style>
</style>