Mt750p.vue 5.91 KB
Newer Older
jianglong committed
1 2 3
<template>
  <div class="eibs-tab">
     <c-col>                                         
4
       <c-col :span="5">
jianglong committed
5
        <el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
6
            <c-select disabled v-model="model.bddgrp.cbs.max.cur" style="width:100%"  placeholder="请选择单据金额"  :code="codes.cur " ></c-select>
jianglong committed
7 8 9
        </el-form-item>
       </c-col>
                  
10
       <c-col :span="7">
11
        <el-form-item label=""  label-width="10px" prop="bddgrp.cbs.max.amt">
jianglong committed
12 13 14 15 16 17
            <c-input  v-model="model.bddgrp.cbs.max.amt"  placeholder="请输入Balance"></c-input>
        </el-form-item>
       </c-col>
    </c-col>

    <c-col>                               
18
       <c-col :span="5">
19 20
        <el-form-item label="附加金额" prop="bddgrp.cbs.opn2.cur">
            <c-select disabled v-model="model.bddgrp.cbs.opn2.cur" style="width:100%" placeholder="请选择附加金额" :code="codes.cur ">
jianglong committed
21 22 23 24 25 26
              </c-select>
            
        </el-form-item>

       </c-col>
                  
27
       <c-col :span="7">
28
        <el-form-item label="" label-width="10px" prop="bddgrp.cbs.max2.amt">
jianglong committed
29 30 31 32
            <c-input  v-model="model.bddgrp.cbs.max2.amt"  placeholder="请输入附加金额"></c-input>
        </el-form-item>
       </c-col>
    </c-col>
33
    
jianglong committed
34 35 36 37
    <c-col>

       <c-col :span="12">
        <el-form-item label="Charges Deducted" prop="bddgrp.blk.chaded">
38
            <c-input type="textarea" v-model="model.bddgrp.blk.chaded" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges Deducted" ></c-input>
jianglong committed
39 40 41 42 43 44
        </el-form-item>
        </c-col>
    </c-col>

    <c-col>                               
       <c-col :span="12">
45 46
        <el-form-item label="Charges Added" prop="bddgrp.blk.chaadd">
            <c-input type="textarea" v-model="model.bddgrp.blk.chaadd" :rows="4" maxlength="35" show-word-limit placeholder="请输入Charges" ></c-input>
jianglong committed
47 48 49 50 51
        </el-form-item>
        </c-col>
    </c-col>

    <c-col>                               
52 53 54
       <c-col :span="5">
        <el-form-item label="Amount to be Paid" prop="bddgrp.rec.totcur">
            <c-select  disabled v-model="model.bddgrp.rec.totcur" style="width:100%"  placeholder="请选择Total Amount Claimed" :code="codes.cur"></c-select>
jianglong committed
55 56 57
        </el-form-item>
       </c-col>
                  
58 59
       <c-col :span="7">
        <el-form-item label="" prop="bddgrp.rec.totamt" label-width="10px">
jianglong committed
60 61 62 63 64
            <c-input  v-model="model.bddgrp.rec.totamt"  placeholder="请输入Total Amount to be Paid"></c-input>
        </el-form-item>
       </c-col>
    </c-col>

65
    <!-- <c-col>                                      
jianglong committed
66 67
       <c-col :span="12">
        <el-form-item label="External Key of Address" prop="bddgrp.acb.pts.extkey">
68
            <c-input  v-model="model.bddgrp.acb.pts.extkey" maxlength="16"  placeholder="请输入External Key of Address" @keyup.enter.native="showGridPromptDialog('brdgrp.acb.pts.extkey')"></c-input>
jianglong committed
69 70
        </el-form-item>
       </c-col>
71
             
jianglong committed
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
       <c-col :span="12">
        <c-button size="small" type="primary"  @click="onAcbpDet">
            Details
        </c-button>
       </c-col>
    </c-col> 
                  
       <c-col :span="12">
        <el-form-item label="名称" prop="bddgrp.acb.namelc">
            <c-input type="textarea" v-model="model.bddgrp.acb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Address Block" prop="bddgrp.acb.pts.adrblk">
            <c-input type="textarea" v-model="model.bddgrp.acb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="Chinese address" prop="bddgrp.acb.dbfadrblkcn">
            <c-input type="textarea" v-model="model.bddgrp.acb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
        </el-form-item>
        </c-col>
                  
       <c-col :span="12">
        <el-form-item label="地址" prop="bddgrp.acb.adrelc">
            <c-input type="textarea" v-model="model.bddgrp.acb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
        </el-form-item>
101 102 103 104 105 106 107 108 109 110 111 112 113 114
        </c-col> -->
        <c-col>
        <c-col :span="12">
          <c-ptap
            :model="model"
            :argadr="{
              title: 'Account with Bank',
              grp: 'bddgrp',
              rol: 'acb',
            }"
            :noRef="true"
            :isAdrblk="false"
          >
          </c-ptap>
jianglong committed
115
        </c-col>
116 117 118
        </c-col>

       
119
         <c-col>                          
jianglong committed
120 121
       <c-col :span="12">
        <el-form-item label="Discrepancies" prop="bddgrp.blk.docdis">
122
            <c-input type="textarea" :disabled="model.bddgrp.blk.docdisflg!='X'" v-model="model.bddgrp.blk.docdis" :rows="6" maxlength="3500" show-word-limit placeholder="请输入Discrepancies" ></c-input>
jianglong committed
123 124
        </el-form-item>
        </c-col>
125
        </c-col>
jianglong committed
126 127 128 129 130 131 132 133 134 135 136 137
                  
       <c-col :span="12">
	    <c-checkbox v-model="model.bddgrp.blk.docdisflg">discrepancies modified</c-checkbox>
       </c-col>

  </div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Ditdav/Event"
138
import Ptap from "~/views/Public/Ptap";
jianglong committed
139 140

export default {
141
    components: { "c-ptap": Ptap },
jianglong committed
142 143 144 145 146 147 148 149
    inject: ["root"],
    props:["model","codes"],
    mixins: [commonProcess],
    data(){
        return {

        };
    },
150 151 152 153 154 155 156 157 158 159
    computed: {
        docdisflg: {
      get() {
        return this.model.bddgrp.blk.docdisflg === "X";
      },
      set(val) {
        this.model.bddgrp.blk.docdisflg = val ? "X" : "";
      },
    },
    },
jianglong committed
160 161 162 163 164 165 166 167 168
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>