Conp.vue 12.2 KB
Newer Older
1
<template>
2
  <div class="eibs">
3 4
    <!-- ==================================上部的左边-外债编号================================ -->
    <c-col :span="24">
Wuyuqiu committed
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
      <c-col :span="12" style="padding-right: 20px">
        <c-col :span="24">
          <el-form-item label="外债编号" prop="cfabrt.recgrp.bas.exdebtcode">
            <c-input
              v-model="model.cfabrt.recgrp.bas.exdebtcode"
              maxlength="28"
              placeholder="请输入外债编号"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <el-form-item label="操作类型" prop="cfabrt.recgrp.bas.actiontype">
            <c-select
              v-model="model.cfabrt.recgrp.bas.actiontype"
              style="width: 100%"
              placeholder="请选择操作类型"
              disabled
              :code="codes.actiontype"
            >
            </c-select>
          </el-form-item>
        </c-col>
28

Wuyuqiu committed
29
        <c-col :span="24">
Wuyuqiu committed
30 31 32 33 34 35 36 37 38
          <el-form-item label="债务人代码" prop="cfabrt.recgrp.bas.debtorcode">
            <c-input
              v-model="model.cfabrt.recgrp.bas.debtorcode"
              maxlength="12"
              placeholder="请输入债务人代码"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
39

Wuyuqiu committed
40 41 42 43 44 45 46 47 48 49 50
        <c-col :span="24">
          <el-form-item label="债务类型" prop="cfabrt.recgrp.bas.debtype">
            <c-select
              v-model="model.cfabrt.recgrp.bas.debtype"
              style="width: 100%"
              placeholder="请选择债务类型"
              disabled
            >
            </c-select>
          </el-form-item>
        </c-col>
51 52
      </c-col>

Wuyuqiu committed
53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
      <!-- ==================================上部的右边-删除原因================================ -->
      <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
          <el-form-item label="删除原因" prop="cfabrt.recgrp.bas.actiondesc">
            <c-input
              type="textarea"
              v-model="model.cfabrt.recgrp.bas.actiondesc"
              maxlength="32"
              show-word-limit
              placeholder="请输入删除原因"
              :rows="5"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
        <!-- <c-col :span="12">
69 70
      <c-button size="small" type="primary" @click="onSav"> &Save </c-button>
    </c-col> -->
Wuyuqiu committed
71
        <!-- <c-col :span="12">
72 73
      <c-button size="small" type="primary" @click="onChk"> &Check </c-button>
    </c-col> -->
Wuyuqiu committed
74 75
        <c-col :span="24">
          <el-form-item label="" prop="cfabrt.recp.pubp.acp" class="checkbox-left">
Wuyuqiu committed
76 77 78
          <c-checkbox v-model="model.cfabrt.recp.pubp.acp" disabled
            >确认</c-checkbox
          >
Wuyuqiu committed
79
          </el-form-item>
Wuyuqiu committed
80
        </c-col>
81 82
      </c-col>
    </c-col>
Wuyuqiu committed
83 84

    <!-- ==================================起息日-以行为单位================================ -->
Wuyuqiu committed
85
    <c-col :span="12" style="padding-right: 20px;">
Wuyuqiu committed
86 87 88 89 90 91 92 93 94 95 96
      <el-form-item label="起息日" prop="cfabrt.recgrp.bas.valuedate">
        <c-date-picker
          type="date"
          v-model="model.cfabrt.recgrp.bas.valuedate"
          style="width: 100%"
          placeholder="请选择起息日"
          value-format="yyyy-MM-dd"
          disabled
        ></c-date-picker>
      </el-form-item>
    </c-col>
Wuyuqiu committed
97
    <c-col :span="12" style="padding-left: 20px;">
Wuyuqiu committed
98 99 100 101 102 103 104 105 106 107
      <el-form-item label="到期日" prop="cfabrt.recgrp.bas.maturity">
        <c-date-picker
          type="date"
          v-model="model.cfabrt.recgrp.bas.maturity"
          style="width: 100%"
          placeholder="请选择到期日"
          value-format="yyyy-MM-dd"
          disabled
        ></c-date-picker>
      </el-form-item>
108 109
    </c-col>

Wuyuqiu committed
110
    <!-- 签约金额左边 -->
Wuyuqiu committed
111
    <c-col :span="12" style="padding-right: 20px;">
112
      <c-col :span="12">
Wuyuqiu committed
113 114 115
        <el-form-item label="签约金额" prop="cfabrt.recgrp.bas.contractcurr">
          <c-select
            v-model="model.cfabrt.recgrp.bas.contractcurr"
