Commit 98c62802 by Wuyuqiu

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 1c447914 4a39422e
...@@ -1079,7 +1079,7 @@ export default { ...@@ -1079,7 +1079,7 @@ export default {
"trtcre.oriamt":[ "trtcre.oriamt":[
{type: "number", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {type:"number",max: 99999999999999.999,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"trtcre.trdgrp.rec.pctfin":[ "trtcre.trdgrp.rec.pctfin":[
......
...@@ -19,7 +19,6 @@ export default { ...@@ -19,7 +19,6 @@ export default {
"lidgrp.cbs.nom1.amt":[ "lidgrp.cbs.nom1.amt":[
{type: "string", 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位" }
], ],
"brdgrp.apl.pts.ref":[ "brdgrp.apl.pts.ref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -33,7 +32,6 @@ export default { ...@@ -33,7 +32,6 @@ export default {
"lidgrp.cbs.opn1.amt":[ "lidgrp.cbs.opn1.amt":[
{type: "string", 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位" }
], ],
"brdgrp.apl.pts.nam":[ "brdgrp.apl.pts.nam":[
......
...@@ -21,9 +21,9 @@ export default { ...@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.max.amt":[ "gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.apl.pts.nam":[ "gidgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -34,9 +34,9 @@ export default { ...@@ -34,9 +34,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -76,9 +76,9 @@ export default { ...@@ -76,9 +76,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.cnf.amt":[ "gidgrp.cbs.cnf.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.rec.partcon":[ "gidgrp.rec.partcon":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -23,9 +23,9 @@ export default { ...@@ -23,9 +23,9 @@ export default {
"gidgrp.cbs.max.amt":[ "gidgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.apl.pts.ref":[ "gidgrp.apl.pts.ref":[
...@@ -38,9 +38,9 @@ export default { ...@@ -38,9 +38,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gidgrp.rec.oldref":[ "gidgrp.rec.oldref":[
......
...@@ -21,9 +21,9 @@ export default { ...@@ -21,9 +21,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gidgrp.cbs.opn1.amt":[ "gidgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.rec.ownref":[ "gcdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -47,9 +47,9 @@ export default { ...@@ -47,9 +47,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gcdgrp.cbs.max.amt":[ "gcdgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.apl.pts.ref":[ "gcdgrp.apl.pts.ref":[
...@@ -61,9 +61,9 @@ export default { ...@@ -61,9 +61,9 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"gcdgrp.cbs.opn1.amt":[ "gcdgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gcdgrp.apl.pts.nam":[ "gcdgrp.apl.pts.nam":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -94,9 +94,9 @@ export default { ...@@ -94,9 +94,9 @@ export default {
], ],
"gcdgrp.cbs.max2.amt":[ "gcdgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 17,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } // {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"gctp.prbp.ptsget.sdamod.dadsnd":[ "gctp.prbp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
......
...@@ -149,14 +149,14 @@ export default { ...@@ -149,14 +149,14 @@ export default {
{type: "string", required: false, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.matdat":[ "brdgrp.rec.matdat":[
{type: "string", required: true, message: "输入正确的日期"} {type: "string", required: false, message: "输入正确的日期"}
], ],
"brdgrp.rec.docsta":[ "brdgrp.rec.docsta":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"} {max: 1,message:"长度不能超过1"}
], ],
"brdgrp.blk.matper":[ "brdgrp.blk.matper":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
......
...@@ -12,6 +12,10 @@ export function add(data) { ...@@ -12,6 +12,10 @@ export function add(data) {
return Api.post("/manager/atp/add", data) return Api.post("/manager/atp/add", data)
} }
export function queryCod(cod) {
return Api.post(`/manager/atp/queryCod?cod=${cod}`)
}
export function edit(data) { export function edit(data) {
return Api.post("/manager/atp/edit", data) return Api.post("/manager/atp/edit", data)
} }
......
...@@ -12,6 +12,10 @@ export function add(data) { ...@@ -12,6 +12,10 @@ export function add(data) {
return Api.post("/manager/cty/add", data) return Api.post("/manager/cty/add", data)
} }
export function queryCod(cod) {
return Api.post(`/manager/cty/queryCod?cod=${cod}`)
}
export function edit(data) { export function edit(data) {
return Api.post("/manager/cty/edit", data) return Api.post("/manager/cty/edit", data)
} }
......
...@@ -12,12 +12,16 @@ export function add(data) { ...@@ -12,12 +12,16 @@ export function add(data) {
return Api.post("/manager/cur/add", data) return Api.post("/manager/cur/add", data)
} }
export function queryCod(cod) {
return Api.post(`/manager/cur/queryCod?cod=${cod}`)
}
export function edit(data) { export function edit(data) {
return Api.post("/manager/cur/edit", data) return Api.post("/manager/cur/edit", data)
} }
export function deleteById(data) { export function deleteById(data) {
return Api.post(`/manager/cur/deleteById`, data) return Api.post(`/manager/cur/deleteById?inr=${data}`)
} }
// export function addAdrData(inr, data) { // export function addAdrData(inr, data) {
......
...@@ -185,7 +185,7 @@ ...@@ -185,7 +185,7 @@
prop="trtcre.oriamt" prop="trtcre.oriamt"
> >
<c-input <c-input
v-model="model.trtcre.oriamt" v-model.number="model.trtcre.oriamt"
style="width: 100%" style="width: 100%"
placeholder="请输入融资金额" placeholder="请输入融资金额"
......
<template>
<div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange">
<!--el-collapse-item title="备查表" name="addbcb">
<m-addbcb :model="model" :codes="codes" />
</el-collapse-item-->
<el-collapse-item title="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-collapse-item>
</el-collapse>
</div>
</template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import Utils from "~/utils";
import Event from "~/model/Betset/Event";
import Coninfp from "~/views/Public/Coninfp";
export default {
components: {
"m-coninfp": Coninfp,
},
inject: ["root"],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
activeNames: ["coninfp"],
};
},
methods: {
...Event,
handleChange(val) {
console.log(val);
},
},
created: function () { },
};
</script>
<style>
</style>
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- ------------------Left------------------> <!-- ------------------Left------------------>
<el-col :span="11"> <el-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报号码" prop="bopmod.dbagrp.bas.rptno"> <el-form-item label="申报号码" prop="bopmod.dbagrp.bas.rptno">
<c-input <c-input
...@@ -294,7 +294,7 @@ ...@@ -294,7 +294,7 @@
<!--=====================right ============================= --> <!--=====================right ============================= -->
<el-col :span="11" :offset="1"> <el-col :span="12" class="col-right">
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- left --> <!-- left -->
<el-col :span="11"> <el-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="申报号码" prop="bopmod.dbdgrp.bas.rptno"> <el-form-item label="申报号码" prop="bopmod.dbdgrp.bas.rptno">
...@@ -184,7 +184,7 @@ ...@@ -184,7 +184,7 @@
<!--=====================right ============================= --> <!--=====================right ============================= -->
<el-col :span="11" :offset="1"> <el-col :span="12" class="col-right">
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
<c-col :span="24"><el-form-item label=""></el-form-item></c-col> <c-col :span="24"><el-form-item label=""></el-form-item></c-col>
......
...@@ -5,39 +5,49 @@ ...@@ -5,39 +5,49 @@
<el-collapse-item title="外管信息" name="wg"> <el-collapse-item title="外管信息" name="wg">
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-collapse-item title="涉外收入申报单-基础信息" name="basp" v-if="model.bopmod.szflg === '1' && model.bopmod.basflg">
<m-basp :model="model" :codes="codes" />
</el-collapse-item>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<el-collapse-item title="境内收入申报单-基础信息" name="basp1" v-if="model.bopmod.szflg === '2' && model.bopmod.basflg">
<m-basp1 :model="model" :codes="codes" />
</el-collapse-item>
<el-collapse-item title="跨境人民币申报" name="cnyp1"> <el-collapse-item title="跨境人民币申报" name="cnyp1">
<m-cnyp1 :model="model" :codes="codes" /> <m-cnyp1 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<!--cnybop PD000001 2101跨境收入信息 --> <!--cnybop PD000001 2101跨境收入信息 -->
<el-collapse-item title="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg=='1'"> <el-collapse-item title="2101跨境收入信息" name="incp" v-if="model.cnybop.cnyflg == '1'">
<m-incp :model="model" :codes="codes"/> <m-incp :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
<script>
import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Brtset/Event";
<script> import Wg from "./Wg";
import Api from "~/service/Api"; import Cnyp1 from "./Cnyp1";
import commonProcess from "~/mixin/commonProcess"; import Incp from "./Incp";
import CodeTable from "~/config/CodeTable"; import Basp from "./Basp"
import Event from "~/model/Brtset/Event"; import Basp1 from "./Basp1"
import Wg from "./Wg";
import Cnyp1 from "./Cnyp1";
import Incp from "./Incp";
export default { export default {
inject: ["root"], inject: ["root"],
components: { components: {
"m-wg": Wg, "m-wg": Wg,
"m-cnyp1": Cnyp1, "m-cnyp1": Cnyp1,
"m-incp": Incp, "m-incp": Incp,
"m-basp" : Basp,
"m-basp1" : Basp1,
}, },
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
...@@ -48,12 +58,13 @@ ...@@ -48,12 +58,13 @@
}, },
methods: { methods: {
...Event, ...Event,
handleChange() {} handleChange() { }
}, },
created: function () {}, created: function () { },
}; };
</script> </script>
<style>
<style> </style>
</style>
\ No newline at end of file
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg"> <el-form-item label="是否报送跨境人民币2101表" prop="cnybop.cnyflg">
<c-select <c-select
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="验证证书编号" label="验证证书编号"
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="ACT" prop="lendoc.account"> <el-form-item label="ACT" prop="lendoc.account">
<c-fullbox> <c-fullbox>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!--===============左 =================== --> <!--===============左 =================== -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="业务主键" prop="cnybop.cnylic.spk"> <el-form-item label="业务主键" prop="cnybop.cnylic.spk">
<c-input <c-input
...@@ -125,7 +125,7 @@ ...@@ -125,7 +125,7 @@
</c-col> </c-col>
<!-- ===============右 ===========================--> <!-- ===============右 ===========================-->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano"> <el-form-item label="银行业务编号" prop="cnybop.cnyinc.sbanktrano">
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="结算信息" name="setp"> <el-collapse-item title="结算信息" name="setp">
<c-content> <c-content>
...@@ -13,11 +12,6 @@ ...@@ -13,11 +12,6 @@
<m-docpan1 :model="model" :codes="codes" /> <m-docpan1 :model="model" :codes="codes" />
</c-content> </c-content>
</el-collapse-item> </el-collapse-item>
<!--PD000001 -->
<!-- <el-tab-pane label="收账通知" name="docpan1">
<m-docpan1 :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-collapse> </el-collapse>
</div> </div>
</template> </template>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="出口信用证编号" label="出口信用证编号"
...@@ -17,28 +17,25 @@ ...@@ -17,28 +17,25 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left: 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true" :disabled="!this.flag && model.ledgrp.rec.ownref == ''? false:true"
@click="onLitpButgetref"
> >
获取 获取
</c-button> </c-button>
</c-col> --> </template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item <el-form-item
label="出口单据编号" label="出口单据编号"
...@@ -54,42 +51,38 @@ ...@@ -54,42 +51,38 @@
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left: 10px; padding: 0 12px" style="margin: 0 10px 0 10px; padding: 0 12px; height: 32px"
size="small" size="small"
type="primary" type="primary"
@click="onSeainf"
icon="el-icon-info" icon="el-icon-info"
> >
</c-button> </c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<!-- <c-col :span="2" :offset="1" style="text-align: right">
<c-button <c-button
style="margin: 0 0" style="margin: 0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true" :disabled="!this.flag && model.bedgrp.rec.ownref == ''? false:true"
@click="onLitpButgetref"
> >
获取 获取
</c-button> </c-button>
</c-col> --> </template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据金额" prop="bedgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bedgrp.cbs.max.cur">
<c-fullbox> <c-fullbox>
<c-input <c-input
v-model="model.bedgrp.cbs.max.cur" v-model="model.bedgrp.cbs.max.cur"
maxlength="3" maxlength="3"
style="width: 50%" style="width: 45%"
placeholder="请输入单据金额" placeholder="请输入单据金额"
disabled disabled
></c-input> ></c-input>
<c-input-currency <c-input-currency
v-model="model.bedgrp.cbs.max.amt" v-model="model.bedgrp.cbs.max.amt"
style="width: 50%" style="width: 50%;margin-left: 5px;"
placeholder="请输入金额" placeholder="请输入金额"
disabled disabled
></c-input-currency> ></c-input-currency>
...@@ -199,7 +192,7 @@ ...@@ -199,7 +192,7 @@
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur"> <el-form-item label="信用证余额" prop="ledgrp.cbs.opn1.cur">
...@@ -292,7 +285,7 @@ ...@@ -292,7 +285,7 @@
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="12" class="col-left">
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="结算金额" prop="setmod.doccur"> <el-form-item label="结算金额" prop="setmod.doccur">
...@@ -401,14 +394,14 @@ ...@@ -401,14 +394,14 @@
</c-col> </c-col>
<!-- right --> <!-- right -->
<c-col :span="11" :offset="1"> <c-col :span="12" class="col-right">
<c-col :span="24"> <c-col :span="12">
<el-form-item label="" prop="mtabut.clsflg"> <el-form-item label="" prop="mtabut.clsflg">
<c-checkbox v-model="clsflg" disabled>闭卷</c-checkbox> <c-checkbox v-model="clsflg" disabled class="checkbox-left">闭卷</c-checkbox>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="12">
<el-form-item label="" prop="bedgrp.rec.frepayflg"> <el-form-item label="" prop="bedgrp.rec.frepayflg">
<c-checkbox v-model="frepayflg">免费付款</c-checkbox> <c-checkbox v-model="frepayflg">免费付款</c-checkbox>
</el-form-item> </el-form-item>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs">
<!-- left --> <!-- left -->
<c-col :span="11"> <c-col :span="12" style="padding-right: 20px">
<c-col :span="24"> <c-col :span="24">
<c-fullbox> <c-fullbox>
<el-form-item label="申报类型" prop="bopmod.szflg"> <el-form-item label="申报类型" prop="bopmod.szflg">
<c-select <c-select v-model="model.bopmod.szflg" style="width: 100%" placeholder="请选择申报类型"
v-model="model.bopmod.szflg" @change="selectOrCheckboxRule('bopmod.szflg')">
style="width: 100%" <el-option v-for="item in codes.szflg" :key="item.value" :label="item.label" :value="item.value">
placeholder="请选择申报类型"
@change="selectOrCheckboxRule('bopmod.szflg')"
>
<el-option
v-for="item in codes.szflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
<template slot="footer"> <template slot="footer">
<el-form-item label="" prop="bopmod.basflg"> <el-form-item label="" prop="bopmod.basflg">
<c-checkbox <c-checkbox v-model="basflg" style="margin-left: 10px"
v-model="basflg" :disabled="model.bopmod.szflg === '3' || model.bopmod.szflg === ''">基础数据</c-checkbox>
style="margin-left: 10px"
:disabled="model.bopmod.szflg==='3'||model.bopmod.szflg===''"
>基础数据</c-checkbox
>
</el-form-item> </el-form-item>
</template> </template>
</c-fullbox> </c-fullbox>
...@@ -35,18 +22,9 @@ ...@@ -35,18 +22,9 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="款项来源" prop="bopmod.acttyp"> <el-form-item label="款项来源" prop="bopmod.acttyp">
<c-select <c-select v-model="model.bopmod.acttyp" style="width: 100%" placeholder="请选择款项来源"
v-model="model.bopmod.acttyp" :disabled="!(this.model.bopmod.szflg == '1')">
style="width: 100%" <el-option v-for="item in codes.acttyp" :key="item.value" :label="item.label" :value="item.value">
placeholder="请选择款项来源"
:disabled="!(this.model.bopmod.szflg == '1')"
>
<el-option
v-for="item in codes.acttyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -54,69 +32,35 @@ ...@@ -54,69 +32,35 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="地区机构号" prop="bopmod.ownextkey"> <el-form-item label="地区机构号" prop="bopmod.ownextkey">
<c-select <c-select v-model="model.bopmod.ownextkey" style="width: 100%" placeholder="请选择地区机构号" :code="codes.ownextkey1"
v-model="model.bopmod.ownextkey" :disabled="!(this.model.bopmod.szflg == '1' || this.model.bopmod.szflg == '2')">
style="width: 100%"
placeholder="请选择地区机构号"
:code="codes.ownextkey1"
:disabled="!(this.model.bopmod.szflg == '1'||this.model.bopmod.szflg == '2')"
>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item <el-form-item label="国外银行扣费(涉外收入申报专用)" prop="bopmod.outchargeccy">
label="国外银行扣费(涉外收入申报专用)" <c-select v-model="model.bopmod.outchargeccy" placeholder="请选择国外银行扣费(涉外收入申报专用)" disabled
prop="bopmod.outchargeccy" style="width: 100%">
> <el-option v-for="item in codes.curtxt1" :key="item.value" :label="item.label" :value="item.value">
<c-select
v-model="model.bopmod.outchargeccy"
placeholder="请选择国外银行扣费(涉外收入申报专用)"
disabled
style="width: 100%"
>
<el-option
v-for="item in codes.curtxt1"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option> </el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="" label-width="5px" prop="bopmod.outchargeamt"> <el-form-item label="" label-width="5px" prop="bopmod.outchargeamt">
<c-input <c-input v-model="model.bopmod.outchargeamt" class="m-input-currency" placeholder="请输入国外银行扣费(涉外收入申报专用)"
v-model="model.bopmod.outchargeamt"
class="m-input-currency"
placeholder="请输入国外银行扣费(涉外收入申报专用)"
:disabled=" :disabled="
!( !(
this.model.bopmod.szflg == '1' && this.model.bopmod.szflg == '1' &&
this.model.bopmod.basflg != '' this.model.bopmod.basflg != ''
) )
" "></c-input>
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col> </c-col>
<!--dbap PD000000 涉外收入申报单-基础信息 -->
<m-basp v-if="model.bopmod.szflg === '1' && model.bopmod.basflg" :model="model" :codes="codes"/>
<!--dbdp PD000000 境内收入申报单-基础信息 -->
<m-basp1 v-if="model.bopmod.szflg === '2' && model.bopmod.basflg" :model="model" :codes="codes"/>
</div> </div>
</template> </template>
<script> <script>
...@@ -153,8 +97,9 @@ export default { ...@@ -153,8 +97,9 @@ export default {
}, },
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () { },
}; };
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<c-page title="出口信用证单据出口收汇"> <c-page title="出口信用证单据出口收汇">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<!-- <el-button size="small">流程附言</el-button>
<el-button size="small">交易历史</el-button>
<el-button size="small">备忘录</el-button>
<el-button size="small">影像信息</el-button>
// <el-button size="small">保存模板</el-button>
// <el-button size="small">使用模板</el-button>
<el-button size="small">制裁信息</el-button>
// <el-button size="small">拆分报文</el-button>
<el-button size="small">智能提示</el-button>
</c-function-btn> -->
<el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false"> <el-form :model="model" :rules="rules" ref="modelForm" label-width="120px" label-position="right" size="small" :validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
...@@ -46,16 +33,13 @@ ...@@ -46,16 +33,13 @@
<!-- 表外记账 --> <!-- 表外记账 -->
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="备查/附言" name="addbcb">
<!--PD000000 -->
<el-tab-pane label="备查/附言" name="coninfp">
<c-content> <c-content>
<m-coninfp :model="model" :codes="codes" /> <m-addbcb :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -66,7 +50,6 @@ ...@@ -66,7 +50,6 @@
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000529 -->
<el-tab-pane label="报文/面函" name="docpan"> <el-tab-pane label="报文/面函" name="docpan">
<c-content> <c-content>
...@@ -116,39 +99,31 @@ import commonFuncs from "~/mixin/commonFuncs"; ...@@ -116,39 +99,31 @@ import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Betset/Check" import Check from "~/model/Betset/Check"
import Default from "~/model/Betset/Default" import Default from "~/model/Betset/Default"
import Pattern from "~/model/Betset/Pattern" import Pattern from "~/model/Betset/Pattern"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Docpan1 from "./Docpan1" import Limitbody from "~/views/Public/Limitbody";
import Wg from "./Wg"
import Cnyp from "./Cnyp" import Cnyp from "./Cnyp"
import Basp from "./Basp" import Addbcb from "./Addbcb"
import Basp1 from "./Basp1"
import Incp from "./Incp"
import Glepan from "~/views/Public/Glepan";
import Doctre from "~/views/Public/Doctre"
import Engp from "~/views/Public/Engp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
import Coninfp from "~/views/Public/Coninfp"; import Glepan from "~/views/Public/Glepan";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody"; import Doctre from "~/views/Public/Doctre"
export default { export default {
name: "Betset", name: "Betset",
components:{ components:{
"m-ovwp" : Ovwp, "m-ovwp" : Ovwp,
"m-limitbody" : Limitbody,
"m-setpan" : Setpan, "m-setpan" : Setpan,
"m-glepan" : Glepan, "m-glepan" : Glepan,
"m-engp" : Engp, "m-engp" : Engp,
"m-limitbody" : Limitbody, "m-addbcb" : Addbcb,
"m-docpan1" : Docpan1, "m-cnyp" : Cnyp,
"m-coninfp" : Coninfp,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-wg" : Wg,
"m-cnyp" : Cnyp,
"m-basp" : Basp,
"m-basp1" : Basp1,
"m-incp" : Incp,
}, },
provide() { provide() {
return { return {
......
...@@ -32,8 +32,8 @@ ...@@ -32,8 +32,8 @@
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="账务" name="glepan"> <el-collapse-item title="账务" name="glepan">
<!-- 结算 --> <!-- 会计分录 -->
<m-setpan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
</div> </div>
...@@ -133,6 +133,7 @@ export default { ...@@ -133,6 +133,7 @@ export default {
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { ...CodeTable }, codes: { ...CodeTable },
activeNames: ["engp"],
}; };
}, },
methods: { methods: {
......
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<m-wg :model="model" :codes="codes" /> <m-wg :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="涉外收入申请单-基础信息" name="basp3" v-if="model.bopmod.szflg=='1' && model.lendoc.actflg=='X'"> <el-collapse-item title="涉外收入申请单-基础信息" name="basp3" v-if="model.bopmod.szflg=='1' && model.bopmod.basflg=='X'">
<m-basp3 :model="model" :codes="codes" /> <m-basp3 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="境内收入申请单-基础信息" name="basp2" v-if="model.bopmod.szflg=='2' && model.lendoc.actflg=='X'"> <el-collapse-item title="境内收入申请单-基础信息" name="basp2" v-if="model.bopmod.szflg=='2' && model.bopmod.basflg=='X'">
<m-basp2 :model="model" :codes="codes" /> <m-basp2 :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
......
...@@ -432,11 +432,11 @@ export default { ...@@ -432,11 +432,11 @@ export default {
flag1: true, flag1: true,
stmData: { stmData: {
columns: [ columns: [
'1 1 "类型" 500', '1 1 "类型" 250',
'2 2 "Dbt" 500', '2 2 "Dbt" 250',
'3 3 "Cdt" 500', '3 3 "Cdt" 250',
'4 4 "币种" 500', '4 4 "币种" 250',
'5 5 "金额" 500 2 8 1 4', '5 5 "金额" auto 2 8 1 4',
// '6 6 "Mat.Dat." 500 4 7 1', // '6 6 "Mat.Dat." 500 4 7 1',
{ {
index: 6, index: 6,
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<el-tab-pane label="业务信息" name="ovwp"> <el-tab-pane label="业务信息" name="ovwp">
<c-content> <c-content>
<m-ovwp :model="model" :codes="codes" /> <m-ovwp ref="ovwp" :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
...@@ -214,7 +214,7 @@ export default { ...@@ -214,7 +214,7 @@ export default {
"m-coninfp" : Coninfp, "m-coninfp" : Coninfp,
"m-docpan" : Docpan, "m-docpan" : Docpan,
"m-doctre" : Doctre, "m-doctre" : Doctre,
"m-docpan" : Docpan, // "m-docpan" : Docpan,
"m-wg" : Wg, "m-wg" : Wg,
"m-cnyp" : Cnyp, "m-cnyp" : Cnyp,
"m-limitbody" : Limitbody, "m-limitbody" : Limitbody,
...@@ -267,7 +267,12 @@ export default { ...@@ -267,7 +267,12 @@ export default {
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
this.$refs.setp.$refs.table.$refs.table.toggleAllSelection(); //多选表格,选择某一行的选中状态,第二个参数设置选中与否,true为选中
if (this.$refs.ovwp.$refs.setp.$refs.table.$refs.table.data.length > 0) {
this.$refs.ovwp.$refs.setp.$refs.table.$refs.table.toggleRowSelection(this.$refs.ovwp.$refs.setp.$refs.table.$refs.table.data[0], true);
}
// this.$refs.ovwp.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
// this.$refs.setp.$refs.table.$refs.table.toggleAllSelection();
}else{ }else{
this.$notify.error({title: '错误',message: '服务请求失败!'}); this.$notify.error({title: '错误',message: '服务请求失败!'});
} }
......
...@@ -75,11 +75,11 @@ ...@@ -75,11 +75,11 @@
label-width="5px" label-width="5px"
prop="lidgrp.cbs.nom1.amt" prop="lidgrp.cbs.nom1.amt"
> >
<c-input <c-input-currency
v-model="model.lidgrp.cbs.nom1.amt" v-model="model.lidgrp.cbs.nom1.amt"
placeholder="" placeholder=""
disabled disabled
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -115,11 +115,11 @@ ...@@ -115,11 +115,11 @@
label-width="5px" label-width="5px"
prop="lidgrp.cbs.opn1.amt" prop="lidgrp.cbs.opn1.amt"
> >
<c-input <c-input-currency
v-model="model.lidgrp.cbs.opn1.amt" v-model="model.lidgrp.cbs.opn1.amt"
placeholder="" placeholder=""
disabled disabled
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -337,10 +337,10 @@ ...@@ -337,10 +337,10 @@
label-width="5px" label-width="5px"
prop="brdgrp.cbs.max.amt" prop="brdgrp.cbs.max.amt"
> >
<c-input <c-input-currency
v-model="model.brdgrp.cbs.max.amt" v-model="model.brdgrp.cbs.max.amt"
placeholder="" placeholder=""
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<c-col :span="12" style="padding-left: 20px;"> <c-col :span="12" style="padding-left: 20px;">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="账户行" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.extkey'"> <el-form-item label="账户行(Tag 57a)" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.tri.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.extkey" maxlength="16" placeholder="请输入账户行" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.tri.pts.extkey" maxlength="16" placeholder="请输入账户行"
@keyup.enter.native=" @keyup.enter.native="
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="受益人机构" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.extkey'"> <el-form-item label="受益人机构(Tag 58a)" :prop="'setmod.setglg.setgll.' + idx + '.setgrp.bei.pts.extkey'">
<c-fullbox> <c-fullbox>
<c-input v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.extkey" maxlength="16" placeholder="请输入受益人机构" <c-input v-model="model.setmod.setglg.setgll[idx].setgrp.bei.pts.extkey" maxlength="16" placeholder="请输入受益人机构"
@keyup.enter.native=" @keyup.enter.native="
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="发报行对收报行的指示" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'"> <el-form-item label="发报行对收报行的指示(Tag 72)" :prop="'setmod.setglg.setgll.' + idx + '.sespay.strinf202'">
<c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll[idx].sespay.strinf202" maxlength="35" <c-input rows="4" type="textarea" v-model="model.setmod.setglg.setgll[idx].sespay.strinf202" maxlength="35"
show-word-limit placeholder="请输入发报行对收报行的指示"></c-input> show-word-limit placeholder="请输入发报行对收报行的指示"></c-input>
</el-form-item> </el-form-item>
......
...@@ -415,7 +415,7 @@ ...@@ -415,7 +415,7 @@
<c-input <c-input
v-if="model.gitp.swiftflg == 'Y'" v-if="model.gitp.swiftflg == 'Y'"
v-model="model.gidgrp.blk.apprultxt" v-model="model.gidgrp.blk.apprultxt"
style="margin: 0 0 0 5px; width: 100%" style="margin: 0 0 0 5px; width: 90%"
placeholder="请输入申请条款" placeholder="请输入申请条款"
disabled disabled
></c-input> ></c-input>
......
...@@ -77,17 +77,11 @@ ...@@ -77,17 +77,11 @@
<c-col :span="9"> <c-col :span="9">
<el-form-item label-width="5px" prop="gidgrp.cbs.max.amt"> <el-form-item label-width="5px" prop="gidgrp.cbs.max.amt">
<c-input <c-input-currency
v-model="model.gidgrp.cbs.max.amt" v-model="model.gidgrp.cbs.max.amt"
placeholder="请输入保函金额" placeholder="请输入保函金额"
@blur="amtBlur" @keyup.enter.native="$event.target.blur()"
@keyup.enter.native=" ></c-input-currency>
defaultFunction(
'gidgrp.cbs.max.amt',
model.gidgrp.cbs.max.amt
)
"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col <c-col
...@@ -112,11 +106,12 @@ ...@@ -112,11 +106,12 @@
</c-col> </c-col>
<c-col :span="9"> <c-col :span="9">
<el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt"> <el-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input <!-- 因暂不确定此金额框能否显示负数,且此框为disabled,暂用-min标签,可回显负数 -->
<c-input-currency-min
disabled disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency-min>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col <c-col
...@@ -1644,12 +1639,6 @@ export default { ...@@ -1644,12 +1639,6 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
async amtBlur() {
let rtnmsg = await this.executeDefault("gidgrp.cbs.max.amt");
if (rtnmsg.respCode == SUCCESS) {
Utils.copyValueFromVO(this.model, rtnmsg.data);
}
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -69,11 +69,11 @@ ...@@ -69,11 +69,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max.amt" v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -91,11 +91,12 @@ ...@@ -91,11 +91,12 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.opn1.amt">
<c-input <!-- 不确定此空是否能输负数,因此空disabled,暂用可显示负数的标签-min -->
<c-input-currency-min
disabled disabled
v-model="model.gcdgrp.cbs.opn1.amt" v-model="model.gcdgrp.cbs.opn1.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency-min>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -139,11 +140,12 @@ ...@@ -139,11 +140,12 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt"> <c-form-item label-width="5px" prop="gidgrp.cbs.opn1.amt">
<c-input <!-- 不确定此空是否能输负数,因此空disabled,暂用可显示负数的标签-min -->
<c-input-currency-min
disabled disabled
v-model="model.gidgrp.cbs.opn1.amt" v-model="model.gidgrp.cbs.opn1.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency-min>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -225,11 +227,11 @@ ...@@ -225,11 +227,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max.amt" v-model="model.gcdgrp.cbs.max.amt"
placeholder="请输入" placeholder="请输入"
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -247,11 +249,11 @@ ...@@ -247,11 +249,11 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<c-form-item label-width="5px" prop="gcdgrp.cbs.max2.amt"> <c-form-item label-width="5px" prop="gcdgrp.cbs.max2.amt">
<c-input <c-input-currency
disabled disabled
v-model="model.gcdgrp.cbs.max2.amt" v-model="model.gcdgrp.cbs.max2.amt"
placeholder="" placeholder=""
></c-input> ></c-input-currency>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<!-- 结算 --> <!-- 结算 -->
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
<el-collapse-item v-if="this.flag" title="会计分录" name="glepan"> <el-collapse-item title="会计分录" name="glepan">
<!-- 会计分录 --> <!-- 会计分录 -->
<m-glepan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</el-collapse-item> </el-collapse-item>
...@@ -274,9 +274,6 @@ export default { ...@@ -274,9 +274,6 @@ export default {
if (name === "basp1") { if (name === "basp1") {
rulePath = "bopmod.dbdp.basp"; rulePath = "bopmod.dbdp.basp";
} }
if (name === "setpan") {
this.flag = true;
}
if (!!rulePath) { if (!!rulePath) {
this.executeRule(rulePath).then((res) => { this.executeRule(rulePath).then((res) => {
if (res.respCode == SUCCESS) { if (res.respCode == SUCCESS) {
......
...@@ -238,6 +238,12 @@ ...@@ -238,6 +238,12 @@
</el-form> </el-form>
</template> </template>
</c-list-search> </c-list-search>
<c-col :span="24" style="margin-top: 10px">
<c-button class="medium_bcs" size="medium" type="primary" style="margin-left: 0px" title="LTTOPN"
@click="toLttopn">
转让信用证开立
</c-button>
</c-col>
<c-col :span="24"> <c-col :span="24">
<c-istream-table <c-istream-table
......
...@@ -181,6 +181,7 @@ ...@@ -181,6 +181,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12">
<el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18"> <el-form-item label="寄单期限" prop="oldlidgrp.rec.prepers18">
<c-input <c-input
v-model.number="model.oldlidgrp.rec.prepers18" v-model.number="model.oldlidgrp.rec.prepers18"
...@@ -189,6 +190,10 @@ ...@@ -189,6 +190,10 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="1" style="margin-left: -80px">
<el-form-item label="天"> </el-form-item>
</c-col>
</c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18"> <el-form-item label="寄单期限(原)" prop="oldlidgrp.rec.prepertxts18">
<c-input <c-input
...@@ -339,6 +344,7 @@ ...@@ -339,6 +344,7 @@
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18"> <el-form-item label="交单期限(新)" prop="trnmod.swiadd.prepers18">
<c-input <c-input
...@@ -347,6 +353,10 @@ ...@@ -347,6 +353,10 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3" style="margin-left: -80px">
<el-form-item label="天"> </el-form-item>
</c-col>
</c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18"> <el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18">
<c-input <c-input
......
...@@ -203,8 +203,8 @@ ...@@ -203,8 +203,8 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单期限描述" prop="trnmod.swiadd.prepertxts18"> <el-form-item label="交单期限描述" prop="oldlidgrp.rec.prepertxts18">
<c-input disabled v-model="model.trnmod.swiadd.prepertxts18" maxlength="35" placeholder="请输入交单期限描述"></c-input> <c-input disabled v-model="model.oldlidgrp.rec.prepertxts18" maxlength="35" placeholder="请输入交单期限描述"></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -142,11 +142,11 @@ ...@@ -142,11 +142,11 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="寄单描述" prop="lidgrp.blk.preper"> <el-form-item label="寄单描述" prop="lidgrp.rec.prepertxts18">
<c-input <c-input
disabled disabled
:rows="4" :rows="4"
type="textarea" v-model="model.lidgrp.blk.preper" maxlength="35" show-word-limit placeholder="请输入内容" ></c-input> type="textarea" v-model="model.lidgrp.rec.prepertxts18" maxlength="35" show-word-limit placeholder="请输入内容" ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
......
...@@ -127,21 +127,15 @@ ...@@ -127,21 +127,15 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="分批装运" prop="lidgrp.rec.shppar">
<c-select disabled v-model="model.lidgrp.rec.shppar" style="width:100%" placeholder="请选择">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="分批装运" prop="lidgrp.rec.shppars18"> <el-form-item label="分批装运" prop="lidgrp.rec.shppars18">
<c-select disabled v-model="model.lidgrp.rec.shppars18" style="width:100%" placeholder="请选择"> <c-select disabled v-model="model.lidgrp.rec.shppars18" style="width:100%" placeholder="请选择">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="是否可转运" prop="lidgrp.rec.shptrs"> <el-form-item label="是否可转运" prop="lidgrp.rec.shptrss18">
<c-select disabled v-model="model.lidgrp.rec.shptrs" style="width:100%" placeholder="请选择"> <c-select disabled v-model="model.lidgrp.rec.shptrss18" style="width:100%" placeholder="请选择">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -69,14 +69,30 @@ ...@@ -69,14 +69,30 @@
v-model="model.cnybop.cnylib.sforeigncountrycode" v-model="model.cnybop.cnylib.sforeigncountrycode"
maxlength="3" maxlength="3"
placeholder="请输入境外企业国别地区代码" placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="showGridPromptDialog('cnybop.cnylib.sforeigncountrycode')" @keyup.enter.native="showGridPromptDialog(
'cnybop.cnylib.sforeigncountrycode',
null,
null,
{ COD: 'cnybop.cnylib.sforeigncountrycode' },
{ COD: true },
'doxpDialog'
)"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onLibctySelbut1" @click="
showGridPromptDialog(
'cnybop.libcty.selbut1',
null,
null,
{ COD: 'cnybop.cnylib.sforeigncountrycode' },
{ COD: true },
'doxpDialog'
)
"
> >
</c-button> </c-button>
......
...@@ -165,7 +165,7 @@ ...@@ -165,7 +165,7 @@
type="primary" type="primary"
@click="" @click=""
> >
获取 详情
</c-button> </c-button>
</template> </template>
</c-fullbox> </c-fullbox>
......
...@@ -88,6 +88,7 @@ export const Pattern = { ...@@ -88,6 +88,7 @@ export const Pattern = {
{ "max": 1, "message": "最大长度1个字符", "trigger": "blur" } { "max": 1, "message": "最大长度1个字符", "trigger": "blur" }
], ],
"dealtim": [ "dealtim": [
{"required": true, "message": "无法保存数据"}
], ],
} }
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交易处理时间" prop="dealtim"> <el-form-item label="交易处理时间" prop="dealtim">
<c-input-currency class="input-currency-left" <c-input-currency value="0.0" class="input-currency-left"
v-model="model.dealtim" v-model="model.dealtim"
placeholder="请输入交易处理时间" placeholder="请输入交易处理时间"
> >
......
...@@ -53,7 +53,7 @@ import Atp, { Pattern } from "./Atp.js"; ...@@ -53,7 +53,7 @@ import Atp, { Pattern } from "./Atp.js";
import AtpInfo from "./AtpInfo.vue"; import AtpInfo from "./AtpInfo.vue";
import { queryById, add, edit, deleteById } from "~/service/test/atp.js"; import { queryById, add, edit, deleteById, queryCod } from "~/service/test/atp.js";
export default { export default {
name: "StaticsDbiatp", name: "StaticsDbiatp",
...@@ -103,6 +103,10 @@ export default { ...@@ -103,6 +103,10 @@ export default {
commitAdd() { commitAdd() {
this.$refs.modelForm.validate((validated) => { this.$refs.modelForm.validate((validated) => {
if (validated) { if (validated) {
queryCod(this.model.cod)
.then((res) => {
console.log("res" + res)
if (!res) {
add(this.model) add(this.model)
.then((res) => { .then((res) => {
this.$message.success("添加成功!"); this.$message.success("添加成功!");
...@@ -112,6 +116,10 @@ export default { ...@@ -112,6 +116,10 @@ export default {
this.$message.error("添加失败!"); this.$message.error("添加失败!");
}); });
} else { } else {
return this.$message.error('交易配置信息代码重复');
}
})
} else {
Utils.formValidateTips(this.$refs.modelForm.fields) Utils.formValidateTips(this.$refs.modelForm.fields)
} }
}); });
......
...@@ -59,7 +59,7 @@ import Cty, { Pattern } from "./Cty.js"; ...@@ -59,7 +59,7 @@ import Cty, { Pattern } from "./Cty.js";
import CtyInfo from "./CtyInfo.vue"; import CtyInfo from "./CtyInfo.vue";
import BopctyInfo from "./BopctyInfo.vue"; import BopctyInfo from "./BopctyInfo.vue";
import { queryById, add, edit, deleteById, editBopctyData, deleteBopctyById} from "~/service/test/cty.js"; import { queryById, add, edit, deleteById, editBopctyData, deleteBopctyById, queryCod} from "~/service/test/cty.js";
export default { export default {
name: "StaticsDbicty", name: "StaticsDbicty",
...@@ -112,6 +112,9 @@ export default { ...@@ -112,6 +112,9 @@ export default {
this.$refs.modelForm.validate((validated) => { this.$refs.modelForm.validate((validated) => {
if (validated) { if (validated) {
this.model.codBopcty=this.model.bopcod; this.model.codBopcty=this.model.bopcod;
queryCod(this.model.cod)
.then((res) => {
if (!res) {
add(this.model) add(this.model)
.then((res) => { .then((res) => {
this.$message.success("保存成功!"); this.$message.success("保存成功!");
...@@ -120,6 +123,12 @@ export default { ...@@ -120,6 +123,12 @@ export default {
.catch((err) => { .catch((err) => {
this.$message.error("保存失败!"); this.$message.error("保存失败!");
}); });
}
else {
this.$message.error("国家代码重复")
}
})
} else { } else {
Utils.formValidateTips(this.$refs.modelForm.fields) Utils.formValidateTips(this.$refs.modelForm.fields)
} }
...@@ -132,7 +141,7 @@ export default { ...@@ -132,7 +141,7 @@ export default {
edit(this.model) edit(this.model)
.then((res) => { .then((res) => {
this.$message.success("国家地区信息保存成功!"); this.$message.success("国家地区信息保存成功!");
this.goBack() this.goBack(true)
}) })
.catch((err) => { .catch((err) => {
this.$message.error("国家地区信息保存失败!"); this.$message.error("国家地区信息保存失败!");
...@@ -140,7 +149,7 @@ export default { ...@@ -140,7 +149,7 @@ export default {
editBopctyData(this.model.inr,this.model) editBopctyData(this.model.inr,this.model)
.then((res) => { .then((res) => {
this.$message.success("收支申报国家代码表保存成功!"); this.$message.success("收支申报国家代码表保存成功!");
this.goBack() this.goBack(true)
}) })
.catch((err) => { .catch((err) => {
this.$message.error("收支申报国家代码表保存失败!"); this.$message.error("收支申报国家代码表保存失败!");
......
...@@ -103,7 +103,7 @@ ...@@ -103,7 +103,7 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="最大金额" prop="maxamt"> <el-form-item label="最大金额" prop="maxamt">
<c-input-currency v-model="model.maxamt" placeholder="请输入最大金额" > <c-input-currency class="input-currency-left" v-model="model.maxamt" placeholder="请输入最大金额" >
</c-input-currency> </c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -23,7 +23,7 @@ import Cur, { Pattern } from "../Infcur/Cur.js"; ...@@ -23,7 +23,7 @@ import Cur, { Pattern } from "../Infcur/Cur.js";
import Currency from "./Currency.vue"; import Currency from "./Currency.vue";
import { curInfo, add, edit, deleteById } from "~/service/test/cur.js"; import { curInfo, add, edit, deleteById,queryCod } from "~/service/test/cur.js";
export default { export default {
name: "StaticsDbicur", name: "StaticsDbicur",
...@@ -75,6 +75,9 @@ export default { ...@@ -75,6 +75,9 @@ export default {
commitAdd() { commitAdd() {
this.$refs.modelForm.validate((validated) => { this.$refs.modelForm.validate((validated) => {
if (validated) { if (validated) {
queryCod(this.model.cod)
.then(((res) => {
if (!res) {
add(this.model) add(this.model)
.then((res) => { .then((res) => {
this.$message.success("保存成功!"); this.$message.success("保存成功!");
...@@ -84,6 +87,11 @@ export default { ...@@ -84,6 +87,11 @@ export default {
this.$message.error("保存失败!"); this.$message.error("保存失败!");
}); });
} else { } else {
this.$message.error("货币种类重复")
}
}))
} else {
Utils.formValidateTips(this.$refs.modelForm.fields) Utils.formValidateTips(this.$refs.modelForm.fields)
} }
}); });
......
...@@ -26,8 +26,7 @@ export const Pattern = { ...@@ -26,8 +26,7 @@ export const Pattern = {
{ "max": 6, "message": "最大长度6个字符", "trigger": "blur" } { "max": 6, "message": "最大长度6个字符", "trigger": "blur" }
], ],
"relcur": [ "relcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": true, "message": "必输项", "type": "string" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"relamt": [ "relamt": [
{ "required": true, "message": "必输项", "trigger": "blur" }, { "required": true, "message": "必输项", "trigger": "blur" },
......
...@@ -127,7 +127,7 @@ export default { ...@@ -127,7 +127,7 @@ export default {
edit(this.model) edit(this.model)
.then((res) => { .then((res) => {
this.$message.success("保存成功!"); this.$message.success("保存成功!");
this.goBack() this.goBack(true)
}) })
.catch((err) => { .catch((err) => {
this.$message.error("保存失败!"); this.$message.error("保存失败!");
......
...@@ -64,8 +64,7 @@ export const Pattern = { ...@@ -64,8 +64,7 @@ export const Pattern = {
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" } { "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"newcur": [ "newcur": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": true, "message": "必输项", "type": "string" },
{ "max": 3, "message": "最大长度3个字符", "trigger": "blur" }
], ],
"altcod": [ "altcod": [
{ "required": true, "message": "必输项", "type": "string", "trigger": "blur" }, { "required": true, "message": "必输项", "type": "string", "trigger": "blur" },
...@@ -112,10 +111,10 @@ export const Pattern = { ...@@ -112,10 +111,10 @@ export const Pattern = {
{ "pattern": /^-?\d{0,8}(\.\d{1,3})?$/, "message": "整数不能超过8位,小数不能超过3位", "trigger": "blur" } { "pattern": /^-?\d{0,8}(\.\d{1,3})?$/, "message": "整数不能超过8位,小数不能超过3位", "trigger": "blur" }
], ],
"begdat": [ "begdat": [
{ "type": "date", "trigger": "blur" } { "type": "string", "trigger": "blur" }
], ],
"enddat": [ "enddat": [
{ "type": "date", "trigger": "blur" } { "type": "string", "trigger": "blur" }
], ],
"odrintday": [ "odrintday": [
{ "required": true, "message": "必输项", "trigger": "blur" }, { "required": true, "message": "必输项", "trigger": "blur" },
......
...@@ -76,9 +76,15 @@ export default { ...@@ -76,9 +76,15 @@ export default {
], ],
}; };
}, },
activated() {
const { update } = this.$route.params
if (update) {
this.onSearch();
}
},
methods: { methods: {
toBbacur(){ toBbacur(){
this.$router.history.push("/statics/dbacur"); this.$router.push("/statics/dbacur");
}, },
// handleReset() { // handleReset() {
// this.root.$refs.modelForm.resetFields(); // this.root.$refs.modelForm.resetFields();
...@@ -105,7 +111,6 @@ export default { ...@@ -105,7 +111,6 @@ export default {
this.model.pageNum = res.pageNumber this.model.pageNum = res.pageNumber
this.model.pageSize = res.pageSize this.model.pageSize = res.pageSize
this.model.total = res.total this.model.total = res.total
console.log(this.model);
}) })
}, },
// async onInfbutSearow() { // async onInfbutSearow() {
...@@ -142,33 +147,38 @@ export default { ...@@ -142,33 +147,38 @@ export default {
// curDelete(index, row) { // curDelete(index, row) {
// this.$router.push(`/statics/dbdcur/${row.inr}`) // this.$router.push(`/statics/dbdcur/${row.inr}`)
// }, // },
//进行删除统一化
curDelete(idx, row) { curDelete(idx, row) {
this.$confirm("是否确认删除?", "提示", { this.$router.push(`/statics/dbdcur/${row.inr}`)
confirmButtonText: "确定",
cancelButtonText: "取消",
type: "warning",
})
.then(() => {
let paramsData = { };
paramsData.inr = row.inr;
deleteById(paramsData)
.then((res) => {
console.log(res);
this.$message.success("删除成功!");
this.goBack(true)
})
.catch((err) => {
console.log(err);
this.$message.error("删除失败!");
});
}).catch(() => {
this.$message({
type: "info",
message: "已取消删除",
});
});
this.onInfcurSearch();
}, },
// curDelete(idx, row) {
// this.$confirm("是否确认删除?", "提示", {
// confirmButtonText: "确定",
// cancelButtonText: "取消",
// type: "warning",
// })
// .then(() => {
// let paramsData = { };
// paramsData.inr = row.inr;
// deleteById(paramsData)
// .then((res) => {
// console.log(res);
// this.$message.success("删除成功!");
// this.onInfcurSearch();
// // this.onSearch();
// // this.goBack(true)
// })
// .catch((err) => {
// console.log(err);
// this.$message.error("删除失败!");
// });
// }).catch(() => {
// this.$message({
// type: "info",
// message: "已取消删除",
// });
// });
// },
goBack(update) { goBack(update) {
this.$store.dispatch("TagsView/delView", this.$route); this.$store.dispatch("TagsView/delView", this.$route);
this.$router.push({ name: "StaticsInfcur", params: { update } }); this.$router.push({ name: "StaticsInfcur", params: { update } });
......
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