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