Commit 88685252 by zhengxiaokui

zxk

parent 4817560f
...@@ -467,18 +467,18 @@ export default { ...@@ -467,18 +467,18 @@ export default {
], ],
"ledgrp.blk.lcrgod": [ "ledgrp.blk.lcrgod": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 52000, message: "长度不能超过52000" }
], ],
"ledgrp.blk.lcrdoc": [ "ledgrp.blk.lcrdoc": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 52000, message: "长度不能超过52000" }
], ],
"ledgrp.blk.adlcnd": [ "ledgrp.blk.adlcnd": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 52000, message: "长度不能超过52000" }
], ],
...@@ -486,7 +486,7 @@ export default { ...@@ -486,7 +486,7 @@ export default {
"ledgrp.blk.insbnk": [ "ledgrp.blk.insbnk": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 2000, message: "长度不能超过2000" }
], ],
"setmod.ref": [ "setmod.ref": [
...@@ -638,12 +638,12 @@ export default { ...@@ -638,12 +638,12 @@ export default {
], ],
"ledgrp.blk.spcben": [ "ledgrp.blk.spcben": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 52000, message: "长度不能超过52000" }
], ],
"ledgrp.blk.spcrcb": [ "ledgrp.blk.spcrcb": [
{ type: "string", required: true, message: "必输项" }, { type: "string", required: true, message: "必输项" },
{ max: 65, message: "长度不能超过65" } { max: 52000, message: "长度不能超过52000" }
], ],
"setmod.glemod.gleshwstm": [ "setmod.glemod.gleshwstm": [
......
...@@ -44,9 +44,9 @@ ...@@ -44,9 +44,9 @@
>Red/Green Clause</c-checkbox >Red/Green Clause</c-checkbox
> >
</c-col> </c-col>
<c-blkTextarea :model="model" v-bind="blk1"> </c-blkTextarea>
<!-- Instructions to Pay,accept,negot,bank --> <!-- Instructions to Pay,accept,negot,bank -->
<c-col :span="19"> <!-- <c-col :span="19">
<el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk"> <el-form-item label="付款、承兑、议付银行指示" prop="ledgrp.blk.insbnk">
<c-input <c-input
type="textarea" type="textarea"
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
> >
... ...
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -93,6 +93,15 @@ export default { ...@@ -93,6 +93,15 @@ export default {
}, },
rulePath: "letp.adlcnd.buttxmsel", rulePath: "letp.adlcnd.buttxmsel",
}, },
blk1: {
blkMsg: {
title: "付款、承兑、议付银行指示",
dataUrl: "ledgrp.blk.insbnk", //字段所在model路劲
rows: 4,
maxlength: 2000,
},
rulePath: "letp.insbnk.buttxmsel",
},
}; };
}, },
methods: { ...Event }, methods: { ...Event },
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="19"> <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<!-- <c-col :span="19">
<el-form-item label="受益人特殊付款条款" prop="ledgrp.blk.spcben"> <el-form-item label="受益人特殊付款条款" prop="ledgrp.blk.spcben">
<c-input <c-input
type="textarea" type="textarea"
...@@ -22,7 +23,7 @@ ...@@ -22,7 +23,7 @@
> >
... ...
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -30,13 +31,24 @@ import Api from "~/service/Api"; ...@@ -30,13 +31,24 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event"; import Event from "~/model/Letopn/Event";
import BlkTextarea from "~/views/Public/BlkTextarea";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return {}; return {
blk: {
blkMsg: {
title: "受益人特殊付款条款",
dataUrl: "ledgrp.blk.spcben", //字段所在model路劲
rows: 20,
},
rulePath: "letp.spcben.buttxmsel",
},
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-col :span="19"> <c-blkTextarea :model="model" v-bind="blk"> </c-blkTextarea>
<!-- <c-col :span="19">
<el-form-item label="收款银行特殊付款条款" prop="ledgrp.blk.spcrcb"> <el-form-item label="收款银行特殊付款条款" prop="ledgrp.blk.spcrcb">
<c-input <c-input
type="textarea" type="textarea"
...@@ -22,7 +23,7 @@ ...@@ -22,7 +23,7 @@
> >
... ...
</c-button> </c-button>
</c-col> </c-col> -->
</div> </div>
</template> </template>
<script> <script>
...@@ -30,13 +31,24 @@ import Api from "~/service/Api"; ...@@ -30,13 +31,24 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Letopn/Event"; import Event from "~/model/Letopn/Event";
import BlkTextarea from "~/views/Public/BlkTextarea";
export default { export default {
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
components: { "c-blkTextarea": BlkTextarea },
mixins: [CommonProcess], mixins: [CommonProcess],
data() { data() {
return {}; return {
blk: {
blkMsg: {
title: "收款银行特殊付款条款",
dataUrl: "ledgrp.blk.spcrcb", //字段所在model路劲
rows: 20,
},
rulePath: "letp.spcrcb.buttxmsel",
},
};
}, },
methods: { ...Event }, methods: { ...Event },
created: function () {}, created: function () {},
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
:rules="rules" :rules="rules"
ref="modelForm" ref="modelForm"
label-width="150px" label-width="150px"
label-position="left" label-position="right"
size="small" size="small"
:validate-on-rule-change="false" :validate-on-rule-change="false"
> >
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
<el-form-item :label="blkMsg.title" :prop="blkMsg.dataUrl"> <el-form-item :label="blkMsg.title" :prop="blkMsg.dataUrl">
<c-input <c-input
type="textarea" type="textarea"
:rows="blkMsg.rows" :rows="blkMsg.rows ? blkMsg.rows : 20"
v-model="blkTextarea" v-model="blkTextarea"
maxlength="2000" :maxlength="blkMsg.maxlength ? blkMsg.maxlength : 52000"
show-word-limit show-word-limit
:placeholder="`请输入${blkMsg.title}`" :placeholder="`请输入${blkMsg.title}`"
></c-input> ></c-input>
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
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";
/** /**
* *
...@@ -53,9 +54,10 @@ export default { ...@@ -53,9 +54,10 @@ export default {
type: Object, type: Object,
default: function () { default: function () {
return { return {
title: "货物说明", title: "",
dataUrl: "ledgrp.blk.lcrgod", //字段所在model路劲 dataUrl: "", //字段所在model路劲
rows: 20, rows: 20,
maxlength: 2000,
}; };
}, },
}, },
...@@ -66,7 +68,8 @@ export default { ...@@ -66,7 +68,8 @@ export default {
}, },
columns: { columns: {
type: String, type: String,
default:'1 2 "EXTKEY" 410 50\r\n2 1 "NAM" 410 50\r\nTXT\r\nUIL\r\n5 3 "VER" 410 50\r\nETGEXTKEY\r\nP COLORED TRUE\r\nP VERTLINES TRUE\r\nP HORZLINES TRUE\r\nP MULTISELECT FALSE\r\nP COLUMNSIZING TRUE', default:
'1 2 "EXTKEY" 410 50\r\n2 1 "NAM" 410 50\r\nTXT\r\nUIL\r\n5 3 "VER" 410 50\r\nETGEXTKEY\r\nP COLORED TRUE\r\nP VERTLINES TRUE\r\nP HORZLINES TRUE\r\nP MULTISELECT FALSE\r\nP COLUMNSIZING TRUE',
}, },
shadow: { shadow: {
type: Object, type: Object,
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="20"> <c-col :span="18">
<el-form-item <el-form-item
:label="`${argadr.title}ID`" :label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`" :prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)" @click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
></c-button> ></c-button>
</c-col> </c-col>
<c-col :span="3" style="text-align: right"> <c-col :span="3" :offset="1" style="text-align: right">
<c-button <c-button
class="detailsButton" class="detailsButton"
size="small" size="small"
...@@ -180,10 +180,13 @@ export default { ...@@ -180,10 +180,13 @@ export default {
</script> </script>
<style> <style>
.searchButton { .searchButton {
margin: 0 10px 0 0; text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px; padding: 0 10px;
} }
.detailsButton { .detailsButton {
margin: 0 0; margin-left: 10px;
} }
</style> </style>
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