Commit fafcfb04 by 吴佳

2022.01.06 wujia 信用证info 调整

parent 5f40d21a
...@@ -108,11 +108,11 @@ export default { ...@@ -108,11 +108,11 @@ export default {
], ],
"didgrp.cbs.nom1.amt":[ // "didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, 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位" }
], // ],
"didgrp.apl.namelc":[ "didgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"}, {type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"} {max: 35,message:"长度不能超过35"}
...@@ -151,11 +151,11 @@ export default { ...@@ -151,11 +151,11 @@ export default {
], ],
"didgrp.cbs.max.amt":[ // "didgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"}, // {type: "number", required: false, 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位" }
], // ],
"didgrp.apb.pts.bankno":[ "didgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"}, {type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"} {max: 20,message:"长度不能超过20"}
......
<template> <template>
<div class="eibs-tab"> <c-row>
<c-col :span="24">
<c-col :span="12"> <c-col :span="15">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span> <el-form-item
</c-col> style="height=200px;"
label="General"
<c-col :span="12"> prop="mtabut.coninf.oitinf.oit.inftxt"
<el-form-item label="Infotext" prop="mtabut.coninf.oitinf.oit.inftxt"> >
<c-input type="textarea" v-model="model.mtabut.coninf.oitinf.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> <i-stream-input
type="textarea"
rows="6"
maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
:model="model.mtabut.coninf.oitinf.oit.inftxt"
disabled
></i-stream-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7" :offset="1">
<c-col :span="12"> <el-form-item
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev"> label="Display Type"
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level"> prop="mtabut.coninf.oitinf.oit.inflev"
</c-select> >
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="24">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span> <c-col :span="15">
</c-col> <el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<i-stream-input
<c-col :span="12"> type="textarea"
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt"> rows="6"
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input> maxlength="60"
resize="none"
show-word-limit
placeholder="请输入Infotext"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
:model="model.mtabut.coninf.oitset.oit.inftxt"
disabled
></i-stream-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="7" :offset="1">
<c-col :span="12"> <el-form-item
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev"> label="Display Type"
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level"> prop="mtabut.coninf.oitset.oit.inflev"
</c-select> >
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col>
<c-col :span="12"> <c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat"> <el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker type="date" v-model="model.mtabut.coninf.conexedat" style="width:100%" placeholder="请选择执行日期"></c-date-picker> <c-date-picker
</el-form-item> type="date"
</c-col> v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
<c-col :span="12"> placeholder="请选择执行日期"
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey"> disabled
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</div> <c-col :span="7" :offset="5">
<el-form-item label="Send for Release to" prop="mtabut.coninf.usr.extkey">
<c-input
v-model="model.mtabut.coninf.usr.extkey"
maxlength="8"
disabled
placeholder="请输入User ID"
></c-input>
</el-form-item>
</c-col>
</c-row>
</template> </template>
<script> <script>
import Api from "~/service/Api" // 附言页签,勿改
import _ from "~/utils/Lodash.js";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable" import IStreamInput from '~/components/IStreamInput'
import Event from "~/model/Infdid/Event"
export default { export default {
inject: ['root'], components: {IStreamInput},
props:["model","codes"], inject: ["root"],
mixins: [CommonProcess], props: ["model", "codes"],
data(){ mixins: [CommonProcess],
return { data() {
return {
} inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
], //码表
};
},
methods: {
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
}, },
methods:{...Event}, },
created:function(){ created: function () {},
};
}
}
</script> </script>
<style> <style>
</style>
</style> \ No newline at end of file
...@@ -9,6 +9,7 @@ ...@@ -9,6 +9,7 @@
v-model="model.didgrp.rec.tzref" v-model="model.didgrp.rec.tzref"
maxlength="35" maxlength="35"
placeholder="请输入通知行编号" placeholder="请输入通知行编号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -20,6 +21,7 @@ ...@@ -20,6 +21,7 @@
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')" @keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -92,6 +94,7 @@ ...@@ -92,6 +94,7 @@
v-model="model.didgrp.rec.fenctg" v-model="model.didgrp.rec.fenctg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否可议付" placeholder="请选择是否可议付"
disabled
> >
<el-option <el-option
v-for="item in codes.fenctg" v-for="item in codes.fenctg"
...@@ -106,10 +109,10 @@ ...@@ -106,10 +109,10 @@
<c-col :span="24"> <c-col :span="24">
<el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth"> <el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth">
<c-select <c-select
:disabled="model.didgrp.rec.fenctg != 'Y'"
v-model="model.didgrp.rec.avbwth" v-model="model.didgrp.rec.avbwth"
style="width: 100%" style="width: 100%"
placeholder="请选择指定的有关银行" placeholder="请选择指定的有关银行"
disabled
> >
<el-option <el-option
v-for="item in codes.avbwth" v-for="item in codes.avbwth"
...@@ -171,6 +174,7 @@ ...@@ -171,6 +174,7 @@
v-model="model.didgrp.rec.lcrtyp" v-model="model.didgrp.rec.lcrtyp"
style="width: 100%" style="width: 100%"
placeholder="请选择" placeholder="请选择"
disabled
> >
<el-option <el-option
v-for="item in codes.lcrtyp" v-for="item in codes.lcrtyp"
...@@ -233,6 +237,7 @@ ...@@ -233,6 +237,7 @@
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')" @keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -308,6 +313,7 @@ ...@@ -308,6 +313,7 @@
v-model="model.didgrp.rec.bdflg" v-model="model.didgrp.rec.bdflg"
style="width: 100%" style="width: 100%"
placeholder="请选择是否可保兑" placeholder="请选择是否可保兑"
disabled
> >
<el-option <el-option
v-for="item in codes.bdflg" v-for="item in codes.bdflg"
...@@ -403,6 +409,7 @@ ...@@ -403,6 +409,7 @@
v-model="model.didgrp.apc.pts.youzbm" v-model="model.didgrp.apc.pts.youzbm"
maxlength="6" maxlength="6"
placeholder="请输入邮编 电证用" placeholder="请输入邮编 电证用"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -416,6 +423,7 @@ ...@@ -416,6 +423,7 @@
v-model="model.didgrp.apc.pts.dihdig" v-model="model.didgrp.apc.pts.dihdig"
maxlength="16" maxlength="16"
placeholder="请输入电话 电证用" placeholder="请输入电话 电证用"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -433,7 +441,7 @@ import Api from "~/service/Api"; ...@@ -433,7 +441,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome"; import PtapDome from "./PtapDome";
export default { export default {
components: { "c-ptapdome": PtapDome }, components: { "c-ptapdome": PtapDome },
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
size="small" size="small"
type="primary" type="primary"
@click="onSeainf" @click="onSeainf"
disabled
> >
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span> <span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button> </c-button>
...@@ -37,7 +38,7 @@ ...@@ -37,7 +38,7 @@
style="margin:0 0" style="margin:0 0"
size="small" size="small"
type="primary" type="primary"
:disabled="this.flag" disabled
@click="onDitpButgetref" @click="onDitpButgetref"
> >
获取 获取
...@@ -84,6 +85,7 @@ ...@@ -84,6 +85,7 @@
icon="el-icon-search" icon="el-icon-search"
type="primary" type="primary"
@click="onExtkey" @click="onExtkey"
disabled
></c-button> ></c-button>
<!-- </el-form-item> --> <!-- </el-form-item> -->
</c-col> </c-col>
...@@ -121,6 +123,7 @@ ...@@ -121,6 +123,7 @@
v-model="model.didgrp.cbs.nom1.amt" v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%" style="text-align: left; width: 100%"
placeholder="请输入信用证金额" placeholder="请输入信用证金额"
disabled
@keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)" @keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
></c-input-currency> ></c-input-currency>
</el-form-item> </el-form-item>
...@@ -143,6 +146,7 @@ ...@@ -143,6 +146,7 @@
maxlength="9" maxlength="9"
style="width: 40%" style="width: 40%"
placeholder="请输入Amount Tolerance - Positive" placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input> ></c-input>
<label style="display:inline-block;width:10%;text-align:center;">-</label> <label style="display:inline-block;width:10%;text-align:center;">-</label>
<c-input <c-input
...@@ -150,6 +154,7 @@ ...@@ -150,6 +154,7 @@
maxlength="9" maxlength="9"
style="width: 40%" style="width: 40%"
placeholder="请输入Amount Tolerance - Negative" placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -207,6 +212,7 @@ ...@@ -207,6 +212,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择贸易类型" placeholder="请选择贸易类型"
@change="mytypeChange" @change="mytypeChange"
disabled
> >
<el-option <el-option
v-for="item in codes.mylx" v-for="item in codes.mylx"
...@@ -222,6 +228,7 @@ ...@@ -222,6 +228,7 @@
style="width: 100%" style="width: 100%"
placeholder="请选择贸易类型" placeholder="请选择贸易类型"
@change="mytypeChange" @change="mytypeChange"
disabled
> >
<el-option <el-option
v-for="item in codes.mytype" v-for="item in codes.mytype"
...@@ -243,6 +250,7 @@ ...@@ -243,6 +250,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 95%" style="width: 95%"
placeholder="请选择Date" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -260,6 +268,7 @@ ...@@ -260,6 +268,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 95%" style="width: 95%"
placeholder="请选择Date" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -273,6 +282,7 @@ ...@@ -273,6 +282,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 95%" style="width: 95%"
placeholder="请选择Date" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
<el-form-item <el-form-item
...@@ -286,6 +296,7 @@ ...@@ -286,6 +296,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 95%" style="width: 95%"
placeholder="请选择" placeholder="请选择"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -299,6 +310,7 @@ ...@@ -299,6 +310,7 @@
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
style="width: 95%" style="width: 95%"
placeholder="请选择Date" placeholder="请选择Date"
disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -309,6 +321,7 @@ ...@@ -309,6 +321,7 @@
v-model="model.didgrp.rec.expplc" v-model="model.didgrp.rec.expplc"
maxlength="35" maxlength="35"
placeholder="请输入Place of Expiry" placeholder="请输入Place of Expiry"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -319,6 +332,7 @@ ...@@ -319,6 +332,7 @@
v-model="model.didgrp.rec.elcflg" v-model="model.didgrp.rec.elcflg"
style="width: 95%" style="width: 95%"
placeholder="请选择是否通过电证系统" placeholder="请选择是否通过电证系统"
disabled
> >
<el-option <el-option
v-for="item in codes.elcflg" v-for="item in codes.elcflg"
...@@ -334,7 +348,7 @@ ...@@ -334,7 +348,7 @@
<el-form-item label="报文类型" label-width="80px"> <el-form-item label="报文类型" label-width="80px">
<c-select v-model="model.recpan.msgtyp" placeholder="请选择报文类型" <c-select v-model="model.recpan.msgtyp" placeholder="请选择报文类型"
:code="getValues('recpan.msgtyp')" :code="getValues('recpan.msgtyp')"
:disabled="model.didgrp.rec.elcflg!='Y'" /> disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
...@@ -372,6 +386,7 @@ ...@@ -372,6 +386,7 @@
v-model="model.didgrp.rec.guaflg" v-model="model.didgrp.rec.guaflg"
style="width: 100%" style="width: 100%"
placeholder="请选择货押标识" placeholder="请选择货押标识"
disabled
> >
<el-option <el-option
v-for="item in codes.guaflg" v-for="item in codes.guaflg"
...@@ -389,6 +404,7 @@ ...@@ -389,6 +404,7 @@
v-model="model.didgrp.rec.jyqflg" v-model="model.didgrp.rec.jyqflg"
style="width: 100%" style="width: 100%"
placeholder="请选择假远期信用证" placeholder="请选择假远期信用证"
disabled
> >
<el-option <el-option
v-for="item in codes.jyqflg" v-for="item in codes.jyqflg"
...@@ -411,10 +427,10 @@ ...@@ -411,10 +427,10 @@
grp: 'didgrp', grp: 'didgrp',
rol: 'apl', rol: 'apl',
}" }"
:disabled="true"
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
disabled
> >
</c-ptap> </c-ptap>
</c-col> </c-col>
...@@ -520,6 +536,7 @@ ...@@ -520,6 +536,7 @@
v-model="model.didgrp.apl.pts.youzbm" v-model="model.didgrp.apl.pts.youzbm"
maxlength="6" maxlength="6"
placeholder="请输入邮编" placeholder="请输入邮编"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -534,6 +551,7 @@ ...@@ -534,6 +551,7 @@
v-model="model.didgrp.apl.pts.dihdig" v-model="model.didgrp.apl.pts.dihdig"
maxlength="16" maxlength="16"
placeholder="请输入电话" placeholder="请输入电话"
disabled
></c-input> ></c-input>
</c-form-item> </c-form-item>
</c-col> </c-col>
...@@ -544,6 +562,7 @@ ...@@ -544,6 +562,7 @@
v-model="model.didgrp.apl.pts.extact" v-model="model.didgrp.apl.pts.extact"
style="width: 100%" style="width: 100%"
placeholder="请选择External Account" placeholder="请选择External Account"
disabled
> >
</c-select> </c-select>
</el-form-item> </el-form-item>
...@@ -558,6 +577,7 @@ ...@@ -558,6 +577,7 @@
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')" @keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -570,6 +590,7 @@ ...@@ -570,6 +590,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -597,7 +618,7 @@ ...@@ -597,7 +618,7 @@
grp: 'didgrp', grp: 'didgrp',
rol: 'ben', rol: 'ben',
}" }"
:disabled="true" disabled
:isAdrblk="false" :isAdrblk="false"
@onSeainf="onSeainf" @onSeainf="onSeainf"
@onAplpDet="onBenpDet" @onAplpDet="onBenpDet"
...@@ -706,6 +727,7 @@ ...@@ -706,6 +727,7 @@
v-model="model.didgrp.ben.pts.youzbm" v-model="model.didgrp.ben.pts.youzbm"
maxlength="6" maxlength="6"
placeholder="请输入邮编 电证用" placeholder="请输入邮编 电证用"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -720,6 +742,7 @@ ...@@ -720,6 +742,7 @@
v-model="model.didgrp.ben.pts.dihdig" v-model="model.didgrp.ben.pts.dihdig"
maxlength="16" maxlength="16"
placeholder="请输入电话" placeholder="请输入电话"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -730,6 +753,7 @@ ...@@ -730,6 +753,7 @@
v-model="model.didgrp.ben.pts.extact" v-model="model.didgrp.ben.pts.extact"
maxlength="34" maxlength="34"
placeholder="请输入受益人账号" placeholder="请输入受益人账号"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -744,6 +768,7 @@ ...@@ -744,6 +768,7 @@
maxlength="20" maxlength="20"
placeholder="请输入Number of bank" placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')" @keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"
disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -756,7 +781,7 @@ ...@@ -756,7 +781,7 @@
maxlength="35" maxlength="35"
show-word-limit show-word-limit
placeholder="请输入联行名称 电证用" placeholder="请输入联行名称 电证用"
:disabled="this.jigomcFlag" disabled
></c-input> ></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
...@@ -768,7 +793,7 @@ import Api from "~/service/Api"; ...@@ -768,7 +793,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess"; import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event"; import Event from "~/model/Ditopn/Event";
import Utils from "~/utils"; import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap"; import Ptap from "./Ptap";
export default { export default {
components: { "c-ptap": Ptap }, components: { "c-ptap": Ptap },
......
<template>
<div class="eibs-tab">
<c-col v-if="!noRef" :span="24">
<el-form-item
:label="`${argadr.title}参考号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.ref`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.ref"
:placeholder="'请输入' + argadr.title + '参考号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="20">
<el-form-item
:label="`${argadr.title}ID`"
:prop="`${argadr.grp}.${argadr.rol}.pts.extkey`"
style="width: 100%"
>
<c-input
style="width: 95%"
v-model="model[argadr.grp][argadr.rol].pts.extkey"
:placeholder="'请输入' + argadr.title + 'Extkey'"
@keyup.enter.native="
showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.extkey`)
"
@change="valueChange"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="1">
<!-- <el-form-item label="" label-width="5px"> -->
<c-button
style="margin:0 10px 0 0;padding: 0 10px;"
class="searchButton"
size="small"
type="primary"
icon="el-icon-search"
@click="onSeainf(`${argadr.grp}.${argadr.rol}.pts.extkey`)"
>
</c-button>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button
style="margin:0 0"
class="detailsButton"
size="small"
type="primary"
@click="onAplpDet"
>
{{ $t('buttons.details') }}
</c-button>
<!-- </el-form-item> -->
</c-col>
<template v-if="!onlySearch">
<c-col v-if="isAdrblk" :span="24">
<el-form-item
label="名称地址"
:prop="`${argadr.grp}.${argadr.rol}.pts.adrblk`"
>
<c-input
type="textarea"
:rows="4"
v-model="model[argadr.grp][argadr.rol].pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入名称地址"
:disabled="disabled"
></c-input>
</el-form-item>
</c-col>
<template v-else>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}名称`"
:prop="`${argadr.grp}.${argadr.rol}.namelc`"
>
<c-input
type="textarea"
v-model="model[argadr.grp][argadr.rol].namelc"
:placeholder="'请输入' + argadr.title + '名称'"
:disabled="disabled"
:rows="2"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.adrelc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].adrelc"
:placeholder="'请输入' + argadr.title + '地址'"
:disabled="disabled"
maxlength="35"
show-word-limit
></c-input>
</el-form-item>
</c-col>
</template>
</template>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabled: {
//名称地址是否灰显
type: Boolean,
default: false,
},
isAdrblk: {
//名称地址是否为大字段
type: Boolean,
default: true,
},
onlySearch: {
//是否只展示extkey
type: Boolean,
default: false,
},
noRef: {
//无需参考号
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
onSeainf(data) {
this.$emit("onSeainf", data);
},
onAplpDet() {
this.$emit("onAplpDet");
},
valueChange() {
if (this.onlySearch) return;
// this.showGridPromptDialog(
// `${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
// );
},
},
created: function () {},
};
</script>
<style>
.searchButton {
text-align: center;
/* margin: 0 10px; */
margin-right: 10px;
padding: 0 10px;
}
.detailsButton {
margin-left: 10px;
}
</style>
<template>
<div class="eibs-tab">
<c-col :span="24" v-if="!isIss">
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
:placeholder="'请输入' + argadr.title + '联行行号'"
@keyup.enter.native="showGridPromptDialog(`${argadr.grp}.${argadr.rol}.pts.bankno`)"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24" v-else>
<el-form-item
:label="`${argadr.title}联行行号`"
:prop="`${argadr.grp}.${argadr.rol}.pts.bankno`"
>
<c-input
v-model="model[argadr.grp][argadr.rol].pts.bankno"
maxlength="20"
disabled
:placeholder="'请输入' + argadr.title + '联行行号'"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}联行名称`"
:prop="`${argadr.grp}.${argadr.rol}.pts.jigomc`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.jigomc"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '联行名称'"
:disabled="disabledJigomc"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
:label="`${argadr.title}地址`"
:prop="`${argadr.grp}.${argadr.rol}.pts.dizhii`"
>
<c-input
type="textarea"
:rows="2"
v-model="model[argadr.grp][argadr.rol].pts.dizhii"
maxlength="35"
show-word-limit
:placeholder="'请输入' + argadr.title + '地址'"
disabled
></c-input>
</el-form-item>
</c-col>
</div>
</template>
<script>
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
// 机构信息模块
export default {
inject: ["root"],
mixins: [CommonProcess],
props: {
model: {
type: Object,
default: undefined,
},
argadr: {
type: Object,
default: function () {
return {
title: "", //角色名称
rol: "", //角色
grp: "", //所属模块
};
},
},
disabledBankno: {
type: Boolean,
default: false,
},
disabledJigomc: {
type: Boolean,
default: false,
},
disabledDizhii: {
type: Boolean,
default: false,
},
isIss: {
//是否为开证行
type: Boolean,
default: false,
},
},
data() {
return {
data: [],
};
},
watch: {},
methods: {
},
created: function () {},
};
</script>
<style>
</style>
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- <c-col :span="22">
<c-col :span="12"> <el-form-item label="声明" prop="didgrp.blk.stamet">
<el-form-item label="声明" prop="didgrp.blk.stamet"> <c-input
<c-input type="textarea" v-model="model.didgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input> type="textarea"
</el-form-item> v-model="model.didgrp.blk.stamet"
</c-col> maxlength="65"
</div> :row="15"
show-word-limit
placeholder="请输入声明"
></c-input>
</el-form-item>
</c-col> -->
<c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="500"
show-word-limit
placeholder="请输入声明"
:rows="15"
disabled
></c-input>
</el-form-item>
</c-col>
</div>
</template> </template>
<script> <script>
import Api from "~/service/Api" 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/Infdid/Event" import Event from "~/model/Ditame/Event";
export default { export default {
inject: ['root'], inject: ["root"],
props:["model","codes"], props: ["model", "codes"],
mixins: [CommonProcess], mixins: [CommonProcess],
data(){ data() {
return { return {};
},
} methods: { ...Event },
}, created: function () {},
methods:{...Event}, };
created:function(){
}
}
</script> </script>
<style> <style>
</style> </style>
...@@ -7,25 +7,25 @@ ...@@ -7,25 +7,25 @@
--> -->
<c-col :span="24"> <c-col :span="24">
<el-form-item label="货物描述" prop="didgrp.blk.lcrgod"> <el-form-item label="货物描述" prop="didgrp.blk.lcrgod">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" ></c-input> <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrgod" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入Description of Goods" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="单据要求" prop="didgrp.blk.lcrdoc"> <el-form-item label="单据要求" prop="didgrp.blk.lcrdoc">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" ></c-input> <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.lcrdoc" maxlength="1950" style="width:70%;margin-right:20px;" show-word-limit placeholder="请输入单据要求" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="附加条款" prop="didgrp.blk.adlcnd"> <el-form-item label="附加条款" prop="didgrp.blk.adlcnd">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" ></c-input> <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.adlcnd" style="width:70%;margin-right:20px;" maxlength="1430" show-word-limit placeholder="请输入附加条款" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="给付款、承兑、议付行的指示" prop="didgrp.blk.insbnk"> <el-form-item label="给付款、承兑、议付行的指示" prop="didgrp.blk.insbnk">
<c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" ></c-input> <c-input type="textarea" :autosize="{ minRows: 6, maxRows: 8}" v-model="model.didgrp.blk.insbnk" style="width:70%;margin-right:20px;" maxlength="325" show-word-limit placeholder="请输入付行的指示" disabled></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
......
...@@ -95,9 +95,9 @@ ...@@ -95,9 +95,9 @@
<!--PD000488 --> <!--PD000488 -->
<!-- <el-tab-pane label="PD000488" name="stament"> <el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/> <m-stament :model="model" :codes="codes"/>
</el-tab-pane> --> </el-tab-pane>
</c-tabs> </c-tabs>
</el-form> </el-form>
</div> </div>
...@@ -116,7 +116,7 @@ import Infsea from "./Infsea" ...@@ -116,7 +116,7 @@ import Infsea from "./Infsea"
import Ovwp from "./Ovwp" import Ovwp from "./Ovwp"
import Detp from "./Detp" import Detp from "./Detp"
import Tk from "./Tk" import Tk from "./Tk"
import Coninfp from "~/views/Public/Coninfp"; import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan" import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp" import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp" import Cbeinfp from "./Cbeinfp"
...@@ -170,8 +170,7 @@ export default { ...@@ -170,8 +170,7 @@ export default {
pattern: Pattern, pattern: Pattern,
showPanel:false, showPanel:false,
rules: null, rules: null,
codes: { codes: { ...CodeTable },
},
} }
}, },
methods:{ methods:{
......
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