Canp.vue 10.9 KB
Newer Older
1 2 3 4 5
<template>
  <div class="eibs-tab">
  <!-- =================顶部====================== -->
        <c-col :span="24">
            <c-col :span="8">
wangna committed
6 7
                <el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
                    <c-input  v-model="model.ltdgrp.rec.ownref" maxlength="16"  placeholder="请输入转让信用证编号"></c-input>
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                        
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                       
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
            <c-col :span="8">
wangna committed
28 29
                <el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
                    <c-input  v-model="model.ledgrp.rec.ownref" maxlength="16"  placeholder="请输入信用证编号"></c-input>
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
                </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                        
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
        </c-col>                   
<c-col :span="24">
            <c-col :span="8">
wangna committed
52 53
                <el-form-item label="单据编号" prop="btdgrp.rec.ownref">
            <c-input  v-model="model.btdgrp.rec.ownref" maxlength="16"  placeholder="请输入单据编号"></c-input>
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
        </el-form-item>
            </c-col>
            <c-col :span="4">
                <el-form-item label="" label-width="15px">
                    <c-button
                        size="small"
                        type="primary;width:10%"
                        
                        >i</c-button
                    >
                    <c-button
                        size="small"
                        type="primary"
                        
                    >
                        获取
                    </c-button>
                </el-form-item>
            </c-col>
            <c-col :span="11">
                <el-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
                    <c-input  v-model="model.btdgrp.rec.nam" maxlength="40"  placeholder="请输入Name of Bill Contract"></c-input>
                </el-form-item>
            </c-col>
        </c-col>                               
        <!-- ====================左边======================= -->
         <c-col :span="11">
            <c-col :span="15">
wangna committed
82
                <el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
83 84 85
                    <c-select
                        v-model="model.btdgrp.cbs.max.cur"
                        style="width: 100%"
wangna committed
86
                        placeholder="请选择币种">
87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
                        <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="8">
                <el-form-item
                    style="text-align: left"
                    label-width="20px"
                    prop="btdgrp.cbs.max.amt">
                    <c-input-currency
                        v-model="model.btdgrp.cbs.max.amt"
                        style="text-align: left; width: 100%"
wangna committed
104
                        placeholder="请输入单据金额"
105 106 107 108 109
                    ></c-input-currency>
                </el-form-item>
            </c-col>
    
            <c-col :span="1">  
wangna committed
110
            <c-checkbox v-model="model.bttp0.aammod.addamtflg">附加金额</c-checkbox>           
111 112 113
            </c-col>

            <c-col :span="15">
wangna committed
114
                <el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
115 116 117 118
                    <c-select
                        v-model="model.btdgrp.cbs.opn1.cur"
                        style="width: 100%"
                        maxlength="3"
wangna committed
119
                        placeholder="请选择币种">
120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137
                        <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="8">
                <el-form-item
                    style="text-align: left"
                    label-width="20px"
                    prop="btdgrp.cbs.opn1.amt">
                    <c-input-currency
                        v-model="model.btdgrp.cbs.opn1.amt"
                        style="text-align: left; width: 100%"
wangna committed
138
                        placeholder="请输入余额"
139 140 141 142 143 144
                    ></c-input-currency>
                </el-form-item>
            </c-col>


            <c-col :span="24">
wangna committed
145
                <el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
146 147 148 149
                    <c-select
                        v-model="model.btdgrp.rec.doctypcod"
                        style="width: 100%"
                        maxlength="1"
wangna committed
150
                        placeholder="请选择单据类型">
151 152 153 154 155 156 157 158 159 160 161
                        <el-option
                            v-for="item in codes.doctypcod"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                 </el-form-item>
            </c-col>

        <c-col :span="24">
wangna committed
162 163
                <el-form-item label="到期日" prop="btdgrp.rec.matdat">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.matdat" value-format="yyyy-MM-dd" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
164 165 166 167
                 </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
168 169
                <el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.rcvdatbe2" value-format="yyyy-MM-dd" style="width:100%"  placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
170 171 172 173
                </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
174 175
                <el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
                    <c-date-picker type="date"  v-model="model.btdgrp.rec.rcvdatbe1" value-format="yyyy-MM-dd" style="width:100%"  placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
176 177 178 179
                </el-form-item>
        </c-col>

        <c-col :span="24">
wangna committed
180
                <el-form-item label="单据状态" prop="btdgrp.rec.docsta">
181 182 183 184 185
                   
                    <c-select
                        v-model="model.btdgrp.rec.docsta"
                        style="width: 100%"
                        maxlength="40"
wangna committed
186
                        placeholder="请选择单据状态">
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 216 217 218 219 220 221 222 223 224 225
                        <el-option
                            v-for="item in codes.docsta"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
                    </c-select>
                 </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="Narrative" prop="strinf">
                <c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative" ></c-input>
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="Booking Procedure" prop="rebkpflg">
            <c-select
                        v-model="model.rebkpflg"
                        style="width: 100%"
                        maxlength="3"
                        placeholder="请选择Booking Procedure">
                        <el-option
                            v-for="item in codes.rebkpflg"
                            :key="item.value"
                            :label="item.label"
                            :value="item.value">
                        </el-option>
            </c-select>
            </el-form-item>
        </c-col>
        

        </c-col>
      <!-- ========================右边======================= -->
       <c-col :span="11" :offset="1">
       <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">
wangna committed
226 227
                <el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
            <c-input  v-model="model.btdgrp.be1.pts.ref" maxlength="16"  placeholder="请输入第一受益人"></c-input>
228 229 230 231 232 233 234
        </el-form-item>
        </c-col>

        

        <c-col :span="24">
                <el-form-item label="" prop="btdgrp.be1.pts.nam">
wangna committed
235
            <c-input  v-model="model.btdgrp.be1.pts.nam" maxlength="40"  placeholder="请输入"></c-input>
236 237 238 239 240 241
        </el-form-item>
        </c-col>
       
        <c-col :span="24">&nbsp;</c-col>
          
        <c-col :span="24">
wangna committed
242 243
            <el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
                <c-input  v-model="model.btdgrp.be2.pts.ref" maxlength="16"  placeholder="请输入第二受益人"></c-input>
244 245 246 247 248
            </el-form-item>
        </c-col>

        <c-col :span="24">
            <el-form-item label="" prop="btdgrp.be2.pts.nam">
wangna committed
249
                <c-input  v-model="model.btdgrp.be2.pts.nam" maxlength="40"  placeholder="请输入"></c-input>
250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267
            </el-form-item>
        </c-col>

        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>
        <c-col :span="24">&nbsp;</c-col>

        <c-col :span="24">
            <c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
        </c-col>

       </c-col>
  </div>
</template>
<script>
import Api from "~/service/Api"
wangren committed
268
import commonProcess from "~/mixin/commonProcess";
269 270 271 272 273 274
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttcan/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
275
    mixins: [commonProcess],
276 277 278 279 280 281 282 283 284 285 286 287 288 289
    data(){
        return {

        }
    },
    methods:{...Event},
    created:function(){

    }
}
</script>
<style>

</style>