Confp.vue 10.1 KB
Newer Older
liyixun committed
1
<template>
huangxin committed
2
  <div class="eibs">
3 4
<!-- ============左边================= -->
<c-col :span="12" style="padding-right: 20px;">
liyixun committed
5
          <c-col :span="24">
wangna committed
6
            <el-form-item label=""> 收到的确认说明: </el-form-item>
liyixun committed
7 8
          </c-col>
          <c-col :span="24">
wangna committed
9
            <el-form-item label="确认指示" prop="gidgrp.rec.reccnfdet">
liyixun committed
10 11 12 13
              <c-select
                disabled
                v-model="model.gidgrp.rec.reccnfdet"
                style="width: 100%"
wangna committed
14
                placeholder="请选择确认指示"
liyixun committed
15 16 17 18 19 20 21 22 23 24 25
              >
                <el-option
                  v-for="item in codes.cnfsta"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
liyixun committed
26

liyixun committed
27
          <c-col :span="24">
wangna committed
28
            <el-form-item label="确认行参考号" prop="gidgrp.cnr.pts.ref">
liyixun committed
29 30 31 32
              <c-input
                disabled
                v-model="model.gidgrp.cnr.pts.ref"
                maxlength="16"
wangna committed
33
                placeholder="请输入确认行参考号"
liyixun committed
34 35 36
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
37

liyixun committed
38
          <c-col :span="24">
wangna committed
39
            <el-form-item label="确认行" prop="gidgrp.cnr.pts.extkey">
liyixun committed
40 41 42 43 44
              <c-fullbox>
                <c-input
                  disabled
                  v-model="model.gidgrp.cnr.pts.extkey"
                  maxlength="16"
wangna committed
45
                  placeholder="请输入"
liyixun committed
46 47 48 49 50 51 52 53 54 55
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.cnr.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
56
                    <i class="el-icon-info"></i>
liyixun committed
57 58 59 60 61 62 63
                  </c-button>
                  <c-button
                    disabled
                    size="small"
                    type="primary"
                    @click="onCnrpDet"
                  >
wangna committed
64
                    详情
liyixun committed
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.cnr.pts.adrblk">
              <c-input
                disabled
                type="textarea"
                v-model="model.gidgrp.cnr.pts.adrblk"
                maxlength="140"
                show-word-limit
                placeholder="请输入地址名称"
              ></c-input>
            </el-form-item>
          </c-col>
        </c-col>
83 84
        <!-- ============右边================= -->
        <c-col :span="12" style="padding-left: 20px;">
liyixun committed
85
          <c-col :span="24">
wangna committed
86
            <el-form-item label=""> 传出确认说明: </el-form-item>
liyixun committed
87 88
          </c-col>
          <c-col :span="24">
wangna committed
89
            <el-form-item label="确认指示" prop="gidgrp.rec.cnfdet">
liyixun committed
90 91 92 93
              <c-select
                :disabled="model.gidgrp.rec.legfrm != 'STBY'"
                v-model="model.gidgrp.rec.cnfdet"
                style="width: 100%"
wangna committed
94
                placeholder="请选择确认指示"
liyixun committed
95 96 97 98 99 100 101 102 103 104 105
              >
                <el-option
                  v-for="item in codes.cnfdet"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
liyixun committed
106

liyixun committed
107
          <c-col :span="24">
wangna committed
108
            <el-form-item label="确认行参考号 " prop="gidgrp.con.pts.ref">
liyixun committed
109 110 111 112
              <c-input
                :disabled="model.gidgrp.rec.cnfdet == ''"
                v-model="model.gidgrp.con.pts.ref"
                maxlength="16"
wangna committed
113
                placeholder="请输入确认行参考号 "
liyixun committed
114 115 116
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
117

liyixun committed
118
          <c-col :span="24">
wangna committed
119
            <el-form-item label="确认行" prop="gidgrp.con.pts.extkey">
liyixun committed
120 121 122 123 124
              <c-fullbox>
                <c-input
                  :disabled="model.gidgrp.rec.cnfdet == ''"
                  v-model="model.gidgrp.con.pts.extkey"
                  maxlength="16"
wangna committed
125
                  placeholder="请输入"
liyixun committed
126 127 128 129 130 131 132 133 134 135
                  @keyup.enter.native="
                    showGridPromptDialog(`gidgrp.con.pts.extkey`)
                  "
                ></c-input>
                <template slot="footer">
                  <c-button
                    style="margin: 0 10px 0 10px; padding: 0 12px"
                    size="small"
                    type="primary"
                  >
nanrui committed
136
                    <i class="el-icon-info"></i>
liyixun committed
137 138 139 140 141 142 143
                  </c-button>
                  <c-button
                    :disabled="model.gidgrp.rec.cnfdet == ''"
                    size="small"
                    type="primary"
                    @click="onConpDet"
                  >
