Commit 4d29d148 by wangren

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs…

Merge branch 'development-202206' of http://192.168.0.110:11080/fukai/vue-gjjs into development-202206
parents ffab682f dfe923a8
...@@ -183,7 +183,6 @@ export default { ...@@ -183,7 +183,6 @@ export default {
codes:{ codes:{
...CodeTable ...CodeTable
} }
}; };
}, },
mounted() { mounted() {
...@@ -330,14 +329,13 @@ export default { ...@@ -330,14 +329,13 @@ export default {
code(item,scope){ code(item,scope){
let value = scope.row[item.prop] let value = scope.row[item.prop]
let code = item.code let code = item.code
if(!value || !code){ if(typeof code == 'string'){
return "" code = this.codes[code]
} }
let args=this.codes[code]; if(!value || !code){
if (!args) {
return "" return ""
} }
let em = args.find(item=>item.value.trim() == value.trim()) let em = code.find(item=>item.value.trim() == value.trim())
if(!em){ if(!em){
return value return value
} }
......
...@@ -5,29 +5,34 @@ import Utils from "~/utils" ...@@ -5,29 +5,34 @@ import Utils from "~/utils"
*/ */
let checkObj = { let checkObj = {
"liaall.misamt" :null, "liaall.misamt" :null,
"liaall.limmod.limpts.oth.pts.extkey" :null,
"liaall.limmod.ownref" :null,
"bedgrp.apl.pts.nam" :null,
"bedgrp.oth.namelc" :null, "bedgrp.oth.namelc" :null,
"liaall.limmod.ecifno" :null,
"bedgrp.prb.pts.nam" :null,
"bedgrp.oth.adrelc" :null, "bedgrp.oth.adrelc" :null,
"bedgrp.prb.namelc" :null, "bedgrp.prb.namelc" :null,
"bedgrp.blk.comcon" :null, "bedgrp.blk.comcon" :null,
"liaall.limmod.limpts.oth.pts.nam" :null,
"bedgrp.blk.setinsbe" :null, "bedgrp.blk.setinsbe" :null,
"setmod.dspflg" :null, "setmod.dspflg" :null,
"betp.othp.ptsget.sdamod.dadsnd" :null,
"betp.ledget.sdamod.dadsnd" :null,
"bedgrp.rec.matdat" :null, "bedgrp.rec.matdat" :null,
"bedgrp.blk.docdis" :null, "bedgrp.blk.docdis" :null,
"setmod.redamt" :null,
"bedgrp.prb.adrelc" :null, "bedgrp.prb.adrelc" :null,
"liaall.limmod.limpts.wrk.pts.nam" :null,
"liaall.limmod.limpts.wrk.pts.extkey" :null,
"bedgrp.blk.intdis" :null, "bedgrp.blk.intdis" :null,
"bedgrp.prb.pts.extkey" :null, "bedgrp.prb.pts.extkey" :null,
"mtabut.coninf.conexedat" :null, "mtabut.coninf.conexedat" :null,
"bedgrp.oth.pts.adrblk" :null, "bedgrp.oth.pts.adrblk" :null,
"liaall.limmod.limpts.nonrevflg1" :null,
"bedgrp.prb.pts.adrblk" :null, "bedgrp.prb.pts.adrblk" :null,
"bedgrp.rec.rcvdat" :null, "bedgrp.rec.rcvdat" :null,
"betp.recget.sdamod.dadsnd" :null,
"bedgrp.oth.pts.extkey" :null, "bedgrp.oth.pts.extkey" :null,
"setmod.docamt" :null, "setmod.docamt" :null,
"bedgrp.rec.orddat" :null, "bedgrp.rec.orddat" :null,
"betp.prbp.ptsget.sdamod.dadsnd" :null, "bedgrp.iss.pts.nam" :null,
} }
for (const key in checkObj) { for (const key in checkObj) {
......
...@@ -7,51 +7,57 @@ import Utils from "~/utils/index" ...@@ -7,51 +7,57 @@ import Utils from "~/utils/index"
export default { export default {
"bedgrp.blk.docdis" :Utils.defaultFunction, "bedgrp.blk.docdis" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction, "liaall.limmod.limpts.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.cbs.max2.amt" :Utils.defaultFunction, "bedgrp.cbs.max2.amt" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"setmod.setamt" :Utils.defaultFunction,
"setmod.doccur" :Utils.defaultFunction, "setmod.doccur" :Utils.defaultFunction,
"setmod.dspflg" :Utils.defaultFunction, "setmod.dspflg" :Utils.defaultFunction,
"setmod.docamt" :Utils.defaultFunction, "setmod.docamt" :Utils.defaultFunction,
"bedgrp.prb.pts.extkey" :Utils.defaultFunction,
"trnmod.trndoc.condocstm" :Utils.defaultFunction, "trnmod.trndoc.condocstm" :Utils.defaultFunction,
"trnmod.trndoc.shwinc" :Utils.defaultFunction, "trnmod.trndoc.shwinc" :Utils.defaultFunction,
"trnmod.trndoc.shwout" :Utils.defaultFunction, "trnmod.trndoc.shwout" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction, "liaall.limmod.limpts.wrk.pts.extkey" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg2" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction, "liaall.limmod.limpts.nonrevflg1" :Utils.defaultFunction,
"bedgrp.blk.intdis" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"setmod.glemod.gleshwstm" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.rec.ownref" :Utils.defaultFunction, "bedgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.blk.docdisflg" :Utils.defaultFunction, "bedgrp.blk.docdisflg" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction, "oldbedgrp.cbs.max2.amt" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
"bedgrp.rec.dscinsflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"oldbedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.rec.docprbrol" :Utils.defaultFunction, "bedgrp.rec.docprbrol" :Utils.defaultFunction,
"bedgrp.oth.pts.extkey" :Utils.defaultFunction,
"bedgrp.oth.adrelc" :Utils.defaultFunction, "bedgrp.oth.adrelc" :Utils.defaultFunction,
"bedgrp.oth.namelc" :Utils.defaultFunction, "bedgrp.oth.namelc" :Utils.defaultFunction,
"bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction, "bedgrp.oth.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction, "bedgrp.oth.pts.adrblk" :Utils.defaultFunction,
"bedgrp.prb.adrelc" :Utils.defaultFunction,
"bedgrp.prb.namelc" :Utils.defaultFunction,
"bedgrp.prb.dbfadrblkcn" :Utils.defaultFunction,
"bedgrp.prb.pts.adrblk" :Utils.defaultFunction,
"liaall.limmod.comamt" :Utils.defaultFunction,
"liaall.limmod.ccvamt" :Utils.defaultFunction,
"liaall.limmod.limpts.wrk.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.rcvdat" :Utils.defaultFunction,
"bedgrp.rec.doctypcod" :Utils.defaultFunction,
"bedgrp.iss.pts.nam" :Utils.defaultFunction, "bedgrp.iss.pts.nam" :Utils.defaultFunction,
"bedgrp.blk.matper" :Utils.defaultFunction,
"bedgrp.rec.matdat" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction, "mtabut.coninf.oitset.oit.inflev" :Utils.defaultFunction,
"bedgrp.prb.pts.nam" :Utils.defaultFunction,
"bedgrp.cbs.max.cur" :Utils.defaultFunction,
"mtabut.coninf.usr.extkey" :Utils.defaultFunction,
"bedgrp.rec.payrol" :Utils.defaultFunction,
"liaall.limmod.limpts.oth.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.dscinsflg" :Utils.defaultFunction,
"bedgrp.cbs.max.amt" :Utils.defaultFunction,
"oldbedgrp.cbs.max.amt" :Utils.defaultFunction,
"bedgrp.apl.pts.nam" :Utils.defaultFunction,
"bedgrp.rec.docsta" :Utils.defaultFunction, "bedgrp.rec.docsta" :Utils.defaultFunction,
"betp.folwupopt" :Utils.defaultFunction,
"bedgrp.blk.intdis" :Utils.defaultFunction,
"liaall.misamt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inftxt" :Utils.defaultFunction,
"mtabut.coninf.oitinf.oit.inflev" :Utils.defaultFunction,
"mtabut.coninf.conexedat" :Utils.defaultFunction,
"ledgrp.rec.ownref" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -16,7 +16,7 @@ export default { ...@@ -16,7 +16,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"ledgrp.cbs.opn1.amt":[ "ledgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -38,7 +38,7 @@ export default { ...@@ -38,7 +38,7 @@ export default {
], ],
"bedgrp.cbs.max.amt":[ "bedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bedgrp.cbs.opn1.amt":[ "bedgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -101,7 +101,7 @@ export default { ...@@ -101,7 +101,7 @@ export default {
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"bedgrp.cbs.max.amt":[ "bedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -120,13 +120,13 @@ export default { ...@@ -120,13 +120,13 @@ export default {
], ],
"oldbedgrp.cbs.max.amt":[ "oldbedgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bedgrp.oth.pts.adrblk":[ "bedgrp.oth.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"bedgrp.oth.dbfadrblkcn":[ "bedgrp.oth.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
], ],
"bedgrp.cbs.max2.amt":[ "bedgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -144,7 +144,7 @@ export default { ...@@ -144,7 +144,7 @@ export default {
], ],
"oldbedgrp.cbs.max2.amt":[ "oldbedgrp.cbs.max2.amt":[
{type: "number", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"}, {max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
...@@ -180,14 +180,14 @@ export default { ...@@ -180,14 +180,14 @@ export default {
], ],
"bedgrp.prb.pts.adrblk":[ "bedgrp.prb.pts.adrblk":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 140,message:"长度不能超过140"}
], ],
"bedgrp.prb.dbfadrblkcn":[ "bedgrp.prb.dbfadrblkcn":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
], ],
"bedgrp.blk.matper":[ "bedgrp.blk.matper":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 65,message:"长度不能超过65"}
], ],
"bedgrp.prb.adrelc":[ "bedgrp.prb.adrelc":[
...@@ -196,19 +196,19 @@ export default { ...@@ -196,19 +196,19 @@ export default {
], ],
"ledgrp.rec.utlnbr":[ "ledgrp.rec.utlnbr":[
{type: "string", required: false, message: "必输项"}, {type: "number", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {type: "number", max: 999,message:"长度不能超过3"}
], ],
"bedgrp.blk.docdis":[ "bedgrp.blk.docdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 50,message:"长度不能超过50"} {max: 3500,message:"长度不能超过3500"}
], ],
"bedgrp.blk.intdis":[ "bedgrp.blk.intdis":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 1300,message:"长度不能超过1300"}
], ],
...@@ -218,13 +218,13 @@ export default { ...@@ -218,13 +218,13 @@ export default {
], ],
"bedgrp.blk.comcon":[ "bedgrp.blk.comcon":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 1300,message:"长度不能超过1300"}
], ],
"bedgrp.blk.setinsbe":[ "bedgrp.blk.setinsbe":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 65,message:"长度不能超过65"} {max: 390,message:"长度不能超过390"}
], ],
"liaall.outamt":[ "liaall.outamt":[
...@@ -271,22 +271,6 @@ export default { ...@@ -271,22 +271,6 @@ export default {
"setmod.redamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.setamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"setmod.redamttxt":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
],
"setmod.zmqacc":[ "setmod.zmqacc":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
...@@ -294,10 +278,6 @@ export default { ...@@ -294,10 +278,6 @@ export default {
], ],
"setmod.glemod.gleshwstm":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"mtabut.coninf.oitinf.oit.inftxt":[ "mtabut.coninf.oitinf.oit.inftxt":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
...@@ -356,4 +336,73 @@ export default { ...@@ -356,4 +336,73 @@ export default {
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"} {max: 3,message:"长度不能超过3"}
], ],
"liaall.limmod.ecifno":[
{type: "string", required: false, message: "必输项"},
{max: 22,message:"长度不能超过22"}
],
"liaall.limmod.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.limpts.wrk.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.wrkp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.limpts.oth.pts.extkey":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"liaall.limmod.othp.ptsget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"liaall.limmod.comamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.wrk.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.limpts.oth.pts.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"liaall.limmod.ccvamt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"liaall.limmod.limpts.pfcod1":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
"liaall.limmod.limpts.pfcod2":[
{type: "string", required: false, message: "必输项"},
{max: 14,message:"长度不能超过14"}
],
} }
\ No newline at end of file
import Api from "~/service/Api" import Api from "~/service/Api"
import Pts from "../Common/Pts" import Pts from "../Common/Pts"
import Pub from "../Public" //引入公共面板
export default class Betdrv{ export default class Betdrv{
constructor () { constructor () {
this.data = { this.data = {
setmod: new Pub().data.Setmod, //帐务、分录 加入公共面板账务字段
mtabut: new Pub().data.Mtabut, //附言
trnmod: new Pub().data.Trnmod, //面函 加入公共面板面函的字段
liaall: new Pub().data.Liaall,//表外
betissl2blk:"",
betprbl1blk:"",
betissl1blk:"",
oridoclab:"", // Label original .oridoclab oridoclab:"", // Label original .oridoclab
oriaddlab:"", // Label original .oriaddlab oriaddlab:"", // Label original .oriaddlab
betp:{ betp:{
...@@ -38,6 +47,7 @@ export default class Betdrv{ ...@@ -38,6 +47,7 @@ export default class Betdrv{
}, },
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .betp.docgrdm.docdsclab docdsclab:"", // Label of document description .betp.docgrdm.docdsclab
docgrd:"", //betp.docgrdm.docgrd Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
}, },
folwupopt:"", // Processing Options .betp.folwupopt folwupopt:"", // Processing Options .betp.folwupopt
}, },
...@@ -79,6 +89,7 @@ export default class Betdrv{ ...@@ -79,6 +89,7 @@ export default class Betdrv{
}, },
opn2:{ opn2:{
cur:"", // 附加金额 .bedgrp.cbs.opn2.cur cur:"", // 附加金额 .bedgrp.cbs.opn2.cur
amt:"", //附加金额 .bedgrp.cbs.opn2.amt
}, },
max2:{ max2:{
amt:"", // 附加金额 .bedgrp.cbs.max2.amt amt:"", // 附加金额 .bedgrp.cbs.max2.amt
...@@ -103,6 +114,7 @@ export default class Betdrv{ ...@@ -103,6 +114,7 @@ export default class Betdrv{
setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe setinsbe:"", // Settlement Instructions transaction field .bedgrp.blk.setinsbe
docdis:"", // Discrepancies .bedgrp.blk.docdis docdis:"", // Discrepancies .bedgrp.blk.docdis
docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg docdisflg:"", // Discrepancies modified .bedgrp.blk.docdisflg
prsdoc:"", //bedgrp.blk.prsdoc Discr./Instr.单据/不符点/指示dscins.vue页面表格字段
}, },
oth:{ oth:{
pts:new Pts().data, pts:new Pts().data,
...@@ -121,80 +133,106 @@ export default class Betdrv{ ...@@ -121,80 +133,106 @@ export default class Betdrv{
}, },
}, },
}, },
liaall:{ // liaall:{
misamt:"", // Amount not yet assigned .liaall.misamt // misamt:"", // Amount not yet assigned .liaall.misamt
concur:"", // External Booking Amount .liaall.concur // concur:"", // External Booking Amount .liaall.concur
outpct:"", // Sight Amount Percentage .liaall.outpct // outpct:"", // Sight Amount Percentage .liaall.outpct
outamt:"", // Sight Amount .liaall.outamt // outamt:"", // Sight Amount .liaall.outamt
exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt // exttotoldamt:"", // Old Amount booked externally .liaall.exttotoldamt
exttotamt:"", // Total booking amount external assinged .liaall.exttotamt // exttotamt:"", // Total booking amount external assinged .liaall.exttotamt
}, // limmod:{
setmod:{ // limpts:{
docamttyplab:"", // settled amount description as label .setmod.docamttyplab // wrklab:"", // Label .liaall.limmod.limpts.wrklab
ref:"", // our reference .setmod.ref // othlab:"", // Label .liaall.limmod.limpts.othlab
doccur:"", // document currency .setmod.doccur // othlabss:"", // Label .liaall.limmod.limpts.othlabss
docamt:"", // document amount .setmod.docamt // wrk:{
dspflg:"", // Type of settlement .setmod.dspflg // pts:new Pts().data,
xreflg:"", // Recalculate Rates .setmod.xreflg // },
redamt:"", // 减少的金额 .setmod.redamt // oth:{
setamt:"", // 减少后的结算金额 .setmod.setamt // pts:new Pts().data,
redamttxt:"", // 注释 .setmod.redamttxt // },
retmsg:"", // Label showing Retry overflow condition .setmod.retmsg // lsh:"", // 合同流�'号 .liaall.limmod.limpts.lsh
setglg:{ // nonrevflg1:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg1
labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg // pfcod1:"", // 合同流�'号 .liaall.limmod.limpts.pfcod1
}, // nonrevflg2:"", // Flag to Mark Non-revolving Limits .liaall.limmod.limpts.nonrevflg2
zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab // pfcod2:"", // 合同流�'号 .liaall.limmod.limpts.pfcod2
zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc // },
setfog: { // wrkp:{
setfol: [] // ptsget:{
}, // sdamod:{
setfeg: { // dadsnd:"", // Drag Drop Sender .liaall.limmod.wrkp.ptsget.sdamod.dadsnd
setfel: [] // seainf:"", // .liaall.limmod.wrkp.ptsget.sdamod.seainf
}, // },
glemod:{ // },
gleshwstm:"", // Booking stream to Display .setmod.glemod.gleshwstm // },
}, // othp:{
}, // ptsget:{
mtabut:{ // sdamod:{
coninf:{ // dadsnd:"", // Drag Drop Sender .liaall.limmod.othp.ptsget.sdamod.dadsnd
oitinf:{ // seainf:"", // .liaall.limmod.othp.ptsget.sdamod.seainf
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt // },
oit:{ // },
inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt // },
inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev // ownref:"", // 国结业务编号 .liaall.limmod.ownref
}, // comamt:"", // 业务余额 .liaall.limmod.comamt
}, // ccvamt:"", // 保证金余额 .liaall.limmod.ccvamt
oitset:{ // ecifno:"", // ECIFNO .liaall.limmod.ecifno
labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt // },
oit:{ // },
inftxt:"", // Infotext .mtabut.coninf.oitset.oit.inftxt // setmod:{
inflev:"", // Infotext Level .mtabut.coninf.oitset.oit.inflev // docamttyplab:"", // settled amount description as label .setmod.docamttyplab
}, // retmsg:"", // Label showing Retry overflow condition .setmod.retmsg
}, // ref:"", // our reference .setmod.ref
conexedat:"", // 执行日期 .mtabut.coninf.conexedat // doccur:"", // document currency .setmod.doccur
usr:{ // docamt:"", // document amount .setmod.docamt
extkey:"", // User ID .mtabut.coninf.usr.extkey // dspflg:"", // Type of settlement .setmod.dspflg
}, // xreflg:"", // Recalculate Rates .setmod.xreflg
}, // setglg:{
}, // labdspflg:"", // Label for Type of Settlement .setmod.setglg.labdspflg
trnmod:{ // },
trndoc:{ // zmqacclab:"", // 主�'�号LABEL .setmod.zmqacclab
advlabel:"", // ADVLABEL .trnmod.trndoc.advlabel // zmqacc:"", // 自�'�区主�'�号 .setmod.zmqacc
amdnam:"", // AMDNAM .trnmod.trndoc.amdnam // },
advdoc:"", // 国内证通知书 .trnmod.trndoc.advdoc // mtabut:{
advnam:"", // 国内证落款 .trnmod.trndoc.advnam // coninf:{
amdapl:"", // 修改申请人名称 .trnmod.trndoc.amdapl // oitinf:{
doclbl:"", // Lable for CONDOCSTM .trnmod.trndoc.doclbl // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitinf.labinftxt
doctrestm:"", // Document tree .trnmod.trndoc.doctrestm // oit:{
shwinc:"", // Show Incoming Messages .trnmod.trndoc.shwinc // inftxt:"", // Infotext .mtabut.coninf.oitinf.oit.inftxt
shwout:"", // Show Outgoing Messages .trnmod.trndoc.shwout // inflev:"", // Infotext Level .mtabut.coninf.oitinf.oit.inflev
condocstm:"", // Connected Documents .trnmod.trndoc.condocstm // },
rcvatt:{ // },
seainf:"", // .trnmod.trndoc.rcvatt.seainf // oitset:{
}, // labinftxt:"", // Label for INFTXT .mtabut.coninf.oitset.labinftxt
filrecv:"", // File Receiver .trnmod.trndoc.filrecv // 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
// },
// filrecv:"", // File Receiver .trnmod.trndoc.filrecv
// },
// },
pageId: "" // ctx的key pageId: "" // ctx的key
} }
} }
......
...@@ -18,7 +18,7 @@ export default { ...@@ -18,7 +18,7 @@ export default {
"dedgrp.cbs.opn1.amt": [ "dedgrp.cbs.opn1.amt": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" } { pattern: /(^-?\d+$)|(^\.\d{1,3}$)|(^-?\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
], ],
"bftp.recget.sdamod.dadsnd": [ "bftp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
...@@ -233,7 +233,9 @@ export default class Utils { ...@@ -233,7 +233,9 @@ export default class Utils {
} }
static generateUUID() { static generateUUID() {
console.log(111);
var d = new Date().getTime(); var d = new Date().getTime();
console.log(2222);
if (window.performance && typeof window.performance.now === "function") { if (window.performance && typeof window.performance.now === "function") {
d += performance.now(); //use high-precision timer if available d += performance.now(); //use high-precision timer if available
} }
......
<template> <template>
<c-page title="出口信用证单据修改"> <c-page title="出口信用证单据修改">
<div class="eContainer"> <div class="eContainer">
<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">inc to Ben</el-button>
<el-button size="small">imgyge</el-button>
<!-- <el-button size="small">拆分报文</el-button> -->
<el-button size="small">img</el-button>
<el-button size="small">His.img</el-button>
</c-function-btn>
<el-form <el-form
:model="model" :model="model"
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="150px"
label-position="left" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> <c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="myTabClick">
<!--PD000001 --> <!--PD000001 Additional Documents 明细-->
<el-tab-pane label="明细" name="drv"> <el-tab-pane label="Additional Documents" name="drv">
<c-content> <c-content>
<m-drv :model="model" :codes="codes" /> <m-drv :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000073 --> <!--PD000073 Discr./Instr.单据/不符点/指示-->
<el-tab-pane label="单据/不符点/指示" name="dscins" v-if="model.bedgrp.rec.dscinsflg"> <el-tab-pane label="Discr./Instr." name="dscins" v-if="model.bedgrp.rec.dscinsflg">
<c-content> <c-content>
<m-dscins :model="model" :codes="codes" /> <m-dscins :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000027 --> <!--PD000027 Liability-或有-->
<el-tab-pane label="或有" name="engp"> <el-tab-pane label="Liability" name="engp">
<c-content> <c-content>
<m-engp :model="model" :codes="codes" /> <m-engp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000020 --> <!--PD000020 -->
<el-tab-pane label="信用证详情" name="detp"> <!-- <el-tab-pane label="信用证详情" name="detp">
<c-content> <c-content>
<m-detp :model="model" :codes="codes" /> <m-detp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000000 --> <!--PD000000 Settlement账务-->
<el-tab-pane label="账务" name="setpan"> <el-tab-pane label="Settlement" name="setpan">
<c-content> <c-content>
<m-setpan :model="model" :codes="codes" /> <m-setpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 --> <!--PD000000 Completion附言-->
<el-tab-pane label="分录" name="glepan"> <el-tab-pane label="Completion" name="coninfp">
<c-content> <c-content>
<m-glepan :model="model" :codes="codes" /> <m-coninfp :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000000 --> <!--PD000529 Messages报文及面函-->
<el-tab-pane label="附言" name="coninfp"> <el-tab-pane label="Messages" name="docpan">
<c-content> <c-content>
<m-coninfp :model="model" :codes="codes" /> <m-docpan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000529 --> <!--PD000001 -->
<el-tab-pane label="报文及面函" name="docpan"> <!-- <el-tab-pane label="分录" name="glepan">
<c-content> <c-content>
<m-docpan :model="model" :codes="codes" /> <m-glepan :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane> -->
<!--PD000546 --> <!--PD000546 Attachments附件-->
<el-tab-pane label="附件" name="doctre"> <el-tab-pane label="Attachments" name="doctre">
<c-content> <c-content>
<m-doctre :model="model" :codes="codes" /> <m-doctre :model="model" :codes="codes" />
</c-content> </c-content>
</el-tab-pane> </el-tab-pane>
<!--PD000001 limitbody统一授信-->
<el-tab-pane label="统一授信" name="limitbody">
<c-content>
<m-limitbody :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -84,43 +109,50 @@ import Api from "~/service/Api"; ...@@ -84,43 +109,50 @@ import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Betdrv from "~/model/Betdrv"; import Betdrv from "~/model/Betdrv";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import commonFuncs from '~/mixin/commonFuncs'
import Check from "~/model/Betdrv/Check"; import Check from "~/model/Betdrv/Check";
import Default from "~/model/Betdrv/Default"; import Default from "~/model/Betdrv/Default";
import Pattern from "~/model/Betdrv/Pattern"; import Pattern from "~/model/Betdrv/Pattern";
import Drv from "./Drv"; import Drv from "./Drv";
import Dscins from "./Dscins"; import Dscins from "./Dscins";
//import Engp from "./Engp" //import Engp from "./Engp"
import Detp from "./Detp"; // import Detp from "./Detp";
//import Setpan from "./Setpan" //import Setpan from "./Setpan"
//import Glepan from "./Glepan" //import Glepan from "./Glepan"
//import Coninfp from "./Coninfp" //import Coninfp from "./Coninfp"
//import Docpan from "./Docpan" //import Docpan from "./Docpan"
import Doctre from "./Doctre"; // import Doctre from "./Doctre";
// import Limitbody from './Limitbody'
import Coninfp from "~/views/Public/Coninfp"; import Engp from "~/views/Public/Engp";
import Setpan from "~/views/Public/Setpan"; import Setpan from "~/views/Public/Setpan";
// import Glepan from "~/views/Public/Glepan";
import Coninfp from "~/views/Public/Coninfp";
import Docpan from "~/views/Public/Docpan"; import Docpan from "~/views/Public/Docpan";
import Engp from "~/views/Public/Engp"; import Doctre from '~/views/Public/Doctre';
import Glepan from "~/views/Public/Glepan"; import Limitbody from '~/views/Public/Limitbody';
export default { export default {
name: 'Betdrv',
components: { components: {
"m-drv": Drv, "m-drv": Drv,
"m-dscins": Dscins, "m-dscins": Dscins,
"m-engp": Engp, "m-engp": Engp,
"m-detp": Detp, // "m-detp": Detp,
"m-setpan": Setpan, "m-setpan": Setpan,
"m-glepan": Glepan, // "m-glepan": Glepan,
"m-coninfp": Coninfp, "m-coninfp": Coninfp,
"m-docpan": Docpan, "m-docpan": Docpan,
"m-doctre": Doctre, "m-doctre": Doctre,
'm-limitbody': Limitbody,
}, },
provide() { provide() {
return { return {
root: this, root: this,
}; };
}, },
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理 mixins: [commonProcess, commonFuncs], // 里面包含了Default、Check等的公共处理
data() { data() {
return { return {
tabVal: "drv", tabVal: "drv",
...@@ -134,15 +166,20 @@ export default { ...@@ -134,15 +166,20 @@ export default {
}; };
}, },
methods: { methods: {
tabClick() {}, myTabClick(tab) {
this.tabClick(tab)
/**
* do it yourself
**/
},
}, },
created: async function () { created: async function () {
console.log("进入betdrv交易"); console.log("进入betdrv交易");
let rtnmsg = await this.init({}); let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) { if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
//更新数据 //更新数据
Utils.copyValueFromVO(this.model, rtnmsg.data); this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
if (this.isInDisplay) { if (this.isInDisplay) {
this.restoreDisplay(); this.restoreDisplay();
} }
......
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
disabled disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span >i</span
> >
</c-button> </c-button>
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
disabled disabled
> >
<span <span
style="font-size: 15px; font-family: '宋体'; font-weight: bold" style="font-size: 15px; font-family: '宋体'; font-weight: bold"
>i</span >i</span
> >
</c-button> </c-button>
...@@ -293,7 +293,7 @@ ...@@ -293,7 +293,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-ptsmsg <c-ptsmsg
:model="model" :model="model"
...@@ -333,7 +333,7 @@ ...@@ -333,7 +333,7 @@
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur"> <el-form-item label="单据金额" prop="bfdgrp.cbs.max.cur">
...@@ -350,6 +350,22 @@ ...@@ -350,6 +350,22 @@
<c-input <c-input
v-model="model.bfdgrp.cbs.max.amt" v-model="model.bfdgrp.cbs.max.amt"
placeholder="请输入Balance" placeholder="请输入Balance"
@keyup.enter.native="show=!show"
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" v-if="show==true">
<c-col :span="12">
<el-form-item label="">
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="oldbfdgrp.cbs.max.amt">
<c-input
v-model="model.oldbfdgrp.cbs.max.amt"
placeholder="请输入Balance"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -490,9 +506,10 @@ ...@@ -490,9 +506,10 @@
v-model="model.bfdgrp.rec.docprbrol" v-model="model.bfdgrp.rec.docprbrol"
style="width: 100%" style="width: 100%"
placeholder="请选择交单人" placeholder="请选择交单人"
@change="selectOrCheckboxRule('bfdgrp.rec.docprbrol')"
> >
<el-option <el-option
v-for="item in codes.docprbrol" v-for="item in codes.docprbrol0"
:key="item.value" :key="item.value"
:label="item.label" :label="item.label"
:value="item.value" :value="item.value"
...@@ -513,6 +530,7 @@ ...@@ -513,6 +530,7 @@
:noRef="true" :noRef="true"
:disabled="true" :disabled="true"
:isAdrblk="false" :isAdrblk="false"
:disabledExtkey="model.bfdgrp.rec.docprbrol == 'BEN'"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
> >
...@@ -1077,7 +1095,9 @@ export default { ...@@ -1077,7 +1095,9 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
show:false,
};
}, },
computed: { computed: {
flag() { flag() {
......
...@@ -64,6 +64,12 @@ ...@@ -64,6 +64,12 @@
</el-tab-pane> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
<c-grid-ety-prompt-dialog
ref="etyDialog"
:promptData="promptData"
@select-ety="selectEty"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</template> </template>
<script> <script>
......
...@@ -80,6 +80,7 @@ ...@@ -80,6 +80,7 @@
v-model="model.cpdgrp.orc.pts.ref" v-model="model.cpdgrp.orc.pts.ref"
maxlength="16" maxlength="16"
placeholder="" placeholder=""
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -90,6 +91,7 @@ ...@@ -90,6 +91,7 @@
v-model="model.cpdgrp.rec.orcact" v-model="model.cpdgrp.rec.orcact"
maxlength="35" maxlength="35"
placeholder="汇款人账号" placeholder="汇款人账号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -210,10 +212,10 @@ ...@@ -210,10 +212,10 @@
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -256,10 +258,10 @@ ...@@ -256,10 +258,10 @@
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -86,10 +86,10 @@ ...@@ -86,10 +86,10 @@
@change="commonExecuteRule('cpdgrp.cbs.nom1.cur')" @change="commonExecuteRule('cpdgrp.cbs.nom1.cur')"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</c-form-item> </c-form-item>
...@@ -142,13 +142,12 @@ ...@@ -142,13 +142,12 @@
@keyup.enter.native="showGridPromptDialog('cptp.draweecountcode')" @keyup.enter.native="showGridPromptDialog('cptp.draweecountcode')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
size="small"                 size="small"
type="primary"                 type="primary"
@click="onCptpSelbut"                 icon="el-icon-search"
icon="el-icon-search"                 @click="showGridPromptDialog('cptp.selbut', null, null,{TXT: 'cptp.draweecountcode'}, {TXT: false},'doxpDialog')"
style="margin-left:10px;padding: 0 10px;">               > </c-button>
</c-button>
</template> </template>
</c-fullbox> </c-fullbox>
</el-form-item> </el-form-item>
...@@ -338,10 +337,10 @@ ...@@ -338,10 +337,10 @@
placeholder="请选择国外费用币种" placeholder="请选择国外费用币种"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
> >
</el-option> </el-option>
</c-select> </c-select>
......
...@@ -68,6 +68,14 @@ ...@@ -68,6 +68,14 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
<c-grid-ety-prompt-dialog
        ref="doxpDialog"
        :isPty="false"
        :promptData="promptData"
        @select-ety="selectMsg"
      >
      </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</c-page> </c-page>
</template> </template>
......
...@@ -28,34 +28,34 @@ ...@@ -28,34 +28,34 @@
" "
></c-input> ></c-input>
</el-form-item> </el-form-item>
<!-- </c-col> <template slot="footer">
<c-col :span="6" style="text-align: right"> <!-- <c-button
<el-form-item label="" label-width="15px"> --> style="margin:0 10px 0 10px;padding: 0 12px;"
<!-- <c-col :span="12"> --> size="small"
<template slot="footer"> type="primary"
<c-button icon="el-icon-search"
style="margin:0 10px 0 10px;padding: 0 12px;" >
size="small" </c-button> -->
type="primary" <c-button
icon="el-icon-search"                 size="small"
>                 type="primary"
</c-button>                 icon="el-icon-search"
<!-- </c-col> -->                 @click="showGridPromptDialog('ptsget.sdamod.seainf', null, null,{TXT: 'cpdgrp.ori.pts.extkey'}, {TXT: false},'doxpDialog')"
<!-- <c-col :span="12"> -->               >
<c-button             </c-button>
style="margin:0 0"
size="small"
type="primary" <c-button
@click="onSndpDet" style="margin:0 0"
disabled size="small"
> type="primary"
详情 @click="onSndpDet"
</c-button> disabled
</template> >
<!-- </c-col> --> 详情
<!-- </el-form-item> --> </c-button>
</c-fullbox> </template>
<!-- </c-col> --> </c-fullbox>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
...@@ -151,7 +151,7 @@ ...@@ -151,7 +151,7 @@
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-show="false">
<el-form-item label="收款人名称" prop="pyenam"> <el-form-item label="收款人名称" prop="pyenam">
<c-input <c-input
v-model="model.pyenam" v-model="model.pyenam"
...@@ -161,7 +161,7 @@ ...@@ -161,7 +161,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" v-show="false">
<el-form-item label="清算费用锁定服务" prop="cptp.qsfysd"> <el-form-item label="清算费用锁定服务" prop="cptp.qsfysd">
<c-select <c-select
v-model="model.cptp.qsfysd" v-model="model.cptp.qsfysd"
...@@ -256,12 +256,11 @@ ...@@ -256,12 +256,11 @@
v-model="model.cpdgrp.rec.curf33b" v-model="model.cpdgrp.rec.curf33b"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="model.cpdgrp.orc.pts.extkey && model.cpdgrp.pye.pts.extkey"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
...@@ -273,10 +272,11 @@ ...@@ -273,10 +272,11 @@
label-width="8px" label-width="8px"
prop="cpdgrp.rec.amtf33b" prop="cpdgrp.rec.amtf33b"
> >
<!-- :disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''" -->
<c-input <c-input
v-model="model.cpdgrp.rec.amtf33b" v-model="model.cpdgrp.rec.amtf33b"
placeholder="请输入原始金额" placeholder="请输入原始金额"
:disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -287,7 +287,6 @@ ...@@ -287,7 +287,6 @@
<c-input <c-input
v-model="model.cpdgrp.rec.f36" v-model="model.cpdgrp.rec.f36"
placeholder="" placeholder=""
:disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -302,13 +301,13 @@ ...@@ -302,13 +301,13 @@
v-model="model.cpdgrp.rec.cur71f" v-model="model.cpdgrp.rec.cur71f"
placeholder="" placeholder=""
style="width: 100%" style="width: 100%"
:disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -322,7 +321,6 @@ ...@@ -322,7 +321,6 @@
<c-input <c-input
v-model="model.cpdgrp.rec.amt71f" v-model="model.cpdgrp.rec.amt71f"
placeholder="请输入发报行扣费金额" placeholder="请输入发报行扣费金额"
:disabled="model.cpdgrp.orc.pts.extkey != '' && model.cpdgrp.pye.pts.extkey != ''"
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -118,9 +118,9 @@ ...@@ -118,9 +118,9 @@
@change="onNom1CurChange" @change="onNom1CurChange"
> >
<el-option <el-option
v-for="item in codes.cur" v-for="item in codes.currencycode"
:key="item.value" :key="item.value"
:label="item.label" :label="item.value+item.label"
:value="item.value" :value="item.value"
></el-option> ></el-option>
</c-select> </c-select>
...@@ -206,7 +206,7 @@ ...@@ -206,7 +206,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 100%" style="width: 100%"
placeholder="" placeholder=""
:disabled="!model.cpdgrp.rec.ischktyp || model.cpdgrp.rec.ischktyp == 'N'" :disabled=this.flag1
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -348,33 +348,35 @@ ...@@ -348,33 +348,35 @@
<c-col :span="24"> <c-col :span="24">
<c-fullbox> <c-fullbox>
<el-form-item <c-col :span="20">
label="收款人常驻国家/地区代码" <c-col :span="21">
prop="cptp.payeecountcode" <el-form-item
> label="收款人常驻国家/地区代码"
<c-input prop="cptp.payeecountcode">
v-model="model.cptp.payeecountcode" <c-input
maxlength="3" v-model="model.cptp.payeecountcode"
placeholder="请输入收款人常驻国家/地区代码" maxlength="3"
@keyup.enter.native=" placeholder="请输入收款人常驻国家/地区代码"
showGridPromptDialog('cptp.payeecountcode') @keyup.enter.native="
" showGridPromptDialog('cptp.payeecountcode')
style="width: 100%" "
></c-input> style="width: 100%"
</el-form-item> ></c-input>
</el-form-item>
</c-col>
<c-col :span="3">
<c-button
                size="small"
                type="primary"
                icon="el-icon-search"
                @click="showGridPromptDialog('cptp.selbut1', null, null,{TXT: 'cptp.payeecountcode'}, {TXT: false},'doxpDialog')"
              > </c-button>
</c-col>
</c-col>
<template slot="footer"> <c-col :span="4" style="float: right">
<c-button <c-checkbox v-model="model.cpdgrp.rec.tsnflg" label-width="150px" >同名划转</c-checkbox>
size="small" </c-col>
type="primary"
icon="el-icon-search"
@click="onCptpGetinf"
>
</c-button>
<c-checkbox v-model="model.cpdgrp.rec.tsnflg"
>同名划转</c-checkbox
>
</template>
</c-fullbox> </c-fullbox>
</c-col> </c-col>
...@@ -466,7 +468,7 @@ export default { ...@@ -466,7 +468,7 @@ export default {
{ value: "O", label: "Other" }, { value: "O", label: "Other" },
{ value: "S", label: "CIPS系统" }, { value: "S", label: "CIPS系统" },
], ],
flag1:false,
}; };
}, },
methods: { methods: {
...@@ -474,6 +476,20 @@ export default { ...@@ -474,6 +476,20 @@ export default {
onCptpGetref() {}, onCptpGetref() {},
onCptpGetmod() {}, onCptpGetmod() {},
}, },
watch:{
"model.cpdgrp.rec.ischktyp":{
immediate:true,
handler(val ,oldVal){
if(this.model.cpdgrp.rec.ischktyp == 'N'){
this.flag1=true;
this.model.cpdgrp.rec.paydat="";
}
else{
this.flag1=false;
}
}
},
},
created: function () {}, created: function () {},
computed: { computed: {
flag() { flag() {
......
...@@ -96,7 +96,14 @@ ...@@ -96,7 +96,14 @@
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
<c-grid-ety-prompt-dialog
        ref="doxpDialog"
        :isPty="false"
        :promptData="promptData"
        @select-ety="selectMsg"
      >
      </c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog> <c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</c-page> </c-page>
</template> </template>
......
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
placeholder="请选择Currency" placeholder="请选择Currency"
:code="codes.currencycode" :code="codes.currencycode"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -221,7 +222,7 @@ ...@@ -221,7 +222,7 @@
<c-col :span="24"> <c-col :span="24">
<c-istream-table :list="stmData.data" <c-istream-table :list="stmData.data"
:columns="columns" :showButtonFlg="true"> :columns="columns">
<el-table-column fixed="right" prop="op" label="操作" width="150px"> <el-table-column fixed="right" prop="op" label="操作" width="150px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-popover <el-popover
...@@ -325,7 +326,7 @@ export default { ...@@ -325,7 +326,7 @@ export default {
width: 100, width: 100,
pattern: "code", pattern: "code",
label: "状态", label: "状态",
code: "relstaEN", code: this.codes.relstaEN,
}, },
'5 5 "币种" 80', '5 5 "币种" 80',
'6 6 "金额" 110', '6 6 "金额" 110',
...@@ -336,7 +337,7 @@ export default { ...@@ -336,7 +337,7 @@ export default {
'1 1 "Reference" 140', '1 1 "Reference" 140',
'2 2 "Resp. User" 100', '2 2 "Resp. User" 100',
//'3 3 "Goods Code" 100 1 0 1 GODCOD', //'3 3 "Goods Code" 100 1 0 1 GODCOD',
{ index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":"godcod"}, { index: 3, position: 3, width: 100, pattern: "code", label: "Goods Code" ,"code":this.codes.godcod},
'7 4 "Party Number1" 133', '7 4 "Party Number1" 133',
'8 5 "Applicant" 160', '8 5 "Applicant" 160',
'9 6 "Applicant CN" 133', '9 6 "Applicant CN" 133',
...@@ -386,6 +387,9 @@ export default { ...@@ -386,6 +387,9 @@ export default {
this.trnData.data = rtnmsg.data.infcon_trnstm.rows; this.trnData.data = rtnmsg.data.infcon_trnstm.rows;
} }
}, },
async closeTrn(refId) {
this.$refs[refId].doClose();
},
}, },
created: function () {}, created: function () {},
}; };
......
...@@ -401,7 +401,8 @@ ...@@ -401,7 +401,8 @@
</el-table-column> </el-table-column>
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<!-- <m-busbtn ref="childs" :ownref="ownref" @onChoose="onChoose"></m-busbtn> -->
<m-busbtn ref="childs" :ownref="ownref" trnCode="cptsel" :model="cptselModel" ownrefPath="cpdgrp" @onChoose="onChoose" >11</m-busbtn>
</div> </div>
</template> </template>
...@@ -411,6 +412,7 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -411,6 +412,7 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Infcpd/Event"; import Event from "~/model/Infcpd/Event";
import BusNavbar from "~/views/Public/BusNavbar"; import BusNavbar from "~/views/Public/BusNavbar";
import CptselModel from "~/model/Cptsel"
export default { export default {
...@@ -427,6 +429,7 @@ export default { ...@@ -427,6 +429,7 @@ export default {
{ label: "Payee", value: "PYE" }, { label: "Payee", value: "PYE" },
{ label: "Reimb. Bank Transfer", value: "RMT" }, { label: "Reimb. Bank Transfer", value: "RMT" },
], ],
cptselModel: new CptselModel().data,
searchToggle: true, searchToggle: true,
ownref: "", ownref: "",
dialogTableVisible: false, dialogTableVisible: false,
...@@ -443,7 +446,7 @@ export default { ...@@ -443,7 +446,7 @@ export default {
width: 100, width: 100,
pattern: "code", pattern: "code",
label: "状态", label: "状态",
code: this.codes.relstaEN, code: "relstaEN",
}, },
'5 5 "币种" 80', '5 5 "币种" 80',
'6 6 "金额" 100', '6 6 "金额" 100',
...@@ -541,7 +544,6 @@ export default { ...@@ -541,7 +544,6 @@ export default {
closeTrn(refId){ closeTrn(refId){
this.$refs[refId].doClose(); this.$refs[refId].doClose();
}, },
handleReset() {},
toCptopn(){ toCptopn(){
this.$router.history.push("/business/cptopn") this.$router.history.push("/business/cptopn")
}, },
......
...@@ -327,6 +327,7 @@ ...@@ -327,6 +327,7 @@
v-model="model.bedgrp.rec.doctypcod" v-model="model.bedgrp.rec.doctypcod"
style="width: 100%" style="width: 100%"
placeholder="请选择Document Type" placeholder="请选择Document Type"
:code="codes.doctypcod1"
disabled disabled
> >
</c-select> </c-select>
......
...@@ -182,6 +182,8 @@ export default { ...@@ -182,6 +182,8 @@ export default {
}, },
methods:{ methods:{
getType(idx) { getType(idx) {
console.log(this.codes);
for (let i = 0; i < this.codes.doceotCortyp.length; i++) { for (let i = 0; i < this.codes.doceotCortyp.length; i++) {
const c = this.codes.doceotCortyp[i]; const c = this.codes.doceotCortyp[i];
if (this.model.trnmod.trndoc.doceot[idx].cortyp === c.value) { if (this.model.trnmod.trndoc.doceot[idx].cortyp === c.value) {
......
<template>
<ReviewWrapper>
<Betdrv></Betdrv>
</ReviewWrapper>
</template>
<script>
import Betdrv from "~/views/Business/Betdrv";
import { ReviewWrapper } from "~/components/gj-common.min.js";
export default {
name: "ReviewBetdrv",
components: { ReviewWrapper, Betdrv },
created() {},
mounted() {},
};
</script>
<style></style>
...@@ -20,6 +20,7 @@ import ReviewLetame from "./Business/ReviewLetame.vue"; ...@@ -20,6 +20,7 @@ import ReviewLetame from "./Business/ReviewLetame.vue";
import ReviewLetdrw from "./Business/ReviewLetdrw.vue"; import ReviewLetdrw from "./Business/ReviewLetdrw.vue";
import ReviewLetdav from "./Business/ReviewLetdav.vue"; import ReviewLetdav from "./Business/ReviewLetdav.vue";
import ReviewLetcan from "./Business/ReviewLetcan.vue"; import ReviewLetcan from "./Business/ReviewLetcan.vue";
import ReviewBetdrv from "./Business/ReviewBetdrv.vue";
import ReviewLitame from "./Business/ReviewLitame.vue"; import ReviewLitame from "./Business/ReviewLitame.vue";
import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue"; import ReviewBdtdcr from "./Business/ReviewBdtdcr.vue";
import ReviewBdteus from "./Business/ReviewBdteus.vue"; import ReviewBdteus from "./Business/ReviewBdteus.vue";
...@@ -81,7 +82,8 @@ const ReviewRouter = [ ...@@ -81,7 +82,8 @@ const ReviewRouter = [
{ path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } }, { path: "letame", component: ReviewLetame, name: "ReviewLetame", meta: { title: "复核-Letame" } },
{ path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } }, { path: "letdrw", component: ReviewLetdrw, name: "ReviewLetdrw", meta: { title: "复核-Letdrw" } },
{ path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } }, { path: "letdav", component: ReviewLetdav, name: "ReviewLetdav", meta: { title: "复核-Letdav" } },
{ path: "letcan", component: ReviewLetdav, name: "ReviewLetcan", meta: { title: "复核-Letcan" } }, { path: "letcan", component: ReviewLetcan, name: "ReviewLetcan", meta: { title: "复核-Letcan" } },
{ path: "betdrv", component: ReviewBetdrv, name: "ReviewBetdrv", meta: { title: "复核-Betdrv" } },
{ path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } }, { path: "litopn", component: ReviewLitopn, name: "ReviewLitopn", meta: { title: "复核-Litopn" } },
{ path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } }, { path: "bftset", component: ReviewBftset, name: "ReviewBftset", meta: { title: "复核-Bftset" } },
{ path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } }, { path: "litame", component: ReviewLitame, name: "ReviewLitame", meta: { title: "复核-Litame" } },
......
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