Gidtxtp.vue 4.14 KB
<template>
     <div class="eibs">
       <c-row>
         <c-col :span="24">
           <c-col :span="18">
             <c-col :span="24">
               <el-form-item
                 v-if="model.gitp.gidtxtmodflg == ''"
                 label="保函文本可变因素"
                 prop="gidgrp.blk.gidtxt"
               >
                 <c-xml-format-editor-new
                   v-model="model.gidgrp.blk.gidtxt"
                   :disabled="model.gitp.gidtxtmodflg == ''"
                   placeholder="请输入保函文本可变因素"
                 ></c-xml-format-editor-new>
               </el-form-item>
               <el-form-item
                 v-if="model.gitp.gidtxtmodflg == 'X'"
                 label="保函文本可变因素"
                 prop="gidgrp.blk.gtxgidtxt"
               >
                 <c-xml-format-editor-new
                    style=""
                   :model="model.gidgrp.blk.gtxgidtxt"
                   placeholder="请输入保函文本可变因素"
                 ></c-xml-format-editor-new>
               </el-form-item>
             </c-col>
           </c-col>
           <c-col :span="6">
             <c-col :span="24">
               <c-checkbox
                 v-model="model.gitp.gidtxtmodflg"
                 style="margin: 0 0 0 10px"
                 class="checkbox-left"
                 disabled
                 >修改保函文本</c-checkbox
               >
             </c-col>
             <c-col :span="24">
               <c-checkbox
                 v-model="model.gitp.chkgidtxt"
                 style="margin: 0 0 0 10px"
                 class="checkbox-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%"
               >
                 查看系统文本
               </c-button>
             </c-col>
   
             <c-col :span="24">
               <c-button
                 size="small"
                 type="primary"
                 style="margin: 5px 0 0 10px; width: 50%"
               >
                 查看历史文本
               </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%"
                 >
                   显示文本
                 </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"
                 size="small"
                 type="primary"
               >
                 获取
               </c-button>
             </c-col>
             <c-col :span="24">
               <c-button
                 :disabled="model.gitp.gidtxtmodflg == '' || model.gidgrp.rec.giduil != 'CN'"
                 size="small"
                 type="primary"
                 style="margin: 5px 0 0 10px; width: 50%"
               >
                 修改中文保函文本
               </c-button>
             </c-col>
           </c-col>
         </c-col>
       </c-row>
     </div>
   </template>
   <script>
   import event from '../event'
   import InputXml from "~/components/InputXml";
   
   export default {
     components: { InputXml },
     inject: ["root"],
     props: ["model", "codes"],
     mixins: [event],
     data() {
       return {};
     },
     methods: {},
     created: function () {},
   };
   </script>
   <style scoped>
   .quill-editor >>> .ql-editor {
        min-height: 250px;
        max-height: 500px;
    }
   </style>