Nidtxtp.vue 2.3 KB
Newer Older
fukai committed
1 2 3 4 5 6 7 8 9 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 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 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
<template>
  <div class="eibs-tab">
    <c-row>
      <c-col :span="24">
				<c-col :span="24" style="margin-bottom: 10px;">
					<c-checkbox
						true-label="X"
						false-label= ""
						v-model="model.nitp.gidtxtmodflg"
						disabled
						class="checkbox-left"
						style="margin-right: 20px;"
					>修改保函文本</c-checkbox>
					<c-button
						disabled
						size="mini"
						type="primary"
					>
						重置模板
					</c-button>
				</c-col>
				<c-col :span="24" style="margin: 5px 0 10px;">
				</c-col>
        <c-col :span="24">
          <c-col :span="24">
            <el-form-item
              prop="nidgrp.blk.gidtxt"
            >
              <c-xml-format-editor
                v-model="model.nidgrp.blk.gidtxt"
                disabled
                placeholder="请输入保函文本可变因素"
                :chs="model.nidgrp.rec.giduil!='EN'"
              ></c-xml-format-editor>
            </el-form-item>
          </c-col>
        </c-col>
      </c-col>
	  <c-col :span="24">
     

		<c-col :span="24" style="margin-top: 20px 0 10px;">
			<div v-if="model.nidgrp.rec.hndtyp=='OC'" style="">反担保保函附加条款:</div>
		</c-col>

		<c-col :span="24">
          
            <el-form-item
              v-if="model.nidgrp.rec.hndtyp=='OC'"
              prop="nitp.indirectswiadd"
            >
              <c-xml-format-editor line=10
                v-model="model.nitp.indirectswiadd"
              ></c-xml-format-editor>
            </el-form-item>
            
         
        </c-col>
	  </c-col>

    </c-row>
  </div>
</template>
<script>
import event from '../../event'
import commonDepend from "~/mixin/commonDepend";
export default {
  components: { },
  inject: ["root"],
  props: ["model", "codes"],
  mixins: [event, commonDepend],
  data() {
    return {
			isReset: false
		};
	},
  methods: {
		handleEdit () {
			if (!this.model.nitp.gidtxtmodflg) {
				this.$emit('changeTxt')
			}
		},
		handleReset () {
      if(this.model.nidgrp.blk.modifySet){
        this.model.nidgrp.blk.modifySet = this.model.nidgrp.blk.modifySet.filter(key=>key!='gidtxt')
      }
			this.$emit('changeTxt')
		},
		handleInput () {
			this.isReset = false
		}
  },
  created () {},
};
</script>
<style scoped lang="less">
::v-deep .el-form-item__content {
	margin-left: 0!important;
}
</style>