116
            style="width: 100%"
Wuyuqiu committed
117 118
            placeholder="请选择币种"
            :code="codes.curtxt"
119
            disabled
Wuyuqiu committed
120 121
          >
          </c-select>
122 123 124 125
        </el-form-item>
      </c-col>
      <c-col :span="12">
        <el-form-item
Wuyuqiu committed
126 127 128
          label=""
          label-width="5px"
          prop="cfabrt.recgrp.bas.contractamount"
129
        >
Wuyuqiu committed
130 131 132 133 134 135
          <c-input
            v-model="model.cfabrt.recgrp.bas.contractamount"
            placeholder="请输入签约金额"
            class="m-input-currency"
            disabled
          ></c-input>
136 137
        </el-form-item>
      </c-col>
Wuyuqiu committed
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
    </c-col>
    <!-- 签约金额右边--是否不纳入跨境融资风险加权余额计算-->
    <c-col :span="12" style="padding-left: 20px">
      <el-form-item
        label="是否不纳入跨境融资风险加权余额计算"
        prop="cfabrt.recgrp.bas.spapfeboindex"
      >
        <c-select
          v-model="model.cfabrt.recgrp.bas.spapfeboindex"
          style="width: 100%"
          placeholder="请选择是否不纳入跨境融资风险加权余额计算"
          :code="codes.spapfeboindex"
        >
        </c-select>
      </el-form-item>
    </c-col>
154

Wuyuqiu committed
155
    <!-- ============================开证申请人代码---以行为单位============================== -->
156
    <c-col :span="24">
Wuyuqiu committed
157
      <c-col :span="24">
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
        <el-form-item label="开证申请人代码" prop="cfabrt.recgrp.bas.appcode">
          <c-input
            v-model="model.cfabrt.recgrp.bas.appcode"
            maxlength="18"
            placeholder="请输入开证申请人代码"
          ></c-input>
        </el-form-item>
      </c-col>
      <!-- <c-col :span="12">
        <c-button size="small" type="primary" @click="onCutpErr">
          &Error
        </c-button>
      </c-col> -->
    </c-col>

    <c-col :span="24">
      <el-form-item label="开证申请人名称" prop="cfabrt.recgrp.bas.appname">
        <c-input
          v-model="model.cfabrt.recgrp.bas.appname"
          maxlength="128"
          placeholder="请输入开证申请人名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
Wuyuqiu committed
184
      <c-col :span="12" style="padding-right: 20px">
Wuyuqiu committed
185
        <c-col :span="24">
Wuyuqiu committed
186 187 188 189
          <el-form-item
            label="债权人代码"
            prop="cfabrt.recgrp.bas.creditorcode"
          >
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204
            <c-input
              v-model="model.cfabrt.recgrp.bas.creditorcode"
              maxlength="18"
              placeholder="请输入债权人代码"
            ></c-input>
          </el-form-item>
        </c-col>
        <c-col :span="12">
          <span
            v-text="model.cfabrt.recp.pubp.creditcodwarn"
            data-path=".cfabrt.recp.pubp.creditcodwarn"
          >
          </span>
        </c-col>
      </c-col>
Wuyuqiu committed
205 206
      <c-col :span="12" style="padding-left: 20px">
        <c-col :span="24">
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
          <el-form-item
            label="债权人类型代码"
            prop="cfabrt.recgrp.bas.creditortype"
          >
            <c-select
              v-model="model.cfabrt.recgrp.bas.creditortype"
              style="width: 100%"
              placeholder="请选择债权人类型代码"
            >
            </c-select>
          </el-form-item>
        </c-col>
      </c-col>
    </c-col>

    <c-col :span="24">
      <el-form-item
        label="债权人中文名称"
        prop="cfabrt.recgrp.bas.creditorname"
      >
        <c-input
          v-model="model.cfabrt.recgrp.bas.creditorname"
          maxlength="128"
          placeholder="请输入债权人中文名称"
        ></c-input>
      </el-form-item>
    </c-col>

    <c-col :span="24">
      <el-form-item
        label="债权人英文名称"
        prop="cfabrt.recgrp.bas.creditornamen"
      >
        <c-input
          v-model="model.cfabrt.recgrp.bas.creditornamen"
          maxlength="128"
          placeholder="请输入债权人英文名称"
        ></c-input>
      </el-form-item>
    </c-col>
Wuyuqiu committed
247

248
    <c-col :span="24">
Wuyuqiu committed
249
      <c-col :span="12" style="padding-right: 20px">
