Gidtxtp.vue 4.2 KB
<template>
  <div class="eibs">
    <!-- ============左边================= -->
    <c-col :span="12" style="padding-right: 20px">
      <c-col :span="24">
        <el-form-item
          label="保函文本的可变因素"
          prop="gidgrp.blk.gidtxt"
          v-if="model.gitp.gidtxtmodflg == ''"
        >
          <c-xml-format-editor-new
            :disabled="model.gitp.gidtxtmodflg == ''"
            :model="model.gidgrp.blk.gidtxt"
            placeholder="请输入保函文本的可变因素"
          ></c-xml-format-editor-new>
          <!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> -->
        </el-form-item>
        <el-form-item
          label="保函文本的可变因素"
          prop="gidgrp.blk.gtxgidtxt"
          v-if="model.gitp.gidtxtmodflg == 'X'"
        >
          <c-xml-format-editor-new
            :disabled="model.gitp.gidtxtmodflg == ''"
            :model="model.gidgrp.blk.gtxgidtxt"
            placeholder="请输入保函文本的可变因素"
          ></c-xml-format-editor-new>
          <!-- <c-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input> -->
        </el-form-item>
      </c-col>
    </c-col>
    <!-- ============右边================= -->
    <c-col :span="12" style="padding-left: 20px">
      <c-col :span="24">
        <c-checkbox
          style="margin: 0 0 0 10px; float: left"
          v-model="model.gitp.gidtxtmodflg"
          >修改保函文本</c-checkbox
        >
      </c-col>
      <c-col :span="24">
        <c-checkbox
          v-model="model.gitp.chkgidtxt"
          style="margin: 0 0 0 10px; float: left"
          >允许</c-checkbox
        >
      </c-col>

      <c-col :span="24">
        <c-button
          :disabled="model.gitp.gidtxtmodflg == ''"
          size="small"
          type="primary"
          style="margin: 5px 0 0 10px; width: 50%"
          @click="onGitpButdif"
        >
          查看系统文本
        </c-button>
      </c-col>

      <c-col :span="24">
        <c-button
          size="small"
          type="primary"
          style="margin: 5px 0 0 10px; width: 50%"
          @click="onGitpButdifhis"
        >
          查看历史文本
        </c-button>
      </c-col>

      <template v-if="model.gitp.gidtxtmodflg == 'X'">
        <c-col :span="24">
          <c-button
            size="small"
            type="primary"
            style="margin: 5px 0 0 10px; width: 50%"
            @click="onGitpShwgidtxt"
          >
            显示文本
          </c-button>
        </c-col>
      </template>

      <c-col :span="24">
        <c-input
          style="margin: 5px 0 0 10px; width: 50%"
          v-model="model.gidgrp.rec.ownref"
          maxlength="16"
          placeholder="请输入"
        ></c-input>
      </c-col>
      <c-col :span="24">
        <c-button
          disabled
          style="margin: 5px 0 0 10px; width: 50%"
          size="small"
          type="primary"
          @click="onGitpButgetref"
        >
          获取
        </c-button>
      </c-col>
      <c-col :span="24">
        <c-button
          disabled
          size="small"
          type="primary"
          style="margin: 5px 0 0 10px; width: 50%"
          @click="onGitpGidtxtmod"
        >
          修改中文保函文本
        </c-button>
      </c-col>
    </c-col>
  </div>
</template>
<script>
import Api from '~/service/Api';
import commonProcess from '~/mixin/commonProcess';
import IStreamInput from '~/components/IStreamInput';
import CodeTable from '~/config/CodeTable';
import Event from '../event';

export default {
  components: { IStreamInput },
  inject: ['root'],
  props: ['model', 'codes'],
  mixins: [commonProcess, Event],
  data() {
    return {};
  },
  methods: {
    onGitpButdif() {},
    onGitpButdifhis() {},
    onGitpShwgidtxt() {},
    onGitpButgetref() {},
    onGitpGidtxtmod() {},
  },
  created: function () {
    console.log('getopn', this.model);
  },
};
</script>
<style></style>