diff --git a/src/model/Trtset/Check.js b/src/model/Trtset/Check.js
index 3de7c04..8b3974f 100644
--- a/src/model/Trtset/Check.js
+++ b/src/model/Trtset/Check.js
@@ -22,7 +22,7 @@ let checkObj = {
     "pager.liaall_limmod_limpfp_clmcbe.total"                          :null,
     "pager.liaall_limmod_limpfp_clmpty.total"                          :null,
     "pager.liaall_limmod_limpfp_clmcbb.total"                          :null,
-    "trtfipl1blk"                          :null,  
+    "clsflg"                          :null,  
 }
 
 for (const key in checkObj) {
diff --git a/src/model/Trtset/Default.js b/src/model/Trtset/Default.js
index 125cb98..8e3b959 100644
--- a/src/model/Trtset/Default.js
+++ b/src/model/Trtset/Default.js
@@ -50,6 +50,18 @@ export default {
     "trtmod.finmod.cbs.cbb.amt"                      :Utils.defaultFunction,
     "mtabut.clsflg"                      :Utils.defaultFunction,
     "mtabut.coninf.conexedat"                      :Utils.defaultFunction,
-    "trtfipl1blk"                      :Utils.defaultFunction,
+    "clsflg"                      :Utils.defaultFunction,
+    "liaall.limmod.limpts.oth.pts.extkey"            :Utils.defaultFunction,
+    "liaall.limmod.limpts.wrk.pts.extkey"                      :Utils.defaultFunction,
+    "bopmod.dbcgrp.bas.ownextkey"                      :Utils.defaultFunction,
+    "liaall.limmod.limpts.nonrevflg2"                      :Utils.defaultFunction,
+    "liaall.limmod.limpts.nonrevflg1"                      :Utils.defaultFunction,
+    "trnmod.cipmod.feecod"                      :Utils.defaultFunction,
+    "liaall.limmod.limpts.oth.pts.nam"                      :Utils.defaultFunction,
+    "liaall.limmod.comamt"                      :Utils.defaultFunction,
+    "liaall.limmod.ccvamt"                      :Utils.defaultFunction,
+    "liaall.limmod.limpts.wrk.pts.nam"                      :Utils.defaultFunction,
+    "liaall.misamt"                      :Utils.defaultFunction,
+
 }
 //你可以添加自动default处理
diff --git a/src/model/Trtset/index.js b/src/model/Trtset/index.js
index 83fcd59..2574069 100644
--- a/src/model/Trtset/index.js
+++ b/src/model/Trtset/index.js
@@ -9,6 +9,7 @@ export default class Trtset{
         this.data = {
 						trdgrp:{
 							rec:{
+								inr:"",
 								pntref:"",			//  父交易参考号		.trdgrp.rec.pntref
 								pntnam:"",			//  Name 		.trdgrp.rec.pntnam
 								ownref:"",			//  参考号		.trdgrp.rec.ownref
@@ -105,18 +106,7 @@ export default class Trtset{
 						liaall:new Pub().data.Liaall,
 						trnmod:new Pub().data.Trnmod,
 						pageId: "",			// ctx的key
-						trtfipl1blk:"",
-						// pager:{
-						// 	liaall_limmod_limpfp_clmcbe:{
-						// 		total:"",
-						// 	},
-						// 	liaall_limmod_limpfp_clmpty:{
-						// 		total:"",
-						// 	},
-						// 	liaall_limmod_limpfp_clmcbb:{
-						// 		total:"",
-						// 	}
-						// },
+						trtfipl1blk:"",	
 				}
     }
 }
\ No newline at end of file
diff --git a/src/views/Business/Trtset/Limitbody.vue b/src/views/Business/Trtset/Limitbody.vue
new file mode 100644
index 0000000..9b3b13b
--- /dev/null
+++ b/src/views/Business/Trtset/Limitbody.vue
@@ -0,0 +1,462 @@
+<template>
+  <div class="eibs-tab">
+    
+
+    <!-- 左边-->
+    <c-col :span="8">
+      <!-- line2 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item
+            label="额度主体"
+            prop="liaall.limmod.limpts.wrk.pts.extkey"
+            style="width: 100%"
+          >
+            <c-fullbox>
+              <c-input
+                v-model="model.liaall.limmod.limpts.wrk.pts.extkey"
+                maxlength="16"
+                placeholder="请输入地址编码"
+                style="width: 100%"
+                :disabled = "true"
+              ></c-input>
+              <template slot="footer">
+                <c-button
+                  style="margin: 0 5px 0 10px; padding: 0 12px"
+                  size="small"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="onSeainf"
+                />
+                <c-button
+                  style="margin: 0 0"
+                  size="small"
+                  type="primary"
+                  @click="onWrkpDet"
+                  icon="el-icon-info"
+                >
+                  
+                </c-button>
+              </template>
+            </c-fullbox>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line3 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item
+            label="主体名称"
+            prop="liaall.limmod.limpts.wrk.pts.nam"
+          >
+            <c-input
+              v-model="model.liaall.limmod.limpts.wrk.pts.nam"
+              maxlength="16"
+              placeholder=""
+              :disabled="true"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line4 -->
+      <c-row>
+        <c-col :span="24" style="text-align: right">
+          <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg1">
+            <c-fullbox>
+              <c-select
+                v-model="model.liaall.limmod.limpts.nonrevflg1"
+                style="width: 100%"
+                placeholder="请选择额度类型"
+                @change="nonrevflg1Change"
+                :disabled = "true"
+              >
+                <el-option
+                  v-for="item in codes.nonrevflg1"
+                  :key="item.value"
+                  :label="item.label"
+                  :value="item.value"
+                >
+                </el-option>
+              </c-select>
+              <template slot="footer">
+                <c-button
+                  style="padding: 0 12px"
+                  size="small"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="onLimptsGet1"
+                  :disabled = "true"
+                >
+                </c-button>
+              </template>
+            </c-fullbox>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line5 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod1">
+            <c-input
+              v-model="model.liaall.limmod.limpts.pfcod1"
+              maxlength="14"
+              placeholder="请输入合同流水号"
+              :disabled="this.model.liaall.limmod.limpts.nonrevflg1 != '2'"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+      </c-row>
+    </c-col>
+
+    <!-- 中间 -->
+    <!-- 随event方法改变 -->
+    <c-col :span="8" v-show="same" @change="show">
+      <!-- line2 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item
+            label="对公账户"
+            prop="liaall.limmod.limpts.oth.pts.extkey"
+            style="width: 100%"
+          >
+            <c-fullbox>
+              <c-input
+                v-model="model.liaall.limmod.limpts.oth.pts.extkey"
+                maxlength="16"
+                placeholder="请输入地址编号"
+                style="width: 100%"
+              ></c-input>
+              <template slot="footer">
+                <c-button
+                  style="margin: 0 5px 0 10px; padding: 0 12px"
+                  size="small"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="onSeainf"
+                />
+                <c-button
+                  style="margin: 0 0"
+                  size="small"
+                  type="primary"
+                  @click="onOthpDet"
+                  icon="el-icon-info"
+                >
+                  
+                </c-button>
+              </template>
+            </c-fullbox>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line3 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item
+            label="主体名称"
+            prop="liaall.limmod.limpts.oth.pts.nam"
+          >
+            <c-input
+              v-model="model.liaall.limmod.limpts.oth.pts.nam"
+              maxlength="16"
+              placeholder=""
+              :disabled="true"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line4 -->
+      <c-row>
+        <c-col :span="24" style="text-align: right">
+          <el-form-item label="额度类型" prop="liaall.limmod.limpts.nonrevflg2">
+            <c-fullbox>
+              <c-select
+                v-model="model.liaall.limmod.limpts.nonrevflg2"
+                style="width: 100%"
+                placeholder="请选择额度类型"
+                @change="nonrevflg2Change"
+              >
+                <el-option
+                  v-for="item in codes.nonrevflg2"
+                  :key="item.value"
+                  :label="item.label"
+                  :value="item.value"
+                >
+                </el-option>
+              </c-select>
+              <template slot="footer">
+                <c-button
+                  style="padding: 0 12px"
+                  size="small"
+                  type="primary"
+                  icon="el-icon-search"
+                  @click="onLimptsGet2"
+                >
+                </c-button>
+              </template>
+            </c-fullbox>
+          </el-form-item>
+        </c-col>
+      </c-row>
+
+      <!-- line5 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item label="合同流水号" prop="liaall.limmod.limpts.pfcod2">
+            <c-input
+              v-model="model.liaall.limmod.limpts.pfcod2"
+              maxlength="14"
+              placeholder="请输入合同流水号"
+              :disabled="this.model.liaall.limmod.limpts.nonrevflg2 != '2'"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+      </c-row>
+    </c-col>
+
+    <!-- 右边-->
+    <c-col :span="8">
+      <!-- line1 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item label="业务编号" prop="liaall.limmod.ownref">
+            <c-input
+              v-model="model.liaall.limmod.ownref"
+              maxlength="16"
+              placeholder="请输入国结业务编号"
+              :disabled="true"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+
+        <c-col :span="24">
+          <el-form-item label="业务余额" prop="liaall.limmod.comamt">
+            <c-input
+              v-model="model.liaall.limmod.comamt"
+              placeholder="请输入业务余额"
+              :disabled="true"
+              style="width: 100%"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+      </c-row>
+      <!-- line1 -->
+      <c-row>
+        <c-col :span="24">
+          <el-form-item label="保证金余额" prop="liaall.limmod.ccvamt">
+            <c-input
+              v-model="model.liaall.limmod.ccvamt"
+              placeholder="请输入保证金余额"
+              :disabled="true"
+            ></c-input>
+          </el-form-item>
+        </c-col>
+
+        <c-col :span="24" style="text-align: right">
+          <c-button size="small" type="primary" @click="onLimmodTrycal">
+            试算
+          </c-button>
+        </c-col>
+      </c-row>
+    </c-col>
+
+    
+    <br /><br /><br /><br /><br />
+    <c-col :span="24" style="">
+      <c-table :list="model.liaall.limmod.limgrd" :border="true">
+        <el-table-column prop="flg" label="可否串用" width="70px">
+        </el-table-column>
+        <el-table-column prop="shxh" label="序号" width="50px">
+        </el-table-column>
+        <el-table-column prop="limtyp" label="额度类型" width="70px">
+        </el-table-column>
+        <el-table-column prop="ruzhjg" label="入账机构" width="70px">
+        </el-table-column>
+        <el-table-column prop="limref" label="额度编号" width="70px">
+        </el-table-column>
+        <el-table-column prop="infref" label="额度明细编号" width="100px">
+        </el-table-column>
+        <el-table-column prop="limcodsave" label="额度品种代码" width="100px">
+        </el-table-column>
+        <el-table-column prop="limcod" label="品种代码描述" width="100px">
+        </el-table-column>
+        <el-table-column prop="cur" label="额度明细币种" width="100px">
+        </el-table-column>
+        <el-table-column prop="ccvpct" label="保证金比例" width="100px">
+        </el-table-column>
+        <el-table-column prop="cpsxed" label="产品授信额度" width="100px">
+        </el-table-column>
+        <el-table-column prop="balamt" label="产品可用额度" width="100px">
+        </el-table-column>
+        <el-table-column prop="useamt" label="产品已用额度" width="100px">
+        </el-table-column>
+        <el-table-column prop="cpsxck" label="产品授信敞口" width="100px">
+        </el-table-column>
+        <el-table-column prop="cpkyck" label="产品可用敞口" width="100px">
+        </el-table-column>
+        <el-table-column prop="cpyyck" label="产品已用敞口" width="100px">
+        </el-table-column>
+        <el-table-column prop="bxh" label="是否可循环" width="90px">
+        </el-table-column>
+        <el-table-column prop="bcy" label="是否可串用" width="90px">
+        </el-table-column>
+        <el-table-column prop="cyremark" label="串用说明" width="100px">
+        </el-table-column>
+        <el-table-column prop="credat" label="产品额度生效日期" width="120px">
+        </el-table-column>
+        <el-table-column prop="matdat" label="产品额度到期日" width="120px">
+        </el-table-column>
+        <el-table-column prop="lcpsta" label="额度产品状态" width="100px">
+        </el-table-column>
+        <el-table-column prop="fentyp" label="暴露分类" width="100px">
+        </el-table-column>
+        <el-table-column prop="fentxt" label="暴露分类说明" width="100px">
+        </el-table-column>
+        <el-table-column prop="limcur" label="额度币种" width="90px">
+        </el-table-column>
+        <el-table-column prop="bfx" label="是否低风险" width="90px">
+        </el-table-column>
+      </c-table>
+    </c-col>
+
+    <!-- <c-col :span="24" style="" v-if="false">
+            <c-table :list="model.liaall.limmod.lmegrd" :border="true">
+                <el-table-column label="可否串用" width="auto">
+                </el-table-column>
+                <el-table-column label="序号" width="auto"> </el-table-column>
+                <el-table-column label="额度类型" width="auto">
+                </el-table-column>
+                <el-table-column label="入账机构" width="auto">
+                </el-table-column>
+                <el-table-column label="额度编号" width="auto">
+                </el-table-column>
+                <el-table-column label="额度明细编号" width="auto">
+                </el-table-column>
+                <el-table-column label="额度品种代码" width="auto">
+                </el-table-column>
+                <el-table-column label="品种代码描述" width="auto">
+                </el-table-column>
+                <el-table-column label="" width="auto"> </el-table-column>
+            </c-table>
+        </c-col> -->
+  </div>
+</template>
+
+<script>
+import Api from "~/service/Api";
+import commonProcess from "~/mixin/commonProcess";
+import CodeTable from "~/config/CodeTable";
+// import Event from "~/model/Ditopn/Event";
+
+export default {
+  inject: ["root"],
+  props: ["model", "codes"],
+  mixins: [commonProcess],
+  data() {
+    return {
+      tableData: {},
+      same:false
+    };
+  },
+  methods: {
+    onSeainf() {},
+    async onPreperButtxmsel() {
+      let rtnmsg = await this.executeRule("preper_buttxmsel");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+      } else {
+        this.$notify.error({
+          title: "错误",
+          message: "服务请求失败!",
+        });
+      }
+    },
+    async onLimptsGet1() {
+      let rtnmsg = await this.executeRule("limpts_get1");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+      } else {
+        this.$notify.error({
+          title: "错误",
+          message: "服务请求失败!",
+        });
+      }
+    },
+    async onLimptsGet2() {
+      let rtnmsg = await this.executeRule("limpts_get2");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+      } else {
+        this.$notify.error({
+          title: "错误",
+          message: "服务请求失败!",
+        });
+      }
+    },
+    nonrevflg1Change() {
+      if (this.model.liaall.limmod.limpts.nonrevflg1 == "1") {
+        this.model.liaall.limmod.limpts.pfcod1 = "";
+      }
+    },
+    nonrevflg2Change() {
+      if (this.model.liaall.limmod.limpts.nonrevflg2 == "1") {
+        this.model.liaall.limmod.limpts.pfcod2 = "";
+      }
+    },
+    async onWrkpDet() {
+      let rtnmsg = await this.executeRule("liaall.limmod.wrkp.det");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+        console.log(rtnmsg.data);
+      } else {
+        this.$notify.error({
+          title: "错误",
+          message: "服务请求失败!",
+        });
+      }
+    },
+    async onOthpDet() {
+      let rtnmsg = await this.executeRule("liaall.limmod.othp.det");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+        console.log(rtnmsg.data);
+      } else {
+        this.$notify.error({
+          title: "错误",
+          message: "服务请求失败!",
+        });
+      }
+    },
+
+    async onLimmodTrycal() {
+      let rtnmsg = await this.executeRule("liaall.limmod.trycal");
+      if (rtnmsg.respCode == SUCCESS) {
+        //TODO 处理数据逻辑
+      } else {
+        this.$notify.error({ title: "错误", message: "服务请求失败!" });
+      }
+    },
+    show(){
+      let len1 = this.model.liaall.limmod.tygrd["rows"].length||[];
+      let len2 = this.model.liaall.limmod.dggrd["rows"].length||[];
+      
+      if(len1>0&&len2>0){
+        this.same = true;
+      }
+    }
+  },
+  created: function () {},
+};
+</script>
+
+<style>
+</style>
diff --git a/src/views/Business/Trtset/Ovwp.vue b/src/views/Business/Trtset/Ovwp.vue
index 5d18206..dd9739b 100644
--- a/src/views/Business/Trtset/Ovwp.vue
+++ b/src/views/Business/Trtset/Ovwp.vue
@@ -104,7 +104,7 @@
               </el-form-item>
             </c-col>
 
