Commit 41da15b9 by wangren

litame,litdck交易页面,字段修正

parent 51e5eabd
......@@ -4,6 +4,11 @@ import Pub from "../Public"
export default class Litame{
constructor () {
this.data = {
litadvl1blk:"",
litapll1blk:"",
litrmbl1blk:"",
litrmbl2blk:"",
litamep:{
ramrollab:"", // Label for RAMROL .litamep.ramrollab
recget:{
......
import Api from "~/service/Api"
import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litdav{
constructor () {
this.data = {
this.data = {
litapll1blk:"",
litapll2blk:"",
litapll3blk:"",
litapll4blk:"",
lidgrp:{
rec:{
inr:"", //
ownref:"", // 参考号 .lidgrp.rec.ownref
nam:"", // 简略信息 .lidgrp.rec.nam
revflg:"", // Revolving Flag .lidgrp.rec.revflg
......@@ -142,111 +147,10 @@ export default class Litdav{
dbfadrblkcn:"", // Chinese address .brdgrp.beb.dbfadrblkcn
},
},
setmod:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
ref:"", // our reference .setmod.ref
doccur:"", // document currency .setmod.doccur
docamt:"", // document amount .setmod.docamt
dspflg:"", // Type of settlement .setmod.dspflg
xreflg:"", // Recalculate Rates .setmod.xreflg
setglg:{
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
setgll:[]
},
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
setfog:{
setfol:[]
},
setfeg:{
setfel:[]
},
glemod:{
gleshwstm: {}
}
},
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
trnmod:{
trndoc:{
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc
advnam:"", // 国内证落款 .trnmod.trndoc.advnam
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm
rcvatt:{
seainf:"", // .trnmod.trndoc.rcvatt.seainf
},
doceot:[],
filrecv:"", // File Receiver .trnmod.trndoc.filrecv
},
},
liaall:{
limmod:{
limpts:{
wrklab:"", // Label .liaall.limmod.limpts.wrklab
othlab:"", // Label .liaall.limmod.limpts.othlab
othlabss:"", // Label .liaall.limmod.limpts.othlabss
wrk:{
pts:new Pts().data,
},
oth:{
pts:new Pts().data,
},
lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
},
wrkp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
},
},
},
othp:{
ptsget:{
sdamod:{
dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
},
},
},
ownref:"", // 国结业务编号 .liaall.limmod.ownref
comamt:"", // 业务余额 .liaall.limmod.comamt
ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
ecifno:"", // ECIFNO .liaall.limmod.ecifno
},
},
setmod:new Pub().data.Setmod,
mtabut:new Pub().data.Mtabut,
trnmod:new Pub().data.Trnmod,
liaall: new Pub().data.Liaall,
pageId: "" // ctx的key
}
}
......
......@@ -4,6 +4,9 @@ import Utils from "~/utils"
* Litdck Check规则
*/
let checkObj = {
"invtyp" :null,
"outlen.acttyp" :null,
"outlen.szflg" :null,
"liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
......
......@@ -6,6 +6,9 @@ import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"invtyp" :Utils.defaultFunction,
"outlen.acttyp":Utils.defaultFunction,
"outlen.szflg":Utils.defaultFunction,
"brdgrp.rec.igndisflg" :Utils.defaultFunction,
"brdgrp.blk.docdis" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
......
......@@ -14,6 +14,22 @@ export default {
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onBrtmodButgetref(){
let rtnmsg = await this.executeRule("brtmod.butgetref")
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
this.model.brdgrp.rec.ownref=rtnmsg.data.brdgrp_rec_ownref
this.$message({
type: 'success',
message: '获取成功!'
})
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
},
async onDocdisButtxmsel(){
let rtnmsg = await this.executeRule("docdis.buttxmsel")
if(rtnmsg.respCode == SUCCESS)
......
......@@ -61,7 +61,7 @@ export default {
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.prb.pts.ref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"lidgrp.rec.expdat":[
......@@ -81,7 +81,7 @@ export default {
{max: 16,message:"长度不能超过16"}
],
"brdgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.recget.sdamod.seainf":[
......@@ -115,7 +115,7 @@ export default {
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"brdgrp.prb.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"brtp.prbp.ptsget.sdamod.seainf":[
......@@ -129,7 +129,7 @@ export default {
],
"brdgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
{max: 200,message:"长度不能超过200"}
],
"brdgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"},
......@@ -139,7 +139,7 @@ export default {
{type: "string", required: false, message: "输入正确的日期"}
],
"brdgrp.rec.predat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"brdgrp.prb.adrelc":[
{type: "string", required: true, message: "必输项"},
......@@ -376,14 +376,27 @@ export default {
"brdgrp.srm.djuusr":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 80,message:"长度不能超过80"}
],
"brdgrp.srm.djudat":[
{type: "string", required: false, message: "输入正确的日期"}
{type: "string", required: true, message: "输入正确的日期"}
],
"brdgrp.srm.djuref":[
{type: "string", required: false, message: "必输项"},
{type: "string", required: true, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"invtyp" :[
{type: "string", required: true, message: "必输项"}
],
"outlen.szflg":[
{type: "string", required: true, message: "必输项"}
],
"outlen.acttyp":[
{type: "string", required: true, message: "必输项"}
],
"brdgrp.srm.djutyp":[
{type: "string", required: true, message: "必输项"}
],
}
\ No newline at end of file
......@@ -3,8 +3,13 @@ import Pts from "../Common/Pts"
import Pub from "../Public"
export default class Litdck{
constructor () {
this.data = { zcsdrq:"",
invtyp:"",
this.data = {
litapll1blk:"",
litrogl1blk:"",
litapll3blk:"",
litrogl2blk:"",
zcsdrq:"", //最终送达日期
invtyp:"", //发票类型
outlen:{
szflg:"",
acttyp:"",
......@@ -131,28 +136,7 @@ export default class Litdck{
},
liaall: new Pub().data.Liaall,
setmod: new Pub().data.Setmod,
mtabut:{
coninf:{
oitinf:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
},
},
oitset:{
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
oit:{
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev
},
},
conexedat:"", // 执行日期 .mtabut.coninf.conexedat
usr:{
extkey:"", // User ID .mtabut.coninf.usr.extkey
},
},
},
mtabut:new Pub().data.Mtabut,
trnmod: new Pub().data.Trnmod,
pageId: "" // ctx的key
}
......
......@@ -4,6 +4,10 @@ import Pub from "../Public"
export default class Litopn{
constructor () {
this.data = {
addbcbl1blk:"",
litbenl1blk:"",
litapll1blk:"",
litrmbl1blk:"",
lidgrp:{
rec:{
ownref:"", // Reference .lidgrp.rec.ownref
......
......@@ -27,6 +27,10 @@
<m-othadvtypp :model="model" :codes="codes"/>
</el-tab-pane>
<el-tab-pane label="Liability" name="engp">
<m-engp :model="model" :codes="codes"/>
</el-tab-pane>
<!--PD000000 -->
<el-tab-pane label="Settlement" name="setpan">
<m-setpan :model="model" :codes="codes"/>
......@@ -67,10 +71,10 @@ import Default from "~/model/Litdav/Default"
import Pattern from "~/model/Litdav/Pattern"
import Davp from "./Davp"
//import Setpan from "./Setpan"
import Coninfp from "./Coninfp"
// import Coninfp from "./Coninfp"
//import Docpan from "./Docpan"
import Doctre from "./Doctre"
import Limitbody from "./Limitbody"
// import Doctre from "./Doctre"
// import Limitbody from "./Limitbody"
import Mt750p from "./Mt750p"
import Mt754p from "./Mt754p"
import Othadvtypp from "./Othadvtypp"
......@@ -79,10 +83,17 @@ import Utils from "~/utils";
//import Glepan from "~/views/Public/Glepan";
import Setpan from "~/views/Public/Setpan";
import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp";
import Coninfp from "~/views/Public/Coninfp";
import Doctre from "~/views/Public/Doctre";
import Limitbody from "~/views/Public/Limitbody";
export default {
components:{
"m-davp" : Davp,
"m-engp" : Engp,
"m-setpan" : Setpan,
"m-coninfp" : Coninfp,
"m-docpan" : Docpan,
......
......@@ -146,9 +146,9 @@
style="margin: 0 0"
size="small"
type="primary"
@click=""
@click="onBrtmodButgetref"
>
Get Ref
获取
</c-button>
</template>
</c-fullbox>
......@@ -241,7 +241,9 @@
</c-col>
<c-col :span="12">
<el-form-item label="款项去向" prop="outlen.acttyp">
<c-input v-model="model.outlen.acttyp" disabled ></c-input>
<c-select v-model="model.outlen.acttyp"
:code="codes.acttyp"
></c-select>
</el-form-item>
</c-col>
<c-col :span="12">
......@@ -332,6 +334,7 @@
v-model="model.brdgrp.prb.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('brdgrp.prb.pts.extkey')"
></c-input>
<template slot="footer">
<c-button
......@@ -354,7 +357,16 @@
</c-fullbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input
:rows="4"
type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="100" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="名称" prop="brdgrp.prb.namelc">
<c-input type="textarea" v-model="model.brdgrp.prb.namelc" maxlength="35" show-word-limit placeholder="请输入名称" ></c-input>
</el-form-item>
......@@ -363,10 +375,12 @@
<el-form-item label="地址" prop="brdgrp.prb.adrelc">
<c-input type="textarea" v-model="model.brdgrp.prb.adrelc" maxlength="35" show-word-limit placeholder="请输入地址" ></c-input>
</el-form-item>
</c-col>
</c-col> -->
<c-col :span="24">
<el-form-item label="Document Set Status" prop="brdgrp.rec.docsta">
<c-input disabled v-model="model.brdgrp.rec.docsta" maxlength="1" placeholder="请输入Document Set Status"></c-input>
<c-input disabled
v-model="model.brdgrp.rec.docsta" maxlength="1" placeholder="请输入Document Set Status"></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -474,12 +488,8 @@
<!-- <c-col :span="12">
<el-form-item label="Address Block" prop="brdgrp.prb.pts.adrblk">
<c-input type="textarea" v-model="model.brdgrp.prb.pts.adrblk" maxlength="35" show-word-limit placeholder="请输入Address Block" ></c-input>
</el-form-item>
</c-col>
<!--
<c-col :span="12">
<el-form-item label="Chinese address" prop="brdgrp.prb.dbfadrblkcn">
<c-input type="textarea" v-model="model.brdgrp.prb.dbfadrblkcn" maxlength="35" show-word-limit placeholder="请输入Chinese address" ></c-input>
......
......@@ -12,20 +12,20 @@
<c-col :span="24">
<el-form-item label="单据出具人" prop="brdgrp.srm.djuusr">
<c-input disabled v-model="model.brdgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input>
<c-input :disabled="!this.model.brdgrp.srm.djutyp" v-model="model.brdgrp.srm.djuusr" maxlength="80" placeholder="请输入单据出具人"></c-input>
</el-form-item>
</c-col>
</el-col>
<el-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="单据出具日期" prop="brdgrp.srm.djudat">
<c-date-picker disabled type="date" v-model="model.brdgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker>
<c-date-picker :disabled="!this.model.brdgrp.srm.djutyp" type="date" v-model="model.brdgrp.srm.djudat" style="width:100%" placeholder="请选择单据出具日期"></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="货权单据编号" prop="brdgrp.srm.djuref">
<c-input disabled v-model="model.brdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
<c-input :disabled="!this.model.brdgrp.srm.djutyp" v-model="model.brdgrp.srm.djuref" maxlength="40" placeholder="请输入货权单据编号"></c-input>
</el-form-item>
</c-col>
</el-col>
......
......@@ -67,6 +67,12 @@
</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>
......
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