Commit d7980eb4 by huangxin

bttcan,bttdrv修改

parent ac8472b8
......@@ -4,7 +4,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="转让信用证编号" prop="ltdgrp.rec.ownref">
<c-input v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号"></c-input>
<c-input disabled v-model="model.ltdgrp.rec.ownref" maxlength="16" placeholder="请输入转让信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -26,7 +26,7 @@
</c-col>
<c-col :span="8">
<el-form-item label="信用证编号" prop="ledgrp.rec.ownref">
<c-input v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
<c-input disabled v-model="model.ledgrp.rec.ownref" maxlength="16" placeholder="请输入信用证编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -50,7 +50,7 @@
<c-col :span="24">
<c-col :span="8">
<el-form-item label="单据编号" prop="btdgrp.rec.ownref">
<c-input v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input>
<c-input disabled v-model="model.btdgrp.rec.ownref" maxlength="16" placeholder="请输入单据编号"></c-input>
</el-form-item>
</c-col>
<c-col :span="4">
......@@ -72,7 +72,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="Name of Bill Contract" prop="btdgrp.rec.nam">
<c-input v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
<c-input disabled v-model="model.btdgrp.rec.nam" maxlength="40" placeholder="请输入Name of Bill Contract"></c-input>
</el-form-item>
</c-col>
</c-col>
......@@ -81,6 +81,7 @@
<c-col :span="15">
<el-form-item label="单据金额" prop="btdgrp.cbs.max.cur">
<c-select
disabled
v-model="model.btdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择币种">
......@@ -99,6 +100,7 @@
label-width="20px"
prop="btdgrp.cbs.max.amt">
<c-input-currency
disabled
v-model="model.btdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
placeholder="请输入单据金额"
......@@ -107,12 +109,13 @@
</c-col>
<c-col :span="1">
<c-checkbox v-model="model.bttp0.aammod.addamtflg">附加金额</c-checkbox>
<c-checkbox disabled v-model="model.bttp0.aammod.addamtflg">附加金额</c-checkbox>
</c-col>
<c-col :span="15">
<el-form-item label="余额" prop="btdgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.btdgrp.cbs.opn1.cur"
style="width: 100%"
maxlength="3"
......@@ -133,6 +136,7 @@
label-width="20px"
prop="btdgrp.cbs.opn1.amt">
<c-input-currency
disabled
v-model="model.btdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
placeholder="请输入余额"
......@@ -144,12 +148,13 @@
<c-col :span="24">
<el-form-item label="单据类型" prop="btdgrp.rec.doctypcod">
<c-select
disabled
v-model="model.btdgrp.rec.doctypcod"
style="width: 100%"
maxlength="1"
placeholder="请选择单据类型">
<el-option
v-for="item in codes.doctypcod"
v-for="item in doctypcod"
:key="item.value"
:label="item.label"
:value="item.value">
......@@ -160,19 +165,19 @@
<c-col :span="24">
<el-form-item label="到期日" prop="btdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.btdgrp.rec.matdat" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择到期日"></c-date-picker>
<c-date-picker type="date" disabled v-model="model.btdgrp.rec.matdat" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择到期日"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="从第二受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe2">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe2" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
<c-date-picker type="date" disabled v-model="model.btdgrp.rec.rcvdatbe2" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第二受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="从第一受益人那收到单据日期" prop="btdgrp.rec.rcvdatbe1">
<c-date-picker type="date" v-model="model.btdgrp.rec.rcvdatbe1" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
<c-date-picker type="date" disabled v-model="model.btdgrp.rec.rcvdatbe1" value-format="yyyy-MM-dd" style="width:100%" placeholder="请选择从第一受益人那收到单据日期"></c-date-picker>
</el-form-item>
</c-col>
......@@ -180,12 +185,13 @@
<el-form-item label="单据状态" prop="btdgrp.rec.docsta">
<c-select
disabled
v-model="model.btdgrp.rec.docsta"
style="width: 100%"
maxlength="40"
placeholder="请选择单据状态">
<el-option
v-for="item in codes.docsta"
v-for="item in codes.docsta2"
:key="item.value"
:label="item.label"
:value="item.value">
......@@ -196,7 +202,7 @@
<c-col :span="24">
<el-form-item label="Narrative" prop="strinf">
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative" ></c-input>
<c-input type="textarea" v-model="model.strinf" maxlength="50" show-word-limit placeholder="请输入Narrative" ></c-input>
</el-form-item>
</c-col>
......@@ -224,7 +230,7 @@
<c-col :span="24">&nbsp;</c-col>
<c-col :span="24">
<el-form-item label="第一受益人" prop="btdgrp.be1.pts.ref">
<c-input v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入第一受益人"></c-input>
<c-input disabled v-model="model.btdgrp.be1.pts.ref" maxlength="16" placeholder="请输入第一受益人"></c-input>
</el-form-item>
</c-col>
......@@ -232,7 +238,7 @@
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be1.pts.nam">
<c-input v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入"></c-input>
<c-input disabled v-model="model.btdgrp.be1.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......@@ -240,13 +246,13 @@
<c-col :span="24">
<el-form-item label="第二受益人" prop="btdgrp.be2.pts.ref">
<c-input v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入第二受益人"></c-input>
<c-input disabled v-model="model.btdgrp.be2.pts.ref" maxlength="16" placeholder="请输入第二受益人"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="btdgrp.be2.pts.nam">
<c-input v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入"></c-input>
<c-input disabled v-model="model.btdgrp.be2.pts.nam" maxlength="40" placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......@@ -275,7 +281,12 @@ export default {
mixins: [commonProcess],
data(){
return {
doctypcod: [
{ label: "Mixed Payment Documents", value: "M" },
{ label: "Sight Documents", value: "P" },
{ label: "Usance Documents(Acceptance)", value: "A" },
{ label: "Usance Documents(Deferred)", value: "D" },
],
}
},
methods:{...Event},
......
......@@ -44,14 +44,14 @@
</el-tab-pane>
-->
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<!-- <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="分录" name="glepan">
<!-- <el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes"/>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
......@@ -59,25 +59,25 @@
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="DTA fields" name="dtatag">
<!-- <el-tab-pane label="DTA fields" name="dtatag">
<c-content>
<m-dtatag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000001 -->
<el-tab-pane label="DTA fields" name="dtetag">
<!-- <el-tab-pane label="DTA fields" name="dtetag">
<c-content>
<m-dtetag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000010 -->
<el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<!-- <el-tab-pane label="Incoming Tag 72/79" name="coninftag">
<c-content>
<m-coninftag :model="model" :codes="codes"/>
</c-content>
</el-tab-pane>
</el-tab-pane> -->
<!--PD000529 -->
<el-tab-pane label="面函及报文" name="docpan">
......@@ -108,8 +108,8 @@ import Detp from "./Detp"
import Coninftag from "./Coninftag"
import Dtatag from "./Dtatag"
import Dtetag from "./Dtetag"
import Doctre from "./Doctre"
import Doctre from "~/views/Public/Doctre"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "~/views/Public/Coninfp"
import Docpan from "~/views/Public/Docpan"
......@@ -153,8 +153,8 @@ export default {
}
},
methods:{
tabClick(){
}
// tabClick(){
// }
},
created:async function(){
console.log("进入bttcan交易");
......
......@@ -101,7 +101,9 @@
</c-col>
</c-col>
<!-- right -->
<!-- ---------------------------------------------------right ------------------------------------------------->
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="付款行" prop="btdgrp.rec.payrol">
......@@ -109,7 +111,21 @@
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'oth',
}"
:noRef="true"
:disabled="true"
:disabledRef="true"
:disabledExtkey="true"
>
</c-ptap>
<!-- <c-col :span="24">
<c-col :span="20">
<el-form-item label="" prop="btdgrp.oth.pts.extkey" label-width="0px">
<c-input v-model="model.btdgrp.oth.pts.extkey" maxlength="16" placeholder="请输入" disabled></c-input>
......@@ -126,17 +142,29 @@
<c-input type="textarea" v-model="model.btdgrp.oth.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入"
disabled></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- r2 -->
<c-col :span="24">
<el-form-item label="第二受益人方收款人的名称地址及编号" prop="btdgrp.rec.docprbrolbe1">
<el-form-item label="第二受益人方" prop="btdgrp.rec.docprbrolbe1">
<c-select v-model="model.btdgrp.rec.docprbrolbe1" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'prb',
}"
:disabled="true"
:disabledExtkey="true"
>
</c-ptap>
<!-- <c-col :span="24">
<el-form-item label="" prop="btdgrp.prb.pts.ref">
<c-input v-model="model.btdgrp.prb.pts.ref" maxlength="16" placeholder="请输入"></c-input>
</el-form-item>
......@@ -158,16 +186,28 @@
<c-input type="textarea" v-model="model.btdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入"
disabled></c-input>
</el-form-item>
</c-col>
</c-col> -->
<!-- r3 -->
<c-col :span="24">
<el-form-item label="第一受益人方收款人的名称地址及编号" prop="btdgrp.rec.docprbrolbe1">
<el-form-item label="第一受益人方" prop="btdgrp.rec.docprbrolbe1">
<c-select v-model="model.btdgrp.rec.docprbrolbe1" style="width:100%" placeholder="请选择交单行的名称及地址 第一受益人的名称地址及编号">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '',
grp: 'btdgrp',
rol: 'prp',
}"
:disabled="true"
:disabledExtkey="true"
>
</c-ptap>
<!-- <c-col :span="24">
<el-form-item label="" prop="btdgrp.prp.pts.ref">
<c-input v-model="model.btdgrp.prp.pts.ref" maxlength="16" placeholder="请输入"></c-input>
</el-form-item>
......@@ -189,7 +229,7 @@
<c-input type="textarea" v-model="model.btdgrp.prp.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入"
disabled></c-input>
</el-form-item>
</c-col>
</c-col> -->
</c-col>
</c-row>
......@@ -199,8 +239,12 @@
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bttdrv/Event"
import Ptap from "~/views/Public/Ptap";
export default {
components: {
"c-ptap": Ptap,
},
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
......
......@@ -67,6 +67,20 @@
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
......@@ -121,8 +135,8 @@ export default {
}
},
methods:{
tabClick(){
}
// tabClick(){
// }
},
created:async function(){
console.log("进入bttdrv交易");
......
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