-            <c-col :span="17">
+            <c-col :span="14">
               <c-form-item label="借据号" prop="trtmod.finmod.fincod">
                 <c-input
                   v-model="model.trtmod.finmod.fincod"
@@ -114,7 +114,7 @@
               </c-form-item>
             </c-col>
 
-            <c-col :span="6" :offset="1">
+            <c-col :span="3"  class="bctdav_bctp_bctovw_cheak">
               <c-checkbox
                 v-model="model.clsflg"
                 :disabled="checkDate(model.trdgrp.rec.stttendat)"
@@ -143,10 +143,10 @@
                 <c-select
                   v-model="model.trtmod.finmod.acttyp"
                   style="width: 100%"
-                  :disabled="flag2"
+                  :disabled="true"
                   placeholder="请选择第三方还款方式"
                 >
-                  <!-- <el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option> -->
+                  <el-option v-for="item in codes.acttyp1" :key="item.value" :label="item.label" :value="item.value"></el-option>
                 </c-select>
               </el-form-item>
             </c-col>
@@ -501,9 +501,10 @@
               </c-form-item>
             </c-col>
 
-            <c-col :span="20" :offset="4">
+            <c-col :span="20" class="bctdav_bctp_bctovw_cheak">
               <c-checkbox v-model="model.mtabut.clsflg"
