Canp.vue 9.83 KB
Newer Older
孟冬雪 committed
1 2
<template>
  <div class="eibs-tab">
3 4
    <!-- left -->
    <c-col :span="11">
孟冬雪 committed
5
      <c-col :span="24">
6
        <el-form-item
wangna committed
7
          label="信用证编号"
8 9 10 11
          prop="ledgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
孟冬雪 committed
12 13
            <c-input
              v-model="model.ledgrp.rec.ownref"
14
              maxlength="8"
wangna committed
15
              placeholder="请输入信用证编号"
16
              :disabled="true"
孟冬雪 committed
17
            ></c-input>
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
            </template>
          </c-fullbox>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <el-form-item
wangna committed
40
          label="转让信用证编号"
41 42 43 44
          prop="ltdgrp.rec.ownref"
          style="width: 100%"
        >
          <c-fullbox>
孟冬雪 committed
45
            <c-input
46 47
              v-model="model.ltdgrp.rec.ownref"
              maxlength="8"
wangna committed
48
              placeholder="请输入转让信用证编号"
49
              :disabled="true"
孟冬雪 committed
50
            ></c-input>
51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 12px"
                size="small"
                type="primary"
                @click="onSeainf"
              >
                <span
                  style="
                    font-size: 15px;
                    font-family: '宋体';
                    font-weight: bold;
                  "
                  >i</span
                >
              </c-button>
            </template>
          </c-fullbox>
孟冬雪 committed
69
        </el-form-item>
70 71
      </c-col>
      <c-col :span="24">
wangna committed
72
        <el-form-item label="转让信用证金额" prop="ltdgrp.cbs.nom1.cur">
73
          <c-fullbox>
孟冬雪 committed
74
            <c-input
75 76 77
              v-model="model.ltdgrp.cbs.nom1.cur"
              maxlength="3"
              style="width: 50%"
wangna committed
78
              placeholder="请输入转让信用证金额"
79
              disabled
孟冬雪 committed
80 81
            ></c-input>
            <c-input
82 83
              v-model="model.ltdgrp.cbs.nom1.amt"
              style="width: 50%"
wangna committed
84
              placeholder="请输入"
85
              disabled
孟冬雪 committed
86
            ></c-input>
87 88 89 90 91
            <template slot="footer">
              <c-checkbox
                v-model="model.lttp0.aammod.addamtflg"
                style="margin-left: 10px"
                disabled
wangna committed
92
                >附加金额</c-checkbox
93 94 95 96
              >
            </template>
          </c-fullbox>
        </el-form-item>
孟冬雪 committed
97 98
      </c-col>

99
      <c-col :span="24">
wangna committed
100
        <el-form-item label="余额" prop="ltdgrp.cbs.opn1.cur">
101 102 103 104 105
          <c-fullbox>
            <c-input
              v-model="model.ltdgrp.cbs.opn1.cur"
              maxlength="3"
              style="width: 50%"
wangna committed
106
              placeholder="请输入余额"
107 108 109 110 111
              disabled
            ></c-input>
            <c-input
              v-model="model.ltdgrp.cbs.opn1.amt"
              style="width: 50%"
wangna committed
112
              placeholder="请输入"
113 114 115
              disabled
            ></c-input>
          </c-fullbox>
孟冬雪 committed
116
        </el-form-item>
117 118 119
      </c-col>

      <c-col :span="24">
wangna committed
120
        <c-form-item label="被授权的银行当事人" prop="ltdgrp.avt.pts.nam">
121 122 123
          <c-input
            v-model="model.ltdgrp.avt.pts.nam"
            maxlength="40"
wangna committed
124
            placeholder="请输入被授权的银行当事人"
125 126 127 128
            disabled
          ></c-input>
        </c-form-item>
      </c-col>
孟冬雪 committed
129

130 131 132 133
      <c-col :span="24">
        <c-col :span="12">
          <el-form-item label="by" prop="ltdgrp.rec.avbby">
            <c-fullbox>
孟冬雪 committed
134
              <c-select
135 136
                v-model="model.ltdgrp.rec.avbby"
                maxlength="3"
孟冬雪 committed
137
                style="width: 100%"
wangna committed
138
                placeholder="请输入"
139 140 141 142
                disabled
                :code="codes.avbby"
              ></c-select>
            </c-fullbox>
孟冬雪 committed
143 144 145
          </el-form-item>
        </c-col>
        <c-col :span="12">
wangna committed
146
          <el-form-item label="装运日期" prop="ltdgrp.rec.shpdat">
孟冬雪 committed
147 148 149 150
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.shpdat"
              style="width: 100%"
wangna committed
151
              placeholder="请选择装运日期"
152
              disabled
孟冬雪 committed
153 154 155
            ></c-date-picker>
          </el-form-item>
        </c-col>
156 157 158
      </c-col>

      <c-col :span="24">
孟冬雪 committed
159
        <c-col :span="12">
wangna committed
160
          <el-form-item label="开证日期及其形式" prop="ltdgrp.rec.opndat">
孟冬雪 committed
161 162 163 164
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.opndat"
              style="width: 100%"
wangna committed
165
              placeholder="请选择开证日期及其形式"
166
              disabled
孟冬雪 committed
167 168 169 170
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
171 172 173
          <c-input
            v-model="model.ltdgrp.rec.lcrtyp"
            maxlength="40"
wangna committed
174
            placeholder="请输入"
175 176 177
            disabled
            :code="codes.lcrtyp1"
          ></c-input>
孟冬雪 committed
178
        </c-col>
