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

        <c-col :span="24">
          <el-form-item label="发送保函文本" prop="gidgrp.rec.sndto">
            <c-select
40
              disabled
Wuyuqiu committed
41 42 43 44 45 46 47 48 49 50 51 52
              v-model="model.gidgrp.rec.sndto"
              style="width: 100%"
              placeholder="请选择发送保函文本"
              :code="getValues('gidgrp.rec.sndto')"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="交付收款人" prop="gidgrp.rec.delto">
            <c-select
53
              disabled
Wuyuqiu committed
54 55 56 57 58 59 60 61 62 63 64 65
              v-model="model.gidgrp.rec.delto"
              style="width: 100%"
              placeholder="请选择交付收款人"
              :code="getValues('gidgrp.rec.delto','delto1')"
            >
            </c-select>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="交付地址" prop="gidgrp.blk.deltoadr">
            <c-input
66
              disabled
Wuyuqiu committed
67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
              rows="4"
              type="textarea"
              v-model="model.gidgrp.blk.deltoadr"
              maxlength="210"
              show-word-limit
              placeholder="请输入交付地址"
            ></c-input>
          </el-form-item>
        </c-col>

        <c-col :span="24">
          <el-form-item label="转让条件" prop="gidgrp.blk.trfcond">
            <c-input
              disabled
              type="textarea"
              rows="4"
              v-model="model.gidgrp.blk.trfcond"
              maxlength="6630"
              show-word-limit
              placeholder="请输入转让条件"
            ></c-input>
          </el-form-item>
        </c-col>
      </c-col>

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

import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Gitdla/Event";
import Utils from "~/utils";

export default {
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [commonProcess],
  data() {
    return {};
  },
  methods: {
    ...Event,
    async atxpreperBlur() {
      let rtnmsg = await this.executeRule("gidgrp.blk.atxpreper");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

    async modflgChange() {
      let rtnmsg = await this.executeRule("gitp.prepermodflg");
      if (rtnmsg.respCode == SUCCESS) {
        Utils.copyValueFromVO(this.model, rtnmsg.data);
      }
    },

  },
  created: function () {},
};
</script>
<style scoped>
</style>