Ovwp.vue 16.5 KB
Newer Older
cyy committed
1
<template>
cyy 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 46 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 79 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 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 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
  <c-content class="eibs-tab" :height="200">

        <div class="infTopBtn">
            <el-button-group>
                <c-button size="small" type="primary" icon="el-icon-arrow-left"></c-button>
                <c-button size="small" type="primary" icon="el-icon-arrow-right"></c-button>
            </el-button-group>
            <c-button size="small" type="primary">Print</c-button>
            <c-button size="small" type="primary">Use</c-button>
            <c-button size="small" type="primary">Loginfo</c-button>
        </div>

        <c-row class="infrow" style="margin-top:50px;">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="18">
                        <el-form-item label="参考号" prop="ledgrp.rec.ownref">
                            <c-input  vnpm-model="model.ledgrp.rec.ownref" maxlength="16"  placeholder="请输入参考号"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="2" :offset="1">
                        <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
                    </c-col>
                </c-row>
            </c-col>  
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.amt">
                            <c-col :span="6">
                                <c-select v-model="model.ledgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入Currency" :code="codes.curtxt"></c-select>
                            </c-col>
                            <c-col :span="16" :offset="2">
                                <c-input v-model="model.ledgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
                            </c-col>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="18">
                        <el-form-item label="单据参考号" prop="bedgrp.rec.ownref">
                            <c-input  v-model="model.bedgrp.rec.ownref" maxlength="16"  placeholder="请输入单据参考号"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="2" :offset="1">
                        <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="摘要" prop="bedgrp.rec.nam">
                            <c-input  v-model="model.bedgrp.rec.nam" maxlength="40"  placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>        
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="14">
                        <el-form-item label="单据金额" prop="bedgrp.cbs.max.amt">
                                <c-input  v-model="model.bedgrp.cbs.max.amt"  placeholder="请输入单据金额"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="5" :offset="1">
                        <el-form-item label="" prop="bedgrp.cbs.max.cur" label-width="0px">
                            <c-select v-model="model.bedgrp.cbs.max.cur" style="width:100%" placeholder="请选择cur" :code="codes.curtxt"></c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>   
            <c-col :span="11" :offset="1">
                <c-row>  
                    <c-col :span="14">
                        <el-form-item label="交单人" prop="bedgrp.prb.pts.ref">
                            <c-input  v-model="model.bedgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单人"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="5" :offset="1">
                        <el-form-item label="" prop="recpan.adaflg" label-width="0px">
                            <c-checkbox v-model="model.recpan.adaflg">附加金额</c-checkbox>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>    
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="14">
                       <el-form-item label="单据余额" prop="bedgrp.cbs.opn1.amt">
                           <c-input  v-model="model.bedgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
                        </el-form-item>
                    </c-col>
                    <c-col :span="5" :offset="1">
                        <el-form-item label="" prop="bedgrp.cbs.opn1.cur" label-width="0px">
                            <c-select  v-model="model.bedgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入cur" :code="codes.curtxt"></c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
            <c-col :span="11" :offset="1">
                <c-row>  
                    <c-col :span="20">
                        <el-form-item label="交单人名称" prop="bedgrp.prb.pts.nam">
                            <c-input  v-model="model.bedgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
                            <c-select v-model="model.bedgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型" :code="codes.bedtyp"></c-select>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="开证行参考号" prop="bedgrp.iss.pts.ref">
                            <c-input  v-model="model.bedgrp.iss.pts.ref" maxlength="16"  placeholder="请输入开证行"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="到期日" prop="bedgrp.rec.matdat">
                            <c-date-picker type="date"  v-model="model.bedgrp.rec.matdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="开证行名称" prop="bedgrp.iss.pts.nam">
                            <c-input  v-model="model.bedgrp.iss.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="12">
                        <el-form-item label="到单日期" prop="bedgrp.rec.rcvdat">
                            <c-date-picker type="date"  v-model="model.bedgrp.rec.rcvdat" style="width:100%"  placeholder="请选择到单日期"></c-date-picker>
                        </el-form-item>
                     </c-col>
                     <c-col :span="7" :offset="1">
                        <el-form-item label="提示日期" label-width="60px" prop="bedgrp.rec.predat">
                            <c-date-picker type="date"  v-model="model.bedgrp.rec.predat" style="width:100%"  placeholder="请选择Presentation Date"></c-date-picker>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col> 
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="申请人参考号" prop="bedgrp.apl.pts.ref">
                            <c-input  v-model="model.bedgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

        <c-row class="infrow">
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="单据状态" prop="bedgrp.rec.docsta">
                            <c-input  v-model="model.bedgrp.rec.docsta" maxlength="40"  placeholder="请输入单据状态"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
            <c-col :span="11" :offset="1">
                <c-row>
                    <c-col :span="20">
                        <el-form-item label="申请人名称" prop="bedgrp.apl.pts.nam">
                            <c-input  v-model="model.bedgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
                        </el-form-item>
                    </c-col>
                </c-row>
            </c-col>
        </c-row>

