Botdcrp1.vue 8.33 KB
Newer Older
jxl committed
1
<template>
jxl committed
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
 <c-row>
  <!-- =================顶部====================== -->
  <c-col :span="24">
    <c-col :span="11">
        <c-col :span="20">
          <el-form-item
            label="Reference"
            prop="bodgrp.rec.ownref"
            style="width: 100%"
          >
            <c-input
              v-model="model.bodgrp.rec.ownref"
              maxlength="16"
              placeholder="请输入Reference"
              style="width: 95%"
              disabled
            ></c-input>
          </el-form-item>
        </c-col>
          <c-col :span="4">
              <c-button
               style="margin:0 10px 0 0;padding: 0 10px;"
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="onSeainf"
              ></c-button>
          </c-col>
    </c-col>
    <c-col :span="11" :offset="1">
        <el-form-item label="摘要" prop="bodgrp.rec.nam">
          <c-input
            align="middle"
            v-model="model.bodgrp.rec.nam"
            maxlength="40"
            disabled
            placeholder="请输入Externally Displayed Name to Identify the Contract"
          ></c-input>
        </el-form-item>
    </c-col>
  </c-col>
  <!-- ====================左边======================= -->
  <c-col :span="11">
    <c-col :span="12">
jxl committed
46
        <el-form-item label="Document Amount" prop="bodgrp.cbs.max.cur">
jxl committed
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
          <c-select
            disabled
            v-model="model.bodgrp.cbs.max.cur"
            style="width: 100%"
            placeholder="请选择Currency"
            
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
    </c-col>
	<c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="bodgrp.cbs.max.amt"
        >
          <c-input-currency
            v-model="model.bodgrp.cbs.max.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入Document Amount"
            @keyup.enter.native="defaultFunction('bodgrp.cbs.max.amt', model.bodgrp.cbs.max.amt)"
          ></c-input-currency>
        </el-form-item>
    </c-col>
    <c-col :span="12">
jxl committed
79
        <el-form-item label="Warehouse/Insurance" prop="bodgrp.cbs.opn1.cur">
jxl committed
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
          <c-select
            disabled
            v-model="model.bodgrp.cbs.opn1.cur"
            style="width: 100%"
            placeholder="请选择Currency"
          >
            <el-option
              v-for="item in codes.cur"
              :key="item.value"
              :label="item.label"
              :value="item.value"
            >
            </el-option>
          </c-select>
        </el-form-item>
    </c-col>
	<c-col :span="12">
        <el-form-item
          style="text-align: left"
          label-width="20px"
          prop="bodgrp.cbs.opn1.amt"
        >
          <c-input-currency
            v-model="model.bodgrp.cbs.opn1.amt"
            style="text-align: left; width: 100%"
            placeholder="请输入Warehouse/Insurance"
            @keyup.enter.native="defaultFunction('bodgrp.cbs.opn1.amt', model.bodgrp.cbs.opn1.amt)"
          ></c-input-currency>
        </el-form-item>
    </c-col>

    <c-col :span="24">
jxl committed
112 113 114 115
        <el-form-item label="Collection Condition" prop="bodgrp.rec.doctypcod">
            <c-select v-model="model.bodgrp.rec.doctypcod" style="width:100%" placeholder="请选择Collection Condition">
              </c-select>
        </el-form-item>
jxl committed
116 117
    </c-col>
    <c-col :span="24">
jxl committed
118 119 120
        <el-form-item label="Document Set Status" prop="bodgrp.rec.docsta">
            <c-input  v-model="model.bodgrp.rec.docsta" maxlength="40"  placeholder="请输入Document Set Status"></c-input>
        </el-form-item>
jxl committed
121 122
    </c-col>
    <c-col :span="12">
jxl committed
123 124 125
        <el-form-item label="Maturity Date" prop="bodgrp.rec.matdat">
            <c-date-picker type="date"  v-model="model.bodgrp.rec.matdat" style="width:100%"  placeholder="请选择Maturity Date"></c-date-picker>
        </el-form-item>
jxl committed
126 127
    </c-col>
    <c-col :span="12">
jxl committed
128 129 130
        <el-form-item label="Tenor Specification" prop="bodgrp.rec.matpercnt">
            <c-input  v-model="model.bodgrp.rec.matpercnt"  placeholder="请输入Tenor Specification"></c-input>
        </el-form-item>
jxl committed
131 132 133
    </c-col>
    <c-col :span="24">
        <el-form-item label="  " prop="bodgrp.rec.matperbeg">
