Commit fafcfb04 by 吴佳

2022.01.06 wujia 信用证info 调整

parent 5f40d21a
......@@ -108,11 +108,11 @@ export default {
],
"didgrp.cbs.nom1.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "didgrp.cbs.nom1.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"didgrp.apl.namelc":[
{type: "string", required: true, message: "必输项"},
{max: 35,message:"长度不能超过35"}
......@@ -151,11 +151,11 @@ export default {
],
"didgrp.cbs.max.amt":[
{type: "number", required: false, message: "必输项"},
{max: 18,message:"整数位不能超过14位"},
{pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
// "didgrp.cbs.max.amt":[
// {type: "number", required: false, message: "必输项"},
// {max: 18,message:"整数位不能超过14位"},
// {pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
// ],
"didgrp.apb.pts.bankno":[
{type: "string", required: false, message: "必输项"},
{max: 20,message:"长度不能超过20"}
......
<template>
<div class="eibs-tab">
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitinf.labinftxt" data-path=".mtabut.coninf.oitinf.labinftxt" > </span>
</c-col>
<c-col :span="12">
<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>
<c-row>
<c-col :span="24">
<c-col :span="15">
<el-form-item
style="height=200px;"
label="General"
prop="mtabut.coninf.oitinf.oit.inftxt"
>
<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>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitinf.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitinf.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitinf.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitinf.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.mtabut.coninf.oitset.labinftxt" data-path=".mtabut.coninf.oitset.labinftxt" > </span>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input type="textarea" v-model="model.mtabut.coninf.oitset.oit.inftxt" maxlength="60" show-word-limit placeholder="请输入Infotext" ></c-input>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="15">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<i-stream-input
type="textarea"
rows="6"
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>
</c-col>
<c-col :span="12">
<el-form-item label="Infotext Level" prop="mtabut.coninf.oitset.oit.inflev">
<c-select v-model="model.mtabut.coninf.oitset.oit.inflev" style="width:100%" placeholder="请选择Infotext Level">
</c-select>
</c-col>
<c-col :span="7" :offset="1">
<el-form-item
label="Display Type"
prop="mtabut.coninf.oitset.oit.inflev"
>
<c-select
v-model="model.mtabut.coninf.oitset.oit.inflev"
disabled
placeholder="请选择Infotext Level"
:code="inflev"
>
</c-select>
</el-form-item>
</c-col>
<c-col :span="12">
<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>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="User ID" prop="mtabut.coninf.usr.extkey">
<c-input v-model="model.mtabut.coninf.usr.extkey" maxlength="8" placeholder="请输入User ID"></c-input>
</el-form-item>
</c-col>
</div>
</c-col>
</c-col>
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<c-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 50%"
placeholder="请选择执行日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<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>
<script>
import Api from "~/service/Api"
// 附言页签,勿改
import _ from "~/utils/Lodash.js";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdid/Event"
import IStreamInput from '~/components/IStreamInput'
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
components: {IStreamInput},
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
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>
<style>
</style>
</style>
\ No newline at end of file
......@@ -4,43 +4,43 @@
<!-- ========================= Left ========================= -->
<c-col :span="11">
<el-form-item label="信用证兑付方式" prop="didgrp.rec.avbby">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择">
<c-select v-model="model.didgrp.rec.avbby" style="width:100%" @change="avbbykeyEvent" placeholder="请选择" disabled>
<el-option v-for="item in codes.avbby0" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="付款期限" prop="didgrp.rec.tenmaxday" >
<c-input :disabled="model.didgrp.rec.avbby == 'P'" v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input>
<c-input disabled v-model.number="model.didgrp.rec.tenmaxday" placeholder="请输入" style="width:17%" maxlength="3"></c-input>
</el-form-item>
<el-form-item label="远期付款指示" prop="didgrp.blk.defdet">
<c-col :span="21">
<c-input type="textarea" :disabled="model.didgrp.rec.avbby == 'P'" v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
<c-input type="textarea" disabled v-model="model.didgrp.blk.defdet" style="width:100%" maxlength="140" show-word-limit placeholder="请输入" :autosize="{ minRows: 3,maxRows:5}"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel">
<c-button size="small" style="margin:0 0;" type="primary" icon="el-icon-search" @click="onDefdetButtxmsel" disabled>
</c-button>
</c-col>
</el-form-item>
<el-form-item label="交单期限" prop="didgrp.blk.preper">
<c-col :span="21">
<c-input type="textarea" v-model="model.didgrp.blk.preper" :disabled="this.flag" style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.blk.preper" disabled style="width:100%" maxlength="105" show-word-limit placeholder="请输入"></c-input>
</c-col>
<c-col :span="3" style="text-align: right">
<c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" @click="onPreperButtxmsel">
<c-button size="small" type="primary" style="margin:0 0;" icon="el-icon-search" @click="onPreperButtxmsel" disabled>
</c-button>
</c-col>
</el-form-item>
<el-form-item label="" prop="didgrp.blk.preperflg">
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()">修改交单期限文本</c-checkbox>
<c-checkbox v-model="model.didgrp.blk.preperflg" :click="preperflgExtkeyEvent()" disabled>修改交单期限文本</c-checkbox>
</el-form-item>
<el-form-item label="货物运输/交货/服务方式" prop="didgrp.rec.tratyp">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" :disabled="model.didgrp.rec.mytype == 'F'">
<c-select v-model="model.didgrp.rec.tratyp" style="width:90%" placeholder="请选择" @change="recTratypChange" disabled>
<el-option v-for="item in codes.tratyp" :key="item.value" :label="item.label"
:value="item.value">
</el-option>
......@@ -49,28 +49,28 @@
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'H'" label="手输运输方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" disabled maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == 'F'" label="服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" maxlength="140" show-word-limit placeholder="请输入" disabled></c-input>
</el-form-item>
<el-form-item v-if="model.didgrp.rec.mytype == '3'" label="手输运输方式/服务提供方式" prop="didgrp.rec.sdsrfs">
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" :disabled="this.mytypeFlag" maxlength="140" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" v-model="model.didgrp.rec.sdsrfs" disabled maxlength="140" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="合同编号" prop="didgrp.rec.conno">
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入"></c-input>
<c-input v-model="model.didgrp.rec.conno" maxlength="35" placeholder="请输入" disabled></c-input>
</el-form-item>
<el-form-item label="合同金额" prop="didgrp.rec.conamt">
<c-col :span="10">
<c-select v-model="model.didgrp.rec.concur" style="width:90%" placeholder="请选择">
<c-select v-model="model.didgrp.rec.concur" style="width:90%" placeholder="请选择" disabled>
<el-option label="CNY 人民币" value="CNY"></el-option>
</c-select>
</c-col>
<c-col :span="14">
<c-input v-model="model.didgrp.rec.conamt" placeholder="请输入"></c-input>
<c-input v-model="model.didgrp.rec.conamt" placeholder="请输入" disabled></c-input>
</c-col>
</el-form-item>
</c-col>
......@@ -78,40 +78,40 @@
<!-- ========================= Right ========================= -->
<c-col :span="11" :offset="1">
<el-form-item label="分批装运货物" prop="didgrp.rec.shppar">
<c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择">
<c-select v-model="model.didgrp.rec.shppar" style="width:50%" placeholder="请选择" disabled>
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务" prop="didgrp.rec.fqzytgfw">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" :disabled="model.didgrp.rec.shppar != 'Y'" style="width:50%">
<c-select v-model="model.didgrp.rec.fqzytgfw" placeholder="请选择" disabled style="width:50%">
<el-option v-for="item in codes.shppar" :key="item.value" :label="item.label" :value="item.value">
</el-option>
</c-select>
</el-form-item>
<el-form-item label="分期装运/提供服务约定" prop="didgrp.rec.fqtime">
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%"></c-input>
<c-input type="textarea" :rows="3" v-model="model.didgrp.rec.fqtime" maxlength="140" show-word-limit placeholder="请输入" style="width:100%" disabled></c-input>
</el-form-item>
<el-form-item label="转运" prop="didgrp.rec.shptrs">
<c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" :disabled="model.didgrp.rec.mytype == 'F'">
<c-select v-model="model.didgrp.rec.shptrs" style="width:50%" placeholder="请选择" disabled>
<el-option label="不允许" value="禁止"></el-option>
<el-option label="允许" value="允许"></el-option>
</c-select>
</el-form-item>
<el-form-item label="货物转运地(港)" prop="didgrp.rec.shpfro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpfro" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="货物目的地/交货地(港)" prop="didgrp.rec.shpto">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" :disabled="model.didgrp.rec.mytype == 'F'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shpto" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
<el-form-item label="服务提供地点" prop="didgrp.rec.shppro">
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" :disabled="model.didgrp.rec.mytype == 'H'" maxlength="35" show-word-limit placeholder="请输入"></c-input>
<c-input type="textarea" style="width:100%" :rows="3" v-model="model.didgrp.rec.shppro" disabled maxlength="35" show-word-limit placeholder="请输入"></c-input>
</el-form-item>
</c-col>
......
......@@ -9,6 +9,7 @@
v-model="model.didgrp.rec.tzref"
maxlength="35"
placeholder="请输入通知行编号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -20,6 +21,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.adv.pts.extkey')"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -92,6 +94,7 @@
v-model="model.didgrp.rec.fenctg"
style="width: 100%"
placeholder="请选择是否可议付"
disabled
>
<el-option
v-for="item in codes.fenctg"
......@@ -106,10 +109,10 @@
<c-col :span="24">
<el-form-item label="指定的有关银行 " prop="didgrp.rec.avbwth">
<c-select
:disabled="model.didgrp.rec.fenctg != 'Y'"
v-model="model.didgrp.rec.avbwth"
style="width: 100%"
placeholder="请选择指定的有关银行"
disabled
>
<el-option
v-for="item in codes.avbwth"
......@@ -171,6 +174,7 @@
v-model="model.didgrp.rec.lcrtyp"
style="width: 100%"
placeholder="请选择"
disabled
>
<el-option
v-for="item in codes.lcrtyp"
......@@ -233,6 +237,7 @@
maxlength="16"
placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('didgrp.iss.pts.extkey')"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -308,6 +313,7 @@
v-model="model.didgrp.rec.bdflg"
style="width: 100%"
placeholder="请选择是否可保兑"
disabled
>
<el-option
v-for="item in codes.bdflg"
......@@ -403,6 +409,7 @@
v-model="model.didgrp.apc.pts.youzbm"
maxlength="6"
placeholder="请输入邮编 电证用"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -416,6 +423,7 @@
v-model="model.didgrp.apc.pts.dihdig"
maxlength="16"
placeholder="请输入电话 电证用"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -433,7 +441,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
import PtapDome from "~/views/Public/PtapDome";
import PtapDome from "./PtapDome";
export default {
components: { "c-ptapdome": PtapDome },
......
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span style="font-size:15px;font-family:'宋体';font-weight:bold">i</span>
</c-button>
......@@ -37,7 +38,7 @@
style="margin:0 0"
size="small"
type="primary"
:disabled="this.flag"
disabled
@click="onDitpButgetref"
>
获取
......@@ -84,6 +85,7 @@
icon="el-icon-search"
type="primary"
@click="onExtkey"
disabled
></c-button>
<!-- </el-form-item> -->
</c-col>
......@@ -121,6 +123,7 @@
v-model="model.didgrp.cbs.nom1.amt"
style="text-align: left; width: 100%"
placeholder="请输入信用证金额"
disabled
@keyup.enter.native="defaultFunction('didgrp.cbs.nom1.amt', model.didgrp.cbs.nom1.amt)"
></c-input-currency>
</el-form-item>
......@@ -143,6 +146,7 @@
maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Positive"
disabled
></c-input>
<label style="display:inline-block;width:10%;text-align:center;">-</label>
<c-input
......@@ -150,6 +154,7 @@
maxlength="9"
style="width: 40%"
placeholder="请输入Amount Tolerance - Negative"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -207,6 +212,7 @@
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
disabled
>
<el-option
v-for="item in codes.mylx"
......@@ -222,6 +228,7 @@
style="width: 100%"
placeholder="请选择贸易类型"
@change="mytypeChange"
disabled
>
<el-option
v-for="item in codes.mytype"
......@@ -243,6 +250,7 @@
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -260,6 +268,7 @@
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
<el-form-item
......@@ -273,6 +282,7 @@
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
<el-form-item
......@@ -286,6 +296,7 @@
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -299,6 +310,7 @@
value-format="yyyy-MM-dd"
style="width: 95%"
placeholder="请选择Date"
disabled
></c-date-picker>
</el-form-item>
</c-col>
......@@ -309,6 +321,7 @@
v-model="model.didgrp.rec.expplc"
maxlength="35"
placeholder="请输入Place of Expiry"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -319,6 +332,7 @@
v-model="model.didgrp.rec.elcflg"
style="width: 95%"
placeholder="请选择是否通过电证系统"
disabled
>
<el-option
v-for="item in codes.elcflg"
......@@ -334,7 +348,7 @@
<el-form-item label="报文类型" label-width="80px">
<c-select v-model="model.recpan.msgtyp" placeholder="请选择报文类型"
:code="getValues('recpan.msgtyp')"
:disabled="model.didgrp.rec.elcflg!='Y'" />
disabled />
</el-form-item>
</c-col>
</c-col>
......@@ -372,6 +386,7 @@
v-model="model.didgrp.rec.guaflg"
style="width: 100%"
placeholder="请选择货押标识"
disabled
>
<el-option
v-for="item in codes.guaflg"
......@@ -389,6 +404,7 @@
v-model="model.didgrp.rec.jyqflg"
style="width: 100%"
placeholder="请选择假远期信用证"
disabled
>
<el-option
v-for="item in codes.jyqflg"
......@@ -411,10 +427,10 @@
grp: 'didgrp',
rol: 'apl',
}"
:disabled="true"
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
disabled
>
</c-ptap>
</c-col>
......@@ -520,6 +536,7 @@
v-model="model.didgrp.apl.pts.youzbm"
maxlength="6"
placeholder="请输入邮编"
disabled
></c-input>
</c-form-item>
</c-col>
......@@ -534,6 +551,7 @@
v-model="model.didgrp.apl.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
disabled
></c-input>
</c-form-item>
</c-col>
......@@ -544,6 +562,7 @@
v-model="model.didgrp.apl.pts.extact"
style="width: 100%"
placeholder="请选择External Account"
disabled
>
</c-select>
</el-form-item>
......@@ -558,6 +577,7 @@
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.apb.pts.bankno')"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -570,6 +590,7 @@
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -597,7 +618,7 @@
grp: 'didgrp',
rol: 'ben',
}"
:disabled="true"
disabled
:isAdrblk="false"
@onSeainf="onSeainf"
@onAplpDet="onBenpDet"
......@@ -706,6 +727,7 @@
v-model="model.didgrp.ben.pts.youzbm"
maxlength="6"
placeholder="请输入邮编 电证用"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -720,6 +742,7 @@
v-model="model.didgrp.ben.pts.dihdig"
maxlength="16"
placeholder="请输入电话"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -730,6 +753,7 @@
v-model="model.didgrp.ben.pts.extact"
maxlength="34"
placeholder="请输入受益人账号"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -744,6 +768,7 @@
maxlength="20"
placeholder="请输入Number of bank"
@keyup.enter.native="showGridPromptDialog('didgrp.beb.pts.bankno')"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -756,7 +781,7 @@
maxlength="35"
show-word-limit
placeholder="请输入联行名称 电证用"
:disabled="this.jigomcFlag"
disabled
></c-input>
</el-form-item>
</c-col>
......@@ -768,7 +793,7 @@ import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import Event from "~/model/Ditopn/Event";
import Utils from "~/utils";
import Ptap from "~/views/Public/Ptap";
import Ptap from "./Ptap";
export default {
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>
<div class="eibs-tab">
<c-col :span="12">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input type="textarea" v-model="model.didgrp.blk.stamet" maxlength="65" show-word-limit placeholder="请输入声明" ></c-input>
</el-form-item>
</c-col>
</div>
<!-- <c-col :span="22">
<el-form-item label="声明" prop="didgrp.blk.stamet">
<c-input
type="textarea"
v-model="model.didgrp.blk.stamet"
maxlength="65"
: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>
<script>
import Api from "~/service/Api"
import Api from "~/service/Api";
import CommonProcess from "~/mixin/CommonProcess";
import CodeTable from "~/config/CodeTable"
import Event from "~/model/Infdid/Event"
import CodeTable from "~/config/CodeTable";
import Event from "~/model/Ditame/Event";
export default {
inject: ['root'],
props:["model","codes"],
mixins: [CommonProcess],
data(){
return {
}
},
methods:{...Event},
created:function(){
}
}
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
},
methods: { ...Event },
created: function () {},
};
</script>
<style>
</style>
......@@ -7,25 +7,25 @@
-->
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
<c-col :span="24">
<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>
</c-col>
......
......@@ -95,9 +95,9 @@
<!--PD000488 -->
<!-- <el-tab-pane label="PD000488" name="stament">
<el-tab-pane label="声明" name="stament">
<m-stament :model="model" :codes="codes"/>
</el-tab-pane> -->
</el-tab-pane>
</c-tabs>
</el-form>
</div>
......@@ -116,7 +116,7 @@ import Infsea from "./Infsea"
import Ovwp from "./Ovwp"
import Detp from "./Detp"
import Tk from "./Tk"
import Coninfp from "~/views/Public/Coninfp";
import Coninfp from "./Coninfp";
import Trnpan from "./Trnpan"
import Cbsinfp from "./Cbsinfp"
import Cbeinfp from "./Cbeinfp"
......@@ -170,8 +170,7 @@ export default {
pattern: Pattern,
showPanel:false,
rules: null,
codes: {
},
codes: { ...CodeTable },
}
},
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