Commit 2bb81da2 by zhengxiaokui

zxk

parent 334bfc7e
<template>
<div class="eibs-tab">
<c-row>
<c-col :span="12">
<c-col :span="11">
<!-- Available with -->
<c-col :span="24">
<el-form-item label="指定银行" prop="ledgrp.rec.avbwth">
......@@ -64,48 +64,7 @@
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="最大金额详情" prop="ledgrp.blk.mixdet">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.mixdet"
maxlength="35"
show-word-limit
placeholder="请输入最大金额详情"
></c-input>
</el-form-item>
</c-col>
<!-- Days of presentation period -->
<c-col :span="24">
<el-form-item label="交单期天数" prop="ledgrp.rec.prepers18">
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入交单期天数"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期" prop="ledgrp.blk.preper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期"
></c-input>
</el-form-item>
</c-col>
</c-col>
</c-row>
<c-row>
<c-col :span="12">
<c-col :span="24">
<el-form-item label="期限描述" prop="ledgrp.blk.defdet">
<c-input
......@@ -148,7 +107,42 @@
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<c-col :span="24">
<el-form-item label="最大金额详情" prop="ledgrp.blk.mixdet">
<c-input
type="textarea"
:rows="4"
v-model="model.ledgrp.blk.mixdet"
maxlength="35"
show-word-limit
placeholder="请输入最大金额详情"
></c-input>
</el-form-item>
</c-col>
<!-- Days of presentation period -->
<c-col :span="24">
<el-form-item label="交单期天数" prop="ledgrp.rec.prepers18">
<c-input
v-model="model.ledgrp.rec.prepers18"
placeholder="请输入交单期天数"
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="交单期" prop="ledgrp.blk.preper">
<c-input
type="textarea"
v-model="model.ledgrp.blk.preper"
maxlength="35"
show-word-limit
placeholder="请输入交单期"
></c-input>
</el-form-item>
</c-col>
<!-- Additional Details to Code for Charges CHATO -->
<c-col :span="24">
<el-form-item label="附加收费详情" prop="ledgrp.blk.feetxt">
......@@ -199,7 +193,7 @@
<c-row>
<!-- Dispatch from -->
<c-col :span="12">
<c-col :span="11">
<el-form-item label="转运" prop="ledgrp.rec.shpfro">
<c-input
type="textarea"
......@@ -212,7 +206,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="11" :offset="1">
<el-form-item label="货物装运地(港)" prop="ledgrp.rec.porloa">
<c-input
type="textarea"
......@@ -225,7 +219,7 @@
</el-form-item>
</c-col>
<c-col :span="12">
<c-col :span="11">
<el-form-item label="航空/目的港" prop="ledgrp.rec.pordis">
<c-input
type="textarea"
......@@ -239,7 +233,7 @@
</c-col>
<!-- Final Destination -->
<c-col :span="12">
<c-col :span="11" :offset="1">
<el-form-item label="货物目的地、交货地(港)" prop="ledgrp.rec.shpto">
<c-input
type="textarea"
......@@ -253,7 +247,7 @@
</c-col>
<!-- Shipment Period -->
<c-col :span="12">
<c-col :span="11">
<el-form-item label="发货期" prop="ledgrp.blk.shpper">
<c-input
type="textarea"
......@@ -266,201 +260,6 @@
</el-form-item>
</c-col>
</c-row>
<!--
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.avbp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.avbp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.avbp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.avbp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button size="small" type="primary" @click="onAvbpDet">
Details
</c-button>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.avb.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.avb.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.avb.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.avb.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.avb.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.avb.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onPreperButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="Presentation period text"
prop="ledgrp.rec.prepertxts18"
>
<c-input
v-model="model.ledgrp.rec.prepertxts18"
maxlength="35"
placeholder="请输入Presentation period text"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<span v-text="model.letp.labdefdet" data-path=".letp.labdefdet"> </span>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onChariaButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<c-button
size="small"
type="primary"
icon="el-icon-search"
@click="onLcrdftatButtxmsel"
>
...
</c-button>
</c-col>
<c-col :span="12">
<el-form-item
label="Drag Drop Sender"
prop="letp.drwp.ptsget.sdamod.dadsnd"
>
<c-input
v-model="model.letp.drwp.ptsget.sdamod.dadsnd"
placeholder="请输入Drag Drop Sender"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
label="External Key of Address"
prop="ledgrp.drw.pts.extkey"
>
<c-input
v-model="model.ledgrp.drw.pts.extkey"
maxlength="16"
placeholder="请输入External Key of Address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" prop="letp.drwp.ptsget.sdamod.seainf">
<c-input
v-model="model.letp.drwp.ptsget.sdamod.seainf"
placeholder="请输入"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="名称" prop="ledgrp.drw.namelc">
<c-input
type="textarea"
v-model="model.ledgrp.drw.namelc"
maxlength="35"
show-word-limit
placeholder="请输入名称"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Address Block" prop="ledgrp.drw.pts.adrblk">
<c-input
type="textarea"
v-model="model.ledgrp.drw.pts.adrblk"
maxlength="35"
show-word-limit
placeholder="请输入Address Block"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="Chinese address" prop="ledgrp.drw.dbfadrblkcn">
<c-input
type="textarea"
v-model="model.ledgrp.drw.dbfadrblkcn"
maxlength="35"
show-word-limit
placeholder="请输入Chinese address"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="地址" prop="ledgrp.drw.adrelc">
<c-input
type="textarea"
v-model="model.ledgrp.drw.adrelc"
maxlength="35"
show-word-limit
placeholder="请输入地址"
></c-input>
</el-form-item>
</c-col> -->
</div>
</template>
<script>
......
......@@ -188,7 +188,7 @@
<c-col :span="10">
<el-form-item
label="预通知日期"
label-width="100px"
label-width="80px"
prop="ledgrp.rec.preadvdt"
>
<c-date-picker
......@@ -214,7 +214,7 @@
<c-col :span="10">
<el-form-item
label="通知日期"
label-width="100px"
label-width="80px"
prop="ledgrp.rec.advdat"
>
<c-date-picker
......
<template>
<c-row>
<c-col :span="24">
<c-col :span="12">
<c-col :span="15">
<el-form-item
style="height=200px;"
label="General"
......@@ -10,10 +10,9 @@
<c-input
type="textarea"
:rows="6"
@input="infChanged($event, 'mtabut.coninf.oitinf.oit.inflev')"
@change="valueChange($event, 'mtabut.coninf.oitinf.oit.inflev')"
v-model="model.mtabut.coninf.oitinf.oit.inftxt"
maxlength="60"
:autosize="{ minRows: 4, maxRows: 6 }"
resize="none"
show-word-limit
placeholder="请输入Infotext"
......@@ -21,85 +20,70 @@
</el-form-item>
</c-col>
<c-col :span="12">
<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"
style="width: 50%"
:disabled="model.mtabut.coninf.oitinf.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
:code="inflev"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
<c-col :span="15">
<el-form-item label="Settlement" prop="mtabut.coninf.oitset.oit.inftxt">
<c-input
type="textarea"
@input="infChanged($event, 'mtabut.coninf.oitset.oit.inflev')"
:rows="6"
@change="valueChange($event, 'mtabut.coninf.oitset.oit.inflev')"
v-model="model.mtabut.coninf.oitset.oit.inftxt"
maxlength="60"
resize="none"
:autosize="{ minRows: 4, maxRows: 6 }"
show-word-limit
placeholder="请输入Infotext"
></c-input>
</el-form-item>
</c-col>
<c-col :span="12">
<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"
style="width: 50%"
:disabled="model.mtabut.coninf.oitset.oit.inftxt ? false : true"
placeholder="请选择Infotext Level"
:code="inflev"
>
<el-option
v-for="item in codes.inflev"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
<c-col :span="12">
<c-col :span="11">
<el-form-item label="执行日期" prop="mtabut.coninf.conexedat">
<el-date-picker
type="date"
v-model="model.mtabut.coninf.conexedat"
style="width: 40%"
style="width: 50%"
placeholder="请选择执行日期"
></el-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<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"
style="width: 40%"
disabled="disabled"
placeholder="请输入User ID"
></c-input>
......@@ -109,22 +93,29 @@
</template>
<script>
import CommonProcess from "~/mixin/CommonProcess";
import _ from "~/utils/Lodash.js";
// zxk 附言页签
export default {
inject: ["root"],
props: ["model", "codes"],
mixins: [CommonProcess],
data() {
return {};
return {
inflev: [
{ label: "Show", value: "$" },
{ label: "Do not show", value: "!" },
{ label: "Warn", value: "0" },
], //码表
};
},
methods: {
infChanged(e, type) {
if (!e) {
this.model[type] = "";
console.log("1111", this.model[type],type);
valueChange(event, type) {
if (!event) {
_.set(this.model, type, "");
}
},
},
created: function () {},
};
</script>
......
......@@ -149,7 +149,7 @@ export default {
this.$emit("onAplpDet");
},
valueChange(val) {
valueChange() {
if (this.onlySearch) return;
this.showGridPromptDialog(
`${this.argadr.grp}.${this.argadr.rol}.pts.extkey`
......
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