Commit 7c73e033 by 黄顺林

单据注销、减额接收前端调整

parent ffb00405
......@@ -12,7 +12,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"didgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"didgrp.cbs.opn1.cur":[
{type: "string", required: false, message: "必输项"},
......@@ -63,10 +63,10 @@ export default {
{max: 40,message:"长度不能超过40"}
],
"bddgrp.rec.rcvdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.rec.advdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
......@@ -74,7 +74,7 @@ export default {
],
"bddgrp.rec.matdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"bddgrp.ben.pts.nam":[
{type: "string", required: false, message: "必输项"},
......@@ -164,7 +164,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "string", required: false, message: "输入正确的日期"}
],
"mtabut.coninf.usr.extkey":[
{type: "string", required: false, message: "必输项"},
......
......@@ -10,6 +10,7 @@
<c-col :span="6">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input
disabled
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
......@@ -18,11 +19,7 @@
</c-col>
<c-col :span="1">
<el-form-item
label=""
label-width="15px"
>
<el-form-item label="" label-width="15px">
<!-- prop="bdtp0.didget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.didget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button>
......@@ -32,6 +29,7 @@
<c-col :span="5">
<el-form-item label="到期日" prop="didgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
......@@ -43,6 +41,7 @@
<c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入Currency"
......@@ -53,6 +52,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="20px">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
......@@ -68,6 +68,7 @@
<c-col :span="6">
<el-form-item label="单据参考号" prop="bddgrp.rec.ownref">
<c-input
disabled
v-model="model.bddgrp.rec.ownref"
maxlength="16"
placeholder="请输入单据参考号"
......@@ -76,11 +77,7 @@
</c-col>
<c-col :span="1">
<el-form-item
label=""
label-width="15px"
>
<el-form-item label="" label-width="15px">
<!-- prop="bdtp0.recget.sdamod.seainf" -->
<!-- <c-input v-model="model.bdtp0.recget.sdamod.seainf" placeholder="请输入"></c-input> -->
<c-button size="mini" type="primary" icon="el-icon-search"></c-button>
......@@ -90,6 +87,7 @@
<c-col :span="12" :offset="5">
<el-form-item label="" prop="bddgrp.rec.nam">
<c-input
disabled
v-model="model.bddgrp.rec.nam"
maxlength="40"
placeholder="请输入Name of Bill Contract"
......@@ -101,10 +99,18 @@
<c-col :span="6">
<el-form-item label="单据金额" prop="bddgrp.cbs.max.cur">
<c-select
disabled
v-model="model.bddgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择单据金额"
>
<el-option
v-for="item in codes.cur"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -112,6 +118,7 @@
<c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.max.amt" label-width="20px">
<c-input
disabled
v-model="model.bddgrp.cbs.max.amt"
placeholder="请输入单据金额"
></c-input>
......@@ -121,6 +128,7 @@
<c-col :span="12">
<el-form-item label="申请人" prop="bddgrp.apl.pts.ref">
<c-input
disabled
v-model="model.bddgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
......@@ -132,6 +140,7 @@
<c-col :span="6">
<el-form-item label="单据余额" prop="bddgrp.cbs.opn1.cur">
<c-input
disabled
v-model="model.bddgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入单据余额"
......@@ -142,6 +151,7 @@
<c-col :span="6">
<el-form-item label="" prop="bddgrp.cbs.opn1.amt" label-width="20px">
<c-input
disabled
v-model="model.bddgrp.cbs.opn1.amt"
placeholder="请输入Balance"
></c-input>
......@@ -151,6 +161,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.apl.pts.nam" label-width="150px">
<c-input
disabled
v-model="model.bddgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -162,6 +173,7 @@
<c-col :span="6">
<el-form-item label="到单日期" prop="bddgrp.rec.rcvdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.rcvdat"
style="width: 100%"
......@@ -173,6 +185,7 @@
<c-col :span="6">
<el-form-item label="寄单日期" prop="bddgrp.rec.advdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.advdat"
style="width: 100%"
......@@ -184,6 +197,7 @@
<c-col :span="12">
<el-form-item label="受益人" prop="bddgrp.ben.pts.ref">
<c-input
disabled
v-model="model.bddgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
......@@ -202,6 +216,7 @@
<c-col :span="12">
<el-form-item label="到期日" prop="bddgrp.rec.matdat">
<c-date-picker
disabled
type="date"
v-model="model.bddgrp.rec.matdat"
style="width: 100%"
......@@ -213,6 +228,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.ben.pts.nam">
<c-input
disabled
v-model="model.bddgrp.ben.pts.nam"
maxlength="40"
placeholder=""
......@@ -224,10 +240,18 @@
<c-col :span="12">
<el-form-item label="单据类型" prop="bddgrp.rec.docflg">
<c-select
disabled
v-model="model.bddgrp.rec.docflg"
style="width: 100%"
placeholder="请选择单据类型"
>
<el-option
v-for="item in codes.brdtyp"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -235,6 +259,7 @@
<c-col :span="12">
<el-form-item label="交单行" prop="bddgrp.prb.pts.ref">
<c-input
disabled
v-model="model.bddgrp.prb.pts.ref"
maxlength="16"
placeholder="请输入交单行"
......@@ -246,10 +271,18 @@
<c-col :span="12">
<el-form-item label="单据承付状态" prop="bddgrp.rec.docsta">
<c-select
disabled
v-model="model.bddgrp.rec.docsta"
style="width: 100%"
placeholder="请选择单据承付状态"
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -257,6 +290,7 @@
<c-col :span="12">
<el-form-item label="" prop="bddgrp.prb.pts.nam" label-width="150px">
<c-input
disabled
v-model="model.bddgrp.prb.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -278,7 +312,7 @@
</c-col>
<c-col :span="9" :offset="3">
<c-checkbox v-model="model.sndmsg">Send Message</c-checkbox>
<c-checkbox disabled v-model="model.sndmsg">Send Message</c-checkbox>
</c-col>
</el-row>
<c-col :span="12">
......@@ -288,6 +322,13 @@
style="width: 100%"
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
......@@ -306,9 +347,7 @@ export default {
data() {
return {};
},
methods: { ...Event ,
changed(e) {},
},
methods: { ...Event, changed(e) {} },
created: function () {},
};
</script>
......
<template>
<c-page title="买方信用证单据注销">
<c-page title="买方信用证单据注销">
<div class="eContainer">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<c-function-btn
......@@ -76,8 +76,6 @@
:promptData="promptData"
v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog>
</div>
</c-page>
</template>
......@@ -93,13 +91,13 @@ import Default from "~/model/Bdtcan/Default";
import Pattern from "~/model/Bdtcan/Pattern";
import Canp from "./Canp";
// import Engp from "./Engp";
import Engp from "~/views/Public/Engp"
import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan";
// import Setpan from "./Setpan"
import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "./Doctre";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
......@@ -130,7 +128,33 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {...CodeTable},
codes: {
...CodeTable,
docsta: [
{ label: "已寄单索款", value: "A" },
{ label: "已到单", value: "B" },
{ label: "已到期付款确认", value: "C" },
{ label: "待付款", value: "D" },
{ label: "付款成功", value: "E" },
{ label: "已拒付", value: "F" },
{ label: "已退单", value: "G" },
{ label: "Clean documents received", value: "H" },
{ label: "Discrepant documents received", value: "I" },
{ label: "Goods released, wait for documents", value: "J" },
{ label: "Goods released, documents received", value: "K" },
{ label: "Documents sent on approval basis", value: "L" },
{ label: "Documents taken up", value: "M" },
{ label: "Documents settled free of payment", value: "N" },
{ label: "Discrepant document received in trust", value: "T" },
{ label: "Other Type of Advice, wait for documents", value: "O" },
{ label: "Documents have been refused and returned", value: "R" },
],
rebkpflg: [
{ label: "Contract already settled", value: "A" },
{ label: "Reverse Booking (Document Set)", value: "N" },
{ label: "Reverse Booking (Doc. Set, L/C)", value: "B" },
],
},
};
},
methods: {
......
......@@ -4,6 +4,7 @@
<c-col :span="12">
<el-form-item label="参考号" prop="didgrp.rec.ownref">
<c-input
disabled
v-model="model.didgrp.rec.ownref"
maxlength="16"
placeholder="请输入Reference"
......@@ -14,6 +15,7 @@
<c-col :span="12">
<el-form-item label="摘要" prop="didgrp.rec.nam">
<c-input
disabled
v-model="model.didgrp.rec.nam"
maxlength="40"
placeholder="请输入Externally Displayed Name to Identify the Contract"
......@@ -25,6 +27,7 @@
<c-col :span="6">
<el-form-item label="信用证金额" prop="didgrp.cbs.nom1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.nom1.cur"
style="width: 100%"
placeholder="请选择Currency"
......@@ -35,6 +38,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.nom1.amt" label-width="0px">
<c-input
disabled
v-model="model.didgrp.cbs.nom1.amt"
placeholder="请输入信用证金额"
></c-input>
......@@ -43,6 +47,7 @@
<c-col :span="12">
<el-form-item label="申请人" prop="didgrp.apl.pts.ref">
<c-input
disabled
v-model="model.didgrp.apl.pts.ref"
maxlength="16"
placeholder="请输入申请人"
......@@ -55,6 +60,7 @@
<c-col :span="6">
<el-form-item label="信用证余额" prop="didgrp.cbs.opn1.cur">
<c-select
disabled
v-model="model.didgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择信用证余额"
......@@ -66,6 +72,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.cbs.opn1.amt" label-width="0px">
<c-input
disabled
v-model="model.didgrp.cbs.opn1.amt"
placeholder="请输入信用证余额"
></c-input>
......@@ -73,8 +80,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.apl.pts.nam" >
<el-form-item label="" prop="didgrp.apl.pts.nam">
<c-input
disabled
v-model="model.didgrp.apl.pts.nam"
maxlength="40"
placeholder="请输入Name of Party"
......@@ -86,6 +94,7 @@
<c-col :span="12">
<el-form-item label="指定银行" prop="didgrp.avbnam">
<c-input
disabled
v-model="model.didgrp.avbnam"
maxlength="40"
placeholder="请输入指定银行"
......@@ -95,6 +104,7 @@
<c-col :span="12">
<el-form-item label="受益人" prop="didgrp.ben.pts.ref">
<c-input
disabled
v-model="model.didgrp.ben.pts.ref"
maxlength="16"
placeholder="请输入受益人"
......@@ -107,6 +117,7 @@
<c-col :span="12">
<el-form-item label="兑付方式" prop="didgrp.rec.avbby">
<c-select
disabled
v-model="model.didgrp.rec.avbby"
style="width: 100%"
placeholder="请选择Available by"
......@@ -115,8 +126,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.ben.pts.nam" >
<el-form-item label="" prop="didgrp.ben.pts.nam">
<c-input
disabled
v-model="model.didgrp.ben.pts.nam"
maxlength="40"
placeholder=""
......@@ -128,6 +140,7 @@
<c-col :span="6">
<el-form-item label="开证日期" prop="didgrp.rec.opndat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.opndat"
style="width: 100%"
......@@ -139,6 +152,7 @@
<c-col :span="6">
<el-form-item label="最迟装运日期" prop="didgrp.rec.shpdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.shpdat"
style="width: 100%"
......@@ -149,6 +163,7 @@
<c-col :span="12">
<el-form-item label="通知行" prop="didgrp.rec.tzref">
<c-input
disabled
v-model="model.didgrp.rec.tzref"
maxlength="35"
placeholder="请输入通知行编号"
......@@ -170,6 +185,7 @@
<c-col :span="6">
<el-form-item label="到期日/到期地点" prop="didgrp.rec.expdat">
<c-date-picker
disabled
type="date"
v-model="model.didgrp.rec.expdat"
style="width: 100%"
......@@ -181,6 +197,7 @@
<c-col :span="6">
<el-form-item label="" prop="didgrp.rec.expplc" label-width="0px">
<c-input
disabled
v-model="model.didgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
......@@ -189,8 +206,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="" prop="didgrp.adv.pts.nam" >
<el-form-item label="" prop="didgrp.adv.pts.nam">
<c-input
disabled
v-model="model.didgrp.adv.pts.nam"
maxlength="40"
placeholder="请输入到期日/到期地点"
......@@ -202,6 +220,7 @@
<c-col :span="12">
<el-form-item label="信用证类型" prop="didgrp.rec.lcrtyp">
<c-select
disabled
v-model="model.didgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择Form of Documentary Credit"
......@@ -219,41 +238,55 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="8">
<el-form-item label="第" prop="amenbr">
<c-input
disabled
v-model="model.amenbr"
maxlength="3"
placeholder="请输入Amendment No."
></c-input>
<label>次修改(减额)</label>
</el-form-item>
<br />
</c-col>
<c-col :span="4">
<el-form-item label="次修改(减额)"> </el-form-item>
</c-col>
</el-row>
<el-row>
<c-col :span="6">
<el-form-item label="修改金额" prop="amecur">
<c-select
disabled
v-model="model.amecur"
style="width: 100%"
placeholder="请选择Amount Amend Cur"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="6">
<el-form-item label="" prop="ameamt" label-width="0px">
<c-input
disabled
v-model="model.ameamt"
placeholder="请输入修改金额"
></c-input>
</el-form-item>
<br />
</c-col>
<c-col :span="6">
<el-form-item label="修改日期" prop="amedat">
<c-input
disabled
v-model="model.amedat"
maxlength="12"
placeholder="请输入Amount Amend Date"
></c-input>
</el-form-item>
<br />
</c-col>
<c-col :span="6">
<el-form-item label="是否接受此笔减额修改" prop="ameflg">
<c-select
disabled
v-model="model.ameflg"
style="width: 100%"
placeholder="请选择是否接受此笔减额修改"
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="150px" label-position="right" size="small" :validate-on-rule-change="false">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-function-btn
:handleSubmit="handleSubmit"
:handleCheck="handleCheck"
:handleStash="handleStash"
>
<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>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000015 -->
<el-tab-pane label="减额接受" name="accp">
<m-accp :model="model" :codes="codes"/>
<m-accp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000359 -->
<el-tab-pane label="修改" name="amep">
<m-amep :model="model" :codes="codes"/>
<m-amep :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="内容" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<m-ovwp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000077 -->
<el-tab-pane label="明细" name="detp">
<m-detp :model="model" :codes="codes"/>
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000342 -->
<el-tab-pane label="条款" name="tk">
<m-tk :model="model" :codes="codes"/>
<m-tk :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000021 -->
<el-tab-pane label="历史概要" name="narp">
<m-narp :model="model" :codes="codes"/>
<m-narp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000105 -->
<el-tab-pane label="服描修改" name="dogpame">
<m-dogpame :model="model" :codes="codes"/>
<m-dogpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000110 -->
<el-tab-pane label="单据修改" name="dorpame">
<m-dorpame :model="model" :codes="codes"/>
<m-dorpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000114 -->
<el-tab-pane label="其他条款修改" name="adcpame">
<m-adcpame :model="model" :codes="codes"/>
<m-adcpame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000306 -->
<el-tab-pane label="给P, A, N. 银行指示" name="inspame">
<m-inspame :model="model" :codes="codes"/>
<m-inspame :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="保证金" name="ccvpan">
<m-ccvpan :model="model" :codes="codes"/>
<m-ccvpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="账务" name="setpan">
<m-setpan :model="model" :codes="codes"/>
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes"/>
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000529 -->
<el-tab-pane label="报文及面函" name="docpan">
<m-docpan :model="model" :codes="codes"/>
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000546 -->
<el-tab-pane label="附件" name="doctre">
<m-doctre :model="model" :codes="codes"/>
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--PD001139 -->
<el-tab-pane label="试算结果" name="shisuan">
<m-shisuan :model="model" :codes="codes"/>
<m-shisuan :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000452 -->
<el-tab-pane label="银行明细" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
<m-detp1 :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000488 -->
<el-tab-pane label="申明" name="stament">
<m-stament :model="model" :codes="codes"/>
<m-stament :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000001 -->
<el-tab-pane label="统一授信" name="limitbody">
<m-limitbody :model="model" :codes="codes"/>
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Ditdla from "~/model/Ditdla"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Ditdla/Check"
import Default from "~/model/Ditdla/Default"
import Pattern from "~/model/Ditdla/Pattern"
import Accp from "./Accp"
import Amep from "./Amep"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Tk from "./Tk"
import Narp from "./Narp"
import Dogpame from "./Dogpame"
import Dorpame from "./Dorpame"
import Adcpame from "./Adcpame"
import Inspame from "./Inspame"
import Ccvpan from "~/views/Public/Ccvpan"
import Setpan from "~/views/Public/Setpan"
import Coninfp from "./Coninfp"
import Docpan from "~/views/Public/Docpan"
import Doctre from "./Doctre"
import Shisuan from "./Shisuan"
import Detp1 from "./Detp1"
import Stament from "./Stament"
import Limitbody from "./Limitbody"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Ditdla from "~/model/Ditdla";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Ditdla/Check";
import Default from "~/model/Ditdla/Default";
import Pattern from "~/model/Ditdla/Pattern";
import Accp from "./Accp";
import Amep from "./Amep";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Tk from "./Tk";
import Narp from "./Narp";
import Dogpame from "./Dogpame";
import Dorpame from "./Dorpame";
import Adcpame from "./Adcpame";
import Inspame from "./Inspame";
import Ccvpan from "~/views/Public/Ccvpan";
import Setpan from "~/views/Public/Setpan";
import Coninfp from "./Coninfp";
import Docpan from "~/views/Public/Docpan";
import Doctre from "~/views/Public/Doctre";
import Shisuan from "./Shisuan";
import Detp1 from "./Detp1";
import Stament from "./Stament";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Ditdla",
components:{
"m-accp" : Accp,
"m-amep" : Amep,
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-tk" : Tk,
"m-narp" : Narp,
"m-dogpame" : Dogpame,
"m-dorpame" : Dorpame,
"m-adcpame" : Adcpame,
"m-inspame" : Inspame,
"m-ccvpan" : Ccvpan,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
"m-doctre" : Doctre,
"m-shisuan" : Shisuan,
"m-detp1" : Detp1,
"m-stament" : Stament,
"m-limitbody" : Limitbody,
components: {
"m-accp": Accp,
"m-amep": Amep,
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-tk": Tk,
"m-narp": Narp,
"m-dogpame": Dogpame,
"m-dorpame": Dorpame,
"m-adcpame": Adcpame,
"m-inspame": Inspame,
"m-ccvpan": Ccvpan,
"m-setpan": Setpan,
"m-coninfp": Coninfp,
"m-docpan": Docpan,
"m-doctre": Doctre,
"m-shisuan": Shisuan,
"m-detp1": Detp1,
"m-stament": Stament,
"m-limitbody": Limitbody,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() {
return {
tabVal: "accp",
trnName: "ditdla",
......@@ -168,29 +189,27 @@ export default {
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
codes: { ...CodeTable },
};
},
methods:{
tabClick(){
}
methods: {
tabClick() {},
},
created:async function(){
created: async function () {
console.log("进入ditdla交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<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