Commit 5fcb5db8 by zhengxiaokui

zxk

parent f054d6f3
import Pattern from "../Public/Leds/Pattern"
export default { export default {
...Pattern.blk,
...Pattern.Led,
"letp.recget.sdamod.dadsnd": [ "letp.recget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -181,18 +184,6 @@ export default { ...@@ -181,18 +184,6 @@ export default {
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.blk.mixdet": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"letp.avbp.ptsget.sdamod.dadsnd": [ "letp.avbp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -210,10 +201,7 @@ export default { ...@@ -210,10 +201,7 @@ export default {
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.blk.avbwthtxt": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.avb.pts.adrblk": [ "ledgrp.avb.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
...@@ -226,10 +214,7 @@ export default { ...@@ -226,10 +214,7 @@ export default {
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.blk.preper": [
{ type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" }
],
"ledgrp.rec.prepers18": [ "ledgrp.rec.prepers18": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 3, message: "长度不能超过3" } { max: 3, message: "长度不能超过3" }
...@@ -241,20 +226,6 @@ export default { ...@@ -241,20 +226,6 @@ export default {
{ max: 140, message: "长度不能超过140" } { 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": [ "letp.drwp.ptsget.sdamod.dadsnd": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -306,10 +277,6 @@ export default { ...@@ -306,10 +277,6 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 65, message: "长度不能超过65" }
], ],
"ledgrp.blk.shpper": [
{ type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" }
],
"ledgrp.adv.pts.ref": [ "ledgrp.adv.pts.ref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
...@@ -465,29 +432,6 @@ export default { ...@@ -465,29 +432,6 @@ export default {
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" } { 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": [ "setmod.ref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -611,15 +555,6 @@ export default { ...@@ -611,15 +555,6 @@ export default {
"ledgrp.rec.revdat": [ "ledgrp.rec.revdat": [
{ type: "date", required: false, message: "输入正确的日期" } { 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": [ "ledgrp.cbs.max2.amt": [
{ required: false, message: "必输项" }, { required: false, message: "必输项" },
...@@ -632,19 +567,6 @@ export default { ...@@ -632,19 +567,6 @@ export default {
{ 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位" }
], ],
"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": [ "setmod.glemod.gleshwstm": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
......
import Rec from './Did' import Rec from './Did'
import Cbs from '../Cbs' import Cbs from '../Cbs'
import Rol from '../Rol' import Rol from '../Rol'
import Blk from '../Blk' import Blk from './Blk'
export default class Didgrp { export default class Didgrp {
constructor() { constructor() {
this.data = { 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 @@ ...@@ -2,7 +2,7 @@
import Rec from './Led' import Rec from './Led'
import Cbs from '../Cbs' import Cbs from '../Cbs'
import Rol from '../Rol' import Rol from '../Rol'
import Blk from '../Blk' import Blk from './Blk'
export default class Ledgrp { export default class Ledgrp {
constructor() { constructor() {
this.data = { 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 { export default class Liaall {
constructor() { constructor() {
this.data = { this.data = {
......
...@@ -2,8 +2,6 @@ import Trnmod from "./Trnmod"; ...@@ -2,8 +2,6 @@ import Trnmod from "./Trnmod";
import Mtabut from './Mtabut' import Mtabut from './Mtabut'
import Setmod from './Setmod' import Setmod from './Setmod'
import Liaall from './Liaall' import Liaall from './Liaall'
import Blk from './Blk'
import Pts from './Pts'
export default class Publics { export default class Publics {
constructor() { constructor() {
...@@ -12,8 +10,6 @@ export default class Publics { ...@@ -12,8 +10,6 @@ export default class Publics {
Mtabut: new Mtabut().data, Mtabut: new Mtabut().data,
Setmod: new Setmod().data, Setmod: new Setmod().data,
Liaall: new Liaall().data, Liaall: new Liaall().data,
Blk: new Blk().data,
Pts: new Pts().data,
} }
} }
} }
\ No newline at end of file
<template> <template>
<div class="eContainer"> <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
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick"> :model="model"
:rules="rules"
<!--PD000035 --> ref="modelForm"
<el-tab-pane label="PD000035" name="sel"> label-width="150px"
<m-sel :model="model" :codes="codes"/> label-position="right"
</el-tab-pane> size="small"
</c-tabs> :validate-on-rule-change="false"
>
<c-tabs v-model="tabVal" ref="elment" type="card" @tab-click="tabClick">
<!--PD000035 -->
<el-tab-pane label="查询" name="sel">
<c-content>
<m-sel :model="model" :codes="codes" />
</c-content>
</el-tab-pane>
</c-tabs>
</el-form> </el-form>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Letsel from "~/model/Letsel" import Letsel from "~/model/Letsel";
import CommonProcess from "~/mixin/CommonProcess" import CommonProcess from "~/mixin/CommonProcess";
import Check from "~/model/Letsel/Check" import Check from "~/model/Letsel/Check";
import Default from "~/model/Letsel/Default" import Default from "~/model/Letsel/Default";
import Pattern from "~/model/Letsel/Pattern" import Pattern from "~/model/Letsel/Pattern";
import Sel from "./Sel" import Sel from "./Sel";
export default { export default {
name: "Letsel", name: "Letsel",
components:{ components: {
"m-sel" : Sel, "m-sel": Sel,
}, },
provide() { provide() {
return { return {
root: this root: this,
} };
}, },
mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理 mixins: [CommonProcess], // 里面包含了Default、Check等的公共处理
data(){ data() {
return { return {
tabVal: "", tabVal: "sel",
trnName: "letsel", trnName: "letsel",
model: new Letsel().data, model: new Letsel().data,
checkRules: Check, checkRules: Check,
defaultRules: Default, defaultRules: Default,
pattern: Pattern, pattern: Pattern,
rules: null, rules: null,
codes: { codes: {},
}, };
} },
}, methods: {
methods:{ tabClick() {},
tabClick(){ },
} created: async function () {
}, console.log("进入letsel交易");
created:async function(){ let rtnmsg = await this.init({});
console.log("进入letsel交易"); if (rtnmsg.respCode == SUCCESS) {
let rtnmsg = await this.init({}) //TODO 处理数据逻辑
if(rtnmsg.respCode == SUCCESS) } else {
{ this.$notify.error({ title: "错误", message: "服务请求失败!" });
//TODO 处理数据逻辑
}
else
{
this.$notify.error({title: '错误',message: '服务请求失败!'});
}
} }
} },
};
</script> </script>
<style> <style>
</style> </style>
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
import Api from "~/service/Api"; import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import _ from "~/utils/Lodash.js"; 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