Commit 5a4287dc by 潘际乾

init初始化

parent effd3d01
......@@ -55,7 +55,7 @@ export default {
"lidgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -101,10 +101,10 @@ export default {
],
"lidgrp.rec.opndat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"lidgrp.rec.expdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"lidgrp.adv.pts.adrblk":[
{type: "string", required: true, message: "必输项"},
......@@ -115,7 +115,7 @@ export default {
{max: 35,message:"长度不能超过35"}
],
"lidgrp.rec.shpdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......@@ -178,7 +178,7 @@ export default {
{max: 2,message:"长度不能超过2"}
],
"lidgrp.rec.revdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
......@@ -252,7 +252,7 @@ export default {
],
"lidgrp.rec.autdat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"lidgrp.blk.preper":[
......@@ -430,7 +430,7 @@ export default {
],
"mtabut.coninf.conexedat":[
{type: "date", required: false, message: "输入正确的日期"}
{required: false, message: "输入正确的日期"}
],
"liaall.liaccv.concur":[
{type: "string", required: false, message: "必输项"},
......
......@@ -9,6 +9,7 @@ export default class Ditopn{
ownref:"", // 参考号 .lidgrp.rec.ownref
lcrtyp:"", // 信用证类型 .lidgrp.rec.lcrtyp
opndat:"", // 开证日期 .lidgrp.rec.opndat
expdat: "", // 有效日期
shpdat:"", // 最迟装运日期/最迟服务提供日 .lidgrp.rec.shpdat
expdat:"", // Date of Expiry .lidgrp.rec.expdat
expplc:"", // 有效地点 .lidgrp.rec.expplc
......
......@@ -199,6 +199,7 @@
<c-date-picker
type="date"
v-model="model.lidgrp.rec.opndat"
value-format="yyyy-MM-dd"
style="width: 100%"
placeholder="请选择Date L/C Opened/Issued"
></c-date-picker>
......@@ -443,16 +444,18 @@
</c-button>
</el-form-item>
</c-col>
<el-form-item label="">
<c-input
type="textarea"
v-model="model.lidgrp.ben.pts.adrblk"
maxlength="35"
:rows="5"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
<c-col>
<el-form-item label="">
<c-input
type="textarea"
v-model="model.lidgrp.ben.pts.adrblk"
maxlength="35"
:rows="5"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="受益人帐号" prop="lidgrp.ben.pts.extact">
<c-input
......@@ -462,7 +465,6 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24"> </c-col>
<c-col :span="24">
<el-form-item label="受益人开户行" prop="lidgrp.ben.pts.issbchinf">
<c-input
......
<template>
<div class="eContainer">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small">
<el-form :model="model" :rules="rules" ref="modelForm" label-width="200px" size="small" :validate-on-rule-change="false">
<c-tabs v-model="activeName" ref="elment" type="card" @tab-click="tabClick" >
<!--PD000001 -->
......@@ -97,15 +97,20 @@
<m-ccvpan :model="model" :codes="codes"/>
</el-tab-pane> -->
</c-tabs>
<c-bus-button :$pntvm="this"></c-bus-button>
</el-form>
<c-grid-ety-prompt-dialog ref="etyDialog" :promptData="promptData" v-on:select-ety="selectEty"></c-grid-ety-prompt-dialog>
</div>
</template>
<script>
import Api from "~/service/Api"
import Utils from "~/utils/index"
import CodeTable from "~/config/CodeTable"
import Ditopn from "~/model/Ditopn"
import CommonProcess from "~/mixin/CommonProcess"
import Pattern from "~/model/Ditopn/Pattern"
import Default from "~/model/Ditopn/Default";
import Check from "~/model/Ditopn/Check";
import Ovwp from "./Ovwp"
import Revp from "./Revp"
import Tk from "./Tk"
......@@ -152,10 +157,12 @@ export default {
data(){
return {
activeName: "ovwp",
trnName:"ditopn",
model:new Ditopn().data,
// defaultRule:Default,
// rules:this.mergeRules(Pattern,Check),
rules:Pattern,
checkRules: Check,
defaultRules: Default,
pattern: Pattern,
rules:null,
codes:{
},
}
......@@ -167,10 +174,10 @@ export default {
created:async function(){
console.log("进入ditopn交易");
let rtnmsg = await Api.post("ditopn/init",{params:{}})
if(rtnmsg.retcod == SUCCESS)
if(rtnmsg.respCode == SUCCESS)
{
//TODO 处理数据逻辑
Utils.copyValueFromVO(this.model,rtnmsg.data)
}
else
{
......
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