Preperp.vue 7.79 KB
Newer Older
1 2
<template>
  <div class="eibs-tab">
liyixun committed
3 4 5 6 7
    <!-- <c-row> -->
    <c-col :span="24">
      <c-col :span="11">
        <c-col :span="24">
          <c-col :span="16">
wangna committed
8
            <c-form-item label="保函文本交付" prop="gidgrp.rec.delori">
9 10 11 12 13
              <c-select
                :disabled="
                  model.gidgrp.rec.purpos == 'ICCO' ||
                  model.gidgrp.rec.purpos == 'ISCO'
                "
liyixun committed
14
                v-model="model.gidgrp.rec.delori"
15
                style="width: 100%"
wangna committed
16
                placeholder="请选择保函文本交付"
17 18
              >
                <el-option
liyixun committed
19
                  v-for="item in codes.delori1"
20 21 22 23 24 25
                  :key="item.value"
                  :label="item.label"
                  :value="item.value"
                >
                </el-option>
              </c-select>
liyixun committed
26
            </c-form-item>
27
          </c-col>
liyixun committed
28 29 30
          <c-col :span="8">
            <el-form-item label-width="5px" prop="gidgrp.rec.deloritxt">
              <c-input
31
                :disabled="
liyixun committed
32 33
                  model.gidgrp.rec.delori != 'COUR' &&
                  model.gidgrp.rec.delori != 'OTHR'
34
                "
liyixun committed
35 36
                v-model="model.gidgrp.rec.deloritxt"
                maxlength="35"
wangna committed
37
                placeholder="请输入保函文本交付"
liyixun committed
38
              ></c-input>
39 40
            </el-form-item>
          </c-col>
liyixun committed
41
        </c-col>
42

liyixun committed
43
        <c-col :span="24">
wangna committed
44
          <el-form-item label="发送保函文本" prop="gidgrp.rec.sndto">
liyixun committed
45 46 47 48 49 50 51
            <c-select
              :disabled="
                model.gidgrp.rec.purpos == 'ICCO' ||
                model.gidgrp.rec.purpos == 'ISCO'
              "
              v-model="model.gidgrp.rec.sndto"
              style="width: 100%"
wangna committed
52
              placeholder="请选择发送保函文本"
liyixun committed
53
              :code="getValues('gidgrp.rec.sndto')"
liyixun committed
54 55 56 57 58 59
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
60
          <el-form-item label="交付收款人" prop="gidgrp.rec.delto">
liyixun committed
61 62 63 64 65 66 67
            <c-select
              :disabled="
                model.gidgrp.rec.purpos == 'ICCO' ||
                model.gidgrp.rec.purpos == 'ISCO'
              "
              v-model="model.gidgrp.rec.delto"
              style="width: 100%"
wangna committed
68
              placeholder="请选择交付收款人"
liyixun committed
69 70 71 72 73 74 75
              :code="codes.delto"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
76
          <el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
liyixun committed
77 78 79 80 81 82 83 84 85
            <c-input
              :disabled="
                model.gidgrp.rec.delto == '' && model.gidgrp.rec.purpos != ''
              "
              rows="4"
              type="textarea"
              v-model="model.gidgrp.blk.deltoadr"
              maxlength="210"
              show-word-limit
wangna committed
86
              placeholder="请输入交付地址"
liyixun committed
87 88 89 90 91
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
92
          <el-form-item label="转让条件" prop="gidgrp.blk.trfcond">
liyixun committed
93 94 95 96 97 98 99
            <c-input
              disabled
              type="textarea"
              rows="4"
              v-model="model.gidgrp.blk.trfcond"
              maxlength="6630"
              show-word-limit
wangna committed
100
              placeholder="请输入转让条件"
liyixun committed
101 102 103 104 105 106 107
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

      <c-col :span="11" :offset="1">
        <c-col :span="24">
wangna committed
108
          <el-form-item label="费用承担人" prop="gidgrp.rec.chato">
liyixun committed
109 110 111
            <c-select
              v-model="model.gidgrp.rec.chato"
              style="width: 100%"
wangna committed
112
              placeholder="请选择费用承担人"
liyixun committed
113 114 115 116 117 118
              :code="codes.gitopn_chato"
            >
            </c-select>
          </el-form-item>
        </c-col>
        <c-col :span="24">
wangna committed
119
          <el-form-item label="收费">
