Gitsetp1.vue 7.9 KB
Newer Older
1
<template>
xiameng committed
2
  <div class="eibs">
wangna committed
3
    <!-- ====================左边======================= -->
4
    <c-col :span="12" style="padding-right: 20px;">
5
      <c-col :span="24">
wangna committed
6
        <el-form-item label="保函编号" prop="gidgrp.rec.ownref">
wangna committed
7 8 9 10
          <c-fullbox>
            <c-input
              v-model="model.gidgrp.rec.ownref"
              maxlength="16"
wangna committed
11
              placeholder="请输入保函编号"
wangna committed
12 13 14 15
              disabled
            ></c-input>
            <template slot="footer">
              <c-button
nanrui committed
16
                style="margin: 0 0 0 10px; padding: 0 12px"
wangna committed
17 18
                size="small"
                type="primary"
19
                icon="el-icon-info"
wangna committed
20 21
                @click="onSeainf"
              >
22
                
wangna committed
23 24 25
              </c-button>
            </template>
          </c-fullbox>
26
        </el-form-item>
wangna committed
27
      </c-col>
28

wangna committed
29
      <c-col :span="12">
wangna committed
30
        <el-form-item label="保函币种和金额" prop="gidgrp.cbs.max.cur">
31 32 33
          <c-select
            v-model="model.gidgrp.cbs.max.cur"
            style="width: 100%"
wangna committed
34
            placeholder="请选择保函币种"
wangna committed
35
            disabled
36 37 38 39 40 41 42 43 44 45 46
          >
            <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>
wangna committed
47
     
wangna committed
48 49 50 51 52 53 54 55 56 57 58 59 60
      <c-col :span="8">
        <el-form-item
          label-width="5px"
          prop="gidgrp.cbs.max.amt"
        >
          <c-input-currency
            disabled
            v-model="model.gidgrp.cbs.max.amt"
          ></c-input-currency>
        </el-form-item>
      </c-col>
      <c-col :span="4" class="centerLable">
        <c-checkbox disabled v-model="model.gitp0.aamgid.addamtflg"
wangna committed
61
          >附加金额</c-checkbox
wangna committed
62
        >
wangna committed
63
      </c-col>
panziyi committed
64
<c-col :span="24">
wangna committed
65
      <c-col :span="12">
wangna committed
66
        <el-form-item label="保函余额" prop="gidgrp.cbs.opn1.cur">
67
          <c-select
wangna committed
68
            disabled
69 70
            v-model="model.gidgrp.cbs.opn1.cur"
            style="width: 100%"
wangna committed
71
            placeholder="请选择保函余额币种"
72 73 74 75 76 77 78 79 80 81 82 83 84
            @keyup.enter.native="nom1CurEvent"
          >
            <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>

wangna committed
85
      <c-col :span="8">
86 87 88 89 90
        <el-form-item
          label-width="5px"
          prop="gidgrp.cbs.opn1.amt"
        >
          <c-input-currency
wangna committed
91
            disabled
92 93 94 95
            v-model="model.gidgrp.cbs.opn1.amt"
          ></c-input-currency>
        </el-form-item>
      </c-col>
panziyi committed
96
</c-col>
97
      <c-col :span="24">
wangna committed
98
        <el-form-item label="接收目的" prop="gidgrp.rec.purposin">
wangna committed
99 100 101
          <c-select
            v-model="model.gidgrp.rec.purposin"
            style="width: 100%"
wangna committed
102
            placeholder="请选择接收目的 "
wangna committed
103 104 105 106
            :code="codes.purposin"
            disabled
          >
          </c-select>
107 108 109 110
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
111
        <el-form-item label="报文目的" prop="gidgrp.rec.purpos">
wangna committed
112 113 114
          <c-select
            v-model="model.gidgrp.rec.purpos"
            style="width: 100%"
wangna committed
115
            placeholder="请选择报文目的"
wangna committed
116 117 118 119
            :code="codes.purpos"
            disabled
          >
          </c-select>
120 121 122 123
        </el-form-item>
      </c-col>

      <c-col :span="24">
wangna committed
124
        <el-form-item label="保函类型" prop="gidgrp.rec.gartyp">
wangna committed
125 126 127 128
          <c-select
            disabled
            v-model="model.gidgrp.rec.gartyp"
            style="width: 100%"
wangna committed
129
            placeholder="请选择保函类型"
130
            :code="codes.typgar"
wangna committed
131 132
          >
          </c-select>
133 134 135 136
        </el-form-item>
      </c-col>

      <c-col :span="13">
wangna committed
137
        <el-form-item label="到期" prop="gidgrp.rec.expdat">
wangna committed
138
          <c-date-picker
wangna committed
139
            disabled
wangna committed
140 141 142
            type="date"
            v-model="model.gidgrp.rec.expdat"
            style="width: 100%"
wangna committed
143
            placeholder="请选择"
144 145 146 147 148 149 150 151 152 153
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="11">
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.rec.exptyp"
        >