-              :disabled="flag">{{
+              true-label="C" false-label="O"
+              :disabled="flag1">{{
                 $t("闭卷")
               }}</c-checkbox>
             </c-col>
@@ -545,22 +546,25 @@ export default {
       }
     },
     change(a){
+      this.executeRule("clsflg").then((res) => {
+        if ((res.respCode == SUCCESS)) {
+          Utils.copyValueFromVO(this.model, res.data);
+        }
+      });
       if (a = 'X'){
         this.model.trtmod.finmod.reptyp = "1"
         if(this.flag1 == true){
           this.flag1 = false
-          this.model.mtabut.clsflg = 'X'
+          this.model.mtabut.clsflg = "C"
           }
         }
-
-        
     },
-    selChange(a){
-        if(a == '2'||this.model.mtabut.clsflg == 'X'||this.flag2 == false){
-          this.model.mtabut.clsflg = ''
+    selChange(b){
+        if(b == '2'||this.flag2 == false){
+          this.model.mtabut.clsflg = 'O'
           this.flag1 = true   
       }
-    }
+    },
   },
   created: function () {},
 };
diff --git a/src/views/Business/Trtset/index.vue b/src/views/Business/Trtset/index.vue
index d085c5d..9157462 100644
--- a/src/views/Business/Trtset/index.vue
+++ b/src/views/Business/Trtset/index.vue
@@ -53,7 +53,7 @@
           </c-content>
         </el-tab-pane>
         <!--trndoc PD000529 &Messages -->
-        <el-tab-pane label="&Messages" name="docpan">
+        <el-tab-pane label="面函" name="docpan">
           <c-content>
             <m-docpan :model="model" :codes="codes" />
           </c-content>
@@ -92,12 +92,12 @@ import Pattern from "~/model/Trtset/Pattern";
 
 import Ovwp from "./Ovwp";
 import Shisuan from "./Shisuan";
+import Limitbody from "./Limitbody";
 import Engp from "~/views/Public/Engp";
 import Setpan from "~/views/Public/Setpan";
 import Coninfp from "~/views/Public/Coninfp";
 import Docpan from "~/views/Public/Docpan";
 import Doctre from "~/views/Public/Doctre";
-import Limitbody from "~/views/Public/Limitbody";
 import Glepan from "~/views/Public/Glepan";
 
 export default {