liyixun committed
120 121 122
            <c-fullbox>
              <template slot="footer">
                <c-checkbox v-model="model.gitp.chargi.chkast"
wangna committed
123
                  >允许</c-checkbox
liyixun committed
124 125 126 127 128 129 130
                >
              </template>
            </c-fullbox>
          </el-form-item>
        </c-col>
        <c-col :span="24">
          <c-col :span="20">
131
            <el-form-item
wangna committed
132
              label="收费代码的附加详情"
liyixun committed
133
              prop="gidgrp.blk.feetxt"
134 135 136
            >
              <c-input
                type="textarea"
liyixun committed
137 138
                rows="4"
                v-model="model.gidgrp.blk.feetxt"
139 140
                maxlength="210"
                show-word-limit
wangna committed
141
                placeholder="请输入收费代码的附加详情"
142 143 144
              ></c-input>
            </el-form-item>
          </c-col>
liyixun committed
145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160
          <c-col :span="4">
            <c-button
              style="margin: 5px 0 0 10px"
              size="small"
              type="primary"
              icon="el-icon-search"
              @click="onChargiButtxmsel"
            >
              ...
            </c-button>
          </c-col>
        </c-col>
        <c-col :span="24">
          <c-col :span="20">
            <el-form-item
              v-if="model.gitp.prepermodflg == ''"
wangna committed
161
              label="演示说明"
liyixun committed
162 163
              prop="gidgrp.blk.preper"
            >
164 165 166
              <c-input
                disabled
                type="textarea"
liyixun committed
167 168 169
                :rows="5"
                v-model="model.gidgrp.blk.preper"
                maxlength="6500"
170
                show-word-limit
wangna committed
171
                placeholder="请输入演示说明"
172 173 174
              ></c-input>
            </el-form-item>
            <el-form-item
liyixun committed
175
              v-if="model.gitp.prepermodflg == 'X'"
wangna committed
176
              label="演示说明"
liyixun committed
177
              prop="gidgrp.blk.atxpreper"
178
            >
liyixun committed
179 180 181 182 183 184
              <c-input
                type="textarea"
                :rows="5"
                v-model="model.gidgrp.blk.atxpreper"
                maxlength="6500"
                show-word-limit
wangna committed
185
                placeholder="请输入演示说明"
liyixun committed
186 187
                @blur="atxpreperBlur"
              ></c-input>
188 189
            </el-form-item>
          </c-col>
liyixun committed
190 191 192 193 194
          <c-col :span="4">
            <c-checkbox
              v-model="model.gitp.prepermodflg"
              style="margin: 0 0 0 10px"
              @change="modflgChange"
wangna committed
195
              >是否手工修改保函文本</c-checkbox
liyixun committed
196 197 198 199
            >
            <c-checkbox
              v-model="model.gitp.chkpreper"
              style="margin: 0 0 0 10px"
wangna committed
200
              >允许</c-checkbox
liyixun committed
201 202 203 204 205 206 207 208
            >
            <c-button
              disabled
              size="small"
              type="primary"
              style="margin: 5px 0 0 10px; width: 100px"
              @click="onGitpButdifpreper"
            >
wangna committed
209
              查看系统文本
liyixun committed
210 211 212 213 214 215 216 217
            </c-button>
            <c-button
              disabled
              size="small"
              style="margin: 5px 0 0 10px; width: 100px"
              type="primary"
              @click="onGitpButdifhispreper"
            >
wangna committed
218
              查看历史文本
liyixun committed
219
            </c-button>
220
          </c-col>
221
        </c-col>
222
      </c-col>
liyixun committed
223 224
    </c-col>
    <!-- </c-row> -->
225 226 227
  </div>
</template>
<script>
228
import Api from "~/service/Api";
229
import commonProcess from "~/mixin/commonProcess";
230 231 232
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitopn/Event";
import Utils from "~/utils";
233 234

export default {
235 236 237 238 239 240
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
liyixun committed
241
  methods: {
242 243 244 245 246 247
    ...Event,
    async atxpreperBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxpreper");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
248 249
    },

liyixun committed
250
    async modflgChange() {
251 252 253 254
      let rtnmsg = await this.executeRule("gitp.prepermodflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
liyixun committed
255 256
    },
  },
257 258
  created: function () {},
};
259 260 261
</script>
<style>
</style>