Commit 8488fd80 by jianglong

修改DBAADD

parent d9c1eb64
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- S0000015 : 收付汇日期 --> <!-- S0000015 : 收付汇日期 -->
<c-col :span="12">
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('bopbut.S0000015')" prop="ctlmod.dbl.reldat"> <el-form-item label="收付汇日期" prop="ctlmod.dbl.reldat">
<c-date-picker type="date" v-model="model.ctlmod.dbl.reldat" style="width:100%" :placeholder="$t('other.please_enter')+$t('bopbut.S0000015')"></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> </el-form-item>
</c-col> </c-col>
<c-col :span="12">
<span v-text="model.bopbut.acttyplab" data-path=".bopbut.acttyplab" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="款项标志" prop="bopbut.acttyp">
<c-select v-model="model.bopbut.acttyp" style="width:100%" :placeholder="$t('other.please_enter')+'款项标志'">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12"> <c-col :span="24">
<el-form-item label="贸易类型" prop="ctlmod.wrkdbl.trdtyp"> <el-form-item label="款项来源" prop="bopbut.acttyp">
<c-select v-model="model.ctlmod.wrkdbl.trdtyp" style="width:100%" :placeholder="$t('other.please_enter')+'贸易类型'"> <c-select disabled v-model="model.bopbut.acttyp" 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="24">
<c-button size="small" type="primary" @click="onBopbutSav"> <el-form-item label="请选择接口数据" prop="">
{{$t('butp.C0000006')}} <c-fullbox>
</c-button> <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>
<c-col :span="12"> <c-col :span="8">
<c-button size="small" type="primary" @click="onBopbutMod"> <template>
{{$t('butp.C0000009')}} <c-checkbox
</c-button> disabled
@change="open"
v-model="model.bopbut.dclflg"
style="float: left; text-align: center"
>申报信息</c-checkbox
>
</template>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="8">
<c-button size="small" type="primary" @click="onBopbutChk"> <template>
{{$t('butp.C0000007')}} <c-checkbox
</c-button> disabled
@change="open"
v-model="model.bopbut.vrfflg"
style="float: left; text-align: center"
>管理信息</c-checkbox
>
</template>
</c-col> </c-col>
<c-col :span="12"> </c-fullbox>
<c-button size="small" icon="el-icon-delete" @click="onBopbutDel"> </el-form-item>
{{$t('butp.C0000010')}}
</c-button>
</c-col> </c-col>
</c-col >
<c-col :span="12"> <c-col :span="12">
<span v-text="model.bopbut.boplabel" data-path=".bopbut.boplabel" > </span> </c-col >
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.vrfflg">{{$t('bopbut.C0000011')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.basflg">{{$t('bopbut.C0000009')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.dclflg">{{$t('bopbut.C0000010')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.bopbut.ackflg">{{$t('bopbut.C0000014')}}</c-checkbox>
</c-col>
<c-col :span="12">
<c-form-item label="修改/删除原因" prop="bopbut.actiondesc">
<c-input type="textarea" v-model="model.bopbut.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+'修改/删除原因'" ></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutAdd">
{{$t('bopbut.C0000019')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onButpErr">
{{$t('butp.C0000013')}}
</c-button>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onBopbutExt">
{{$t('butp.CG000004')}}
</c-button>
</c-col>
</div> </div>
</template> </template>
<script> <script>
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="12"> <c-row>
<c-col :span="24">
<!-- -----左边----- -->
<c-col :span="12" style="padding-right:20px">
<c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000001')" prop="recgrp.vrf.tmpref"> <c-form-item :label="$t('vrfpp.S0000001')" prop="recgrp.vrf.tmpref">
<c-input v-model="model.recgrp.vrf.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input> <c-input v-model="model.recgrp.vrf.tmpref" maxlength="16" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000001')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000001 : 临时申报编号 -->
<!-- S0000018 : RoptNam -->
<c-col :span="12">
<span v-text="model.recp.vrfpp.roptnam" data-path=".recp.vrfpp.roptnam" > </span>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000018')" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000018')"></c-input>
</c-form-item>
</c-col>
<!-- S0000003 : 操作类型 --> <!-- S0000003 : 操作类型 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype"> <c-form-item :label="$t('vrfpp.S0000003')" prop="recgrp.vrf.actiontype">
<c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input> <c-input v-model="model.recgrp.vrf.actiontype" maxlength="1" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000003')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="12">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')" ></c-input>
</c-form-item>
</c-col>
<!-- S0000002 : 地区机构号 --> <!-- S0000002 : 地区机构号 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey"> <c-form-item :label="$t('vrfpp.S0000002')" prop="recgrp.vrf.ownextkey">
<c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input> <c-input v-model="model.recgrp.vrf.ownextkey" maxlength="8" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000002')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<c-col :span="12">
<c-checkbox v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-col>
<!-- S0000052 : 收汇类型 --> <!-- S0000052 : 收汇类型 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('dbap.S0000052')" prop="recgrp.vrf.payattr"> <el-form-item :label="$t('dbap.S0000052')" prop="recgrp.vrf.payattr">
<c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000052')"> <c-select v-model="model.recgrp.vrf.payattr" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000052')">
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('dbap.S0000050')" prop="recgrp.vrf.osamt"> <c-form-item :label="$t('dbap.S0000050')" prop="recgrp.vrf.osamt">
<c-input v-model="model.recgrp.vrf.osamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000050')"></c-input> <c-input v-model="model.recgrp.vrf.osamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000050')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000050 : 余款金额 -->
<!-- S0000049 : 已出具出口收汇核销专用联 -->
<c-col :span="12"> <c-col :span="24">
<el-form-item :label="$t('dbap.S0000049')" prop="recgrp.vrf.chkprtd"> <el-form-item :label="$t('dbap.S0000049')" prop="recgrp.vrf.chkprtd">
<c-select v-model="model.recgrp.vrf.chkprtd" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000049')"> <c-select v-model="model.recgrp.vrf.chkprtd" style="width:100%" :placeholder="$t('other.please_enter')+$t('dbap.S0000049')">
</c-select> </c-select>
...@@ -68,34 +49,67 @@ ...@@ -68,34 +49,67 @@
</c-col> </c-col>
<!-- S0000053 : 收汇总金额中用于出口核销的金额 --> <!-- S0000053 : 收汇总金额中用于出口核销的金额 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('dbap.S0000053')" prop="recgrp.vrf.chkamt"> <c-form-item :label="$t('dbap.S0000053')" prop="recgrp.vrf.chkamt">
<c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000053')"></c-input> <c-input v-model="model.recgrp.vrf.chkamt" :placeholder="$t('other.please_enter')+$t('dbap.S0000053')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000015 : 申报日期 -->
<c-col :span="12"> </c-col>
<!-- -----右边----- -->
<c-col :span="12" style="padding-left:20px">
<c-col :span="24">
<c-form-item label="申报编号" prop="recgrp.vrf.rptno">
<c-input v-model="model.recgrp.vrf.rptno" maxlength="22" :placeholder="$t('other.please_enter')+'申报编号'"></c-input>
</c-form-item>
</c-col>
<!-- S0000004 : 修改/删除原因 -->
<c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000004')" prop="recgrp.vrf.actiondesc">
<c-input type="textarea" v-model="model.recgrp.vrf.actiondesc" maxlength="32" show-word-limit :placeholder="$t('other.please_enter')+$t('vrfpp.S0000004')"></c-input>
</c-form-item>
</c-col>
<c-col :span="24">
<c-form-item label-width="120px">
<c-checkbox style="float:left;" v-model="model.recp.vrfpp.acp">{{$t('vrfpp.C0000017')}}</c-checkbox>
</c-form-item>
</c-col>
<!--出口收汇核销单号码 -->
<c-col :span="24">
<el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate"> <el-form-item :label="$t('vrfpp.S0000015')" prop="recgrp.vrf.rptdate">
<c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker> <c-date-picker type="date" v-model="model.recgrp.vrf.rptdate" style="width:100%" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000015')"></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<!-- S0000013 : 填报人 --> <!-- S0000013 : 填报人 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser"> <c-form-item :label="$t('vrfpp.S0000013')" prop="recgrp.vrf.crtuser">
<c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input> <c-input v-model="model.recgrp.vrf.crtuser" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000013')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
<!-- S0000014 : 填报人电话 --> <!-- S0000014 : 填报人电话 -->
<c-col :span="12"> <c-col :span="24">
<c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc"> <c-form-item :label="$t('vrfpp.S0000014')" prop="recgrp.vrf.inptelc">
<c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></c-input> <c-input v-model="model.recgrp.vrf.inptelc" maxlength="20" :placeholder="$t('other.please_enter')+$t('vrfpp.S0000014')"></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
</div>
</c-col>
</c-col>
</c-row>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
...@@ -104,19 +118,22 @@ import Event from "~/model/Dbaadd/Event" ...@@ -104,19 +118,22 @@ import Event from "~/model/Dbaadd/Event"
export default { export default {
inject: ['root'], inject: ['root'],
props:["model","codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data(){ data() {
return { return {
} }
}, },
methods:{...Event}, methods: {
created:function(){ ...Event
},
created: function () {
} }
} }
</script> </script>
<style> <style>
</style> </style>
<template> <template>
<div class="eContainer"> <div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false"> <c-page title="进口信用证开立">
<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">
<!--bopbut PD000000 接口数据 --> <!--bopbut PD000000 接口数据 -->
<el-tab-pane :label="$t('bopbut.PD000000')" name="selection"> <el-tab-pane label="接口数据" name="selection">
<m-selection :model="model" :codes="codes"/> <c-content>
<m-selection :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--dbap PD000000 涉外收入申报单-基础信息 --> <!--dbap PD000000 涉外收入申报单-基础信息 -->
<el-tab-pane :label="$t('dbap.PD000000')" name="basp"> <el-tab-pane label="基础信息" name="basp">
<m-basp :model="model" :codes="codes"/> <c-content>
<m-basp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--dbap PD000001 涉外收入申报单-申报信息 --> <!--dbap PD000001 涉外收入申报单-申报信息 -->
<el-tab-pane :label="$t('dbap.PD000001')" name="dclp"> <el-tab-pane label="申报信息" name="dclp">
<m-dclp :model="model" :codes="codes"/> <c-content>
<m-dclp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
<!--dbap PD000002 核销专用联(境外收入)-核销信息 --> <!--dbap PD000002 核销专用联(境外收入)-核销信息 -->
<el-tab-pane :label="$t('dbap.PD000002')" name="vrfp"> <el-tab-pane label="核销信息" name="vrfp">
<m-vrfp :model="model" :codes="codes"/> <c-content>
<m-vrfp :model="model" :codes="codes" />
</c-content>
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div>
</c-page>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
...@@ -35,14 +51,13 @@ import Basp from "./Basp" ...@@ -35,14 +51,13 @@ import Basp from "./Basp"
import Dclp from "./Dclp" import Dclp from "./Dclp"
import Vrfp from "./Vrfp" import Vrfp from "./Vrfp"
export default { export default {
name: "Dbaadd", name: "Dbaadd",
components:{ components: {
"m-selection" : Selection, "m-selection": Selection,
"m-basp" : Basp, "m-basp": Basp,
"m-dclp" : Dclp, "m-dclp": Dclp,
"m-vrfp" : Vrfp, "m-vrfp": Vrfp,
}, },
provide() { provide() {
return { return {
...@@ -50,9 +65,9 @@ export default { ...@@ -50,9 +65,9 @@ export default {
} }
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "selection",
trnName: "dbaadd", trnName: "dbaadd",
trnType: "", trnType: "",
model: new Dbaadd().data, model: new Dbaadd().data,
...@@ -60,34 +75,34 @@ export default { ...@@ -60,34 +75,34 @@ export default {
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: { ...CodeTable },
},
} }
}, },
methods:{ methods: {
myTabClick(tab){ myTabClick(tab) {
this.tabClick(tab) this.tabClick(tab)
/** /**
* do it yourself * do it yourself
**/ **/
} }
}, },
created:async function(){ created: async function () {
console.log("进入dbaadd交易"); console.log("进入dbaadd交易");
let rtnmsg = await this.init({}) let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS) if (rtnmsg.respCode == SUCCESS) {
{
this.updateModel(rtnmsg.data) this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑 //TODO 处理数据逻辑
} } else {
else this.$notify.error({
{ title: '错误',
this.$notify.error({title: '错误',message: '服务请求失败!'}); message: '服务请求失败!'
});
} }
} }
} }
</script> </script>
<style> <style>
</style> </style>
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