wangna committed
154
          <c-select
155
            v-model="model.gidgrp.rec.exptyp"
wangna committed
156
            style="width: 100%"
wangna committed
157
            placeholder="请选择到期类型"
wangna committed
158
            :code="codes.exptyp"
wangna committed
159
            disabled
wangna committed
160 161
          >
          </c-select>
162 163 164
        </el-form-item>
      </c-col>

wangna committed
165
      <c-col :span="13" >
wangna committed
166
        <el-form-item v-show="model.gidgrp.rec.liatypc != ''" label="责任日期" prop="gidgrp.rec.liadat">
wangna committed
167 168 169 170 171 172
          <c-date-picker
            disabled
            type="date"
            v-show="model.gidgrp.rec.liadat != ''"
            v-model="model.gidgrp.rec.liadat"
            style="width: 100%"
wangna committed
173
            placeholder="请选择责任日期"
wangna committed
174 175 176 177 178 179 180 181 182 183 184 185 186
          ></c-date-picker>
        </el-form-item>
      </c-col>

      <c-col :span="11" v-show="model.gidgrp.rec.liadat != ''">
        <el-form-item
          style="text-align: left"
          label-width="5px"
          prop="gidgrp.rec.liatypc"
        >
          <c-select
            v-model="model.gidgrp.rec.liatypc"
            style="width: 100%"
wangna committed
187
            placeholder="请选择责任类型"
wangna committed
188 189 190 191 192 193 194
            :code="codes.liatypc"
            disabled
          >
          </c-select>
        </el-form-item>
      </c-col>

195
      <c-col :span="24">
wangna committed
196
        <el-form-item label="参考日期 " prop="setmod.refdat">
wangna committed
197 198 199 200 201
          <c-date-picker
            disabled
            type="date"
            v-model="model.setmod.refdat"
            style="width: 100%"
wangna committed
202
            placeholder="请选择参考日期 "
wangna committed
203
          ></c-date-picker>
204 205 206 207
        </el-form-item>
      </c-col>
    </c-col>

wangna committed
208
    <!-- ========================右边======================= -->
209
    <c-col :span="12" style="padding-left: 20px;">
210
      <c-col :span="24">
wangna committed
211
        <el-form-item label="简略信息" prop="gidgrp.rec.nam">
wangna committed
212 213 214 215
          <c-input
            disabled
            v-model="model.gidgrp.rec.nam"
            maxlength="40"
wangna committed
216
            placeholder="请输入简略信息"
wangna committed
217
          ></c-input>
218
        </el-form-item>
wangna committed
219
      </c-col>
220

wangna committed
221
      <c-col :span="24">
wangna committed
222
        <el-form-item label="申请人" prop="gidgrp.apl.pts.nam">
wangna committed
223 224 225 226
          <c-input
            disabled
            v-model="model.gidgrp.apl.pts.nam"
            maxlength="40"
wangna committed
227
            placeholder="请输入"
wangna committed
228
          ></c-input>
229
        </el-form-item>
wangna committed
230
      </c-col>
231

wangna committed
232
      <c-col :span="24">
wangna committed
233
        <el-form-item label="受益人" prop="gidgrp.ben.pts.nam">
wangna committed
234 235 236 237
          <c-input
            disabled
            v-model="model.gidgrp.ben.pts.nam"
            maxlength="40"
wangna committed
238
            placeholder="请输入"
wangna committed
239
          ></c-input>
240
        </el-form-item>
wangna committed
241
      </c-col>
242

wangna committed
243
      <c-col :span="24">
wangna committed
244
        <el-form-item label="帐户行" prop="gidgrp.ctr.pts.nam">
wangna committed
245 246 247 248
          <c-input
            disabled
            v-model="model.gidgrp.ctr.pts.nam"
            maxlength="40"
wangna committed
249
            placeholder="请输入"
wangna committed
250
          ></c-input>
251
        </el-form-item>
wangna committed
252
      </c-col>
253

wangna committed
254
      <c-col :span="24">
wangna committed
255
        <el-form-item label="开证行" prop="gidgrp.iss.pts.nam">
wangna committed
256 257 258 259
          <c-input
            disabled
            v-model="model.gidgrp.iss.pts.nam"
            maxlength="40"
wangna committed
260
            placeholder="请输入开证行"
wangna committed
261
          ></c-input>
262
        </el-form-item>
wangna committed
263
      </c-col>
264 265 266 267
    </c-col>
  </div>
</template>
<script>
wangna committed
268
import Api from "~/service/Api";
269
import commonProcess from "~/mixin/commonProcess";
wangna committed
270 271
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitcom/Event";
272 273

export default {
wangna committed
274 275 276 277 278 279 280 281 282
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
    onSeainf(data) {
wangna committed
283 284
      this.$emit("onSeainf", data);
    },
wangna committed
285 286 287
  },
  created: function () {},
};
288 289 290
</script>
<style>
</style>