Gidtxtp.vue 5.5 KB
Newer Older
1 2 3 4 5 6
<template>
  <div class="eibs-tab">
    <c-row>
        <c-col :span="24">
            <c-col :span="16">
               <c-col :span="24">
liyixun committed
7
                    <el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gidtxt">
8
                        <i-stream-input :disabled="model.gitp.gidtxtmodflg == ''" type="textarea" rows="15" :model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables"></i-stream-input>
9
                        <!-- <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> -->
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
                    </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">Modify Guarantee Text</c-checkbox>
                    </c-col>
                    <c-col :span="24">
                        <c-checkbox v-model="model.gitp.chkgidtxt" style="margin:0 0 0 10px">Allow *</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">
                             vs. &System
                         </c-button>
                    </c-col>

                    <c-col :span="24">
                        <c-button  size="small" type="primary" style="margin:5px 0 0 10px;width:50%"  @click="onGitpButdifhis">
                            vs. &History
                        </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">
                                Show&Text
                            </c-button>
                        </c-col>
                    </template>
                    
liyixun committed
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
                    <c-col :span="24">
                            <c-input
                                style="margin:5px 0 0 10px;width:50%"
                                v-model="model.gidgrp.rec.ownref"
                                maxlength="16"
                                placeholder="请输入Reference"
                            ></c-input>
                    </c-col>
                    <c-col :span="24">
                         <c-button
                                disabled
                                style="margin:5px 0 0 10px"
                                size="small"
                                type="primary"
                                @click="onGitpButgetref"
                                >
                                获取
                                </c-button>
                    </c-col>
60 61 62 63 64 65 66 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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
                    <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>
        </c-col>
    </c-row>
                                               
       <!-- <c-col :span="12">
	    <c-checkbox v-model="model.gitp.gidtxtmodflg">Modify Guarantee Text</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Guarantee Text" prop="gidgrp.blk.gidtxt">
            <c-input type="textarea" v-model="model.gidgrp.blk.gidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Guarantee Text with Variables" prop="gidgrp.blk.gtxgidtxt">
            <c-input type="textarea" v-model="model.gidgrp.blk.gtxgidtxt" maxlength="65" show-word-limit placeholder="请输入Guarantee Text with Variables" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.gitp.chkgidtxt">Allow *</c-checkbox>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdif">
            vs. S&ystem
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpButdifhis">
            vs. &History
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpShwgidtxt">
            Sho&w Text
        </c-button>
       </c-col>
                  
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onGitpGidtxtmod">
            修改中文保函文本
        </c-button>
       </c-col> -->
  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
117
import IStreamInput from '~/components/IStreamInput'
118 119 120 121
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Gitpop/Event"

export default {
122
    components: {IStreamInput},
123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138
    inject: ['root'],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>