Commit d4f207bd by liuxin

detame交易处理

parent fbce144c
import Utils from "~/utils"
/**
* Detame Check规则
* Detopn Check规则
*/
let checkObj = {
"dedgrp.iss.pts.dizhii" :null,
"dedgrp.apl.namelc" :null,
"dedgrp.rec.lcrtyp" :null,
"dedgrp.rec.nomton" :null,
"dedgrp.rec.nomtop" :null,
"dedgrp.blk.lcrgod" :null,
"dedgrp.avb.pts.bankno" :null,
"dedgrp.apb.pts.bankno" :null,
"dedgrp.cbs.nom1.amt" :null,
"dedgrp.rmb.pts.bankno" :null,
"dedgrp.rec.rejflg" :null,
"dedgrp.beb.pts.bankno" :null,
"dedgrp.apc.pts.jigomc" :null,
"dedgrp.ben.adrelc" :null,
"dedgrp.apl.pts.adrblk" :null,
"dedgrp.adv.pts.jigomc" :null,
"dedgrp.cbs.nom1.cur" :null,
"dedgrp.blk.preper" :null,
"dedgrp.ben.namelc" :null,
"dedgrp.ben.pts.extkey" :null,
......@@ -24,8 +29,10 @@ let checkObj = {
"dedgrp.iss.pts.extkey" :null,
"dedgrp.adv.pts.dizhii" :null,
"dedgrp.cmb.pts.bankno" :null,
"dedgrp.rec.expdat" :null,
"dedgrp.apl.adrelc" :null,
"dedgrp.rmb.pts.jigomc" :null,
"dedgrp.blk.rejadvrsn" :null,
"dedgrp.avb.pts.dizhii" :null,
"dedgrp.adv.pts.extkey" :null,
"dedgrp.rec.sdsrfs" :null,
......@@ -44,8 +51,12 @@ let checkObj = {
"dedgrp.blk.defdet" :null,
"dedgrp.apl.pts.extkey" :null,
"dedgrp.iss.pts.jigomc" :null,
"dedgrp.ben.pts.ref" :null,
"dedgrp.rec.kzref" :null,
"dedgrp.cmb.pts.dizhii" :null,
"dedgrp.adv.pts.bankno" :null,
"detp.dzlhhh" :null,
"dedgrp.rec.elcflg" :null,
"dedgrp.rec.expplc" :null,
"dedgrp.apc.pts.bankno" :null,
"dedgrp.rec.avbby" :null,
......
/**
* Detame Default规则
* Detopn Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
......@@ -9,35 +9,39 @@ export default {
"dedgrp.ben.adrelc" :Utils.defaultFunction,
"dedgrp.ben.namelc" :Utils.defaultFunction,
"dedgrp.adv.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.cbs.max.amt" :Utils.defaultFunction,
"dedgrp.blk.adlcnd" :Utils.defaultFunction,
"dedgrp.rec.ownref" :Utils.defaultFunction,
"dedgrp.rec.avbwth" :Utils.defaultFunction,
"dedgrp.iss.pts.extkey" :Utils.defaultFunction,
"dedgrp.cbs.nom1.amt" :Utils.defaultFunction,
"dedgrp.cbs.nom1.cur" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.mytype" :Utils.defaultFunction,
"dedgrp.apl.pts.extkey" :Utils.defaultFunction,
"dedgrp.apl.adrelc" :Utils.defaultFunction,
"dedgrp.apl.namelc" :Utils.defaultFunction,
"dedgrp.apl.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.rec.shpdat" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.rec.avbby" :Utils.defaultFunction,
"detp.usr.extkey" :Utils.defaultFunction,
"dedgrp.cbs.max.cur" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.extkey" :Utils.defaultFunction,
"dedgrp.ben.dbfadrblkcn" :Utils.defaultFunction,
"dedgrp.blk.preper" :Utils.defaultFunction,
"dedgrp.cbs.max2.amt" :Utils.defaultFunction,
"dedgrp.cbs.max2.cur" :Utils.defaultFunction,
"dedgrp.blk.addamtcov" :Utils.defaultFunction,
"dedgrp.rec.opndat" :Utils.defaultFunction,
"dedgrp.ben.pts.adrblk" :Utils.defaultFunction,
"dedgrp.apl.pts.adrblk" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.blk.insbnk" :Utils.defaultFunction,
"dedgrp.rec.bdflg" :Utils.defaultFunction,
"dedgrp.rec.rejflg" :Utils.defaultFunction,
"detp.dzlhhh" :Utils.defaultFunction,
"dedgrp.rec.nomtop" :Utils.defaultFunction,
"dedgrp.rec.shppar" :Utils.defaultFunction,
"dedgrp.rec.fqzytgfw" :Utils.defaultFunction,
"dedgrp.rec.elcflg" :Utils.defaultFunction,
"dedgrp.rec.expdat" :Utils.defaultFunction,
"dedgrp.rec.tratyp" :Utils.defaultFunction,
}
......
import Api from "~/service/Api"
import Utils from "~/utils"
import Utils from "~/utils/index"
export default {
async onDetpButgetref(){
async onDetpButgetref() {
let rtnmsg = await this.executeRule("detp.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
this.model.dedgrp.rec.ownref = rtnmsg.data.dedgrp_rec_ownref;
this.$message({
type: 'success',
message: '获取成功!'
});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onBenpDet(){
onSeainf() {},
onExtkey() {},
mytypeChange() {},
avbbykeyEvent() {},
recTratypChange() {},
async onBenpDet() {
let rtnmsg = await this.executeRule("benp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAplpDet(){
async onAplpDet() {
let rtnmsg = await this.executeRule("aplp.det")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdftatButtxmsel(){
async onLcrdftatButtxmsel() {
let rtnmsg = await this.executeRule("lcrdftat.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onPreperButtxmsel(){
async onPreperButtxmsel() {
let rtnmsg = await this.executeRule("preper.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrgodButtxmsel(){
async onLcrgodButtxmsel() {
let rtnmsg = await this.executeRule("lcrgod.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onLcrdocButtxmsel(){
async onLcrdocButtxmsel() {
let rtnmsg = await this.executeRule("lcrdoc.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onAdlcndButtxmsel(){
async onAdlcndButtxmsel() {
let rtnmsg = await this.executeRule("adlcnd.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
async onInsbnkButtxmsel(){
async onInsbnkButtxmsel() {
let rtnmsg = await this.executeRule("insbnk.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
{
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
},
async onSetmodDet() {
let rtnmsg = await this.executeRule("setmod.det")
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: '错误', message: '服务请求失败!' });
}
},
......
......@@ -17,7 +17,7 @@ export default {
],
"dedgrp.ben.pts.ref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
......@@ -34,7 +34,7 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"dedgrp.ben.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.benp.ptsget.sdamod.seainf":[
......@@ -82,12 +82,12 @@ export default {
{max: 3,message:"长度不能超过3"}
],
"dedgrp.cbs.max.amt":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"dedgrp.ben.pts.extact":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 34,message:"长度不能超过34"}
],
"dedgrp.rec.opndat":[
......@@ -99,10 +99,10 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{type: "date", required: true, message: "输入正确的日期"}
],
"dedgrp.beb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.expplc":[
......@@ -123,7 +123,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apl.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"detp.aplp.ptsget.sdamod.seainf":[
......@@ -146,8 +146,7 @@ export default {
],
"dedgrp.rec.tenmaxday":[
{type: "string", required: false, message: "必输项"},
{max: 4,message:"长度不能超过4"}
{required: true, message: "必输项"}
],
"dedgrp.blk.defdet":[
{type: "string", required: true, message: "必输项"},
......@@ -158,13 +157,13 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.dftat":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.preper":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
......@@ -173,7 +172,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.blk.rejadvrsn":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.blk.lcrgod":[
......@@ -207,7 +206,7 @@ export default {
],
"dedgrp.rmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.bankno":[
......@@ -215,15 +214,15 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.avb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.avb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cmb.pts.bankno":[
......@@ -231,7 +230,7 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.cmb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.extkey":[
......@@ -239,7 +238,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"dedgrp.cmb.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.bankno":[
......@@ -259,7 +258,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apc.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.adv.pts.youzbm":[
......@@ -271,15 +270,15 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.kzref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"dedgrp.apc.pts.youzbm":[
......@@ -291,7 +290,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"dedgrp.iss.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 20,message:"长度不能超过20"}
],
"dedgrp.apl.pts.extact":[
......@@ -299,7 +298,7 @@ export default {
{max: 34,message:"长度不能超过34"}
],
"dedgrp.iss.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.bankno":[
......@@ -307,11 +306,11 @@ export default {
{max: 20,message:"长度不能超过20"}
],
"dedgrp.iss.pts.dizhii":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.apb.pts.jigomc":[
{type: "string", required: true, message: "必输项"},
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.iss.pts.youzbm":[
......@@ -382,4 +381,16 @@ export default {
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.avbby":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.rec.lcrtyp":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"dedgrp.cbs.nom1.cur":[
{type: "string", required: false, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Dids from "../Public/Dids"
import Pub from "../Public"
export default class Detame{
export default class Detopn{
constructor () {
this.data = {
detp:{
......@@ -152,7 +153,6 @@ export default class Detame{
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
//面函
leta2bl1blk: "",
letbenl2blk: "",
letbenl1blk: "",
......
......@@ -153,9 +153,9 @@ export default class Detopn{
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
litbenl1blk: "", // XMLPanel litbenl1的内置block .litbenl1blk
litapll1blk: "", // XMLPanel litapll1的内置block .litapll1blk
litrmbl1blk: "", // XMLPanel litrmbl1的内置block .litrmbl1blk
letbenl1blk: "",
letissl1blk: "",
leta2bl1blk: "",
pageId: "" // ctx的key
}
}
......
......@@ -123,13 +123,13 @@
<c-col :span="13">
<el-form-item label="通知行邮编" prop="dedgrp.adv.pts.youzbm">
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" placeholder="请输入邮编"></c-input>
<c-input v-model="model.dedgrp.adv.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="通知行电话" prop="dedgrp.adv.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
<c-input v-model="model.dedgrp.adv.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
......@@ -181,7 +181,6 @@
-->
<c-ptapdome
:disabledJigomc="true"
:model="model"
:argadr="{
title: '开证行',
......@@ -335,13 +334,13 @@
<c-col :span="13">
<el-form-item label="申请人邮编" prop="dedgrp.apc.pts.youzbm">
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" placeholder="请输入邮编 电证用"></c-input>
<c-input v-model="model.dedgrp.apc.pts.youzbm" maxlength="6" disabled placeholder="请输入邮编 电证用"></c-input>
</el-form-item>
</c-col>
<c-col :span="11">
<el-form-item label="申请人电话" prop="dedgrp.apc.pts.dihdig" label-width="100px">
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" placeholder="请输入电话"></c-input>
<c-input v-model="model.dedgrp.apc.pts.dihdig" maxlength="16" disabled placeholder="请输入电话"></c-input>
</el-form-item>
</c-col>
......
......@@ -10,7 +10,7 @@
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec. 看看评【评【评【">
<el-form-item label="分期装运/提供服务" prop="dedgrp.rec.fqzytgfw">
<c-select v-model="model.dedgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.dedgrp.rec.shppar != 'Y'" style="width:100%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
......@@ -73,7 +73,8 @@
<!--
<c-col :span="12">
<span v-text="model.detp.fenzhu" data-path=".detp.fenzhu" > </span>
<span v-text="model.detp.fenzhu"
a-path=".detp.fenzhu" > </span>
</c-col>
......@@ -104,17 +105,7 @@ export default {
mytypeFlag:true,
}
},
methods:{...Event,
recTratypChange(){
if (this.model.dedgrp.rec.tratyp == "08"){
this.model.dedgrp.rec.sdsrfs = "";
this.mytypeFlag = false;
}else{
this.model.dedgrp.rec.sdsrfs = "";
this.mytypeFlag = true;
}
}
},
methods:{...Event},
created:function(){
}
......
......@@ -25,6 +25,7 @@
style="margin: 0 10px 0 0; padding: 0 12px"
size="small"
type="primary"
@click="onSeainf"
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -70,7 +71,7 @@
<c-col :span="24">
<el-form-item
label="所属客户经理"
prop="ditp.usr.extkey"
prop="detp.usr.extkey"
style="width: 100%"
>
<c-fullbox>
......@@ -86,6 +87,7 @@
size="small"
icon="el-icon-search"
type="primary"
@click="onExtkey"
></c-button>
</template>
</c-fullbox>
......@@ -101,7 +103,7 @@
<c-select
disabled
v-model="model.dedgrp.cbs.nom1.cur"
style="width: 95%"
style="width: 100%"
placeholder="请选择Currency"
@keyup.enter.native="nom1CurEvent"
>
......@@ -119,7 +121,7 @@
<c-col :span="11">
<el-form-item
style="text-align: left"
label-width="0"
label-width="5px"
prop="dedgrp.cbs.nom1.amt"
>
<c-input-currency
......@@ -134,9 +136,9 @@
</c-col>
<c-col :span="24">
<el-form-item label="大写金额" prop="detp.amt">
<el-form-item label="大写金额" prop="detp.upamt">
<c-input
v-model="model.detp.amt"
v-model="model.detp.upamt"
maxlength="76"
placeholder="请输入大写金额"
disabled
......@@ -170,7 +172,7 @@
<c-col :span="13">
<c-form-item label="上下浮动限额" prop="dedgrp.rec.nomtop">
<c-input
v-model="model.dedgrp.rec.nomton"
v-model="model.dedgrp.rec.nomtop"
maxlength="9"
style="width: 100%"
placeholder="请输入Amount Tolerance - Positive"
......@@ -211,7 +213,6 @@
<el-form-item label="信用证最大金额" prop="dedgrp.cbs.max.cur">
<c-select
v-model="model.dedgrp.cbs.max.cur"
style="width: 95%"
placeholder="请选择Currency"
disabled
>
......@@ -227,7 +228,7 @@
</c-col>
<c-col :span="11">
<el-form-item label="" label-width="0" prop="dedgrp.cbs.max.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.max.amt">
<c-input
v-model="model.dedgrp.cbs.max.amt"
placeholder="请输入信用证最大金额"
......@@ -457,28 +458,28 @@
</c-col>
<c-col :span="24">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<el-form-item label="天数" prop="dedgrp.rec.tenmaxday">
<c-input
type="textarea"
v-model="model.dedgrp.blk.dftat"
v-model="model.dedgrp.rec.tenmaxday"
maxlength="35"
show-word-limit
placeholder="请输入远期付款指示"
placeholder="请输入天数"
:disabled = "model.dedgrp.rec.avbby == 'P'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<el-form-item label="远期付款指示" prop="dedgrp.blk.dftat">
<c-input
type="textarea"
v-model="model.dedgrp.blk.preper"
v-model="model.dedgrp.blk.dftat"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
placeholder="请输入远期付款指示"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!-- ========================右边======================= -->
......@@ -486,7 +487,7 @@
<c-col :span="24">
<el-form-item label="摘要" prop="dedgrp.rec.nam">
<c-input
align="middle"
text-align="middle"
v-model="model.dedgrp.rec.nam"
maxlength="40"
disabled
......@@ -505,6 +506,8 @@
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -600,6 +603,8 @@
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
>
</c-ptap>
</c-col>
......@@ -682,6 +687,19 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期限" prop="dedgrp.blk.preper">
<c-input
type="textarea"
v-model="model.dedgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期限"
></c-input>
</el-form-item>
</c-col>
</c-col>
<!--
......@@ -810,31 +828,7 @@ export default {
trade: "",
};
},
methods: { ...Event,
mytypeChange() {
if (this.model.dedgrp.rec.mytype == "F") {
this.model.dedgrp.rec.tratyp = "";
this.model.dedgrp.rec.sdsrfs = "";
this.model.dedgrp.rec.shptrs = "";
this.model.dedgrp.rec.shpfro = "";
this.model.dedgrp.rec.shpto = "";
this.model.dedgrp.rec.shppro = "";
}
},
avbbykeyEvent(){
if(this.model.dedgrp.rec.avbby == 'P'){
this.model.dedgrp.rec.tenmaxday = 0;
this.model.dedgrp.blk.defdet = "";
}
this.executeCheck("dedgrp.rec.avbby").then(
(res) => {
if (res.respCode == SUCCESS){
Utils.copyValueFromVO(this.model, res.data);
}
}
);
},
},
methods: { ...Event },
created: function () {},
computed: {
flag() {
......
<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">
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!-- <c-bus-button :$pntvm="this"></c-bus-button> -->
<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>
<!-- <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="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000017 -->
<el-tab-pane label="基本信息" name="ovwp">
<m-ovwp :model="model" :codes="codes"/>
<c-content>
<m-ovwp :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000494 -->
<el-tab-pane label="其他当事人" name="detp1">
<m-detp1 :model="model" :codes="codes"/>
<c-content>
<m-detp1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--PD000525 -->
......@@ -20,7 +48,7 @@
<!--PD000405 -->
<el-tab-pane label="单据要求" name="detp">
<m-detp :model="model" :codes="codes"/>
<m-detp :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000000 -->
......@@ -55,24 +83,45 @@
<el-tab-pane label="授信额度" name="limitbody">
<m-limitbody :model="model" :codes="codes" />
</el-tab-pane>
<!--PD000548 -->
<!--
<el-tab-pane label="PD000548" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane>
-->
<!--PD000001 -->
<!--
<el-tab-pane label="PD000001" name="aamp">
<m-aamp :model="model" :codes="codes"/>
</el-tab-pane>
-->
</c-tabs>
</el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
v-on:select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Detame from "~/model/Detame"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Detame/Check"
import Default from "~/model/Detame/Default"
import Pattern from "~/model/Detame/Pattern"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Detp1 from "./Detp1"
import Detp2 from "./Detp2"
import Stament from "./Stament"
import Aamp from "./Aamp"
import Api from "~/service/Api";
import Utils from "~/utils/index";
import CodeTable from "~/config/CodeTable";
import Detopn from "~/model/Detopn";
import commonProcess from "~/mixin/commonProcess";
import commonFuncs from "~/mixin/commonFuncs";
import Check from "~/model/Detopn/Check";
import Default from "~/model/Detopn/Default";
import Pattern from "~/model/Detopn/Pattern";
import Ovwp from "./Ovwp";
import Detp from "./Detp";
import Detp1 from "./Detp1";
import Detp2 from "./Detp2";
import Stament from "./Stament";
import Aamp from "./Aamp";
import Setpan from "~/views/Public/Setpan";
import Glepan from "~/views/Public/Glepan";
......@@ -81,16 +130,15 @@ import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan";
import Limitbody from "~/views/Public/Limitbody";
export default {
name: "Detame",
components:{
"m-ovwp" : Ovwp,
"m-detp" : Detp,
"m-detp1" : Detp1,
"m-detp2" : Detp2,
"m-stament" : Stament,
"m-aamp" : Aamp,
name: "Detopn",
components: {
"m-ovwp": Ovwp,
"m-detp": Detp,
"m-detp1": Detp1,
"m-detp2": Detp2,
"m-stament": Stament,
"m-aamp": Aamp,
"m-setpan": Setpan,
"m-glepan": Glepan,
"m-engp": Engp,
......@@ -100,48 +148,42 @@ export default {
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
// mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
computed: {},
data() {
return {
tabVal: "ovwp",
trnName: "detame",
model: new Detame().data,
trnName: "detopn",
model: new Detopn().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
...CodeTable
codes: { ...CodeTable },
};
},
}
methods: {
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
created: async function () {
console.log("进入detopn交易");
//let rtnmsg = await this.init({})
let rtnmsg = await this.init(this.$route.query);
if (rtnmsg.respCode == SUCCESS) {
//更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data);
if (this.isInDisplay) {
this.restoreDisplay();
}
},
created:async function(){
console.log("进入detame交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
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