Commit 88685252 by zhengxiaokui

zxk

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