<!-- /////////////////////////////////////////   -->
cyy committed
214

cyy committed
215 216
       <!-- <c-col :span="24">                       
       <c-col :span="8">/////
cyy committed
217 218 219 220 221
        <el-form-item label="参考号" prop="ledgrp.rec.ownref">
            <c-input  vnpm-model="model.ledgrp.rec.ownref" maxlength="16"  placeholder="请输入参考号"></c-input>
        </el-form-item>
       </c-col>
                  
cyy committed
222 223
       <c-col :span="4">///
        <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
cyy committed
224 225
       </c-col>
                 
cyy committed
226
       <c-col :span="12">///
cyy committed
227 228 229 230 231 232 233 234 235 236
        <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.amt">
             <c-col :span="6">
            <c-select v-model="model.ledgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入Currency"></c-select>
             </c-col>
              <c-col :span="16" :offset="2">
            <c-input v-model="model.ledgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
              </c-col>
        </el-form-item>
       </c-col>
       </c-col>
cyy committed
237

cyy committed
238 239

       <c-col :span="24">                     
cyy committed
240
       <c-col :span="8">/////
cyy committed
241 242 243 244 245 246
        <el-form-item label="单据参考号" prop="bedgrp.rec.ownref">
            <c-input  v-model="model.bedgrp.rec.ownref" maxlength="16"  placeholder="请输入单据参考号"></c-input>
        </el-form-item>
       </c-col>
                  

cyy committed
247 248
       <c-col :span="4">/////
        <c-button size="small" type="primary;width:10%" @click="onSeainf">i</c-button>
cyy committed
249 250
       </c-col>
                                   
cyy committed
251
       <c-col :span="12">/////
cyy committed
252 253 254 255 256 257 258 259
        <el-form-item label="摘要" prop="bedgrp.rec.nam">
            <c-input  v-model="model.bedgrp.rec.nam" maxlength="40"  placeholder="请输入Externally Displayed Name to Identify the Contract"></c-input>
        </el-form-item>
       </c-col>
       </c-col>

       <c-col :span="24">                        
                  
cyy committed
260
       <c-col :span="8">///
cyy committed
261 262 263 264 265 266 267 268 269 270
        <el-form-item label="单据金额" prop="bedgrp.cbs.max.amt">
            <c-col :span="10">
            <c-select v-model="model.bedgrp.cbs.max.cur" style="width:100%" placeholder="请选择cur"></c-select>
            </c-col>
            <c-col :span="12" :offset="2">
            <c-input  v-model="model.bedgrp.cbs.max.amt"  placeholder="请输入单据金额"></c-input>
            </c-col>
        </el-form-item>
       </c-col>

cyy committed
271
        <c-col :span="4">///
cyy committed
272 273 274
	    <c-checkbox v-model="model.recpan.adaflg">附加金额</c-checkbox>
       </c-col>
                                   
cyy committed
275
       <c-col :span="12">///
cyy committed
276 277 278 279 280
        <el-form-item label="交单人" prop="bedgrp.prb.pts.ref">
            <c-input  v-model="model.bedgrp.prb.pts.ref" maxlength="16"  placeholder="请输入交单人"></c-input>
        </el-form-item>
       </c-col>
       </c-col>
cyy committed
281 282

       <c-col :span="8">////
