Commit f74d1c7d by huangxin

brtacp页面布局与事件关联完善

parent c742c4d5
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"brdgrp.rec.totamt":[ "brdgrp.rec.totamt":[
{type: "string", required: true, message: "必输项"}, //{type: "string", required: true, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!-- ---------------Left--------------- --> <!-- ---------------Left--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="信用证编号" prop="lidgrp.rec.ownref"> <el-form-item label="Import L/C Ref." prop="lidgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.lidgrp.rec.ownref" v-model="model.lidgrp.rec.ownref"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据参考号" prop="brdgrp.rec.ownref"> <el-form-item label="Bill Set Reference" prop="brdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.brdgrp.rec.ownref" v-model="model.brdgrp.rec.ownref"
...@@ -96,31 +96,65 @@ ...@@ -96,31 +96,65 @@
<!-- ---------------Right--------------- --> <!-- ---------------Right--------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="12">
<el-form-item label="Open Amt.L/C" prop="lidgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Currency"
>
<el-option
v-for="item in 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="5px"
prop="lidgrp.cbs.opn1.amt"
>
<c-input
disabled
v-model="model.lidgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="Document Amount"
></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<c-curAmt <c-curAmt
:model="model" :model="model"
:argadr="{ :argadr="{
title: 'Opening Amount', title: 'Open Amt.L/C',
trans: 'lidgrp', trans: 'lidgrp',
}" }"
disabled
> >
</c-curAmt> </c-curAmt>
</c-col> </c-col> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Drag Drop Sender" label=""
prop="brtp.lidget.sdamod.dadsnd" prop="brdgrp.rec.nam"
> >
<c-input <c-input
v-model="model.brtp.lidget.sdamod.dadsnd" v-model="model.brdgrp.rec.nam"
placeholder="请输入Drag Drop Sender" placeholder=""
disabled disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="Order Date" prop="brdgrp.rec.orddat"> <el-form-item label="Order Date" prop="brdgrp.rec.orddat">
<c-date-picker <c-date-picker
type="date" type="date"
...@@ -130,7 +164,7 @@ ...@@ -130,7 +164,7 @@
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col> -->
</c-col> </c-col>
</c-col> </c-col>
...@@ -138,21 +172,21 @@ ...@@ -138,21 +172,21 @@
<c-litTemp <c-litTemp
:model="model" :model="model"
:argadr="{ :argadr="{
title: 'Opening Amount', title: '',
trans: 'brdgrp', trans: 'brdgrp',
}" }"
:rol="[ :rol="[
{ {
title: '交单行', title: 'Applicant',
trans: 'prb', trans: 'apl',
}, },
{ {
title: '开证行', title: 'Beneficiary',
trans: 'ben', trans: 'ben',
}, },
{ {
title: '申请人', title: 'Presenting Bank',
trans: 'apl', trans: 'prb',
}, },
]" ]"
:isAdvdat="true" :isAdvdat="true"
...@@ -203,7 +237,7 @@ ...@@ -203,7 +237,7 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item <el-form-item
label="Amount to be Paid" label="Total Amount Advised"
prop="brdgrp.rec.totcur" prop="brdgrp.rec.totcur"
> >
<c-input <c-input
...@@ -237,10 +271,18 @@ ...@@ -237,10 +271,18 @@
prop="brdgrp.rec.docprbrol" prop="brdgrp.rec.docprbrol"
> >
<c-select <c-select
disabled
v-model="model.brdgrp.rec.docprbrol" v-model="model.brdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择Presented by" placeholder="请选择Presented by"
> >
<el-option
v-for="item in codes.docprbrol"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -248,7 +290,7 @@ ...@@ -248,7 +290,7 @@
<c-ptap1 <c-ptap1
:model="model" :model="model"
:argadr="{ :argadr="{
title: 'Presented by', title: '',
grp: 'brdgrp', grp: 'brdgrp',
rol: 'prb', rol: 'prb',
}" }"
......
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -34,13 +41,20 @@ ...@@ -34,13 +41,20 @@
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="附加金额" prop="brdgrp.cbs.opn2.cur"> <el-form-item label="Drawn Add.Amount" prop="brdgrp.cbs.opn2.cur">
<c-select <c-select
v-model="model.brdgrp.cbs.opn2.cur" v-model="model.brdgrp.cbs.opn2.cur"
style="width: 100%" style="width: 100%"
placeholder="请选择附加金额" placeholder="请选择附加金额"
disabled disabled
> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -65,12 +79,20 @@ ...@@ -65,12 +79,20 @@
label="Amount to be Paid" label="Amount to be Paid"
prop="brdgrp.rec.totcur" prop="brdgrp.rec.totcur"
> >
<c-input <c-select
v-model="model.brdgrp.rec.totcur" v-model="model.brdgrp.rec.totcur"
maxlength="3" style="width: 100%"
placeholder="请输入Amount to be Paid" placeholder="请选择Amount to be Paid"
disabled disabled
></c-input> >
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
...@@ -97,7 +119,8 @@ ...@@ -97,7 +119,8 @@
rol: 'acb', rol: 'acb',
}" }"
:disabled="true" :disabled="true"
:isAdrblk="false" :disabled1="true"
> >
</c-ptap1> </c-ptap1>
</c-col> </c-col>
...@@ -134,7 +157,7 @@ ...@@ -134,7 +157,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="不符点" prop="brdgrp.blk.docdis"> <el-form-item label="Discrepancies" prop="brdgrp.blk.docdis">
<c-input <c-input
type="textarea" type="textarea"
v-model="model.brdgrp.blk.docdis" v-model="model.brdgrp.blk.docdis"
......
...@@ -18,7 +18,9 @@ ...@@ -18,7 +18,9 @@
<!--PD000048 --> <!--PD000048 -->
<el-tab-pane label="Accept Disrepancies" name="acpp"> <el-tab-pane label="Accept Disrepancies" name="acpp">
<c-content>
<m-acpp :model="model" :codes="codes"/> <m-acpp :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000139 --> <!--PD000139 -->
...@@ -27,22 +29,24 @@ ...@@ -27,22 +29,24 @@
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content>
<m-setpan :model="model" :codes="codes"/> <m-setpan :model="model" :codes="codes"/>
</c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000000 -->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="Completion" name="coninfp">
<m-coninfp :model="model" :codes="codes"/> <m-coninfp :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="面函" name="docpan"> <el-tab-pane label="Messages" name="docpan">
<m-docpan :model="model" :codes="codes"/> <m-docpan :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
<!--PD000546 --> <!--PD000546 -->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<m-doctre :model="model" :codes="codes"/> <m-doctre :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
......
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