Preperp.vue 7.9 KB
Newer Older
1
<template>
Wuyuqiu committed
2
  <div class="eibs">
liyixun committed
3 4
    <!-- <c-row> -->
    <c-col :span="24">
Wuyuqiu committed
5
      <c-col :span="12" style="padding-right: 20px">
liyixun committed
6 7
        <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
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

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

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

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