cyy committed
283 284 285 286 287 288 289 290 291 292
        <el-form-item label="单据余额" prop="bedgrp.cbs.opn1.amt">
            <c-col :span="10">
                 <c-select  v-model="model.bedgrp.cbs.opn1.cur" maxlength="3"  placeholder="请输入cur"></c-select>
            </c-col>
            <c-col :span="12" :offset="2">
                <c-input  v-model="model.bedgrp.cbs.opn1.amt"  placeholder="请输入Balance"></c-input>
            </c-col>
        </el-form-item>
       </c-col>
                  
cyy committed
293
       <c-col :span="12" :offset="4">////
cyy committed
294 295 296 297 298
        <el-form-item label="交单人名称" prop="bedgrp.prb.pts.nam">
            <c-input  v-model="model.bedgrp.prb.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>

cyy committed
299
       <c-col :span="12">////
cyy committed
300 301 302 303 304 305
        <el-form-item label="单据类型" prop="bedgrp.rec.doctypcod">
            <c-select v-model="model.bedgrp.rec.doctypcod" style="width:100%" placeholder="请选择单据类型">
              </c-select>
        </el-form-item>
       </c-col>

cyy committed
306
       <c-col :span="12">/////
cyy committed
307 308 309 310 311
        <el-form-item label="开证行参考号" prop="bedgrp.iss.pts.ref">
            <c-input  v-model="model.bedgrp.iss.pts.ref" maxlength="16"  placeholder="请输入开证行"></c-input>
        </el-form-item>
       </c-col>

cyy committed
312
       <c-col :span="6">//////
cyy committed
313 314 315 316 317
        <el-form-item label="到期日" prop="bedgrp.rec.matdat">
            <c-date-picker type="date"  v-model="model.bedgrp.rec.matdat" style="width:100%"  placeholder="请选择到期日"></c-date-picker>
        </el-form-item>
       </c-col>

cyy committed
318
       <c-col :span="12" :offset="6">/////
cyy committed
319 320 321 322
        <el-form-item label="开证行名称" prop="bedgrp.iss.pts.nam">
            <c-input  v-model="model.bedgrp.iss.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
       </c-col>  
cyy committed
323 324

        <c-col :span="6">///
cyy committed
325 326 327 328 329
        <el-form-item label="到单日期" prop="bedgrp.rec.rcvdat">
            <c-date-picker type="date"  v-model="model.bedgrp.rec.rcvdat" style="width:100%"  placeholder="请选择到单日期"></c-date-picker>
        </el-form-item>
       </c-col>
                                   
cyy committed
330
       <c-col :span="6">///
cyy committed
331 332 333 334 335
        <el-form-item label="提示日期" prop="bedgrp.rec.predat">
            <c-date-picker type="date"  v-model="model.bedgrp.rec.predat" style="width:100%"  placeholder="请选择Presentation Date"></c-date-picker>
        </el-form-item>
       </c-col>
                                                    
cyy committed
336
       <c-col :span="12">///
cyy committed
337 338 339 340
        <el-form-item label="申请人参考号" prop="bedgrp.apl.pts.ref">
            <c-input  v-model="model.bedgrp.apl.pts.ref" maxlength="16"  placeholder="请输入申请人"></c-input>
        </el-form-item>
       </c-col>
cyy committed
341

cyy committed
342 343 344 345 346 347 348 349 350 351
       <c-col :span="12">
        <el-form-item label="单据状态" prop="bedgrp.rec.docsta">
            <c-input  v-model="model.bedgrp.rec.docsta" maxlength="40"  placeholder="请输入单据状态"></c-input>
        </el-form-item>
       </c-col>
                  
       <c-col :span="12">
        <el-form-item label="申请人名称" prop="bedgrp.apl.pts.nam">
            <c-input  v-model="model.bedgrp.apl.pts.nam" maxlength="40"  placeholder="请输入Name of Party"></c-input>
        </el-form-item>
cyy committed
352 353
       </c-col> -->
  </c-content>
cyy committed
354 355 356
</template>
<script>
import Api from "~/service/Api"
wangren committed
357
import commonProcess from "~/mixin/commonProcess";
cyy committed
358 359 360 361 362 363
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infbed/Event"

export default {
    inject: ['root'],
    props:["model","codes"],
wangren committed
364
    mixins: [commonProcess],
cyy committed
365 366 367 368 369 370 371 372 373 374 375 376 377
    data(){
        return {

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

    }
}
</script>
<style>
</style>