jxl committed
134 135 136
            <c-select v-model="model.bodgrp.rec.matperbeg" style="width:100%" placeholder="请选择Start of Maturity Period MATBEG">
              </c-select>
        </el-form-item>
jxl committed
137 138
    </c-col>
    <c-col :span="12">
jxl committed
139 140 141
        <el-form-item label="Order Date" prop="bodgrp.rec.rcvdat">
            <c-date-picker type="date"  v-model="model.bodgrp.rec.rcvdat" style="width:100%"  placeholder="请选择Order Date"></c-date-picker>
        </el-form-item>
jxl committed
142 143
    </c-col>
    <c-col :span="12">
jxl committed
144 145 146
        <el-form-item label="Presentation Date" prop="bodgrp.rec.predat">
            <c-date-picker type="date"  v-model="model.bodgrp.rec.predat" style="width:100%"  placeholder="请选择Presentation Date"></c-date-picker>
        </el-form-item>
jxl committed
147 148
    </c-col>
    <c-col :span="24">
jxl committed
149 150 151
        <el-form-item label="" prop="rejtypsel">
            <c-input  v-model="model.rejtypsel" maxlength="1"  placeholder="请输入"></c-input>
        </el-form-item>
jxl committed
152 153 154 155 156 157 158 159 160 161 162
    </c-col>
    <c-col :span="24">
	    <c-checkbox v-model="model.mtabut.clsflg" >Close Flag</c-checkbox>
    </c-col>
    <c-col :span="21">
        <el-form-item label="Reason for Non-Payment/Non-Acceptance" prop="bodgrp.blk.resrej" >
            <c-input type="textarea" :autosize="{ minRows: 5, maxRows: 20}"   
            v-model="model.bodgrp.blk.resrej" maxlength="700" show-word-limit placeholder="请输入Reason for Non-Payment/Non-Acceptance" ></c-input>
        </el-form-item>
    </c-col>
    <c-col :span="3">
jxl committed
163 164 165
        <c-button size="small" type="primary" icon="el-icon-search" @click="onResrejButtxmsel">
            ...
        </c-button>
jxl committed
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
    </c-col>
   </c-col>
   <!-- ====================右边======================= -->
   <c-col :span="11" :offset="1">
     <c-col :span="24">
        <el-form-item label="Drawer" prop="bodgrp.drr.pts.ref">
            <c-input  v-model="model.bodgrp.drr.pts.ref" maxlength="16"  placeholder="请输入Drawer"></c-input>
        </el-form-item>
     </c-col>
     <c-col :span="24">
        <el-form-item label="Name of Party" prop="bodgrp.drr.pts.nam">
            <c-input  v-model="model.bodgrp.drr.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
     </c-col>
     <c-col :span="24">
        <el-form-item label="Collecting Bank" prop="bodgrp.col.pts.ref">
            <c-input  v-model="model.bodgrp.col.pts.ref" maxlength="16"  placeholder="请输入Collecting Bank"></c-input>
        </el-form-item>
     </c-col>
                  
     <c-col :span="24">
        <el-form-item label="Name of Party" prop="bodgrp.col.pts.nam">
            <c-input  v-model="model.bodgrp.col.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
     </c-col>
     <c-col :span="24">
        <el-form-item label="Drawee" prop="bodgrp.dre.pts.ref">
            <c-input  v-model="model.bodgrp.dre.pts.ref" maxlength="16"  placeholder="请输入Drawee"></c-input>
        </el-form-item>
     </c-col>
     <c-col :span="24">
        <el-form-item label="Name of Party" prop="bodgrp.dre.pts.nam">
            <c-input  v-model="model.bodgrp.dre.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
     </c-col>    
     <c-col :span="24">
          <c-istream-table   
            :list="model.botp.docgrdm.docgrd"
            :columns="columns"
          >
          </c-istream-table>
     </c-col> 


   </c-col>




 </c-row>
jxl committed
216 217 218
</template>
<script>
import Api from "~/service/Api"
wangren committed
219
import commonProcess from "~/mixin/commonProcess";
jxl committed
220 221 222 223 224 225
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Botdcr/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
226
    mixins: [commonProcess],
jxl committed
227 228
    data(){
        return {
jxl committed
229
         columns: ['0 0 "lst1" 50 ', '1 1 "lst2" 50', '2 2 "document" 200'],
jxl committed
230 231 232 233 234 235 236 237 238 239 240
        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>