Commit f8fc8350 by wangguangchao
parents e80f283b 519c02ff
...@@ -14,7 +14,7 @@ export default { ...@@ -14,7 +14,7 @@ export default {
}, },
valueFormat: { valueFormat: {
type: String, type: String,
default: 'yyyyMMdd' default: 'yyyy-MM-dd'
}, },
format: { format: {
type: String, type: String,
......
...@@ -19,6 +19,11 @@ export default { ...@@ -19,6 +19,11 @@ export default {
{ max: 40, message: "长度不能超过40" } { max: 40, message: "长度不能超过40" }
], ],
"ledgrp.rec.lcrtyp": [
{ type: "string", required: false, message: "必输项" },
{ max: 40, message: "长度不能超过40" }
],
"ledgrp.ben.pts.ref": [ "ledgrp.ben.pts.ref": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -51,14 +56,18 @@ export default { ...@@ -51,14 +56,18 @@ export default {
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.cbs.nom1.cur": [
{ required: true, message: "必输项" },
],
"ledgrp.cbs.nom1.amt": [ "ledgrp.cbs.nom1.amt": [
{ required: false, message: "必输项" }, { required: true, 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位" }
], ],
"ledgrp.ben.pts.adrblk": [ "ledgrp.ben.pts.adrblk": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.ben.dbfadrblkcn": [ "ledgrp.ben.dbfadrblkcn": [
...@@ -80,8 +89,6 @@ export default { ...@@ -80,8 +89,6 @@ export default {
], ],
"ledgrp.cbs.max.amt": [ "ledgrp.cbs.max.amt": [
{ required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" }, { max: 18, message: "整数位不能超过14位" },
...@@ -96,10 +103,10 @@ export default { ...@@ -96,10 +103,10 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"ledgrp.rec.opndat": [ "ledgrp.rec.opndat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.rec.preadvdt": [ "ledgrp.rec.preadvdt": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.iss.pts.extkey": [ "ledgrp.iss.pts.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -115,10 +122,11 @@ export default { ...@@ -115,10 +122,11 @@ export default {
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.rec.shpdat": [ "ledgrp.rec.shpdat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.rec.advdat": [ "ledgrp.rec.advdat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.iss.pts.adrblk": [ "ledgrp.iss.pts.adrblk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -129,7 +137,7 @@ export default { ...@@ -129,7 +137,7 @@ export default {
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.rec.expdat": [ "ledgrp.rec.expdat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.iss.adrelc": [ "ledgrp.iss.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
...@@ -467,7 +475,7 @@ export default { ...@@ -467,7 +475,7 @@ export default {
], ],
"mtabut.coninf.conexedat": [ "mtabut.coninf.conexedat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"mtabut.coninf.usr.extkey": [ "mtabut.coninf.usr.extkey": [
{ type: "string", required: false, message: "必输项" }, { type: "string", required: false, message: "必输项" },
...@@ -553,7 +561,7 @@ export default { ...@@ -553,7 +561,7 @@ export default {
{ max: 2, message: "长度不能超过2" } { max: 2, message: "长度不能超过2" }
], ],
"ledgrp.rec.revdat": [ "ledgrp.rec.revdat": [
{ type: "date", required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
], ],
"ledgrp.cbs.max2.amt": [ "ledgrp.cbs.max2.amt": [
......
...@@ -154,6 +154,7 @@ ...@@ -154,6 +154,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择币种" placeholder="请选择币种"
:code="codes.cur" :code="codes.cur"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -164,6 +165,7 @@ ...@@ -164,6 +165,7 @@
<c-input-currency <c-input-currency
v-model="model.ledgrp.cbs.max.amt" v-model="model.ledgrp.cbs.max.amt"
placeholder="请输入最大金额" placeholder="请输入最大金额"
disabled
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -267,8 +267,8 @@ export default { ...@@ -267,8 +267,8 @@ export default {
{ title: "Confirmation an Export L/C", url: "#", disabled: true }, { title: "Confirmation an Export L/C", url: "#", disabled: true },
{ {
title: "Amending Issuing Bank", title: "Amending Issuing Bank",
url: "#", url: "#/business/letame",
disabled: true, disabled: false,
}, },
{ {
title: "Changing Issuing Bank", title: "Changing Issuing Bank",
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
<script> <script>
import Api from "~/service/Api"; import Api from "~/service/Api";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Utils from "~/utils/index";
import Letsel from "~/model/Letsel"; import Letsel from "~/model/Letsel";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CommonFuncs from "~/mixin/CommonFuncs"; import CommonFuncs from "~/mixin/CommonFuncs";
......
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