Commit 5fcb5db8 by zhengxiaokui

zxk

parent f054d6f3
import Pattern from "../Public/Leds/Pattern"
export default {
...Pattern.blk,
...Pattern.Led,
"letp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -181,18 +184,6 @@ export default {
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.mixdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"letp.avbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -210,10 +201,7 @@ export default {
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
......@@ -226,10 +214,7 @@ export default {
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.preper": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
......@@ -241,20 +226,6 @@ export default {
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.defdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.feetxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.dftat": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"letp.drwp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -306,10 +277,6 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.adv.pts.ref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
......@@ -465,29 +432,6 @@ export default {
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"ledgrp.blk.lcrgod": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.lcrdoc": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.adlcnd": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.insbnk": [
{ type: "string", required: true, message: "必输项" },
{ max: 2000, message: "长度不能超过2000" }
],
"setmod.ref": [
{ type: "string", required: false, message: "必输项" },
......@@ -611,15 +555,6 @@ export default {
"ledgrp.rec.revdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.blk.revcls": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.revnotes": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.cbs.max2.amt": [
{ required: false, message: "必输项" },
......@@ -632,19 +567,6 @@ export default {
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
"ledgrp.blk.addamtcov": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.spcben": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.spcrcb": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"setmod.glemod.gleshwstm": [
{ type: "string", required: false, message: "必输项" },
......
import Rec from './Did'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from '../Blk'
import Blk from './Blk'
export default class Didgrp {
constructor() {
this.data = {
......
export default class Blk {
constructor() {
this.data = {
avbwthtxt: "", // Available in .ledgrp.blk.avbwthtxt
defdet: "", // Deferred Payment Details .ledgrp.blk.defdet
dftat: "", // Drafts at .ledgrp.blk.dftat
shpper: "", // Shipment Period .ledgrp.blk.shpper
mixdet: "", // Mixed Payment Details .ledgrp.blk.mixdet
preper: "", // Presentation Period .ledgrp.blk.preper
feetxt: "", // Additional Details to Code for Charges CHATO .ledgrp.blk.feetxt
lcrgod: "", // Description of Goods .ledgrp.blk.lcrgod
lcrdoc: "", // Documents Required .ledgrp.blk.lcrdoc
adlcnd: "", // Additional Conditions .ledgrp.blk.adlcnd
insbnk: "", // Instructions to Pay., .ledgrp.blk.insbnk
revcls: "", // Revolving Clause .ledgrp.blk.revcls
revnotes: "", // Notes to Beneficiary .ledgrp.blk.revnotes
addamtcov: "", // Covered .ledgrp.blk.addamtcov
spcben: "", // Special Payment Cond. .ledgrp.blk.spcben
spcrcb: "", // Special Payment Cond. .ledgrp.blk.spcrcb
}
}
}
......@@ -2,7 +2,7 @@
import Rec from './Led'
import Cbs from '../Cbs'
import Rol from '../Rol'
import Blk from '../Blk'
import Blk from './Blk'
export default class Ledgrp {
constructor() {
this.data = {
......
export default {
Led: {
"ledgrp.rec.ownref": [
{ type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" }
],
"ledgrp.rec.nam": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"ledgrp.rec.nomtop": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.preadvdt": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.advdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
"ledgrp.rec.expplc": [
{ type: "string", required: false, message: "必输项" },
{ max: 29, message: "长度不能超过29" }
],
"ledgrp.rec.oppbnk": [
{ type: "string", required: false, message: "必输项" },
{ max: 12, message: "长度不能超过12" }
],
"ledgrp.rec.apprultxt": [
{ type: "string", required: false, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" }
],
"ledgrp.rec.prepertxts18": [
{ type: "string", required: false, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.shpfro": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.tenmaxday": [
{ type: "string", required: false, message: "必输项" },
{ max: 4, message: "长度不能超过4" }
],
"ledgrp.rec.porloa": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.pordis": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.shpto": [
{ type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.rec.revtimes": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.revnbr": [
{ type: "string", required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" }
],
"ledgrp.rec.revdat": [
{ type: "date", required: false, message: "输入正确的日期" }
],
},
blk: {
"ledgrp.blk.mixdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.preper": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.defdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.feetxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.dftat": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.lcrgod": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.lcrdoc": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.adlcnd": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.insbnk": [
{ type: "string", required: true, message: "必输项" },
{ max: 2000, message: "长度不能超过2000" }
],
"ledgrp.blk.revcls": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.blk.revnotes": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.addamtcov": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.blk.spcben": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
"ledgrp.blk.spcrcb": [
{ type: "string", required: true, message: "必输项" },
{ max: 52000, message: "长度不能超过52000" }
],
},
}
\ No newline at end of file
import Pts from "./Pts"
import Pts from "../Pts"
export default class Liaall {
constructor() {
this.data = {
......
......@@ -2,8 +2,6 @@ import Trnmod from "./Trnmod";
import Mtabut from './Mtabut'
import Setmod from './Setmod'
import Liaall from './Liaall'
import Blk from './Blk'
import Pts from './Pts'
export default class Publics {
constructor() {
......@@ -12,8 +10,6 @@ export default class Publics {
Mtabut: new Mtabut().data,
Setmod: new Setmod().data,
Liaall: new Liaall().data,
Blk: new Blk().data,
Pts: new Pts().data,
}
}
}
\ No newline at end of file
<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">
<el-form
:model="model"
:rules="rules"
ref="modelForm"
label-width="150px"
label-position="right"
size="small"
:validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000035 -->
<el-tab-pane label="PD000035" name="sel">
<m-sel :model="model" :codes="codes"/>
<el-tab-pane label="查询" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form>
</div>
</template>
<script>
import Api from "~/service/Api"
import CodeTable from "~/config/CodeTable"
import Letsel from "~/model/Letsel"
import CommonProcess from "~/mixin/CommonProcess"
import Check from "~/model/Letsel/Check"
import Default from "~/model/Letsel/Default"
import Pattern from "~/model/Letsel/Pattern"
import Sel from "./Sel"
import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable";
import Letsel from "~/model/Letsel";
import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Letsel/Check";
import Default from "~/model/Letsel/Default";
import Pattern from "~/model/Letsel/Pattern";
import Sel from "./Sel";
export default {
name: "Letsel",
components:{
"m-sel" : Sel,
components: {
"m-sel": Sel,
},
provide() {
return {
root: this
}
root: this,
};
},
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){
data() {
return {
tabVal: "",
tabVal: "sel",
trnName: "letsel",
model: new Letsel().data,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules: null,
codes: {
codes: {},
};
},
}
},
methods:{
tabClick(){
}
methods: {
tabClick() {},
},
created:async function(){
created: async function () {
console.log("进入letsel交易");
let rtnmsg = await this.init({})
if(rtnmsg.respCode == SUCCESS)
{
let rtnmsg = await this.init({});
if (rtnmsg.respCode == SUCCESS) {
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} else {
this.$notify.error({ title: "错误", message: "服务请求失败!" });
}
}
},
};
</script>
<style>
</style>
......@@ -31,7 +31,6 @@
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import _ from "~/utils/Lodash.js";
import { number } from "echarts";
/**
*
......
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