<template> <div class="eibs"> <!-- ============左边================= --> <c-col :span="12" style="padding-right: 20px;"> <c-col :span="24"> <c-ptap-commons :cols="50" :rows="70" :minRows="5" :maxRows="70" :model="model" :disabledButton="this.model.bedgrp.blk.docdisflg!='X'" :extCodes="['bedgrp','blk']" lastModel="docdis" @handelChange="docdisChange" title="Discrepancies"> </c-ptap-commons> </c-col> <c-col :span="24"> <c-ptap-commons :cols="65" :rows="20" :minRows="5" :maxRows="20" :model="model" :extCodes="['bedgrp','blk']" lastModel="intdis" title="Internal Discrepancies"> </c-ptap-commons> </c-col> <c-col :span="24"> <c-ptap-commons :cols="65" :rows="20" :minRows="5" :maxRows="20" :model="model" :extCodes="['bedgrp','blk']" lastModel="comcon" title="Comments and Conclusions"> </c-ptap-commons> </c-col> </c-col> <!-- ============右边================= --> <c-col :span="12" style="padding-left: 20px;"> <c-col :span="24"> <el-form-item class="checkbox-left"> <c-checkbox v-model="model.bedgrp.blk.docdisflg" true-label="X" false-label="" @change="docdisflgChange">Discrepancies modified</c-checkbox> </el-form-item> </c-col> <c-col :span="24"> <el-form-item label="Further Handling" prop="betp.folwupopt"> <c-fullbox> <c-select v-model="model.betp.folwupopt" style="width: 100%" disabled dbCode="FOLWPT" > <!-- <el-option v-for="item in codes.folwupopt1" :key="item.value" :label="item.label" :value="item.value" > </el-option>--> </c-select> <!-- <template slot="footer"> <el-form-item label="" prop="model.bedgrp.blk.docdisflg"> <c-checkbox v-model="docdisflg" style="margin-left: 10px" >不符点修改</c-checkbox > </el-form-item> </template>--> </c-fullbox> </el-form-item> </c-col> <c-col :span="24"> <c-ptap-commons :cols="65" :rows="6" :minRows="5" :maxRows="6" :model="model" :extCodes="['bedgrp','blk']" lastModel="setinsbe" title="Settlement Instructions for this Document Set"> </c-ptap-commons> </c-col> <!-- <c-col :span="24"> <el-form-item label="Payer" prop="bedgrp.rec.payrol"> <c-select v-model="model.bedgrp.rec.payrol" style="width: 100%" placeholder="请选择" dbCode="ROLALL" > <!– <el-option v-for="item in codes.payrol" :key="item.value" :label="item.label" :value="item.value" > </el-option>–> </c-select> </el-form-item> </c-col> <c-col :span="24"> <c-ptap :model="model" :argadr="{ title: '', grp: 'bedgrp', rol: 'oth', }" :noRef="false" :disabled="!(model.bedgrp.rec.payrol == 'OTH')" :isAdrblk="true" :disabledRef="payrolFlag" :disabledExtkey="payrolFlag" @keyup.enter.native=" queryGridEtyPromptDialogData('OTH', 'C') " > </c-ptap> </c-col>--> </c-col> <!-- next part --> <!-- <c-docpre :model="model" :argadr="{ path: 'bedgrp.blk.prsdoc', grp: 'betp', code: 'docpre', }" > </c-docpre>--> </div> </template> <script> import event from '../event'; import Default from '../model/default' export default { name: "Docpre", // components: { "c-ptap": Ptap, "c-docpre": Docpre }, inject: ["root"], props: ["model", "codes"], mixins: [event,Default], data() { return { } }, computed: { payrolFlag: { get() { return ( this.model.bedgrp.rec.payrol == "AVB" || this.model.bedgrp.rec.payrol == "ISS" ); }, }, }, methods: { docdisChange(){ this.folwupoptModify(); }, docdisflgChange(){ // 计算 不符点信息 this.defaultBedgrpBlkDocdis(); // 更新folwupopt的状态 this.docdisChange(); } }, created: function () {}, }; </script> <style> </style>