Commit e3be8193 by nanrui

cltsel初始化

parent 2638a639
import Utils from "~/utils"
/**
* Cltsel Check规则
*/
let checkObj = {
}
for (const key in checkObj) {
if (Object.hasOwnProperty.call(checkObj, key)) {
checkObj[key] = checkObj[key] ? checkObj[key] : Utils.reflectCheck(key)
}
}
export default checkObj
/**
* Cltsel Default规则
*/
import Api from "~/service/Api";
import Utils from "~/utils/index"
export default {
"cfgfil.subtrn1" :Utils.defaultFunction,
"selbut.sptpenlab_descr" :Utils.defaultFunction,
"selbut.sptpenlab" :Utils.defaultFunction,
"cldgrp.rec.ownref" :Utils.defaultFunction,
"selbut.trnpenlab" :Utils.defaultFunction,
"selbut.trnpenlab_descr" :Utils.defaultFunction,
"clsflg" :Utils.defaultFunction,
"cfgfil.subtxt10" :Utils.defaultFunction,
"cfgfil.subtrn10" :Utils.defaultFunction,
"cfgfil.subtrn11" :Utils.defaultFunction,
"cfgfil.subtxt11" :Utils.defaultFunction,
"cfgfil.subtxt1" :Utils.defaultFunction,
"cfgfil.subtrn9" :Utils.defaultFunction,
"cfgfil.subtxt9" :Utils.defaultFunction,
"cfgfil.subtrn8" :Utils.defaultFunction,
"cfgfil.subtxt8" :Utils.defaultFunction,
"cfgfil.subtrn7" :Utils.defaultFunction,
"cfgfil.subtxt7" :Utils.defaultFunction,
"cfgfil.subtrn6" :Utils.defaultFunction,
"cfgfil.subtxt6" :Utils.defaultFunction,
"cfgfil.subtrn5" :Utils.defaultFunction,
"cfgfil.subtxt5" :Utils.defaultFunction,
"cfgfil.subtrn4" :Utils.defaultFunction,
"cfgfil.subtxt4" :Utils.defaultFunction,
"cfgfil.subtrn3" :Utils.defaultFunction,
"cfgfil.subtxt3" :Utils.defaultFunction,
"cfgfil.subtrn2" :Utils.defaultFunction,
"cfgfil.subtxt2" :Utils.defaultFunction,
}
//你可以添加自动default处理
import Api from "~/service/Api"
import Utils from "~/utils"
export default {
}
\ No newline at end of file
export default {
"recget.sdamod.dadsnd":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cldgrp.rec.ownref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"recget.sdamod.seainf":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cldgrp.rec.nam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cldgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cldgrp.rec.chktyp":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cldgrp.rec.colflg":[
{type: "string", required: false, message: "必输项"},
{max: 1,message:"长度不能超过1"}
],
"cldgrp.cbs.opn1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"cldgrp.rec.colref":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cldgrp.rec.colptynam":[
{type: "string", required: false, message: "必输项"},
{max: 40,message:"长度不能超过40"}
],
"cldgrp.rec.credat":[
{type: "date", required: false, message: "输入正确的日期"}
],
"cldgrp.rec.count":[
{type: "string", required: false, message: "必输项"},
{max: 3,message:"长度不能超过3"}
],
"cfgfil.bitmap":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub1":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg2":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub5":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub6":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg3":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub7":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub9":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside4":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg8":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.regside12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotreg12":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub10":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
"cfgfil.hotsub11":[
{type: "string", required: false, message: "必输项"},
{max: 16,message:"长度不能超过16"}
],
}
\ No newline at end of file
import Api from "~/service/Api"
import Pts from "../Common/Pts"
export default class Cltsel{
constructor () {
this.data = {
selbut:{
dspclsdat:"", // Label Closed .selbut.dspclsdat
dsppndram:"", // Display Number of Req. of Amendment .selbut.dsppndram
sptpenlab:"", // Label showing pending items stored for contract .selbut.sptpenlab
trnpenlab:"", // Label showing stored uncommited transactions for contract .selbut.trnpenlab
sptpenlab_descr:"", // Description for SPTPENLAB .selbut.sptpenlab_descr
trnpenlab_descr:"", // Description for TRNPENLAB .selbut.trnpenlab_descr
},
dspbpd:"", // Display BPE Contract .dspbpd
dspbpdclsdat:"", // Display Closing Date of Advance .dspbpdclsdat
recget:{
sdamod:{
seainf:"", // .recget.sdamod.seainf
dadsnd:"", // Drag Drop Sender .recget.sdamod.dadsnd
},
},
clsflg:"", // Show closed Contract .clsflg
cldgrp:{
rec:{
ownref:"", // Reference .cldgrp.rec.ownref
nam:"", // Name of CC contract .cldgrp.rec.nam
colref:"", // Coll.bank ref. .cldgrp.rec.colref
colptynam:"", // Col.bank name .cldgrp.rec.colptynam
credat:"", // Date of creation .cldgrp.rec.credat
count:"", // Item Count .cldgrp.rec.count
chktyp:"", // Type of Draft .cldgrp.rec.chktyp
colflg:"", // Payemnt Disposition .cldgrp.rec.colflg
inr:"",
},
cbs:{
max:{
amt:"", // Document Amount .cldgrp.cbs.max.amt
cur:"", // Document Amount .cldgrp.cbs.max.cur
},
opn1:{
cur:"", // Open Amount .cldgrp.cbs.opn1.cur
amt:"", // Open Amount .cldgrp.cbs.opn1.amt
},
},
},
cfgfil:{
bitmap:"", // Bitmap for folder .cfgfil.bitmap
regside1:"", // Regside .cfgfil.regside1
regside2:"", // Regside .cfgfil.regside2
regside3:"", // Regside .cfgfil.regside3
regside4:"", // Regside .cfgfil.regside4
regside5:"", // Regside .cfgfil.regside5
regside6:"", // Regside .cfgfil.regside6
regside7:"", // Regside .cfgfil.regside7
regside8:"", // Regside .cfgfil.regside8
regside9:"", // Regside .cfgfil.regside9
regside10:"", // Regside .cfgfil.regside10
regside11:"", // Regside .cfgfil.regside11
regside12:"", // Regside .cfgfil.regside12
subtxt1:"", // submenu text 1 .cfgfil.subtxt1
subtxt2:"", // submenu text 2 .cfgfil.subtxt2
subtxt3:"", // submenu text 3 .cfgfil.subtxt3
subtxt4:"", // submenu text 4 .cfgfil.subtxt4
subtxt5:"", // submenu text 5 .cfgfil.subtxt5
subtxt6:"", // submenu text 6 .cfgfil.subtxt6
subtxt7:"", // submenu text 7 .cfgfil.subtxt7
subtxt8:"", // submenu text 8 .cfgfil.subtxt8
subtxt9:"", // submenu text 9 .cfgfil.subtxt9
subtxt10:"", // submenu text 10 .cfgfil.subtxt10
subtxt11:"", // submenu text 11 .cfgfil.subtxt11
regtxt1:"", // Register text 1 .cfgfil.regtxt1
regtxt2:"", // Register text 2 .cfgfil.regtxt2
regtxt3:"", // Register text 3 .cfgfil.regtxt3
regtxt4:"", // Register text 4 .cfgfil.regtxt4
regtxt5:"", // Register text 5 .cfgfil.regtxt5
regtxt6:"", // Register text 6 .cfgfil.regtxt6
regtxt7:"", // Register text 7 .cfgfil.regtxt7
regtxt8:"", // Register text 8 .cfgfil.regtxt8
regtxt9:"", // Register text 9 .cfgfil.regtxt9
regtxt10:"", // Register text 10 .cfgfil.regtxt10
regtxt11:"", // Register text 11 .cfgfil.regtxt11
regtxt12:"", // Register text 12 .cfgfil.regtxt12
hotsub1:"", // hotspot submenu 1 .cfgfil.hotsub1
hotsub2:"", // hotspot submenu 1 .cfgfil.hotsub2
hotsub3:"", // hotspot submenu 1 .cfgfil.hotsub3
hotsub4:"", // hotspot submenu 1 .cfgfil.hotsub4
hotsub5:"", // hotspot submenu 1 .cfgfil.hotsub5
hotsub6:"", // hotspot submenu 1 .cfgfil.hotsub6
hotsub7:"", // hotspot submenu 1 .cfgfil.hotsub7
hotsub8:"", // hotspot submenu 1 .cfgfil.hotsub8
hotsub9:"", // hotspot submenu 1 .cfgfil.hotsub9
hotsub10:"", // hotspot submenu 1 .cfgfil.hotsub10
hotsub11:"", // hotspot submenu 1 .cfgfil.hotsub11
hotreg1:"", // hotspot reg1 .cfgfil.hotreg1
hotreg2:"", // hotspot reg2 .cfgfil.hotreg2
hotreg3:"", // hotspot reg3 .cfgfil.hotreg3
hotreg4:"", // hotspot reg4 .cfgfil.hotreg4
hotreg5:"", // hotspot reg5 .cfgfil.hotreg5
hotreg6:"", // hotspot reg6 .cfgfil.hotreg6
hotreg7:"", // hotspot reg7 .cfgfil.hotreg7
hotreg8:"", // hotspot reg8 .cfgfil.hotreg8
hotreg9:"", // hotspot reg9 .cfgfil.hotreg9
hotreg10:"", // hotspot reg10 .cfgfil.hotreg10
hotreg11:"", // hotspot reg11 .cfgfil.hotreg11
hotreg12:"", // hotspot reg12 .cfgfil.hotreg12
subtrn1:"", // Submenu trn 1 .cfgfil.subtrn1
subtrn2:"", // Submenu trn 2 .cfgfil.subtrn2
subtrn3:"", // Submenu trn 3 .cfgfil.subtrn3
subtrn4:"", // Submenu trn 4 .cfgfil.subtrn4
subtrn5:"", // Submenu trn 5 .cfgfil.subtrn5
subtrn6:"", // Submenu trn 6 .cfgfil.subtrn6
subtrn7:"", // Submenu trn 7 .cfgfil.subtrn7
subtrn8:"", // Submenu trn 8 .cfgfil.subtrn8
subtrn9:"", // Submenu trn 9 .cfgfil.subtrn9
subtrn10:"", // Submenu trn 10 .cfgfil.subtrn10
subtrn11:"", // Submenu trn 11 .cfgfil.subtrn11
btnstm:[],
},
pageId: "" // ctx的key
}
}
}
\ No newline at end of file
<template>
<div class="eibs-tab">
<c-col :span="12">
<c-form-item label="Drag Drop Sender" prop="recget.sdamod.dadsnd">
<c-input v-model="model.recget.sdamod.dadsnd" :placeholder="$t('other.please_enter')+'Drag Drop Sender'"></c-input>
</c-form-item>
</c-col>
<!-- S0000085 : Reference -->
<c-col :span="12">
<c-form-item :label="$t('cltsel.S0000085')" prop="cldgrp.rec.ownref">
<c-input v-model="model.cldgrp.rec.ownref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cltsel.S0000085')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="" prop="recget.sdamod.seainf">
<c-input v-model="model.recget.sdamod.seainf" :placeholder="$t('other.please_enter')+''"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-checkbox v-model="model.clsflg">{{$t('cltsel.CF000110')}}</c-checkbox>
</c-col>
<!-- S0000087 : Name -->
<c-col :span="12">
<c-form-item label="Name of CC contract" prop="cldgrp.rec.nam">
<c-input v-model="model.cldgrp.rec.nam" maxlength="40" :placeholder="$t('other.please_enter')+'Name of CC contract'"></c-input>
</c-form-item>
</c-col>
<!-- S0000064 : Document Amount -->
<c-col :span="12">
<el-form-item :label="$t('cltsel.S0000064')" prop="cldgrp.cbs.max.cur">
<c-select v-model="model.cldgrp.cbs.max.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('cltsel.S0000064')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cltsel.S0000064')" prop="cldgrp.cbs.max.amt">
<c-input v-model="model.cldgrp.cbs.max.amt" :placeholder="$t('other.please_enter')+$t('cltsel.S0000064')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Type of Draft" prop="cldgrp.rec.chktyp">
<c-input v-model="model.cldgrp.rec.chktyp" maxlength="1" :placeholder="$t('other.please_enter')+'Type of Draft'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Payemnt Disposition" prop="cldgrp.rec.colflg">
<c-input v-model="model.cldgrp.rec.colflg" maxlength="1" :placeholder="$t('other.please_enter')+'Payemnt Disposition'"></c-input>
</c-form-item>
</c-col>
<!-- S0000052 : Open Amount -->
<c-col :span="12">
<el-form-item :label="$t('cltsel.S0000052')" prop="cldgrp.cbs.opn1.cur">
<c-select v-model="model.cldgrp.cbs.opn1.cur" style="width:100%" :placeholder="$t('other.please_enter')+$t('cltsel.S0000052')">
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<c-form-item :label="$t('cltsel.S0000052')" prop="cldgrp.cbs.opn1.amt">
<c-input v-model="model.cldgrp.cbs.opn1.amt" :placeholder="$t('other.please_enter')+$t('cltsel.S0000052')"></c-input>
</c-form-item>
</c-col>
<!-- SG000115 : Coll.bank ref. -->
<c-col :span="12">
<c-form-item :label="$t('cltsel.SG000115')" prop="cldgrp.rec.colref">
<c-input v-model="model.cldgrp.rec.colref" maxlength="16" :placeholder="$t('other.please_enter')+$t('cltsel.SG000115')"></c-input>
</c-form-item>
</c-col>
<!-- SG000116 : Col.bank name -->
<c-col :span="12">
<c-form-item :label="$t('cltsel.SG000116')" prop="cldgrp.rec.colptynam">
<c-input v-model="model.cldgrp.rec.colptynam" maxlength="40" :placeholder="$t('other.please_enter')+$t('cltsel.SG000116')"></c-input>
</c-form-item>
</c-col>
<!-- SG000117 : Date of creation -->
<c-col :span="12">
<el-form-item :label="$t('cltsel.SG000117')" prop="cldgrp.rec.credat">
<c-date-picker type="date" v-model="model.cldgrp.rec.credat" style="width:100%" :placeholder="$t('other.please_enter')+$t('cltsel.SG000117')"></c-date-picker>
</el-form-item>
</c-col>
<!-- SG000118 : Item Count -->
<c-col :span="12">
<c-form-item :label="$t('cltsel.SG000118')" prop="cldgrp.rec.count">
<c-input v-model="model.cldgrp.rec.count" :placeholder="$t('other.please_enter')+$t('cltsel.SG000118')"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Bitmap for folder" prop="cfgfil.bitmap">
<c-input v-model="model.cfgfil.bitmap" :placeholder="$t('other.please_enter')+'Bitmap for folder'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside1">
<c-input v-model="model.cfgfil.regside1" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg1" prop="cfgfil.hotreg1">
<c-input v-model="model.cfgfil.hotreg1" :placeholder="$t('other.please_enter')+'hotspot reg1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside5">
<c-input v-model="model.cfgfil.regside5" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg5" prop="cfgfil.hotreg5">
<c-input v-model="model.cfgfil.hotreg5" :placeholder="$t('other.please_enter')+'hotspot reg5'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside9">
<c-input v-model="model.cfgfil.regside9" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg9" prop="cfgfil.hotreg9">
<c-input v-model="model.cfgfil.hotreg9" :placeholder="$t('other.please_enter')+'hotspot reg9'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt1" data-path=".cfgfil.regtxt1" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt5" data-path=".cfgfil.regtxt5" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt9" data-path=".cfgfil.regtxt9" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.dspbpd" data-path=".dspbpd" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub1">
<c-input v-model="model.cfgfil.hotsub1" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt1" data-path=".cfgfil.subtxt1" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn1" data-path=".cfgfil.subtrn1" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub2">
<c-input v-model="model.cfgfil.hotsub2" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt2" data-path=".cfgfil.subtxt2" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn2" data-path=".cfgfil.subtrn2" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt3" data-path=".cfgfil.subtxt3" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub3">
<c-input v-model="model.cfgfil.hotsub3" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside2">
<c-input v-model="model.cfgfil.regside2" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg2" prop="cfgfil.hotreg2">
<c-input v-model="model.cfgfil.hotreg2" :placeholder="$t('other.please_enter')+'hotspot reg2'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside6">
<c-input v-model="model.cfgfil.regside6" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg6" prop="cfgfil.hotreg6">
<c-input v-model="model.cfgfil.hotreg6" :placeholder="$t('other.please_enter')+'hotspot reg6'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside10">
<c-input v-model="model.cfgfil.regside10" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg10" prop="cfgfil.hotreg10">
<c-input v-model="model.cfgfil.hotreg10" :placeholder="$t('other.please_enter')+'hotspot reg10'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt2" data-path=".cfgfil.regtxt2" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt6" data-path=".cfgfil.regtxt6" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt10" data-path=".cfgfil.regtxt10" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn3" data-path=".cfgfil.subtrn3" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub4">
<c-input v-model="model.cfgfil.hotsub4" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt4" data-path=".cfgfil.subtxt4" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn4" data-path=".cfgfil.subtrn4" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub5">
<c-input v-model="model.cfgfil.hotsub5" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt5" data-path=".cfgfil.subtxt5" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn5" data-path=".cfgfil.subtrn5" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub6">
<c-input v-model="model.cfgfil.hotsub6" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt6" data-path=".cfgfil.subtxt6" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn6" data-path=".cfgfil.subtrn6" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside3">
<c-input v-model="model.cfgfil.regside3" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg3" prop="cfgfil.hotreg3">
<c-input v-model="model.cfgfil.hotreg3" :placeholder="$t('other.please_enter')+'hotspot reg3'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside7">
<c-input v-model="model.cfgfil.regside7" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg7" prop="cfgfil.hotreg7">
<c-input v-model="model.cfgfil.hotreg7" :placeholder="$t('other.please_enter')+'hotspot reg7'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside11">
<c-input v-model="model.cfgfil.regside11" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg11" prop="cfgfil.hotreg11">
<c-input v-model="model.cfgfil.hotreg11" :placeholder="$t('other.please_enter')+'hotspot reg11'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt3" data-path=".cfgfil.regtxt3" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt7" data-path=".cfgfil.regtxt7" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt11" data-path=".cfgfil.regtxt11" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt7" data-path=".cfgfil.subtxt7" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.dsppndram" data-path=".selbut.dsppndram" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub7">
<c-input v-model="model.cfgfil.hotsub7" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn7" data-path=".cfgfil.subtrn7" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub8">
<c-input v-model="model.cfgfil.hotsub8" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt8" data-path=".cfgfil.subtxt8" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn8" data-path=".cfgfil.subtrn8" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt9" data-path=".cfgfil.subtxt9" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub9">
<c-input v-model="model.cfgfil.hotsub9" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn9" data-path=".cfgfil.subtrn9" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg4" prop="cfgfil.hotreg4">
<c-input v-model="model.cfgfil.hotreg4" :placeholder="$t('other.please_enter')+'hotspot reg4'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.sptpenlab_descr" data-path=".selbut.sptpenlab_descr" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside4">
<c-input v-model="model.cfgfil.regside4" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside8">
<c-input v-model="model.cfgfil.regside8" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg8" prop="cfgfil.hotreg8">
<c-input v-model="model.cfgfil.hotreg8" :placeholder="$t('other.please_enter')+'hotspot reg8'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="Regside" prop="cfgfil.regside12">
<c-input v-model="model.cfgfil.regside12" :placeholder="$t('other.please_enter')+'Regside'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot reg12" prop="cfgfil.hotreg12">
<c-input v-model="model.cfgfil.hotreg12" :placeholder="$t('other.please_enter')+'hotspot reg12'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt4" data-path=".cfgfil.regtxt4" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt8" data-path=".cfgfil.regtxt8" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.regtxt12" data-path=".cfgfil.regtxt12" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub10">
<c-input v-model="model.cfgfil.hotsub10" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt10" data-path=".cfgfil.subtxt10" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn10" data-path=".cfgfil.subtrn10" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.sptpenlab" data-path=".selbut.sptpenlab" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.dspclsdat" data-path=".selbut.dspclsdat" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtrn11" data-path=".cfgfil.subtrn11" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.cfgfil.subtxt11" data-path=".cfgfil.subtxt11" > </span>
</c-col>
<c-col :span="12">
<c-form-item label="hotspot submenu 1" prop="cfgfil.hotsub11">
<c-input v-model="model.cfgfil.hotsub11" :placeholder="$t('other.please_enter')+'hotspot submenu 1'"></c-input>
</c-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.trnpenlab_descr" data-path=".selbut.trnpenlab_descr" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.dspbpdclsdat" data-path=".dspbpdclsdat" > </span>
</c-col>
<c-col :span="12">
<span v-text="model.selbut.trnpenlab" data-path=".selbut.trnpenlab" > </span>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api"
import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Cltsel/Event"
export default {
inject: ['root'],
props:["model","codes"],
mixins: [commonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
</script>
<style>
</style>
<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">
<!--cltsel PD000027 Menu -->
<el-tab-pane :label="$t('cltsel.PD000027')" name="sel">
<m-sel :model="model" :codes="codes"/>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Cltsel from "~/model/Cltsel"
import commonProcess from "~/mixin/commonProcess"
import Check from "~/model/Cltsel/Check"
import Default from "~/model/Cltsel/Default"
import Pattern from "~/model/Cltsel/Pattern"
import Sel from "./Sel"
export default {
name: "Cltsel",
components:{
"m-sel" : Sel,
},
provide() {
return {
root: this
}
},
mixins: [commonProcess], // 里面包含了Default、Check等的公共处理
data(){
return {
tabVal: "",
trnName: "cltsel",
trnType: "",
model: new Cltsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
},
}
},
methods:{
myTabClick(tab){
this.tabClick(tab)
/**
* do it yourself
**/
}
},
created:async function(){
console.log("进入cltsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
this.updateModel(rtnmsg.data)
//TODO 处理数据逻辑
}
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