Commit e35a72cc by zhengxiaokui

zxk

parent a474ef64
...@@ -76,11 +76,11 @@ export default { ...@@ -76,11 +76,11 @@ export default {
], ],
"ledgrp.rec.nomtop": [ "ledgrp.rec.nomtop": [
{ type: "string", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" } { max: 2, message: "长度不能超过2" }
], ],
"ledgrp.rec.nomton": [ "ledgrp.rec.nomton": [
{ type: "string", required: false, message: "必输项" }, { required: false, message: "必输项" },
{ max: 2, message: "长度不能超过2" } { max: 2, message: "长度不能超过2" }
], ],
"ledgrp.ben.adrelc": [ "ledgrp.ben.adrelc": [
...@@ -103,7 +103,7 @@ export default { ...@@ -103,7 +103,7 @@ export default {
{ max: 16, message: "长度不能超过16" } { max: 16, message: "长度不能超过16" }
], ],
"ledgrp.rec.opndat": [ "ledgrp.rec.opndat": [
{ required: false, message: "输入正确的日期" } { required: true, message: "输入正确的日期" }
], ],
"ledgrp.rec.preadvdt": [ "ledgrp.rec.preadvdt": [
{ required: false, message: "输入正确的日期" } { required: false, message: "输入正确的日期" }
...@@ -137,7 +137,7 @@ export default { ...@@ -137,7 +137,7 @@ export default {
{ max: 140, message: "长度不能超过140" } { max: 140, message: "长度不能超过140" }
], ],
"ledgrp.rec.expdat": [ "ledgrp.rec.expdat": [
{ required: false, message: "输入正确的日期" } { required: true, message: "输入正确的日期" }
], ],
"ledgrp.iss.adrelc": [ "ledgrp.iss.adrelc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-model="model.ledgrp.rec.avbwth" v-model="model.ledgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择指定银行" placeholder="请选择指定银行"
:code="codes.avbwth"
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
......
...@@ -255,13 +255,13 @@ export default { ...@@ -255,13 +255,13 @@ export default {
{ {
title: "Pre-Advising/Notifying", title: "Pre-Advising/Notifying",
url: "/business/letrsv", url: "/business/letrsv",
disabled: false, disabled: this.model.ledgrp.rec.ownref ? true : false,
}, },
{ {
title: "Advising/Confirming", title: "Advising/Confirming",
url: "/business/letopn", url: "/business/letopn",
hotsubx: "6", hotsubx: "6",
disabled: false, disabled: this.model.ledgrp.rec.ownref ? true : false,
}, },
{ title: "Reservation", url: "#", disabled: false }, { title: "Reservation", url: "#", disabled: false },
{ title: "Resevation & Receving Docs", url: "#", disabled: false }, { title: "Resevation & Receving Docs", url: "#", disabled: false },
...@@ -270,7 +270,7 @@ export default { ...@@ -270,7 +270,7 @@ export default {
title: "Amending Issuing Bank", title: "Amending Issuing Bank",
url: "/business/letame", url: "/business/letame",
hotsubx: "6", hotsubx: "6",
disabled: false, disabled: this.model.ledgrp.rec.ownref ? false : true,
}, },
{ {
title: "Changing Issuing Bank", title: "Changing Issuing Bank",
......
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
<el-table-column prop="title" align="center"> <el-table-column prop="title" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<c-button <c-button
class="c_button_style"
@click.native="onNarBtnClick(scope.row.url, scope.row.hotsubx)" @click.native="onNarBtnClick(scope.row.url, scope.row.hotsubx)"
:title="scope.row.title" :title="scope.row.title"
:disabled="scope.row.disabled" :disabled="scope.row.disabled"
...@@ -52,11 +53,8 @@ export default { ...@@ -52,11 +53,8 @@ export default {
</script> </script>
<style> <style>
a { .c_button_style {
text-decoration-line: none; border: 0px;
color: #606266; border-radius: 5px;
}
a:hover {
color: blue;
} }
</style> </style>
\ No newline at end of file
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