Commit f2fb0ed3 by liyixun

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 11a7cf26 8de766f0
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Cctdav{
constructor () {
this.data = {
ccdgrp:{
rec:{
ownref:"", // Our Reference .ccdgrp.rec.ownref
nam:"", // Name of CC contract .ccdgrp.rec.nam
regref:"", // Register Ref. .ccdgrp.rec.regref
ccform:"", // Form of Clean Coll. .ccdgrp.rec.ccform
modset:"", // Mode of Collection .ccdgrp.rec.modset
purflg:"", // Payment Disposition .ccdgrp.rec.purflg
tocsel:"", // Type of Check .ccdgrp.rec.tocsel
pretyp:"", // TYPE OF PRESENTER .ccdgrp.rec.pretyp
chcknum:"", // Check Number .ccdgrp.rec.chcknum
chkdat:"", // Date of Draft .ccdgrp.rec.chkdat
},
cbs:{
opn1:{
cur:"", // Open Amount .ccdgrp.cbs.opn1.cur
amt:"", // Open Amount .ccdgrp.cbs.opn1.amt
},
max:{
cur:"", // Draft Amount .ccdgrp.cbs.max.cur
amt:"", // Draft Amount .ccdgrp.cbs.max.amt
},
},
cor:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.cor.namelc
adrelc:"", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
pre:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.pre.namelc
adrelc:"", // 地址 .ccdgrp.pre.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.pre.dbfadrblkcn
},
dro:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.dro.namelc
adrelc:"", // 地址 .ccdgrp.dro.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.dro.dbfadrblkcn
},
col:{
pts:new Pts().data,
namelc:"", // 名称 .ccdgrp.col.namelc
adrelc:"", // 地址 .ccdgrp.col.adrelc
dbfadrblkcn:"", // Chinese address .ccdgrp.col.dbfadrblkcn
},
orddat:"", // Date of Order .ccdgrp.orddat
blk:{
setins:"", // Settlement Instructions .ccdgrp.blk.setins
},
export default class Cctdav {
constructor() {
this.data = {
cctdavl1blk: "",
ccdgrp: {
rec: {
ownref: "", // Our Reference .ccdgrp.rec.ownref
nam: "", // Name of CC contract .ccdgrp.rec.nam
regref: "", // Register Ref. .ccdgrp.rec.regref
ccform: "", // Form of Clean Coll. .ccdgrp.rec.ccform
modset: "", // Mode of Collection .ccdgrp.rec.modset
purflg: "", // Payment Disposition .ccdgrp.rec.purflg
tocsel: "", // Type of Check .ccdgrp.rec.tocsel
pretyp: "", // TYPE OF PRESENTER .ccdgrp.rec.pretyp
chcknum: "", // Check Number .ccdgrp.rec.chcknum
chkdat: "", // Date of Draft .ccdgrp.rec.chkdat
},
cbs: {
opn1: {
cur: "", // Open Amount .ccdgrp.cbs.opn1.cur
amt: "", // Open Amount .ccdgrp.cbs.opn1.amt
},
max: {
cur: "", // Draft Amount .ccdgrp.cbs.max.cur
amt: "", // Draft Amount .ccdgrp.cbs.max.amt
},
},
cor: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.cor.namelc
adrelc: "", // 地址 .ccdgrp.cor.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.cor.dbfadrblkcn
},
pre: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.pre.namelc
adrelc: "", // 地址 .ccdgrp.pre.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.pre.dbfadrblkcn
},
dro: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.dro.namelc
adrelc: "", // 地址 .ccdgrp.dro.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.dro.dbfadrblkcn
},
col: {
pts: new Pts().data,
namelc: "", // 名称 .ccdgrp.col.namelc
adrelc: "", // 地址 .ccdgrp.col.adrelc
dbfadrblkcn: "", // Chinese address .ccdgrp.col.dbfadrblkcn
},
orddat: "", // Date of Order .ccdgrp.orddat
blk: {
setins: "", // Settlement Instructions .ccdgrp.blk.setins
},
},
cctp: {
recget: {
sdamod: {
seainf: "", // .cctp.recget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
},
corp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.corp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
cctp:{
recget:{
sdamod:{
seainf:"", // .cctp.recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.recget.sdamod.dadsnd
},
},
corp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.corp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.corp.ptsget.sdamod.dadsnd
},
},
},
prep:{
ptsget:{
sdamod:{
seainf:"", // .cctp.prep.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
},
},
drop:{
ptsget:{
sdamod:{
seainf:"", // .cctp.drop.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
},
},
colp:{
ptsget:{
sdamod:{
seainf:"", // .cctp.colp.ptsget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
},
},
usr:{
extkey:"", // User ID .cctp.usr.extkey
},
usrget:{
sdamod:{
seainf:"", // .cctp.usrget.sdamod.seainf
},
},
},
},
prep: {
ptsget: {
sdamod: {
seainf: "", // .cctp.prep.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.prep.ptsget.sdamod.dadsnd
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
},
},
drop: {
ptsget: {
sdamod: {
seainf: "", // .cctp.drop.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.drop.ptsget.sdamod.dadsnd
},
},
},
colp: {
ptsget: {
sdamod: {
seainf: "", // .cctp.colp.ptsget.sdamod.seainf
dadsnd: "", // Drag Drop Sender .cctp.colp.ptsget.sdamod.dadsnd
},
},
},
usr: {
extkey: "", // User ID .cctp.usr.extkey
},
usrget: {
sdamod: {
seainf: "", // .cctp.usrget.sdamod.seainf
},
},
},
pageId: "", // ctx的key
setmod: new Pub().data.Setmod,
mtabut: new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
}
}
}
\ No newline at end of file
......@@ -22,6 +22,7 @@ let checkObj = {
"gidgrp.acb.adrelc" :null,
"gidgrp.rec.redamt" :null,
"mtabut.clsflg" :null,
"gidgrp.rec.purcan" :null,
}
for (const key in checkObj) {
......
......@@ -11,6 +11,9 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"gidgrp.rec.purcan":[
{type: "string", required: false, message: "必输项"},
],
"gidgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
......
......@@ -15,6 +15,9 @@ export default {
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"gidgrp.rec.purcan":[
{type: "string", required: false, message: "必输项"},
],
"gidgrp.cbs.max.cur":[
{type: "string", required: false, message: "必输项"},
......
......@@ -226,7 +226,7 @@ const BusRouter = [
{ path: 'cltset', component: Cltset, name: 'Cltset', meta: { title: '打包托收解包' } },
{ path: 'infccd', component: Infccd, name: 'Infccd', meta: { title: '光票托收查询' } },
{ path: 'ccttra', component: Ccttra, name: 'Ccttra', meta: { title: '光票托收催收' } },
{ path: 'cctdav', component: Cctdav, name: 'Cctdav', meta: { title: '光票托收立' } },
{ path: 'cctdav', component: Cctdav, name: 'Cctdav', meta: { title: '光票托收立' } },
{ path: 'cctset', component: Cctset, name: 'Cctset', meta: { title: '光票托收收汇' } },
{ path: 'cctsel', component: Cctsel, name: 'Cctsel', meta: { title: '光票托收入口交易' } },
{ path: 'cctdcr', component: Cctdcr, name: 'Cctdcr', meta: { title: '光票托收退票' } },
......
......@@ -24,37 +24,37 @@
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--cctdav PD000001 -->
<el-tab-pane label="Establish Clean Collection" name="cctdav1">
<el-tab-pane label="建立光票托收" name="cctdav1">
<c-content>
<m-cctdav1 :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
<!--trndoc PD000529 &Messages -->
<el-tab-pane label="Messages" name="docpan">
<el-tab-pane label="面函" name="docpan">
<m-docpan :model="model" :codes="codes" />
</el-tab-pane>
<!--trndoc PD000546 Attachments -->
<el-tab-pane label="Attachments" name="doctre">
<el-tab-pane label="交易附件" name="doctre">
<m-doctre :model="model" :codes="codes" />
</el-tab-pane>
<!--coninf PD000000 Completion -->
<el-tab-pane label="Completion" name="coninfp">
<el-tab-pane label="附言" name="coninfp">
<m-coninfp :model="model" :codes="codes" />
</el-tab-pane>
<!--engp PD000000 Liability -->
<el-tab-pane label="Liability" name="engp">
<el-tab-pane label="表外账" name="engp">
<m-engp :model="model" :codes="codes" />
</el-tab-pane>
<!--setmod PD000000 Settlement -->
<el-tab-pane label="Settlement" name="setpan">
<el-tab-pane label="费用及账务" name="setpan">
<m-setpan :model="model" :codes="codes" />
</el-tab-pane>
<!--glemod PD000001 -->
<el-tab-pane label="Bookings" name="glepan">
<el-tab-pane label="分录" name="glepan">
<m-glepan :model="model" :codes="codes" />
</el-tab-pane>
<!--cctp PD000065 Settlement Instructions -->
<el-tab-pane label="Settlement Instructions" name="setinsp">
<el-tab-pane label="结算说明" name="setinsp">
<m-setinsp :model="model" :codes="codes" />
</el-tab-pane>
</c-tabs>
......
......@@ -211,7 +211,7 @@
style="width: 100%"
placeholder="请选择Reason of Cancelation"
:code="codes.purcan"
@change="change"
@change="purcanBlur"
>
</c-select>
</el-form-item>
......@@ -504,6 +504,20 @@ export default {
}
},
async purcanBlur(val){
if(this.model.gidgrp.rec.purcan=="" ){
this.$confirm('Please enter a value for this mandatory field','提示',{
confirmButtonText: 'Yes',
cancelButtonText: 'No',
type: 'warning',
showClose:true
}).then(() => {//yes的执行在这里写
}).catch(() => {//No的功能在这里写
});
}
},
},
created: function () {
trntyp: [];
......
......@@ -268,7 +268,7 @@
size="medium"
type="primary"
@click="toCctdav"
>光票托收</c-button
>光票托收</c-button
>
</c-col>
<c-col :span="24">
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="Reimbursement Bank" prop="rmbclm.rmbrol">
<c-select
v-model="model.rmbclm.rmbrol"
style="width: 100%"
placeholder="Please select Reimbursement Bank"
@change="eventFunction('rmbclm.rmbrol')"
:code="codes.rolall"
>
</c-select>
......
<template>
<ReviewWrapper>
<Lttcan></Lttcan>
</ReviewWrapper>
</template>
<script>
import Lttcan from "~/views/Business/Lttcan";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewLttcan",
components: { ReviewWrapper, Lttcan },
created() {},
mounted() {},
};
</script>
<style></style>
......@@ -99,7 +99,7 @@ import ReviewTrtset from "./Business/ReviewTrtset.vue";
import ReviewTrtrcl from "./Business/ReviewTrtrcl.vue";
import ReviewTrtsel from "./Business/ReviewTrtsel.vue";
import ReviewTrtcan from "./Business/ReviewTrtcan.vue";
import ReviewLttcan from "./Business/ReviewLttcan.vue";
import ReviewLttdck from "./Business/ReviewLttdck.vue";
import ReviewLttdav from "./Business/ReviewLttdav.vue";
import ReviewGetcrq from "./Business/ReviewGetcrq.vue";
......@@ -219,7 +219,7 @@ const ReviewRouter = [
{ path: "cltdav", component: ReviewCltdav, name: "ReviewCltdav", meta: { title: "复核-Cltdav" } },
{ path: "cltset", component: ReviewCltset, name: "ReviewCltset", meta: { title: "复核-Cltset" } },
{ path: "clttra", component: ReviewClttra, name: "ReviewClttra", meta: { title: "复核-Clttra" } },
{ path: "lttcan", component: ReviewLttcan, name: "ReviewLttcan", meta: { title: "复核-Lttcan" } },
{ path: "lttdck", component: ReviewLttdck, name: "ReviewLttdck", meta: { title: "复核-Lttdck" } },
{ path: "lttdav", component: ReviewLttdav, name: "ReviewLttdav", meta: { title: "复核-Lttdav" } },
{ path: "Cptati", component: ReviewCptati, name: "ReviewCptati", meta: { title: "复核-Cptati" } },
......
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