Commit 71905d84 by liaoxing

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 f9f095db 14072532
......@@ -4898,7 +4898,10 @@ const CodeTable = {
bopacttyp:[
{ label: "境外", value: "(JW)" },
{ label: "境内非居民", value: "(JN)" },
],
bopacttyp1:[
{ label: "境外", value: "JW" },
{ label: "境内非居民", value: "JN" },
],
payattr: [
{ label: "保税区", value: "X" },
......
......@@ -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: "必输项"},
......@@ -88,24 +88,15 @@ export default {
{type: "date", required: false, message: "输入正确的日期"}
],
"gcdgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
{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位" }
],
"gcdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"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: "必输项"},
......@@ -168,8 +159,8 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"payday":[
{type: "string", required: false, message: "必输项"},
{max: 2,message:"长度不能超过2"}
{type: "number", required: false, message: "请输入数字"},
{type: "number", max: 99,message:"不能超过99"}
],
"gcdgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
......
......@@ -2,7 +2,7 @@
<div class="eibs">
<c-col :span="12" style="margin-top: 20px">
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2101表" label-width="30%">
<el-form-item label="是否报送跨境人民币2101表" label-width="30%" prop="cnybop.cnyflg">
<c-select
v-model="model.cnybop.cnyflg"
style="width: 100%"
......@@ -20,7 +20,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2107表" label-width="30%">
<el-form-item label="是否报送跨境人民币2107表" label-width="30%" prop="cnybop.traflg">
<c-select
v-model="model.cnybop.traflg"
style="width: 100%"
......@@ -62,7 +62,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2106表" label-width="30%">
<el-form-item label="是否报送跨境人民币2106表" label-width="30%" prop="cnybop.libflg">
<c-select
v-model="model.cnybop.libflg"
style="width: 100%"
......@@ -81,7 +81,7 @@
</c-col>
<c-col :span="24">
<el-form-item label="是否报送跨境人民币2122表" label-width="30%">
<el-form-item label="是否报送跨境人民币2122表" label-width="30%" prop="cnybop.vouflg">
<c-select
v-model="model.cnybop.vouflg"
placeholder="请选择"
......
......@@ -30,11 +30,11 @@
<c-col :span="24">
<el-form-item label="地区机构号" prop="recgrp.bas.ownextkey">
<c-select
:code="codes.ownextkey1"
v-model="model.recgrp.bas.ownextkey"
style="width: 100%"
placeholder="请选择地区机构号"
disabled
>
</c-select>
</el-form-item>
......@@ -57,6 +57,7 @@
v-model="model.recgrp.bas.custype"
style="width: 100%"
placeholder="请选择收款人类型"
disabled
>
</c-select>
</el-form-item>
......@@ -88,10 +89,10 @@
<c-col :span="24">
<c-form-item label="身份证件号码" prop="recgrp.bas.idcode">
<c-input
v-model="model.recgrp.bas.idcode"
maxlength="32"
placeholder="请输入身份证件号码"
:disabled="model.recgrp.bas.custype == 'C'"
></c-input>
</c-form-item>
</c-col>
......@@ -159,10 +160,10 @@
<c-col :span="24">
<c-form-item label="组织机构代码" prop="recgrp.bas.custcod">
<c-input
v-model="model.recgrp.bas.custcod"
maxlength="18"
placeholder="请输入组织机构"
disabled
></c-input>
</c-form-item>
</c-col>
......@@ -179,8 +180,8 @@
<c-col :span="4">
<c-form-item prop="recgrp.bas.acp" style=" float:right;">
<c-checkbox v-model="model.recgrp.bas.acp"
<c-form-item prop="recp.baspp.acp" style=" float:right;">
<c-checkbox v-model="model.recp.baspp.acp"
>确认</c-checkbox
>
</c-form-item>
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<c-col :span="24">
<!-- 左边 -->
<c-col :span="12" class="col-left">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" placeholder="收付汇日期"></c-date-picker>
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%"
placeholder="收付汇日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="请选择需要修改的接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.basflg"
style="float: left; text-align: center">基础信息</c-checkbox>
</template>
</c-col>
<!-- <c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.dclflg"
style="float: left; text-align: center">申报信息</c-checkbox>
</template>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
</c-select>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.vrfflg"
style="float: left; text-align: center">管理信息</c-checkbox>
</template>
</c-col> -->
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.basflg"
style="float: left; text-align: center"
>基础信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.dclflg"
style="float: left; text-align: center"
>申报信息</c-checkbox
>
</template>
</c-col>
</c-col>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.vrfflg"
style="float: left; text-align: center"
>管理信息</c-checkbox
>
</template>
</c-col>
</c-fullbox>
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源"
:disabled="model.bopbut.basflg !== 'X'">
</c-select>
</el-form-item>
</c-col>
</c-col >
<c-col :span="12">
</c-col >
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -72,18 +55,18 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
......
......@@ -6,14 +6,16 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
......@@ -124,8 +126,6 @@
</c-col>
</c-col>
<!-- -----右边----- -->
<c-col :span="12" style="padding-left:20px">
<c-col :span="24">
......@@ -134,7 +134,6 @@
prop="recgrp.bas.actiondesc"
>
<c-input
disabled
type="textarea"
rows="5"
v-model="model.recgrp.bas.actiondesc"
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<c-col :span="24">
<!-- 左边 -->
<c-col :span="12" class="col-left">
<c-col :span="24">
<!-- S0000015 : 收付汇日期 -->
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" placeholder="收付汇日期"></c-date-picker>
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%"
placeholder="收付汇日期"></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="请选择需要删除的接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.basflg"
style="float: left; text-align: center">基础信息</c-checkbox>
</template>
</c-col>
<!-- <c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.dclflg"
style="float: left; text-align: center">申报信息</c-checkbox>
</template>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
</c-select>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.vrfflg"
style="float: left; text-align: center">管理信息</c-checkbox>
</template>
</c-col> -->
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.basflg"
style="float: left; text-align: center"
>基础信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.dclflg"
style="float: left; text-align: center"
>申报信息</c-checkbox
>
</template>
</c-col>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.vrfflg"
style="float: left; text-align: center"
>管理信息</c-checkbox
>
</template>
</c-col>
</c-fullbox>
</c-col>
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%"
placeholder="款项来源">
</c-select>
</el-form-item>
</c-col>
</c-col >
<c-col :span="12">
</c-col >
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -72,18 +55,18 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbadel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
......
......@@ -6,14 +6,16 @@
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
disabled
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
></c-input>
</c-form-item>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="操作类型" prop="recgrp.bas.actiontype">
......
<template>
<div class="eibs-tab">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<c-col :span="24">
<!-- 左边 -->
<c-col :span="12" class="col-left">
<!-- S0000015 : 收付汇日期 -->
<c-col :span="24">
<el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" placeholder="收付汇日期"></c-date-picker>
<c-date-picker disabled type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%"
placeholder="收付汇日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%" placeholder="款项来源">
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="">
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.basflg"
style="float: left; text-align: center"
>基础信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.dclflg"
style="float: left; text-align: center"
>申报信息</c-checkbox
>
</template>
</c-col>
<c-col :span="8">
<template>
<c-checkbox
disabled
@change="open"
v-model="model.bopbut.vrfflg"
style="float: left; text-align: center"
>管理信息</c-checkbox
>
</template>
</c-col>
<c-fullbox>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.basflg"
style="float: left; text-align: center">基础信息</c-checkbox>
</template>
</c-col>
<!-- <c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.dclflg"
style="float: left; text-align: center">申报信息</c-checkbox>
</template>
</c-col>
</c-fullbox>
<c-col :span="8">
<template>
<c-checkbox disabled @change="open" v-model="model.bopbut.vrfflg"
style="float: left; text-align: center">管理信息</c-checkbox>
</template>
</c-col> -->
</c-fullbox>
</el-form-item>
</c-col>
</c-col >
<c-col :span="12">
</c-col >
</c-col>
</c-col>
<!-- 右边 -->
<c-col :span="12" class="col-right">
<c-col :span="24">
<el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select disabled :code="codes.bopacttyp" v-model="model.bopbut.acttyp" style="width:100%"
placeholder="款项来源">
</c-select>
</el-form-item>
</c-col>
</c-col>
</div>
</template>
<script>
......@@ -72,18 +54,18 @@ import CodeTable from "~/config/CodeTable"
import Event from "~/model/Dbainf/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
inject: ['root'],
props: ["model", "codes"],
mixins: [commonProcess],
data() {
return {
}
},
methods: { ...Event },
created: function () {
}
}
</script>
<style>
......
......@@ -28,7 +28,7 @@
v-model="model.bopbut.acttyp"
style="width: 100%"
placeholder="请输入款项去向"
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
......@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -14,7 +14,7 @@
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="请选择接口数据" prop="bopbut.basflg" class="checkbox-left">
<el-form-item label="请选择需要删除的接口数据" prop="bopbut.basflg" class="checkbox-left">
<c-checkbox v-model="model.bopbut.basflg" >基础数据</c-checkbox>
</el-form-item>
</c-col>
......@@ -29,7 +29,7 @@
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
<template>
<div class="eContainer">
<c-page title="境外汇款申请书(删除)">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs
v-model="tabVal"
ref="elment"
type="card"
@tab-click="myTabClick"
>
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small"
:validate-on-rule-change="false">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--bopbut PD000000 接口数据 -->
<el-tab-pane label="接口数据" name="selection">
<c-content>
......@@ -29,22 +17,19 @@
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000001')" name="dclp">
<!--dbbp PD000001 境外汇款申请书-申报信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000001')" name="dclp">
<m-dclp :model="model" :codes="codes"/>
</el-tab-pane> -->
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000002')" name="vrfp">
<!--dbbp PD000002 境外汇款申请书-核销专用信息 -->
<!-- <el-tab-pane :label="$t('dbbp.PD000002')" name="vrfp">
<m-vrfp :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
</el-form>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<c-function-btn :handleSubmit="handleSubmit.bind(this, 'bopbut.sav')"
:handleCheck="handleCheck.bind(this, 'bopbut.chk')">
</c-function-btn>
</c-page>
</div>
......@@ -65,53 +50,53 @@ import Dclp from "./Dclp"
import Vrfp from "./Vrfp"
export default {
name: "Dbbdel",
components:{
"m-selection" : Selection,
"m-basp" : Basp,
"m-dclp" : Dclp,
"m-vrfp" : Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "selection",
trnName: "dbbdel",
trnType: "",
model: new Dbbdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable}
};
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入dbbdel交易");
let rtnmsg = await this.init({});
if(rtnmsg.respCode == SUCCESS){
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
name: "Dbbdel",
components: {
"m-selection": Selection,
"m-basp": Basp,
"m-dclp": Dclp,
"m-vrfp": Vrfp,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "selection",
trnName: "dbbdel",
trnType: "",
model: new Dbbdel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: { ...CodeTable }
};
},
methods: {
myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created: async function () {
console.log("进入dbbdel交易");
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
this.updateModel(rtnmsg.data);
//TODO 处理数据逻辑
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
},
};
</script>
<style>
......
......@@ -3,13 +3,15 @@
<!----------左边------------>
<c-col :span="12" style="padding-right: 20px">
<c-col :span="24">
<el-form-item label="申报号码" prop="recgrp.bas.rptno">
<c-input
v-model="model.recgrp.bas.rptno"
maxlength="22"
placeholder="请输入申报号码"
disabled
></c-input>
<el-form-item label="申报号码" prop="recgrp.bas.rptno" style="width: 100%">
<c-fullbox>
<c-input v-model="model.recgrp.bas.rptno" maxlength="22" placeholder="请输入申报号码" disabled></c-input>
<template slot="footer">
<c-button size="small" style="margin-left: 10px; padding: 0 12px" type="primary" @click=""
:disabled="model.recgrp.bas.rptno !== ''">获取
</c-button>
</template>
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
......
......@@ -32,7 +32,7 @@
style="width: 100%"
placeholder="请输入款项去向"
disabled
:code="codes.bopacttyp"
:code="codes.bopacttyp1"
>
</c-select>
</el-form-item>
......
......@@ -66,12 +66,12 @@
<c-col :span="24">
<c-col :span="10">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-input v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额"></c-input>
<c-select v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
<c-col :span="9">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency disabled v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入"></c-input-currency>
<c-input disabled v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入" class="m-input-currency"></c-input>
</c-form-item>
</c-col>
......@@ -117,22 +117,21 @@
<c-col :span="24">
<c-col :span="12">
<c-form-item label="索赔金额" prop="gcdgrp.cbs.max.cur" previewLabel="信用证币种">
<c-input v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额"></c-input>
<c-select v-model="model.gcdgrp.cbs.max.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item previewLabel="信用证金额" style="text-align: left" label-width="5px" prop="gcdgrp.cbs.max.amt">
<c-input-currency v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入信用证金额" @keyup.enter.native="
defaultFunction('gcdgrp.cbs.max.amt', model.gcdgrp.cbs.max.amt)
"></c-input-currency>
<c-input-currency v-model="model.gcdgrp.cbs.max.amt" placeholder="请输入信用证金额" @keyup.enter.native="$event.target.blur()"></c-input-currency>
<!-- @keyup.enter.native="$event.target.blur()" :回车触发失去焦点发生的事件 -->
</c-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-form-item label="提取附加金额" prop="gcdgrp.cbs.opn2.cur" previewLabel="信用证币种">
<c-input v-model="model.gcdgrp.cbs.opn2.cur" maxlength="3" disabled placeholder="请输入索赔金额"></c-input>
<c-select v-model="model.gcdgrp.cbs.opn2.cur" maxlength="3" disabled placeholder="请输入索赔金额" :code="codes.cur"></c-select>
</c-form-item>
</c-col>
......@@ -173,7 +172,7 @@
<c-col :span="24">
<c-col :span="12">
<el-form-item label="我行将于" prop="payday">
<c-input v-model="model.payday" placeholder=""> </c-input>
<c-input v-model.number="model.payday" placeholder=""> </c-input>
</el-form-item>
</c-col>
<c-col :span="12">
......
......@@ -308,7 +308,6 @@
v-model="model.bedgrp.cbs.opn2.cur"
style="width: 100%"
placeholder="请输入附加金额"
disabled
:code="codes.curtxt1"
></c-select>
</el-form-item>
......@@ -514,7 +513,7 @@
placeholder="请选择发票类型"
>
<el-option
v-for="item in codes.invtyp1"
v-for="item in codes.invtyp"
:key="item.value"
:label="item.label"
:value="item.value"
......
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