Commit 07593fa9 by liuxin

brtame交易处理

parent 3eb5898e
......@@ -17,7 +17,7 @@ export default {
],
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -31,7 +31,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"lidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -101,7 +101,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"brdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -136,7 +136,7 @@ export default {
],
"brdgrp.blk.relstoadr":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 180,message:"长度不能超过180"}
],
"brdgrp.blk.vesnam":[
......
......@@ -87,6 +87,10 @@ export default class Brtame{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
opn1:{
cur:"", // Amount of Shipment .brdgrp.cbs.max.cur
amt:"", // Balance .brdgrp.cbs.max.amt
},
},
blk:{
vesnam:"", // Vessel Name .brdgrp.blk.vesnam
......
<template>
<div class="eibs-tab">
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.lidget.sdamod.dadsnd">
<c-input v-model="model.brtp.lidget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000172')"
prop="lidgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000172')
"
disabled
></c-input>
<template slot="footer">
<c-button
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- S0000172 : 参考号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000172')" prop="lidgrp.rec.ownref">
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000172')"></c-input>
</c-form-item>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-form-item label="" prop="brtp.lidget.sdamod.seainf">
<c-input v-model="model.brtp.lidget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000183')"
prop="lidgrp.rec.nam"
>
<c-input
v-model="model.lidgrp.rec.nam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000183')
"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000183 : 简略信息 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000183')" prop="lidgrp.rec.nam">
<c-input v-model="model.lidgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000183')"></c-input>
</c-form-item>
</c-col>
<!-- S0000173 : 信用证金额 -->
</c-col>
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000173')" prop="lidgrp.cbs.nom1.cur">
<c-select v-model="model.lidgrp.cbs.nom1.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000173')">
<c-col :span="24">
<c-col :span="13">
<el-form-item
:label="$t('brtp.S0000173')"
prop="lidgrp.cbs.nom1.cur"
>
<c-select
v-model="model.lidgrp.cbs.nom1.cur"
style="width: 100%"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
:code="codes.cur"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000173')" prop="lidgrp.cbs.nom1.amt">
<c-input v-model="model.lidgrp.cbs.nom1.amt" :placeholder="$t('other.please_enter')+$t('brtp.S0000173')"></c-input>
</c-form-item>
</c-col>
<!-- S0000181 : 申请人 -->
<!-- S0000188 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000181')" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000181')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brtp.aammod.addamtflg">{{$t('brtp.CF000171')}}</c-checkbox>
</c-col>
<!-- S0000174 : 信用证余额 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000174')" prop="lidgrp.cbs.opn1.cur">
<c-input v-model="model.lidgrp.cbs.opn1.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('brtp.S0000174')"></c-input>
<c-col :span="11">
<c-form-item
label=""
label-width="5px"
prop="lidgrp.cbs.nom1.amt"
>
<c-input
v-model="model.lidgrp.cbs.nom1.amt"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="lidgrp.cbs.opn1.amt">
<c-input v-model="model.lidgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.revflg">{{$t('brtp.CF000170')}}</c-checkbox>
<c-col :span="24">
<c-col :span="13">
<el-form-item
:label="$t('brtp.S0000174')"
prop="lidgrp.cbs.opn1.cur"
>
<c-select
v-model="model.lidgrp.cbs.opn1.cur"
style="width: 100%"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000174')
"
:code="codes.cur"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
<c-col :span="11">
<c-form-item
label=""
label-width="5px"
prop="lidgrp.cbs.opn1.amt"
>
<c-input
v-model="model.lidgrp.cbs.opn1.amt"
:placeholder="
$t('other.please_enter') +
$t('brtp.S0000173')
"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000176 : 指定银行 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000176')" prop="lidgrp.avbnam">
<c-input v-model="model.lidgrp.avbnam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000176')"></c-input>
</c-form-item>
</c-col>
<!-- S0000175 : 受益人 -->
<!-- S0000184 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000175')" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000175')"></c-input>
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000176')"
prop="lidgrp.avbnam"
>
<c-input
v-model="model.lidgrp.avbnam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000176')
"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.lidgrp.rec.redclsflg">{{$t('brtp.CF000169')}}</c-checkbox>
</c-col>
<!-- S0000177 : 兑付方式 -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="Available by" prop="lidgrp.rec.avbby">
<c-select v-model="model.lidgrp.rec.avbby" style="width:100%" :placeholder="$t('other.please_enter')+'Available by'">
<c-select
v-model="model.lidgrp.rec.avbby"
style="width: 100%"
:placeholder="
$t('other.please_enter') + 'Available by'
"
disabled
:code="codes.avbby"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="">
<c-col :span="8">
<c-checkbox disabled v-model="model.brtp.aammod.addamtflg">{{
$t("brtp.CF000171")
}}</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox disabled v-model="model.lidgrp.rec.revflg">{{
$t("brtp.CF000170")
}}</c-checkbox>
</c-col>
<c-col :span="8">
<c-checkbox disabled v-model="model.lidgrp.rec.redclsflg">{{
$t("brtp.CF000169")
}}</c-checkbox>
</c-col>
<!-- S0000182 : 开证日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000182')" prop="lidgrp.rec.opndat">
<c-date-picker type="date" v-model="model.lidgrp.rec.opndat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000182')"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000185 : 最迟装运日期 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000185')" prop="lidgrp.rec.shpdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.shpdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000185')"></c-date-picker>
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000182')"
prop="lidgrp.rec.opndat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.opndat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000182')
"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000180 : 交单行 -->
<!-- S0000186 : 编号 -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000180')" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtp.S0000180')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000185')"
prop="lidgrp.rec.shpdat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.shpdat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000185')
"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000179 : 到期日/到期地点 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000179')" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000179')"></c-date-picker>
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000179')"
prop="lidgrp.rec.expdat"
>
<c-date-picker
type="date"
v-model="model.lidgrp.rec.expdat"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000179')
"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000179')" prop="lidgrp.rec.expplc">
<c-input v-model="model.lidgrp.rec.expplc" maxlength="29" :placeholder="$t('other.please_enter')+$t('brtp.S0000179')"></c-input>
</c-form-item>
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-form-item label="Name of Party" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of Party'"></c-input>
<c-col :span="24">
<c-form-item
:label="$t('brtp.S0000179')"
prop="lidgrp.rec.expplc"
>
<c-input
v-model="model.lidgrp.rec.expplc"
maxlength="29"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000179')
"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000178 : 信用证类型 -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000178')" prop="lidgrp.rec.lcrtyp">
<c-select v-model="model.lidgrp.rec.lcrtyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000178')">
<c-col :span="24">
<el-form-item
:label="$t('brtp.S0000178')"
prop="lidgrp.rec.lcrtyp"
>
<c-select
v-model="model.lidgrp.rec.lcrtyp"
style="width: 100%"
:placeholder="
$t('other.please_enter') + $t('brtp.S0000178')
"
:code="codes.lcrtyp"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.recget.sdamod.dadsnd">
<c-input v-model="model.brtp.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<c-appBenPre
:model="model"
:argadr="{
title: 'Opening Amount',
trans: 'brdgrp',
}"
:rol="[
{
title: '申请人',
trans: 'apl',
},
{
title: '开证行',
trans: 'ben',
},
{
title: '交单行',
trans: 'prb',
},
]"
>
</c-appBenPre>
</c-col>
<!-- S0000079 : Document Set Ref. -->
<c-col :span="12">
<c-form-item :label="$t('brtame.S0000079')" prop="brdgrp.rec.ownref">
<c-input v-model="model.brdgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtame.S0000079')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brtp.recget.sdamod.seainf">
<c-input v-model="model.brtp.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<!-- ---------------Left--------------- -->
<c-col :span="12">
<c-form-item :label="$t('brtame.S0000078')" prop="brdgrp.rec.nam">
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtame.S0000078')"></c-input>
<c-col :span="24">
<el-form-item
:label="$t('brtame.S0000079')"
prop="brdgrp.rec.ownref"
>
<c-fullbox>
<c-input
v-model="model.lidgrp.rec.ownref"
maxlength="16"
:placeholder="
$t('other.please_enter') +
$t('brtame.S0000079')
"
disabled
></c-input>
<template slot="footer">
<c-button
style="
margin: 0 10px 0 10px;
padding: 0 12px;
"
size="small"
type="primary"
>
<span
style="
font-family: '宋体';
font-weight: bold;
"
>i</span
>
</c-button>
<c-button
style="margin: 0 0"
size="small"
type="primary"
:disabled="this.flag"
>
获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<c-form-item
:label="$t('brtame.SG000213')"
prop="brdgrp.rec.shgref"
>
<c-input
v-model="model.brdgrp.rec.shgref"
maxlength="16"
:placeholder="
$t('other.please_enter') + $t('brtame.SG000213')
"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- S0000078 : Name -->
<!-- SG000213 : SG Reference -->
</c-col>
<!-- ---------------Right--------------- -->
<c-col :span="12">
<c-form-item :label="$t('brtame.SG000213')" prop="brdgrp.rec.shgref">
<c-input v-model="model.brdgrp.rec.shgref" maxlength="16" :placeholder="$t('other.please_enter')+$t('brtame.SG000213')"></c-input>
<c-col :span="24">
<c-form-item
:label="$t('brtame.S0000078')"
prop="brdgrp.rec.nam"
>
<c-input
v-model="model.brdgrp.rec.nam"
maxlength="40"
:placeholder="
$t('other.please_enter') + $t('brtame.S0000078')
"
disabled
></c-input>
</c-form-item>
</c-col>
<!-- SF000060 : Amount of Shipment -->
<c-col :span="12">
<c-form-item :label="$t('brtame.SF000060')" prop="brdgrp.cbs.max.cur">
<c-input v-model="model.brdgrp.cbs.max.cur" maxlength="3" :placeholder="$t('other.please_enter')+$t('brtame.SF000060')"></c-input>
<c-col :span="24">
<c-col :span="13">
<c-form-item
:label="$t('brtame.SF000060')"
prop="brdgrp.cbs.max.cur"
>
<c-input
v-model="model.brdgrp.cbs.max.cur"
maxlength="3"
:placeholder="
$t('other.please_enter') +
$t('brtame.SF000060')
"
disabled
></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Balance" prop="brdgrp.cbs.max.amt">
<c-input v-model="model.brdgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+'Balance'"></c-input>
<c-col :span="11">
<c-form-item
label=""
label-width="5px"
prop="brdgrp.cbs.max.amt"
>
<c-input
v-model="model.brdgrp.cbs.max.amt"
:placeholder="
$t('other.please_enter') + 'Balance'
"
></c-input>
</c-form-item>
</c-col>
</c-col>
</c-col>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtame/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtame/Event";
import CurAmt from "~/views/Public/CurAmt";
import AppBenPre from "~/views/Public/AppBenPre";
import Ptap1 from "~/views/Public/Ptap1";
export default {
inject: ['root'],
props:["model","codes"],
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data(){
components: {
"c-curAmt": CurAmt,
"c-appBenPre": AppBenPre,
"c-ptap1": Ptap1,
},
data() {
return {
}
flag: true,
};
},
methods:{...Event},
created:function(){
}
}
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
<template>
<div class="eibs-tab">
<!-- S0000080 : Release of Goods -->
<!--==========================left====================== -->
<el-col :span="11">
<c-col :span="24">
<el-form-item label="Release of Goods" prop="brdgrp.rec.relgodflg">
<c-select
v-model="model.brdgrp.rec.relgodflg"
style="width:100%"
placeholder="请选择Release of Goods"
:code="codes.relgod"
disabled
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000080')" prop="brdgrp.rec.relgodflg">
<c-select v-model="model.brdgrp.rec.relgodflg" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000080')">
<c-col :span="24">
<el-form-item label="Release Type" prop="brdgrp.rec.reltyp">
<c-select
v-model="model.brdgrp.rec.reltyp"
style="width:100%"
placeholder="请选择Release Type"
:code="codes.reltyp1"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- SG000229 : Contract Number -->
<c-col :span="12">
<c-form-item label="Contract Number" prop="brtp.connum">
<c-input v-model="model.brtp.connum" maxlength="35" :placeholder="$t('other.please_enter')+'Contract Number'"></c-input>
</c-form-item>
<el-form-item label="issue date" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" disabled v-model="model.brdgrp.rec.relgoddat" style="width:100%" placeholder="请选择issue date"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000081 : Release Type -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000081')" prop="brdgrp.rec.reltyp">
<c-select v-model="model.brdgrp.rec.reltyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000081')">
</c-select>
<el-form-item label="Expiry Date" prop="brdgrp.rec.expdat">
<c-date-picker type="date" disabled v-model="model.brdgrp.rec.expdat" style="width:100%" placeholder="请选择Expiry Date of Shipping Guarantee"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000082 : issue date -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000082')" prop="brdgrp.rec.relgoddat">
<c-date-picker type="date" v-model="model.brdgrp.rec.relgoddat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000082')"></c-date-picker>
<c-col :span="24">
<el-form-item label="Transport Doc. Type" prop="brdgrp.rec.trpdoctyp">
<c-select v-model="model.brdgrp.rec.trpdoctyp" disabled style="width:100%" placeholder="请选择Transport Doc. Type">
</c-select>
</el-form-item>
</c-col>
<!-- S0000091 : Expiry Date -->
<c-col :span="12">
<el-form-item label="Expiry Date of Shipping Guarantee" prop="brdgrp.rec.expdat">
<c-date-picker type="date" v-model="model.brdgrp.rec.expdat" style="width:100%" :placeholder="$t('other.please_enter')+'Expiry Date of Shipping Guarantee'"></c-date-picker>
<c-col :span="24">
<el-form-item label="Transport Doc. No." prop="brdgrp.rec.trpdocnum">
<c-input disabled v-model="model.brdgrp.rec.trpdocnum" maxlength="40" placeholder="请输入Transport Doc. No."></c-input>
</el-form-item>
</c-col>
<!-- S0000093 : Carrier -->
<c-col :span="12">
<c-form-item label="Carrier" prop="brdgrp.blk.carnam">
<c-input v-model="model.brdgrp.blk.carnam" maxlength="35" :placeholder="$t('other.please_enter')+'Carrier'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="shipment date" prop="brdgrp.rec.tradat">
<c-date-picker type="date" disabled v-model="model.brdgrp.rec.tradat" style="width:100%" placeholder="请选择shipment date"></c-date-picker>
</el-form-item>
</c-col>
<!-- S0000083 : Transport Doc. Type -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000083')" prop="brdgrp.rec.trpdoctyp">
<c-select v-model="model.brdgrp.rec.trpdoctyp" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000083')">
<c-col :span="24">
<el-form-item label="Mode of Transport" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" disabled style="width:100%" placeholder="请选择Mode of Transport">
</c-select>
</el-form-item>
</c-col>
<!-- SG000228 : B/L Number -->
<c-col :span="12">
<c-form-item label="B/L Number" prop="brdgrp.rec.blnum">
<c-input v-model="model.brdgrp.rec.blnum" maxlength="20" :placeholder="$t('other.please_enter')+'B/L Number'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Vessel Name" prop="brdgrp.blk.vesnam">
<c-input v-model="model.brdgrp.blk.vesnam" disabled maxlength="40" placeholder="请输入Vessel Name"></c-input>
</el-form-item>
</c-col>
<!-- S0000084 : Transport Doc. No. -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000084')" prop="brdgrp.rec.trpdocnum">
<c-input v-model="model.brdgrp.rec.trpdocnum" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000084')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Port of Discharge" prop="brdgrp.blk.pordis">
<c-input v-model="model.brdgrp.blk.pordis" disabled maxlength="40" placeholder="请输入Port of Discharge"></c-input>
</el-form-item>
</c-col>
<!-- S0000094 : Release to Address -->
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg">{{$t('brtp.CF000095')}}</c-checkbox>
<c-col :span="24">
<el-form-item label="Place of Delivery" prop="brdgrp.blk.delplc">
<c-input v-model="model.brdgrp.blk.delplc" disabled maxlength="40" placeholder="请输入Place of Delivery"></c-input>
</el-form-item>
</c-col>
<!-- S0000085 : shipment date -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000085')" prop="brdgrp.rec.tradat">
<c-date-picker type="date" v-model="model.brdgrp.rec.tradat" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000085')"></c-date-picker>
<c-col :span="24">
<el-form-item label="Covered Goods" prop="brdgrp.blk.roggod">
<c-input
:rows="6"
type="textarea" v-model="model.brdgrp.blk.roggod" disabled maxlength="40" show-word-limit placeholder="请输入Covered Goods" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
<c-input type="textarea" v-model="model.brdgrp.blk.relstoadr" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Release to Address'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Port of loading" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" placeholder="请输入Port of loading"></c-input>
</el-form-item>
</c-col>
<!-- S0000086 : Mode of Transport -->
<c-col :span="12">
<el-form-item :label="$t('brtp.S0000086')" prop="brdgrp.rec.tramod">
<c-select v-model="model.brdgrp.rec.tramod" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000086')">
</c-select>
<c-col :span="24">
<el-form-item label="Voyage numer" prop="brdgrp.blk.voynum">
<c-input v-model="model.brdgrp.blk.voynum" disabled maxlength="30" placeholder="请输入Voyage numer"></c-input>
</el-form-item>
</c-col>
<!-- S0000087 : Vessel Name -->
</el-col>
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000087')" prop="brdgrp.blk.vesnam">
<c-input v-model="model.brdgrp.blk.vesnam" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000087')"></c-input>
</c-form-item>
</c-col>
<!-- S0000088 : Port of Discharge -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000088')" prop="brdgrp.blk.pordis">
<c-input v-model="model.brdgrp.blk.pordis" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000088')"></c-input>
</c-form-item>
<!-- =========================right====================== -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="Contract Number" prop="brtp.connum">
<c-input v-model="model.brtp.connum" disabled maxlength="35" placeholder="请输入Contract Number"></c-input>
</el-form-item>
</c-col>
<!-- SF000225 : Shipping company -->
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Carrier" prop="brdgrp.blk.carnam">
<c-input v-model="model.brdgrp.blk.carnam" disabled maxlength="35" placeholder="请输入Carrier"></c-input>
</el-form-item>
</c-col>
<!-- S0000089 : Place of Delivery -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000089')" prop="brdgrp.blk.delplc">
<c-input v-model="model.brdgrp.blk.delplc" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.S0000089')"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="B/L Number" prop="brdgrp.rec.blnum">
<c-input v-model="model.brdgrp.rec.blnum" disabled maxlength="20" placeholder="请输入B/L Number"></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey">
<c-input v-model="model.brdgrp.shp.pts.extkey" maxlength="16" :placeholder="$t('other.please_enter')+'External Key of Address'"></c-input>
</c-form-item>
<c-col :span="24">
<c-checkbox v-model="model.brdgrp.rec.rtoaplflg" disabled
style="margin-left:140px;padding: 0 10px;"
>Release Goods to Applicant </c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="brtp.shpp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Release to Address" prop="brdgrp.blk.relstoadr">
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.blk.relstoadr" disabled maxlength="180" show-word-limit placeholder="请输入Release to Address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onShppDet">
{{$t('ptsp.CF000081')}}
<c-col :span="24">
<el-form-item label="External Key of Address" prop="brdgrp.shp.pts.extkey">
<c-fullbox>
<c-input v-model="model.brdgrp.shp.pts.extkey" disabled maxlength="16" placeholder="请输入External Key of Address"></c-input>
<template slot="footer">
<c-button
style="margin: 0 10px 0 10px; padding: 0 12px"
size="small"
type="primary"
>
<span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button>
</c-col>
<c-button
style="margin: 0 0"
size="small"
type="primary"
>
获取
</c-button>
</template>
</c-fullbox>
<c-col :span="12">
<c-form-item label="名称" prop="brdgrp.shp.namelc">
<c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'名称'" ></c-input>
</c-form-item>
</el-form-item>
</c-col>
<!-- S0000090 : Covered Goods -->
<c-col :span="12">
<c-form-item :label="$t('brtp.S0000090')" prop="brdgrp.blk.roggod">
<c-input type="textarea" v-model="model.brdgrp.blk.roggod" maxlength="40" show-word-limit :placeholder="$t('other.please_enter')+$t('brtp.S0000090')" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Address Block'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.shp.pts.adrblk">
<c-input
:rows="4"
type="textarea" disabled v-model="model.brdgrp.shp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Chinese address'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Notify Party" prop="brdgrp.blk.notpty">
<c-input
:rows="4"
type="textarea" disabled v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit placeholder="请输入Notify Party" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="地址" prop="brdgrp.shp.adrelc">
<c-input type="textarea" v-model="model.brdgrp.shp.adrelc" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'地址'" ></c-input>
</c-form-item>
<c-col :span="24">
<el-form-item label="Goods code" prop="brdgrp.rec.ngrcod">
<c-select
v-model="model.brdgrp.rec.ngrcod"
style="width:100%"
placeholder="请选择Goods code"
:code="codes.bnrsec"
disabled
>
</c-select>
</el-form-item>
</c-col>
<!-- SG000226 : Notify Party -->
</el-col>
<c-col :span="12">
<c-form-item label="Notify Party" prop="brdgrp.blk.notpty">
<c-input type="textarea" v-model="model.brdgrp.blk.notpty" maxlength="35" show-word-limit :placeholder="$t('other.please_enter')+'Notify Party'" ></c-input>
</c-form-item>
</c-col>
<!-- SG000223 : Port of loading -->
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="brtp.shpp.ptsget.sdamod.dadsnd">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.dadsnd" placeholder="请输入Drag Drop Sender"></c-input>
</el-form-item>
</c-col> -->
<c-col :span="12">
<c-form-item :label="$t('brtp.SG000223')" prop="brdgrp.blk.porlod">
<c-input v-model="model.brdgrp.blk.porlod" maxlength="40" :placeholder="$t('other.please_enter')+$t('brtp.SG000223')"></c-input>
</c-form-item>
<!-- <c-col :span="12">
<el-form-item label="" prop="brtp.shpp.ptsget.sdamod.seainf">
<c-input v-model="model.brtp.shpp.ptsget.sdamod.seainf" placeholder="请输入"></c-input>
</el-form-item>
</c-col> -->
<!-- <c-col :span="12">
<c-button size="small" type="primary" @click="onShppDet">
Details
</c-button>
</c-col> -->
<!-- <c-col :span="12">
<el-form-item label="名称" prop="brdgrp.shp.namelc">
<c-input type="textarea" v-model="model.brdgrp.shp.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
</c-col>
<!-- SG000227 : Goods code -->
<!-- SG000224 : Voyage numer -->
<c-col :span="12">
<c-form-item :label="$t('brtp.SG000224')" prop="brdgrp.blk.voynum">
<c-input v-model="model.brdgrp.blk.voynum" maxlength="30" :placeholder="$t('other.please_enter')+$t('brtp.SG000224')"></c-input>
</c-form-item>
<el-form-item label="Chinese address" prop="brdgrp.shp.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.shp.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Goods code" prop="brdgrp.rec.ngrcod">
<c-select v-model="model.brdgrp.rec.ngrcod" style="width:100%" :placeholder="$t('other.please_enter')+'Goods code'">
</c-select>
<el-form-item label="地址" prop="brdgrp.shp.adrelc">
<c-input type="textarea" v-model="model.brdgrp.shp.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtame/Event"
import Event from "~/model/Litrog/Event"
export default {
inject: ['root'],
......
......@@ -72,6 +72,7 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Brtame from "~/model/Brtame";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Brtame/Check";
import Default from "~/model/Brtame/Default";
import Pattern from "~/model/Brtame/Pattern";
......@@ -102,7 +103,7 @@ export default {
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "rog",
......@@ -113,7 +114,9 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {},
codes: {
...CodeTable
},
};
},
methods: {
......
<template>
<div>
<c-col :span="24">
<div v-for="(item, idx) in rol" :key="idx">
<c-ptsmsg
:model="model"
:argadr="{
title: item.title,
grp: `${argadr.trans}`,
rol: item.trans,
}"
:disabled="true"
></c-ptsmsg>
</div>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Ptsmsg from "~/views/Public/Ptsmsg";
// 机构信息模块
export default {
inject: ["root"],
mixins: [commonProcess],
components: {
"c-ptsmsg": Ptsmsg,
},
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
trans: "", //所属模块
};
},
},
rol: {
type: Array,
default: () => [],
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {},
created: function () {},
};
</script>
<style>
</style>
......@@ -106,7 +106,7 @@
</el-table-column>
<el-table-column label="Payee" width="101px">
<template slot-scope="scope">
<c-select v-model="scope.row.payee">
<c-select v-model="scope.row.ptypay">
<el-option
v-for="item in codes.payee"
:key="item.value"
......
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