Commit ea15a1f8 by zhoutian

brtdck临时提交

parent d66e5fd4
......@@ -2661,7 +2661,23 @@ const CodeTable = {
{ label: "信用证单据承兑", value: "1" },
],
docsta: [
{ label: "label", value: "INST" },
{ label: "Goods released, Adv. of Payment received", value: "A" },
{ label: "Goods released, Adv. of Payment + docs", value: "B" },
{ label: "Adv. of Payment received, wait for docs", value: "C" },
{ label: "Advice of Payment and documents received", value: "D" },
{ label: "Adv. of Discrep. received, wait for docs", value: "E" },
{ label: "Advice of Discrepancy and docs received", value: "F" },
{ label: "Documents received", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
doctyp: [
{ label: "买方单据", value: "BDD" },
......@@ -3628,6 +3644,109 @@ const CodeTable = {
{ label: "Transaction", value: "TRN" },
{ label: "Database", value: "DBF" },
],
payrol:[
{label:"2nd Advising Bank",value:"A2B"},
{label:"2.Adv.Bk. Transfer",value:"A2T"},
{label:"Acc. with Bank (ACB)",value:"ACB"},
{label:"Accounting Bank",value:"ACC"},
{label:"Search Account for",value:"ACT"},
{label:"Acc. with Bank (AcW)",value:"ACW "},
{label:"Adv.Bank APL Side",value:"ADA"},
{label:"Addressee",value:"ADE"},
{label:"Adv.Bank Transfer",value:"ADT"},
{label:"Advising Bank",value:"ADV"},
{label:"Correspondent Bank",value:"AGB"},
{label:"Agent",value:"AGT"},
{label:"2nd Applicant",value:"AP2"},
{label:"3rd Applicant",value:"AP3"},
{label:"4th Applicant",value:"AP4"},
{label:"5th Applicant",value:"AP5"},
{label:"Applicant's Bank",value:"APB"},
{label:"Applicant",value:"APL"},
{label:"Account Party",value:"APY"},
{label:"2nd Adv. thr.Bank",value:"AT2"},
{label:"1st Adv. thr. Bank",value:"ATB"},
{label:"Available with Bank",value:"AVB"},
{label:"Avail. w.Bank Tr.",value:"AVT"},
{label:"Account with Inst.",value:"AWl"},
{label:"2nd Benef.'s Bank",value:"B2B"},
{label:"1st Beneficiary",value:"BE1"},
{label:"2nd Beneficiary",value:"BE2"},
{label:"Beneficiary's Bank",value:"BEB"},
{label:"Benef.'s lnstitution",value:"BEI"},
{label:"Beneficiary",value:"BEN"},
{label:"Buyer 1",value:"BU1"},
{label:"Buyer 2",value:"BU2"},
{label:"Buyer 3",value:"BU3"},
{label:"Buyer",value:"BUY"},
{label:"Carrier (CAR)",value:"CAR"},
{label:"Claiming Bank",value:"CLB"},
{label:"Our Client",value:"CLI"},
{label:"2nd Collecting Bank",value:"CO2"},
{label:"Collecting Bank",value:"COL"},
{label:"Confirming Bank",value:"CON"},
{label:"Correspondent",value:"COR"},
{label:"2nd Accountee",value:"CT2"},
{label:"3rd Accountee",value:"CT3"},
{label:"4th Accountee",value:"CT4"},
{label:"5th Accountee",value:"CT5"},
{label:"Accountee",value:"CTR"},
{label:"Delivery Group",value:"DEG"},
{label:"Drawee (DRE)",value:"DRE"},
{label:"Drawee Bank",value:"DRO"},
{label:"Drawer",value:"DRR"},
{label:"Drawee (DRW)",value:"DRW"},
{label:"Advanced Party",value:"FIA"},
{label:"Financed Party",value:"FIP"},
{label:"Account Held by",value:"HOL"},
{label:"Init. Inst.",value:"IIB"},
{label:"Initiating inst.",value:"INI"},
{label:"Insurance",value:"INS"},
{label:"Intermediary bank",value:"INT"},
{label:"Invoice Party",value:"INV"},
{label:"Issuing Bank",value:"ISS"},
{label:"Negotiation Bank",value:"NEG"},
{label:"Notily Party",value:"NOP"},
{label:"Old Account Party",value:"OAP"},
{label:"Old Buyer",value:"OBU"},
{label:"Old Invoice Party",value:"OIN"},
{label:"Ordering Customer",value:"ORC"},
{label:"Ordering Institution",value:"ORI"},
{label:"Futher Party",value:"OTH"},
{label:"Ourselves",value:"OWN"},
{label:"Presenter (PRP)",value:"PRB"},
{label:"Presenting Bnk",value:"PRE"},
{label:"Presenter (PRB)",value:"PRP"},
{label:"Paying Bank",value:"PYB"},
{label:"Payee",value:"PYE"},
{label:"Remboursement Bank 1",value:"RB1"},
{label:"Remboursement Bank 2",value:"RB2"},
{label:"Reimbursement Bank",value:"RMB"},
{label:"Remitting Bank",value:"RMI"},
{label:"Beneficiary (Paym.)",value:"RMS"},
{label:"Reimb. Bank Transfer",value:"RMT"},
{label:"Carrier (ROG)",value:"ROG"},
{label:"Payer / Payee",value:"ROL"},
{label:"Receiver of 2nd mail",value:"RSM"},
{label:"Seller",value:"SEL"},
{label:"Account Serviced by",value:"SER"},
{label:"Shipper",value:"SHR"},
{label:"Third Party",value:"TPO"},
{label:"1st Third Party .",value:"TP1"},
{label:"2nd Third Party",value:"TP2"},
{label:"3rd Third Party",value:"TP3"},
{label:"4th Third Party",value:"TP4"},
{label:"5th Third Party",value:"TP5"},
{label:"6th Third Party",value:"TP6"},
{label:"7th Third Party",value:"TP7"},
{label:"8th Third Party",value:"TP8"},
{label:"9th Third Party",value:"TP9"},
{label:"3rd Remb Institution",value:"TRI"},
{label:"Credit Party",value:"UMH"},
{label:"Debit Party",value:"UMS"},
],
lcrtyp: [
{ label: "可转让", value: "IT" },
{ label: "不可转让", value: "I" },
......@@ -3930,6 +4049,13 @@ const CodeTable = {
{ label: "Pending Items Manager", value: "spttsk" },
{ label: "Outgoing Workflow Manager", value: "mgrtsk" },
],
docprbrol:[
{label:"2nd Advising Bank",value:"A2B"},
{label:"Advising Bank",value:"ADV"},
{label:"Beneficiary",value:"BEN"},
{label:"Presenter(PRP)",value:"PRB"},
],
mhtyp: [
{ label: "更换单据", value: "A" },
{ label: "二次到单", value: "R" },
......@@ -5630,6 +5756,14 @@ const CodeTable = {
{ label: "TD Metafile Viewer", value: "TMF" },
{ label: "Formatted Display", value: "SWT" },
],
docflg:[
{label:"Mixed Payment Documents",value:"M"},
{label:"Sight Documents",value:"P"},
{label:"Usance Documents(Acceptance)",value:"A"},
{label:"Usance Documents(Deferred)",value:"D"},
],
vouflg: [
{ label: "申报", value: "1" },
{ label: "不申报", value: "2" },
......
......@@ -2,9 +2,9 @@
<div class="eibs-tab">
<c-row>
<!-- 左边 -->
<c-col :span="11">
<c-col :span="12">
<!-- S0000198 : 信用证编号 -->
<c-col :span="16">
<c-col :span="24">
<c-form-item label="Import L/C Ref" prop="lidgrp.rec.ownref">
<c-fullbox>
<c-input v-model="model.lidgrp.rec.ownref" maxlength="16" placeholder="" style="width:100%"></c-input>
......@@ -31,7 +31,7 @@
</c-form-item>
</c-col>
<!-- S0000195 : 到期日 -->
<c-col :span="8">
<c-col :span="24">
<el-form-item label="Expiry" prop="lidgrp.rec.expdat">
<c-date-picker type="date" v-model="model.lidgrp.rec.expdat" style="width:100%" placeholder="请输入Expiry"></c-date-picker>
</el-form-item>
......@@ -66,7 +66,7 @@
<!-- S0000197 : 单据金额 -->
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请输入Document Amount">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="请输入Document Amount" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
......@@ -118,7 +118,7 @@
<!-- S0000206 : 单据类型 -->
<c-col :span="16">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type" :code="codes.docflg">
</c-select>
</el-form-item>
</c-col>
......@@ -131,22 +131,22 @@
<!-- S0000207 : 单据状态 -->
<c-col :span="24">
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" :placeholder="$t('other.please_enter')+$t('brtp.S0000207')">
<c-select v-model="model.brdgrp.rec.docsta" style="width:100%" placeholder="请输入" :code="codes.docsta">
</c-select>
</el-form-item>
</c-col>
<!-- S0000084 : Document Type -->
<c-col :span="24">
<el-form-item label="Document Type" prop="brdgrp.rec.docflg">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type">
<c-select v-model="model.brdgrp.rec.docflg" style="width:100%" placeholder="请输入Document Type" :code="codes.docflg">
</c-select>
</el-form-item>
</c-col>
<!-- S0000086 : Document Amount -->
<c-col :span="12">
<el-form-item label="Document Amount" prop="brdgrp.cbs.max.cur">
<c-select v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="">
</c-select>
<c-input v-model="model.brdgrp.cbs.max.cur" style="width:100%" placeholder="">
</c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -157,7 +157,7 @@
<!-- S0000006 : 附加金额 -->
<c-col :span="12">
<el-form-item label="Drawn Add Amount" prop="brdgrp.cbs.opn2.cur">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请输入Drawn Add Amount">
<c-select v-model="model.brdgrp.cbs.opn2.cur" style="width:100%" placeholder="请输入Drawn Add Amount" :code="codes.cur">
</c-select>
</el-form-item>
</c-col>
......@@ -192,7 +192,7 @@
<!-- SG000365 : Transaction Type -->
<c-col :span="12">
<el-form-item label="Transaction Type" prop="mhtyp">
<c-select v-model="model.mhtyp" style="width:100%" placeholder="请输入Transaction Type">
<c-select v-model="model.mhtyp" style="width:100%" placeholder="请输入Transaction Type" :code="codes.mhtyp">
</c-select>
</el-form-item>
</c-col>
......@@ -210,11 +210,11 @@
<!-- SF000369 : Applicant Reference -->
<c-col :span="12">
<c-form-item label="Applicant Reference" prop="lidgrp.rec.aplref">
<c-input v-model="model.lidgrp.rec.aplref" maxlength="16" :placeholder="$t('other.please_enter')+'Applicant Reference'"></c-input>
<c-input v-model="model.lidgrp.rec.aplref" maxlength="16" placeholder="请输入Applicant Reference"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.brdgrp.rec.dscinsflg">Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox>
<c-checkbox v-model="model.brdgrp.rec.dscinsflg" style="width:100%;margin-left:40px">Enter Docs,Discrep,Instr and Shipping Detials</c-checkbox>
</c-col>
<c-col :span="24">
<c-form-item label="Previous Drawings under this L/C" prop="lidgrp.rec.utlnbr">
......@@ -225,7 +225,7 @@
</c-col>
<!-- 右边 -->
<c-col :span="11" :offset="1">
<c-col :span="12">
<!-- S0000192 : 信用证余额 -->
<c-col :span="12">
<c-form-item label="Open Amt L/C" prop="lidgrp.cbs.opn1.cur">
......@@ -242,9 +242,31 @@
<c-input v-model="model.brdgrp.rec.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{ title: 'Applicant Ref', grp: 'brdgrp', rol: 'apl' }">
</c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{ title: 'Beneficiary Ref', grp: 'brdgrp', rol: 'ben' }">
</c-ptsmsg>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{ title: 'Presenting Bank Ref', grp: 'brdgrp', rol: 'prb' }">
</c-ptsmsg>
</c-col>
<!-- S0000194 : 申请人 -->
<!-- S0000203 : 编号 -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-form-item label="Applicant Ref" prop="brdgrp.apl.pts.ref">
<c-input v-model="model.brdgrp.apl.pts.ref" maxlength="16" placeholder="请输入Applicant Ref"></c-input>
</c-form-item>
......@@ -253,10 +275,10 @@
<c-form-item label="" prop="brdgrp.apl.pts.nam">
<c-input v-model="model.brdgrp.apl.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- S0000193 : 受益人 -->
<!-- S0000205 : 编号 -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-form-item label="Beneficiary Ref" prop="brdgrp.ben.pts.ref">
<c-input v-model="model.brdgrp.ben.pts.ref" maxlength="16" placeholder="请输入Beneficiary Ref"></c-input>
</c-form-item>
......@@ -265,10 +287,10 @@
<c-form-item label="" prop="brdgrp.ben.pts.nam">
<c-input v-model="model.brdgrp.ben.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- S0000204 : 交单行 -->
<!-- S0000208 : 编号 -->
<c-col :span="24">
<!-- <c-col :span="24">
<c-form-item label="Presenting Bank Ref" prop="brdgrp.prb.pts.ref">
<c-input v-model="model.brdgrp.prb.pts.ref" maxlength="16" placeholder="请输入Presenting Bank Ref"></c-input>
</c-form-item>
......@@ -277,16 +299,16 @@
<c-form-item label="" prop="brdgrp.prb.pts.nam">
<c-input v-model="model.brdgrp.prb.pts.nam" maxlength="40" placeholder=""></c-input>
</c-form-item>
</c-col>
</c-col> -->
<!-- S0000078 : Presented by -->
<c-col :span="24">
<el-form-item label="Presented by" prop="brdgrp.rec.docprbrol">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请输入 Presented by">
<c-select v-model="model.brdgrp.rec.docprbrol" style="width:100%" placeholder="请输入 Presented by" :code="codes.docprbrol">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
<c-ptap1
:model="model"
:argadr="{
title: '',
......@@ -295,15 +317,13 @@
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-ptap1>
</c-col>
<!-- SF000087 : Payer -->
<c-col :span="24">
<el-form-item label="Payer" prop="brdgrp.rec.payrol">
<c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请输入Payer">
<c-select v-model="model.brdgrp.rec.payrol" style="width:100%" placeholder="请输入Payer" :code="codes.payrol">
</c-select>
</el-form-item>
</c-col>
......@@ -527,9 +547,15 @@
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Brtdck/Event"
import Event from "~/model/Brtdck/Event";
import Ptap1 from "~/views/Public/Ptap1";
import Ptsmsg from "~/views/Public/Ptsmsg";
export default {
components: {
"c-ptap1": Ptap1,
"c-ptsmsg": Ptsmsg,
},
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
......@@ -540,11 +566,18 @@ export default {
},
methods:{...Event,
onSeainf(){},
onDitpButgetref(){},
onBenpDet(){},
},
created:function(){
}
},
computed: {
flag() {
return this.model.brdgrp.prb.pts.extkey == "";
},
},
}
</script>
<style>
......
......@@ -42,6 +42,8 @@
</el-tab-pane>
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty">
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -93,6 +95,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
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