250 251 252 253 254 255 256 257 258
        <el-form-item
          label="债权人总部所在国家(地区)代码"
          prop="cfabrt.recgrp.bas.crehqcode"
        >
          <c-fullbox>
            <c-input
              v-model="model.cfabrt.recgrp.bas.crehqcode"
              maxlength="3"
              placeholder="请输入债权人总部所在国家(地区)代码"
259
              @keyup.enter.native="eventFunction('cfabrt.recgrp.bas.crehqcode')"
260 261
            ></c-input>
            <template slot="footer">
262
              <!-- @click="showGridPromptDialog('cfabrt.recp.pubp.cousel.crehqselbut', null, null,{TXT: 'cfabrt.recgrp.bas.crehqcode'}, {TXT: false},'doxpDialog')" -->
Wuyuqiu committed
263 264 265 266 267 268 269 270
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onCouselCrehqselbut"
              >
                ?
              </c-button>
271 272 273 274
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
Wuyuqiu committed
275
      <c-col :span="12" style="padding-left: 20px">
276 277 278 279 280 281 282 283 284
        <el-form-item
          label="债权人经营地所在国家(地区)代码"
          prop="cfabrt.recgrp.bas.opercode"
        >
          <c-fullbox>
            <c-input
              v-model="model.cfabrt.recgrp.bas.opercode"
              maxlength="3"
              placeholder="请输入债权人经营地所在国家(地区)代码"
285
              @keyup.enter.native="eventFunction('cfabrt.recgrp.bas.opercode')"
286 287
            ></c-input>
            <template slot="footer">
288
              <!-- @click="showGridPromptDialog('cfabrt.recp.pubp.cousel.operselbut', null, null,{TXT: 'cfabrt.recgrp.bas.opercode'}, {TXT: false},'doxpDialog')" -->
289 290 291 292
              <c-button
                size="small"
                type="primary"
                icon="el-icon-search"
293
                @click="onCouselOperselbut"
294 295 296 297 298 299 300 301 302 303
              >
                ?
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
    </c-col>

    <c-col :span="24">
Wuyuqiu committed
304
      <c-col :span="12" style="padding-right: 20px">
305 306 307 308 309 310 311 312 313 314
        <el-form-item label="相关业务类型" prop="cfabrt.recgrp.bas.credittype">
          <c-select
            v-model="model.cfabrt.recgrp.bas.credittype"
            style="width: 100%"
            placeholder="请选择相关业务类型"
            :code="codes.credittype"
          >
          </c-select>
        </el-form-item>
      </c-col>
Wuyuqiu committed
315
      <c-col :span="12" style="padding-left: 20px">
316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346
        <el-form-item
          label="是否附有银行承兑汇票"
          prop="cfabrt.recgrp.bas.billsn"
        >
          <c-select
            v-model="model.cfabrt.recgrp.bas.billsn"
            style="width: 100%"
            placeholder="请选择是否附有银行承兑汇票"
            :code="codes.billsn"
          >
          </c-select>
        </el-form-item>
      </c-col>
    </c-col>

    <c-col :span="24">
      <el-form-item
        label="对方与本机构的关系"
        prop="cfabrt.recgrp.bas.relation"
      >
        <c-select
          v-model="model.cfabrt.recgrp.bas.relation"
          style="width: 100%"
          placeholder="请选择对方与本机构的关系"
          :code="codes.exdtyp"
        >
        </c-select>
      </el-form-item>
    </c-col>

    <c-col :span="24">
Wuyuqiu committed
347
      <c-col :span="12" style="padding-right: 20px">
348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366
        <el-form-item label="备注" prop="cfabrt.recgrp.bas.remark">
          <c-input
            type="textarea"
            v-model="model.cfabrt.recgrp.bas.remark"
            maxlength="248"
            show-word-limit
            placeholder="请输入备注"
            :rows="5"
          ></c-input>
        </el-form-item>
      </c-col>
    </c-col>

    <!-- <c-col :span="12">
      <c-button size="small" type="primary" @click="onCan"> E&xit </c-button>
    </c-col> -->
  </div>
</template>
<script>
Wuyuqiu committed
367 368 369 370
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtudp/Event";
371 372

export default {
Wuyuqiu committed
373 374
  inject: ["root"],
  props: ["model", "codes"],
375 376
  mixins: [commonProcess],
  data() {
Wuyuqiu committed
377
    return {};
378
  },
Wuyuqiu committed
379
  methods: { ...Event, crehqcodeEvent() {} },
380
  created: function () {},
Wuyuqiu committed
381
};
382 383
</script>
<style></style>