Accp.vue 9.68 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
wangna committed
3 4 5 6 7 8 9 10 11
    <!-- =================顶部====================== -->
    <c-col :span="24">
      <c-col :span="8">
        <el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
          <c-input
            v-model="model.ltdgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入转让信用证编号"
          ></c-input>
12
        </el-form-item>
wangna committed
13 14 15
      </c-col>
      <c-col :span="4">
        <el-form-item label="" label-width="15px">
nanrui committed
16
          <c-button size="small" class="el-icon-info" type="primary"></c-button>
17
          <c-button size="small" type="primary" :disbled="model.ltdgrp.rec.ownref !== ''">获取</c-button>
wangna committed
18 19 20 21 22 23 24 25 26 27 28 29 30
        </el-form-item>
      </c-col>
      <c-col :span="8">
        <el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
          <c-input
            v-model="model.ledgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入信用证编号"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="4">
        <el-form-item label="" label-width="15px">
nanrui committed
31
          <c-button size="small" class="el-icon-info" type="primary"></c-button>
32
          <c-button size="small" type="primary" :disabled="model.ledgrp.rec.ownref !== ''">获取</c-button>
wangna committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
        </el-form-item>
      </c-col>
    </c-col>
    <c-col :span="24">
      <c-col :span="8">
        <el-form-item label="单据编号" prop="btdgrp.rec.ownref">
          <c-input
            v-model="model.btdgrp.rec.ownref"
            maxlength="16"
            placeholder="请输入单据编号"
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="4">
        <el-form-item label="" label-width="15px">
nanrui committed
48
          <c-button size="small" class="el-icon-info" type="primary"></c-button>
49
          <c-button size="small" type="primary" :disabled="btdgrp.rec.ownref !== ''">获取</c-button>
wangna committed
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
        </el-form-item>
      </c-col>
      <c-col :span="11">
        <el-form-item label="票据合同名称" prop="btdgrp.rec.nam">
          <c-input
            v-model="model.btdgrp.rec.nam"
            maxlength="40"
            placeholder="请输入票据合同名称"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ====================左边======================= -->
    <c-col :span="11">
      <c-col :span="15">
        <el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
          <c-select
            v-model="model.btdgrp.cbs.max.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="8">
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="btdgrp.cbs.max.amt"
        >
          <c-input-currency
            v-model="model.btdgrp.cbs.max.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入单据金额"
          ></c-input-currency>
        </el-form-item>
      </c-col>
94

wangna committed
95 96 97 98 99
      <c-col :span="1">
        <el-form-item label="附加金额" prop="bttp0.aammod.addamtflg">
          <c-checkbox v-model="model.bttp0.aammod.addamtflg"></c-checkbox>
        </el-form-item>
      </c-col>
100

wangna committed
101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
      <c-col :span="15">
        <el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
          <c-select
            v-model="model.btdgrp.cbs.opn1.cur"
            style="width: 100%"
            maxlength="3"
            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>
119

wangna committed
120 121 122 123 124 125 126 127 128 129 130 131 132
      <c-col :span="8">
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="btdgrp.cbs.opn1.amt"
        >
          <c-input-currency
            v-model="model.btdgrp.cbs.opn1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入余额"
          ></c-input-currency>
        </el-form-item>
      </c-col>
133

wangna committed
134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151
      <c-col :span="24">
        <el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
          <c-select
            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>
152

wangna committed
153 154 155 156 157 158 159 160 161 162
      <c-col :span="24">
        <el-form-item label="到期日" prop="btdgrp.rec.matdat">
          <c-date-picker
            type="date"
            v-model="model.btdgrp.rec.matdat"
            style="width: 100%"
            placeholder="请选择到期日"
          ></c-date-picker>
        </el-form-item>
      </c-col>
163

wangna committed
164 165 166 167 168 169 170 171 172 173 174 175 176
      <c-col :span="24">
        <el-form-item
          label="从第二受益人那收到单据日期"
          prop="btdgrp.rec.rcvdatbe2"
        >
          <c-date-picker
            type="date"
            v-model="model.btdgrp.rec.rcvdatbe2"
            style="width: 100%"
            placeholder="请选择从第二受益人那收到单据日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
177

wangna committed
178 179 180 181 182 183 184 185 186 187 188 189 190
      <c-col :span="24">
        <el-form-item
          label="从第一受益人那收到单据日期"
          prop="btdgrp.rec.rcvdatbe1"
        >
          <c-date-picker
            type="date"
            v-model="model.btdgrp.rec.rcvdatbe1"
            style="width: 100%"
            placeholder="请选择从第一受益人那收到单据日期"
          ></c-date-picker>
        </el-form-item>
      </c-col>
191

wangna committed
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209
      <c-col :span="24">
        <el-form-item label="单据状态" prop="btdgrp.rec.docsta">
          <c-select
            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>
210

wangna committed
211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228
      <c-col :span="15">
        <el-form-item label="更改金额" prop="setmod.doccur">
          <c-select
            v-model="model.setmod.doccur"
            style="width: 100%"
            maxlength="3"
            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>
229

wangna committed
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
      <c-col :span="8">
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="setmod.docamt"
        >
          <c-input
            v-model="model.setmod.docamt"
            style="text-align: left; width: 100%"
            placeholder="请输入更改金额"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ========================右边======================= -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">&nbsp;</c-col>
      <c-col :span="24">
        <el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
          <c-input
            v-model="model.btdgrp.be1.pts.ref"
            maxlength="16"
            placeholder="请输入第一受益人"
          ></c-input>
        </el-form-item>
      </c-col>
256

wangna committed
257 258 259 260 261 262 263
      <c-col :span="24">
        <el-form-item label="" prop="btdgrp.be1.pts.nam">
          <c-input
            v-model="model.btdgrp.be1.pts.nam"
            maxlength="40"
            placeholder="请输入"
          ></c-input>
264
        </el-form-item>
wangna committed
265
      </c-col>
266

wangna committed
267
      <c-col :span="24">&nbsp;</c-col>
268

wangna committed
269 270 271 272 273 274 275
      <c-col :span="24">
        <el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
          <c-input
            v-model="model.btdgrp.be2.pts.ref"
            maxlength="16"
            placeholder="请输入第二受益人"
          ></c-input>
276
        </el-form-item>
wangna committed
277
      </c-col>
278

wangna committed
279 280 281 282 283 284 285 286 287
      <c-col :span="24">
        <el-form-item label="" prop="btdgrp.be2.pts.nam">
          <c-input
            v-model="model.btdgrp.be2.pts.nam"
            maxlength="40"
            placeholder="请输入"
          ></c-input>
        </el-form-item>
      </c-col>
288

wangna committed
289 290 291 292
      <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>
293

wangna committed
294 295 296 297 298 299 300 301 302 303 304 305
      <c-col :span="24">
        <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>
    </c-col>
306 307 308
  </div>
</template>
<script>
wangna committed
309
import Api from "~/service/Api";
wangren committed
310
import commonProcess from "~/mixin/commonProcess";
wangna committed
311 312
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bttacc/Event";
313 314

export default {
wangna committed
315 316 317 318 319 320 321 322 323
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: { ...Event },
  created: function () {},
};
324 325 326
</script>
<style>
</style>