Commit 89a80365 by wangna

litrog修改

parent 74d98822
<template> <template>
<div class="eibs"> <div class="eibs">
<!-- =======左========== --> <!-- =======左========== -->
<el-col :span="12" style="padding-right: 20px;"> <el-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <el-form-item label="信用证编号" prop="lidgrp.rec.ownref">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="请输入参考号"></c-input> v-model="model.lidgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -15,7 +17,10 @@ ...@@ -15,7 +17,10 @@
<el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur"> <el-form-item label="信用证金额" prop="lidgrp.cbs.nom1.cur">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" placeholder="请选择信用证金额"> v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择信用证金额"
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -24,19 +29,26 @@ ...@@ -24,19 +29,26 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.nom1.amt">
<c-input <c-input
disabled disabled
v-model.number="model.lidgrp.cbs.nom1.amt" placeholder="请输入信用证金额"></c-input> v-model.number="model.lidgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">附加金额</c-checkbox> <c-checkbox disabled v-model="model.brtp.aammod.addamtflg"
>附加金额</c-checkbox
>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="lidgrp.cbs.opn1.cur">
<c-input <c-input
disabled disabled
v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" placeholder="请输入信用证余额"></c-input> v-model="model.lidgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -44,27 +56,38 @@ ...@@ -44,27 +56,38 @@
<el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt"> <el-form-item label="" label-width="10px" prop="lidgrp.cbs.opn1.amt">
<c-input <c-input
disabled disabled
v-model.number="model.lidgrp.cbs.opn1.amt" placeholder="请输入金额"></c-input> v-model.number="model.lidgrp.cbs.opn1.amt"
placeholder="请输入金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="4"> <c-col :span="4">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">循环信用证</c-checkbox> <c-checkbox disabled v-model="model.lidgrp.rec.revflg"
>循环信用证</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="可用银行" prop="lidgrp.avbnam"> <el-form-item label="可用银行" prop="lidgrp.avbnam">
<c-input disabled v-model="model.lidgrp.avbnam" maxlength="40" placeholder="请输入可用银行"></c-input> <c-input
disabled
v-model="model.lidgrp.avbnam"
maxlength="40"
placeholder="请输入可用银行"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="兑付方式" prop="lidgrp.rec.avbby"> <el-form-item label="兑付方式" prop="lidgrp.rec.avbby">
<c-select <c-select
disabled disabled
:code="codes.avbby" :code="codes.avbby"
v-model="model.lidgrp.rec.avbby" style="width:100%" placeholder="请选择兑付方式"> v-model="model.lidgrp.rec.avbby"
style="width: 100%"
placeholder="请选择兑付方式"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -73,15 +96,20 @@ ...@@ -73,15 +96,20 @@
<c-checkbox <c-checkbox
disabled disabled
v-model="model.lidgrp.rec.redclsflg" v-model="model.lidgrp.rec.redclsflg"
style="margin-left:25px;padding: 0 10px;" style="margin-left: 25px; padding: 0 10px"
>红/绿条款</c-checkbox> >红/绿条款</c-checkbox
>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="开证日期" prop="lidgrp.rec.opndat"> <el-form-item label="开证日期" prop="lidgrp.rec.opndat">
<c-date-picker <c-date-picker
disabled disabled
type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" placeholder="请选择开证日期"></c-date-picker> type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
placeholder="请选择开证日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -89,7 +117,11 @@ ...@@ -89,7 +117,11 @@
<el-form-item label="装运日期" prop="lidgrp.rec.shpdat"> <el-form-item label="装运日期" prop="lidgrp.rec.shpdat">
<c-date-picker <c-date-picker
disabled disabled
type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" placeholder="请选择最迟装运日期"></c-date-picker> type="date"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
placeholder="请选择最迟装运日期"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -97,21 +129,34 @@ ...@@ -97,21 +129,34 @@
<el-form-item label="有效期限" prop="lidgrp.rec.expdat"> <el-form-item label="有效期限" prop="lidgrp.rec.expdat">
<c-date-picker <c-date-picker
disabled disabled
type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请选择到期日"></c-date-picker> type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
placeholder="请选择到期日"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到期地点" prop="lidgrp.rec.expplc"> <el-form-item label="到期地点" prop="lidgrp.rec.expplc">
<c-input disabled v-model="model.lidgrp.rec.expplc" maxlength="29" placeholder="请输入到期地点"></c-input> <c-input
disabled
v-model="model.lidgrp.rec.expplc"
maxlength="29"
placeholder="请输入到期地点"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp"> <el-form-item label="信用证类型" prop="lidgrp.rec.lcrtyp">
<c-select <c-select
:code="codes.lcrtyp1" :code="codes.lcrtyp"
disabled v-model="model.lidgrp.rec.lcrtyp" style="width:100%" placeholder="请选择信用证类型"> disabled
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -119,7 +164,12 @@ ...@@ -119,7 +164,12 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="提货担保编号" prop="brdgrp.rec.shgref"> <el-form-item label="提货担保编号" prop="brdgrp.rec.shgref">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.brdgrp.rec.shgref" maxlength="16" placeholder="请输入提货担保编号"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.shgref"
maxlength="16"
placeholder="请输入提货担保编号"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onGetref"> <c-button size="small" type="primary" @click="onGetref">
...@@ -132,9 +182,13 @@ ...@@ -132,9 +182,13 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据编号" prop="brdgrp.rec.ownref"> <el-form-item label="单据编号" prop="brdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input disabled v-model="model.brdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据编号"
></c-input>
<template slot="footer"> <template slot="footer">
<c-button size="small" type="primary" @click="onBrtmodButgetref"> <c-button size="small" type="primary" @click="onBrtmodButgetref">
获取 获取
...@@ -146,13 +200,21 @@ ...@@ -146,13 +200,21 @@
<c-col :span="14"> <c-col :span="14">
<el-form-item label="提货担保金额" prop="brdgrp.cbs.max.cur"> <el-form-item label="提货担保金额" prop="brdgrp.cbs.max.cur">
<c-input disabled v-model="model.brdgrp.cbs.max.cur" maxlength="3" placeholder="请输入金额"></c-input> <c-input
disabled
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
placeholder="请输入金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="10"> <c-col :span="10">
<el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt"> <el-form-item label="" label-width="10px" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" placeholder="请输入金额"></c-input> <c-input
v-model="model.brdgrp.cbs.max.amt"
placeholder="请输入金额"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -160,71 +222,127 @@ ...@@ -160,71 +222,127 @@
<el-form-item label="装运备注" prop="shpmar"> <el-form-item label="装运备注" prop="shpmar">
<c-input <c-input
:rows="3" :rows="3"
type="textarea" v-model="model.shpmar" maxlength="40" show-word-limit placeholder="请输入装运备注" ></c-input> type="textarea"
v-model="model.shpmar"
maxlength="40"
show-word-limit
placeholder="请输入装运备注"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="总份数" prop="pietat"> <el-form-item label="总份数" prop="pietat">
<c-input v-model="model.pietat" maxlength="80" placeholder="请输入总份数"></c-input> <c-input
v-model="model.pietat"
maxlength="80"
placeholder="请输入总份数"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="担保银行" prop="guabnkval"> <el-form-item label="担保银行" prop="guabnkval">
<c-input v-model="model.guabnkval" maxlength="40" style="width: 77%" placeholder="请输入担保银行"></c-input> <c-input
<span style="font-size:12px;color:#606266;">(提货担保面函落款)</span> v-model="model.guabnkval"
maxlength="40"
style="width: 77%"
placeholder="请输入担保银行"
></c-input>
<span style="font-size: 12px; color: #606266"
>(提货担保面函落款)</span
>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
<!-- ========右========= --> <!-- ========右========= -->
<el-col :span="12" style="padding-left: 20px;"> <el-col :span="12" style="padding-left: 20px">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="lidgrp.rec.nam"> <el-form-item label="简略信息" prop="lidgrp.rec.nam">
<c-input disabled v-model="model.lidgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"></c-input> <c-input
disabled
v-model="model.lidgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref"> <el-form-item label="申请人参考号" prop="brdgrp.apl.pts.ref">
<c-input disabled v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入申请人"></c-input> <c-input
disabled
v-model="model.brdgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam"> <el-form-item label="申请人名称" prop="brdgrp.apl.pts.nam">
<c-input disabled v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入名称"></c-input> <c-input
disabled
v-model="model.brdgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref"> <el-form-item label="受益人参考号" prop="brdgrp.ben.pts.ref">
<c-input disabled v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入受益人"></c-input> <c-input
disabled
v-model="model.brdgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam"> <el-form-item label="受益人名称" prop="brdgrp.ben.pts.nam">
<c-input disabled v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder="请输入名称"></c-input> <c-input
disabled
v-model="model.brdgrp.ben.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref"> <el-form-item label="寄单行参考号" prop="brdgrp.prb.pts.ref">
<c-input disabled v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入交单行"></c-input> <c-input
disabled
v-model="model.brdgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入寄单行参考号"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单行名称" prop="brdgrp.prb.pts.nam"> <el-form-item label="寄单行名称" prop="brdgrp.prb.pts.nam">
<c-input disabled v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder="请输入名称"></c-input> <c-input
disabled
v-model="model.brdgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入名称"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="简略信息" prop="brdgrp.rec.nam"> <el-form-item label="简略信息" prop="brdgrp.rec.nam">
<c-input disabled v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入简略信息"></c-input> <c-input
disabled
v-model="model.brdgrp.rec.nam"
maxlength="40"
placeholder="请输入简略信息"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -232,7 +350,7 @@ ...@@ -232,7 +350,7 @@
<el-form-item label="货押标识" prop="brdgrp.rec.guaflg"> <el-form-item label="货押标识" prop="brdgrp.rec.guaflg">
<c-select <c-select
v-model="model.brdgrp.rec.guaflg" v-model="model.brdgrp.rec.guaflg"
style="width:100%" style="width: 100%"
placeholder="请选择货押标识" placeholder="请选择货押标识"
:code="codes.guaflg" :code="codes.guaflg"
> >
...@@ -242,8 +360,14 @@ ...@@ -242,8 +360,14 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单行" prop="brdgrp.rec.docprbrol"> <el-form-item label="交单行" prop="brdgrp.rec.docprbrol">
<c-input disabled v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请选择交单行"> <c-select
</c-input> disabled
v-model="model.brdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单行"
:code="codes.docprbrol"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -254,7 +378,9 @@ ...@@ -254,7 +378,9 @@
v-model="model.brdgrp.prb.pts.extkey" v-model="model.brdgrp.prb.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入地址编码" placeholder="请输入地址编码"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')" @keyup.enter.native="
showGridPromptDialog('brdgrp.prb.pts.extkey')
"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
...@@ -262,21 +388,14 @@ ...@@ -262,21 +388,14 @@
style="margin: 0 5px 0 10px; padding: 0 12px" style="margin: 0 5px 0 10px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
<c-button <c-button style="margin: 0 0" size="small" type="primary">
style="margin: 0 0"
size="small"
type="primary"
>
详情 详情
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -297,7 +416,7 @@ ...@@ -297,7 +416,7 @@
<el-form-item label="发票类型" prop="brdgrp.rec.invtyp"> <el-form-item label="发票类型" prop="brdgrp.rec.invtyp">
<c-select <c-select
v-model="model.brdgrp.rec.invtyp" v-model="model.brdgrp.rec.invtyp"
style="width:100%" style="width: 100%"
placeholder="请选择发票类型" placeholder="请选择发票类型"
:code="codes.invtyp" :code="codes.invtyp"
> >
...@@ -305,35 +424,24 @@ ...@@ -305,35 +424,24 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Litrog/Event" import Event from "~/model/Litrog/Event";
export default { export default {
inject: ["root"],
inject: ['root'], props: ["model", "codes"],
props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {};
}
}, },
methods:{...Event}, methods: { ...Event },
created:function(){ created: function () {},
};
},
}
</script> </script>
<style> <style>
</style> </style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment