Commit 597484a7 by liuxin

detdrv交易调整

parent a2275547
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
if(rtnmsg.respCode == SUCCESS) if(rtnmsg.respCode == SUCCESS)
{ {
//TODO 处理数据逻辑 //TODO 处理数据逻辑
this.updateModel(rtnmsg.data)
} }
else else
{ {
......
...@@ -206,7 +206,7 @@ export default { ...@@ -206,7 +206,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.cbs.opn1.amt":[ "dedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
...@@ -292,7 +292,7 @@ export default { ...@@ -292,7 +292,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"dedgrp.cbs.nom1.amt":[ "dedgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
...@@ -339,7 +339,7 @@ export default { ...@@ -339,7 +339,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bfdgrp.cbs.max.amt":[ "bfdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, 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位" }
], ],
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-row> <c-row>
<c-col :span="24">
<!-- -------------------Left------------------- --> <!-- -------------------Left------------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="参考号" prop="dedgrp.rec.ownref"> <el-form-item label="参考号" prop="dedgrp.rec.ownref">
<c-input <c-input
v-model="model.dedgrp.rec.ownref" v-model="model.dedgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入参考号" placeholder="请输入参考号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="13"> <c-col :span="13">
<el-form-item label="信用证金额" prop="dedgrp.cbs.nom1.cur"> <el-form-item
label="信用证金额"
prop="dedgrp.cbs.nom1.cur"
>
<c-select <c-select
disabled disabled
v-model="model.dedgrp.cbs.nom1.cur" v-model="model.dedgrp.cbs.nom1.cur"
...@@ -46,9 +49,7 @@ ...@@ -46,9 +49,7 @@
v-model="model.dedgrp.cbs.nom1.amt" v-model="model.dedgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
@keyup.enter.native=" disabled
defaultFunction('dedgrp.cbs.nom1.amt', model.dedgrp.cbs.nom1.amt)
"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -64,7 +65,8 @@ ...@@ -64,7 +65,8 @@
v-model="model.dedgrp.cbs.opn1.cur" v-model="model.dedgrp.cbs.opn1.cur"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.cur"
style="width:100%" style="width: 100%"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -79,6 +81,7 @@ ...@@ -79,6 +81,7 @@
<c-input-currency <c-input-currency
v-model="model.dedgrp.cbs.opn1.amt" v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入金额" placeholder="请输入金额"
disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -90,7 +93,8 @@ ...@@ -90,7 +93,8 @@
type="date" type="date"
v-model="model.dedgrp.rec.opndat" v-model="model.dedgrp.rec.opndat"
placeholder="请选择开证日期" placeholder="请选择开证日期"
style="width:100%" style="width: 100%"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
...@@ -111,6 +115,7 @@ ...@@ -111,6 +115,7 @@
v-model="model.dedgrp.avbnam" v-model="model.dedgrp.avbnam"
maxlength="40" maxlength="40"
placeholder="请输入指定银行" placeholder="请输入指定银行"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -121,6 +126,7 @@ ...@@ -121,6 +126,7 @@
v-model="model.dedgrp.rec.avbby" v-model="model.dedgrp.rec.avbby"
style="width: 100%" style="width: 100%"
placeholder="请选择兑付方式" placeholder="请选择兑付方式"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -136,6 +142,7 @@ ...@@ -136,6 +142,7 @@
v-model="model.dedgrp.rec.expdat" v-model="model.dedgrp.rec.expdat"
style="width: 100%" style="width: 100%"
placeholder="请选择最迟交单日期/交单地" placeholder="请选择最迟交单日期/交单地"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -147,17 +154,104 @@ ...@@ -147,17 +154,104 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入最迟交单日期/交单地" placeholder="请输入最迟交单日期/交单地"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- -------------------Right------------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="概要" prop="dedgrp.rec.nam">
<c-input
v-model="model.dedgrp.rec.nam"
maxlength="40"
placeholder="请输入概要"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="开证行" prop="bfdgrp.iss.pts.ref">
<c-input
v-model="model.bfdgrp.iss.pts.ref"
maxlength="16"
placeholder="请输入开证行"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行"
></c-input>
</el-form-item>
</c-col> -->
<c-ptsmsg
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'iss',
}"
:disabled="true"
></c-ptsmsg>
<c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
title: '交单人',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<el-form-item
label="信用证类型"
prop="dedgrp.rec.lcrtyp"
>
<c-select
v-model="model.dedgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择信用证类型"
disabled
>
</c-select>
</el-form-item>
</c-col>
</c-col>
</c-col>
<!-- -------------------Left------------------- -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="单据编号" prop="bfdgrp.rec.ownref"> <el-form-item label="单据编号" prop="bfdgrp.rec.ownref">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.bfdgrp.rec.ownref" v-model="model.bfdgrp.rec.ownref"
maxlength="16" maxlength="16"
placeholder="请输入单据编号" placeholder="请输入单据编号"
disabled
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -173,14 +267,12 @@ ...@@ -173,14 +267,12 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
label="单据类型"
prop="bfdgrp.rec.doctypcod"
>
<c-select <c-select
v-model="model.bfdgrp.rec.doctypcod" v-model="model.bfdgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择单据类型" placeholder="请选择单据类型"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -197,6 +289,7 @@ ...@@ -197,6 +289,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.cur"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -229,7 +322,11 @@ ...@@ -229,7 +322,11 @@
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="寄单日期" prop="bfdgrp.rec.orddat" label-width="100px"> <el-form-item
label="寄单日期"
prop="bfdgrp.rec.orddat"
label-width="100px"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.orddat" v-model="model.bfdgrp.rec.orddat"
...@@ -248,17 +345,23 @@ ...@@ -248,17 +345,23 @@
v-model="model.bfdgrp.rec.matdat" v-model="model.bfdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择到期日" placeholder="请选择到期日"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="11"> <c-col :span="11">
<el-form-item label="装运日期" prop="bfdgrp.rec.shpdat" label-width="100px"> <el-form-item
label="装船日期"
prop="bfdgrp.rec.shpdat"
label-width="100px"
>
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.shpdat" v-model="model.bfdgrp.rec.shpdat"
style="width: 100%" style="width: 100%"
placeholder="请选择装运日期" placeholder="请选择装船日期"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -266,7 +369,7 @@ ...@@ -266,7 +369,7 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="Maturity Period" label="远期单据到期时间"
prop="bfdgrp.blk.matper" prop="bfdgrp.blk.matper"
> >
<c-input <c-input
...@@ -275,25 +378,12 @@ ...@@ -275,25 +378,12 @@
maxlength="65" maxlength="65"
show-word-limit show-word-limit
placeholder="请输入Maturity Period" placeholder="请输入Maturity Period"
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="Presented by"
prop="bfdgrp.rec.docprbrol"
>
<c-select
v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%"
placeholder="请选择交单人"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="发票类型" prop="bfdgrp.rec.invtyp"> <el-form-item label="发票类型" prop="bfdgrp.rec.invtyp">
<c-fullbox> <c-fullbox>
<c-select <c-select
...@@ -301,6 +391,12 @@ ...@@ -301,6 +391,12 @@
style="width: 100%" style="width: 100%"
placeholder="请选择发票类型" placeholder="请选择发票类型"
> >
<el-option
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
> </el-option>
</c-select> </c-select>
<template slot="footer"> <template slot="footer">
<c-checkbox v-model="model.bfdgrp.rec.dscinsflg" <c-checkbox v-model="model.bfdgrp.rec.dscinsflg"
...@@ -312,99 +408,61 @@ ...@@ -312,99 +408,61 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="已交单次数" prop="dedgrp.rec.utlnbr">
label="已交单次数"
prop="dedgrp.rec.utlnbr"
>
<c-input <c-input
v-model="model.dedgrp.rec.utlnbr" v-model="model.dedgrp.rec.utlnbr"
placeholder="请输入已交单次数" placeholder="请输入已交单次数"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<!-- -------------------Right------------------- --> <!-- -------------------Right------------------- -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="概要" prop="dedgrp.rec.nam"> <el-form-item label="摘要" prop="bfdgrp.rec.nam">
<c-input <c-input
v-model="model.dedgrp.rec.nam" v-model="model.bfdgrp.rec.nam"
maxlength="40" maxlength="40"
placeholder="请输入概要" placeholder="请输入摘要"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-ptap
:model="model"
:argadr="{
title: '申请人',
grp: 'bfdgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item label="交单人" prop="bfdgrp.rec.docprbrol">
label="信用证类型"
prop="dedgrp.rec.lcrtyp"
>
<c-select <c-select
v-model="model.dedgrp.rec.lcrtyp" v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择信用证类型" placeholder="请选择交单人"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="开证行" prop="bfdgrp.iss.pts.ref"> <el-form-item label="单据编号" prop="bfdgrp.prb.pts.ref">
<c-input <c-input
v-model="model.bfdgrp.iss.pts.ref" v-model="model.bfdgrp.prb.pts.ref"
maxlength="16" maxlength="16"
placeholder="请输入开证行" placeholder="请输入单据编号"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="请输入开证行"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '交单人', title: '联行行号',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'prb', rol: 'prb',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onPrbpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
</c-col> </c-col>
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="申请人" prop="bfdgrp.apl.pts.ref"> <el-form-item label="申请人" prop="bfdgrp.apl.pts.ref">
<c-input <c-input
...@@ -424,8 +482,6 @@ ...@@ -424,8 +482,6 @@
</el-form-item> </el-form-item>
</c-col> --> </c-col> -->
<!-- <c-col :span="24"> <!-- <c-col :span="24">
<el-form-item label="交单人" prop="bfdgrp.prb.pts.ref"> <el-form-item label="交单人" prop="bfdgrp.prb.pts.ref">
<c-input <c-input
...@@ -453,12 +509,13 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -453,12 +509,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Detdrv/Event"; import Event from "~/model/Detdrv/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Ptsmsg from "~/views/Public/Ptsmsg";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap, "c-ptsmsg": Ptsmsg },
data() { data() {
return {}; return {};
}, },
......
...@@ -71,8 +71,6 @@ ...@@ -71,8 +71,6 @@
rol: 'oth', rol: 'oth',
}" }"
:disabled="true" :disabled="true"
@onSeainf="onSeainf"
@onAplpDet="onOthpDet"
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
......
...@@ -33,9 +33,9 @@ ...@@ -33,9 +33,9 @@
</el-tab-pane> </el-tab-pane>
<!--PD000147 --> <!--PD000147 -->
<el-tab-pane label="Advice of Payment" name="mt754p"> <!-- <el-tab-pane label="Advice of Payment" name="mt754p">
<m-mt754p :model="model" :codes="codes"/> <m-mt754p :model="model" :codes="codes"/>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="费用及账务" name="setpan"> <el-tab-pane label="费用及账务" name="setpan">
...@@ -45,24 +45,24 @@ ...@@ -45,24 +45,24 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!-- <el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" ref="glepan" /> <m-glepan :model="model" :codes="codes" ref="glepan" />
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="表外" name="engp"> <el-tab-pane label="表外" name="engp">
<!--PD000027 -->
<c-content> <c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="保证金" name="ccvpan"> <!-- <el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes" /> <m-ccvpan :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane> -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="面函" name="docpan"> <el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" ref="docpan" /> <m-docpan :model="model" :codes="codes" ref="docpan" />
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<!--PD000001 --> <!--PD000001 -->
<el-tab-pane label="授信额度" name="limitbody"> <el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes" /> <m-limitbody :model="model" :codes="codes" />
</el-tab-pane> </el-tab-pane>
...@@ -83,6 +83,7 @@ import Api from "~/service/Api" ...@@ -83,6 +83,7 @@ import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Detdrv from "~/model/Detdrv" import Detdrv from "~/model/Detdrv"
import commonProcess from "~/mixin/commonProcess" import commonProcess from "~/mixin/commonProcess"
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detdrv/Check" import Check from "~/model/Detdrv/Check"
import Default from "~/model/Detdrv/Default" import Default from "~/model/Detdrv/Default"
import Pattern from "~/model/Detdrv/Pattern" import Pattern from "~/model/Detdrv/Pattern"
...@@ -126,7 +127,7 @@ export default { ...@@ -126,7 +127,7 @@ export default {
root: this root: this
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){ data(){
return { return {
tabVal: "drv", tabVal: "drv",
......
<template> <template>
<div class="eibs-tab"> <div>
<c-col :span="20"> <c-col :span="20">
<el-form-item <el-form-item
:label="`${argadr.title}`" :label="`${argadr.title}`"
......
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