179 180 181
      </c-col>

      <c-col :span="24">
孟冬雪 committed
182
        <c-col :span="12">
wangna committed
183
          <el-form-item label="到期日及其到期地点" prop="ltdgrp.rec.expdat">
孟冬雪 committed
184 185 186 187
            <c-date-picker
              type="date"
              v-model="model.ltdgrp.rec.expdat"
              style="width: 100%"
wangna committed
188
              placeholder="请选择到期日"
189
              disabled
孟冬雪 committed
190 191 192 193
            ></c-date-picker>
          </el-form-item>
        </c-col>
        <c-col :span="12">
194 195 196
          <c-input
            v-model="model.ltdgrp.rec.expplc"
            maxlength="40"
wangna committed
197
            placeholder="请输入到期地点"
198 199
            disabled
          ></c-input>
孟冬雪 committed
200
        </c-col>
201 202 203 204 205 206
      </c-col>
    </c-col>

    <!-- right -->
    <c-col :span="11" :offset="1">
      <c-col :span="24">
wangna committed
207
        <el-form-item label="简略信息" prop="ledgrp.rec.nam">
208 209 210
          <c-input
            v-model="model.ledgrp.rec.nam"
            maxlength="40"
wangna committed
211
            placeholder="请输入简略信息"
212 213 214 215 216
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
wangna committed
217
        <el-form-item label="简略信息" prop="ltdgrp.rec.nam">
218 219 220
          <c-input
            v-model="model.ltdgrp.rec.nam"
            maxlength="40"
wangna committed
221
            placeholder="请输入简略信息"
222 223 224 225 226 227 228 229
            disabled
          ></c-input>
        </el-form-item>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
230
            title: '第一受益人',
231 232 233 234 235 236 237 238 239 240 241 242 243
            grp: 'ltdgrp',
            rol: 'be1',
          }"
          :enRef="true"
          :enNam="true"
          :disabled="false"
          :disabled1="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
244
            title: '第二受益人',
245 246 247 248 249 250 251 252 253 254 255 256 257
            grp: 'ltdgrp',
            rol: 'be2',
          }"
          :enRef="true"
          :enNam="true"
          :disabled="false"
          :disabled1="true"
        ></c-ptsmsg>
      </c-col>
      <c-col :span="24">
        <c-ptsmsg
          :model="model"
          :argadr="{
wangna committed
258
            title: '寄单行',
259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
            grp: 'ltdgrp',
            rol: 'adt',
          }"
          :enRef="true"
          :enNam="true"
          :disabled="false"
          :disabled1="true"
        ></c-ptsmsg>
      </c-col>
    </c-col>

    <c-col :span="24">
      <el-form-item style="margin-left: -150px">
        <el-divider />
      </el-form-item>
    </c-col>

    <!-- next part -->
    <c-col :span="11">
      <c-col :span="24">
        <el-form-item
wangna committed
280
          label="承兑报文的详细内容"
281 282 283 284
          prop="lttcanp.trnrec.strinf"
          style="width: 100%"
        >
          <c-fullbox>
孟冬雪 committed
285 286 287 288 289
            <c-input
              type="textarea"
              v-model="model.lttcanp.trnrec.strinf"
              maxlength="50"
              show-word-limit
wangna committed
290
              placeholder="请输入承兑报文的详细内容"
291
              :disabled="!sndmsg"
孟冬雪 committed
292
            ></c-input>
293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
            <template slot="footer">
              <c-button
                style="margin-left: 10px; padding: 0 10px"
                size="small"
                type="primary"
                :disabled="!sndmsg"
                @click="
                  showGridPromptDialog(
                    'bttcanp.canlet.buttxmsel',
                    null,
                    null,
                    { TXT: 'lttcanp.trnrec.strinf' },
                    { TXT: false },
                    'doxpDialog'
                  )
                "
              >
                ...
              </c-button>
            </template>
          </c-fullbox>
孟冬雪 committed
314
        </el-form-item>
315 316
      </c-col>
    </c-col>
孟冬雪 committed
317

318 319 320
    <c-col :span="11" :offset="1">
      <c-col :span="24">
        <el-form-item label="" style="text-align: left" prop="sndmsg">
wangna committed
321
          <c-checkbox v-model="sndmsg">发送报文</c-checkbox>
孟冬雪 committed
322 323
        </el-form-item>
      </c-col>
324
    </c-col>
孟冬雪 committed
325 326 327 328
  </div>
</template>
<script>
import Api from "~/service/Api";
wangren committed
329
import commonProcess from "~/mixin/commonProcess";
孟冬雪 committed
330 331
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Lttcan/Event";
332
import Ptsmsg from "~/views/Public/Ptsmsg";
孟冬雪 committed
333
import Ptap from "~/views/Public/Ptap";
334

孟冬雪 committed
335
export default {
336
  components: { "c-ptsmsg": Ptsmsg, "c-ptap": Ptap },
孟冬雪 committed
337 338
  inject: ["root"],
  props: ["model", "codes"],
wangren committed
339
  mixins: [commonProcess],
孟冬雪 committed
340 341 342
  data() {
    return {};
  },
343 344 345 346 347 348 349 350 351 352
  computed:{
    sndmsg:{
        get(){
            return this.model.sndmsg != '';
        },
        set(val){
            this.model.sndmsg = val ? 'X':'';
        }
    }
  },
孟冬雪 committed
353 354 355 356 357 358
  methods: { ...Event },
  created: function () {},
};
</script>
<style>
</style>