wangna committed
144
                    详情
liyixun committed
145 146 147 148 149 150 151 152 153 154 155 156 157
                  </c-button>
                </template>
              </c-fullbox>
            </el-form-item>
          </c-col>
          <c-col :span="24">
            <el-form-item label="地址名称" prop="gidgrp.con.dbfadrblkcn">
              <c-input
                :disabled="model.gidgrp.rec.cnfdet == ''"
                type="textarea"
                v-model="model.gidgrp.con.dbfadrblkcn"
                maxlength="140"
                show-word-limit
wangna committed
158
                placeholder="请输入地址名称"
liyixun committed
159 160 161
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
162 163
        </c-col>
    <c-row>
liyixun committed
164 165 166 167 168 169 170 171 172 173
      <c-col :span="24">
        <c-col :span="12">
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              label=""
            >
wangna committed
174
              我行确认详细信息:
liyixun committed
175 176
            </el-form-item>
          </c-col>
liyixun committed
177

liyixun committed
178 179 180 181 182 183
          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
wangna committed
184
              label="确认状态 "
liyixun committed
185 186 187 188 189
              prop="gidgrp.rec.cnfsta"
            >
              <c-select
                v-model="model.gidgrp.rec.cnfsta"
                style="width: 100%"
wangna committed
190
                placeholder="请选择确认状态 "
liyixun committed
191 192 193 194 195 196 197 198 199 200 201
              >
                <el-option
                  v-for="item in codes.cnfsta"
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
            </el-form-item>
          </c-col>
liyixun committed
202

liyixun committed
203 204 205 206 207 208 209
          <c-col :span="24">
            <c-col :span="10">
              <el-form-item
                v-if="
                  model.gidgrp.rec.purpos == 'ADVI' ||
                  model.gidgrp.rec.purpos == 'ACNF'
                "
wangna committed
210
                label="确认金额"
liyixun committed
211 212 213 214 215 216
                prop="gidgrp.cbs.cnf.cur"
              >
                <c-input
                  disabled
                  v-model="model.gidgrp.cbs.cnf.cur"
                  maxlength="3"
wangna committed
217
                  placeholder="请输入确认金额"
liyixun committed
218 219
                ></c-input>
              </el-form-item>
liyixun committed
220 221
            </c-col>

liyixun committed
222 223 224 225 226 227 228 229 230 231 232
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="4"
            >
              <!-- <el-form-item  prop="gidgrp.cbs.cnf.amt"> -->
              <c-input
                disabled
                v-model="model.gidgrp.cbs.cnf.amt"
wangna committed
233
                placeholder="请输入"
liyixun committed
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
              ></c-input>
              <!-- </el-form-item> -->
            </c-col>
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="2"
              style="margin-left: 20px"
            >
              <span>or</span>
            </c-col>
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="4"
            >
              <!-- <el-form-item  prop="gidgrp.rec.partcon"> -->
              <c-input
                disabled
                v-model="model.gidgrp.rec.partcon"
                placeholder="请输入Partial Confirmation"
              ></c-input>
              <!-- </el-form-item> -->
liyixun committed
261
            </c-col>
liyixun committed
262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
            <c-col
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
              :span="2"
              style="margin-left: 20px"
            >
              <span>%</span>
            </c-col>
          </c-col>

          <c-col :span="24">
            <el-form-item
              v-if="
                model.gidgrp.rec.purpos == 'ADVI' ||
                model.gidgrp.rec.purpos == 'ACNF'
              "
wangna committed
280
              label="确认日期"
liyixun committed
281 282 283 284 285 286 287
              prop="gidgrp.rec.cnfdat"
            >
              <c-date-picker
                disabled
                type="date"
                v-model="model.gidgrp.rec.cnfdat"
                style="width: 100%"
wangna committed
288
                placeholder="请选择确认日期"
liyixun committed
289 290 291
              ></c-date-picker>
            </el-form-item>
          </c-col>
liyixun committed
292
        </c-col>
liyixun committed
293 294
        <c-col :span="11" :offset="1"> </c-col>
      </c-col>
liyixun committed
295 296 297 298
    </c-row>
  </div>
</template>
<script>
liyixun committed
299
import Api from "~/service/Api";
liyixun committed
300
import commonProcess from "~/mixin/commonProcess";
liyixun committed
301 302
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Getopn/Event";
liyixun committed
303 304

export default {
liyixun committed
305 306 307 308 309 310
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {
      cnfdet: [
wangna committed
311 312 313
        { label: "收报行不要求加具保兑", value: "W" },
        { label: "收报行要求加具保兑", value: "C" },
        { label: "收报行可加具保兑", value: "A" },
liyixun committed
314 315 316 317 318 319
      ],
    };
  },
  methods: { ...Event },
  created: function () {},
};
liyixun committed
320 321 322
</script>
<style>
</style>