Commit 865451b3 by wangren
parents 4528d2c4 7e210f48
......@@ -147,7 +147,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -16,7 +16,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......@@ -106,7 +106,7 @@ export default {
{ max: 40, message: "长度不能超过40" }
],
"strinf": [
{ type: "string", required: true, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 50, message: "长度不能超过50" }
],
......
......@@ -16,7 +16,7 @@ export default {
{ max: 3, message: "长度不能超过3" }
],
"dedgrp.cbs.opn1.amt": [
{ type: "number", required: false, message: "必输项" },
{ type: "string", required: false, message: "必输项" },
{ max: 18, message: "整数位不能超过14位" },
{ pattern: /(^\d+$)|(^\.\d{1,3}$)|(^\d+\.\d{1,3}$)/, message: "小数位不能超过3位" }
],
......
......@@ -6,11 +6,11 @@
<c-col :span="20">
<el-form-item
label="参考号"
prop="bfdgrp.rec.ownref"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bfdgrp.rec.ownref"
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
......@@ -26,6 +26,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -74,6 +75,7 @@
size="small"
type="primary"
@click="onSeainf"
disabled
>
<span
style="font-size: 15px; font-family: '宋体'; font-weight: bold"
......@@ -141,12 +143,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
style="width: 100%"
placeholder="请输入单据类型"
disabled
></c-input>
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -187,12 +197,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bfdgrp.rec.docsta"
maxlength="40"
style="width: 100%"
placeholder="请输入单据状态"
disabled
></c-input>
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -201,9 +219,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -211,9 +229,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -236,14 +254,14 @@
<c-ptsmsg
:model="model"
:argadr="{
title: '交单',
title: '交单',
grp: 'bfdgrp',
rol: 'prb',
}"
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -253,6 +271,27 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......
......@@ -102,6 +102,7 @@ export default {
pattern: Pattern,
rules: null,
codes: {
...CodeTable
},
}
},
......
<template>
<div class="eibs-tab">
<!-- left -->
<!-- left -->
<c-col :span="12">
<c-col :span="24">
<c-col :span="20">
<el-form-item
label="参考号"
prop="bfdgrp.rec.ownref"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bfdgrp.rec.ownref"
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
......@@ -139,26 +139,48 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
style="width: 100%"
placeholder="请输入单据类型"
disabled
></c-input>
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="远期单据到期日" prop="bfdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择远期单据到期日"
disabled
></c-date-picker>
</el-form-item>
<c-col :span="12">
<el-form-item label="到期日" prop="bfdgrp.rec.matdat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.matdat"
style="width: 100%"
placeholder="请选择到期日"
disabled
></c-date-picker>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="寄单日期" prop="bfdgrp.rec.orddat">
<c-date-picker
type="date"
v-model="model.bfdgrp.rec.orddat"
style="width: 100%"
placeholder="请选择寄单日期"
disabled
></c-date-picker>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24">
<c-col :span="12">
......@@ -186,12 +208,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bfdgrp.rec.docsta"
maxlength="40"
style="width: 100%"
placeholder="请输入单据状态"
disabled
></c-input>
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -200,9 +230,9 @@
<c-col :span="12">
<c-col :span="24">
<c-col :span="12">
<el-form-item label="信用证余额" prop="bfdgrp.cbs.opn1.cur">
<el-form-item label="信用证余额" prop="dedgrp.cbs.opn1.cur">
<c-input
v-model="model.bfdgrp.cbs.opn1.cur"
v-model="model.dedgrp.cbs.opn1.cur"
maxlength="3"
placeholder="请输入信用证余额"
disabled
......@@ -210,9 +240,9 @@
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item label="" label-width="5px" prop="bfdgrp.cbs.opn1.amt">
<el-form-item label="" label-width="5px" prop="dedgrp.cbs.opn1.amt">
<c-input
v-model="model.bfdgrp.cbs.opn1.amt"
v-model="model.dedgrp.cbs.opn1.amt"
placeholder="请输入Balance"
disabled
></c-input>
......@@ -242,7 +272,7 @@
:disabled="true"
></c-ptsmsg>
</c-col>
<c-col :span="24">
<!-- <c-col :span="24">
<c-ptsmsg
:model="model"
:argadr="{
......@@ -252,6 +282,27 @@
}"
:disabled="true"
></c-ptsmsg>
</c-col> -->
<c-col :span="24">
<el-form-item label="开证行编号" prop="dedgrp.rec.kzref">
<c-input
v-model="model.dedgrp.rec.kzref"
maxlength="16"
placeholder="'请输入开证行编号'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="开证行名称" prop="bfdgrp.iss.pts.nam">
<c-input
v-model="model.bfdgrp.iss.pts.nam"
maxlength="40"
placeholder="'请输入开证行名称'"
disabled
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
......@@ -289,12 +340,11 @@
</c-col> -->
<c-col :span="4">
<el-form-item label="" prop="sndmsg">
<c-checkbox v-model="sndmsg"
>发送Message</c-checkbox>
</el-form-item>
</c-col>
<el-form-item label="" prop="sndmsg">
<c-checkbox v-model="sndmsg">发送Message</c-checkbox>
</el-form-item>
</c-col>
<!-- <c-col :span="24">
<el-form-item label="Booking Procedure" prop="rebkpflg">
<c-select
......@@ -305,24 +355,24 @@
</c-select>
</el-form-item>
</c-col> -->
<c-col :span="12">
<el-form-item label="Booking Procedure" prop="rebkpflg">
<c-select
v-model="model.rebkpflg"
style="width: 100%"
placeholder="请选择Booking Procedure"
<c-col :span="24">
<el-form-item label="Booking Procedure" prop="rebkpflg">
<c-select
v-model="model.rebkpflg"
style="width: 100%"
placeholder="请选择Booking Procedure"
>
<el-option
v-for="item in codes.rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
<el-option
v-for="item in codes.rebkpflg"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</el-option>
</c-select>
</el-form-item>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp0.dedget.sdamod.dadsnd">
<c-input
......@@ -644,8 +694,8 @@ export default {
data() {
return {};
},
computed:{
sndmsg: {
computed: {
sndmsg: {
get() {
return this.model.sndmsg === "X";
},
......@@ -653,7 +703,7 @@ export default {
this.model.sndmsg = val ? "X" : "";
},
},
flag() {
flag() {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
......
......@@ -6,11 +6,11 @@
<c-col :span="20">
<el-form-item
label="参考号"
prop="bfdgrp.rec.ownref"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bfdgrp.rec.ownref"
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
......
......@@ -293,6 +293,7 @@
></c-input>
</el-form-item>
</c-col>
<c-col :span="24">
<c-ptsmsg
:model="model"
......
......@@ -6,11 +6,11 @@
<c-col :span="20">
<el-form-item
label="参考号"
prop="bfdgrp.rec.ownref"
prop="dedgrp.rec.ownref"
style="width: 100%"
>
<c-input
v-model="model.bfdgrp.rec.ownref"
v-model="model.dedgrp.rec.ownref"
maxlength="16"
placeholder="请输入参考号"
style="width: 95%"
......@@ -143,12 +143,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据类型" prop="bfdgrp.rec.doctypcod">
<c-input
<c-select
v-model="model.bfdgrp.rec.doctypcod"
maxlength="1"
style="width: 100%"
placeholder="请输入单据类型"
disabled
></c-input>
>
<el-option
v-for="item in codes.doctypcod"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
<c-col :span="24">
......@@ -188,12 +196,20 @@
</c-col>
<c-col :span="24">
<el-form-item label="单据状态" prop="bfdgrp.rec.docsta">
<c-input
<c-select
v-model="model.bfdgrp.rec.docsta"
maxlength="40"
style="width: 100%"
placeholder="请输入单据状态"
disabled
></c-input>
>
<el-option
v-for="item in codes.docsta"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</c-select>
</el-form-item>
</c-col>
</c-col>
......@@ -295,18 +311,17 @@
</c-col>
<!-- next part -->
<c-col :span="24" style="margin-bottom: 35px">
<c-istream-table
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table>
</c-col>
<!-- left -->
<c-col :span="12">
<c-col :span="24" style="margin-bottom:35px">
<c-istream-table
:list="model.liaall.tenstm.rows || []"
:columns="stmData.columns"
:showSelection="true"
v-on:multipleSelect="multipleSelect"
>
</c-istream-table>
</c-col>
<c-col :span="24">
<c-col :span="12">
<el-form-item label="付款金额" prop="bfdgrp.cbs.opn1.cur">
......@@ -393,40 +408,19 @@
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="融资金额" class="messageLabel"> </el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: 5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="Reference" width="195px">
</el-table-column>
<el-table-column prop="opncur" label="Cur" width="195px">
</el-table-column>
<el-table-column prop="opnamt" label="Open amount" width="195px">
</el-table-column>
<el-table-column prop="bckamt" label="Pay back now" width="195px">
</el-table-column>
</c-table>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="" prop="clsflg">
<c-checkbox v-model="clsflg"
>闭卷</c-checkbox>
<c-checkbox v-model="clsflg">闭卷</c-checkbox>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="" prop="frepayflg">
<c-checkbox v-model="frepayflg"
>无偿放单</c-checkbox>
<c-checkbox v-model="frepayflg">无偿放单</c-checkbox>
</el-form-item>
</c-col>
......@@ -463,15 +457,35 @@
<c-col :span="24">
<el-form-item label="SG000254" prop="bpdgrp.rec.ffttyp">
<c-input
v-model="model.bpdgrp.rec.ffttyp"
maxlength="40"
placeholder="请输入SG000254"
disabled
></c-input>
v-model="model.bpdgrp.rec.ffttyp"
maxlength="40"
placeholder="请输入SG000254"
disabled
></c-input>
</el-form-item>
</c-col>
</c-col>
<c-col :span="24" style="height: 24px; margin-top: 20px">
<el-form-item label="融资金额" class="messageLabel"> </el-form-item>
</c-col>
<c-col :span="24" style="height: 0px; margin-top: 5px">
<el-divider></el-divider>
</c-col>
<c-col :span="24">
<c-table :data="model.bptbck.bptbckg" style="width: 100%">
<el-table-column prop="ownref" label="Reference" width="389px">
</el-table-column>
<el-table-column prop="opncur" label="Cur" width="389px">
</el-table-column>
<el-table-column prop="opnamt" label="Open amount" width="389px">
</el-table-column>
<el-table-column prop="bckamt" label="Pay back now" width="389px">
</el-table-column>
</c-table>
</c-col>
<!-- <c-col :span="12">
<el-form-item label="Drag Drop Sender" prop="bftp.dedget.sdamod.dadsnd">
......@@ -843,18 +857,18 @@ export default {
return {
stmData: {
columns: [
'1 1 "Type" 130',
'2 2 "Dbt" 130',
'3 3 "Cdt" 130',
'4 4 "Cur" 130',
'5 5 "Amt" 130 2 8 1 4',
'6 6 "Mat.Dat." 130 4 7 1',
'1 1 "Type" 250',
'2 2 "Dbt" 250',
'3 3 "Cdt" 250',
'4 4 "Cur" 250',
'5 5 "Amt" 250 2 8 1 4',
'6 6 "Mat.Dat." 250 4 7 1',
],
data: [],
},
};
},
computed:{
computed: {
clsflg: {
get() {
return this.model.mtabut.clsflg === "C";
......@@ -863,7 +877,7 @@ export default {
this.model.mtabut.clsflg = val ? "C" : "O";
},
},
frepayflg:{
frepayflg: {
get() {
return this.model.bfdgrp.rec.frepayflg === "O";
},
......@@ -875,16 +889,16 @@ export default {
return this.model.mtabut.coninf.usr.extkey == "";
},
},
methods: {
methods: {
...Event,
multipleSelect(selection) {
console.log(selection)
console.log(selection);
if (selection) {
const rtnmsg = this.executeRule('tenstm')
this.updateModel(rtnmsg.data)
const rtnmsg = this.executeRule("tenstm");
this.updateModel(rtnmsg.data);
}
}
},
},
},
created: function () {},
};
</script>
......
......@@ -49,6 +49,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......@@ -97,13 +98,14 @@
maxlength="50"
show-word-limit
placeholder="请输入不符点"
disabled
:disabled="!docdisflg"
></c-input>
<template slot="footer">
<c-button
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
:disabled="!docdisflg"
>
...
</c-button>
......@@ -111,10 +113,7 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="寄单状态" prop="bftp.folwupopt">
<c-fullbox>
......@@ -133,7 +132,7 @@
</c-select>
<template slot="footer">
<c-checkbox
v-model="model.bfdgrp.blk.docdisflg"
v-model="docdisflg"
style="margin-left: 10px"
>录入不符点</c-checkbox
>
......@@ -141,6 +140,10 @@
</c-fullbox>
</el-form-item>
</c-col>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24">
<el-form-item label="" prop="approvcod">
......@@ -442,6 +445,14 @@ export default {
this.model.bfdsnd.ingdsc = val ? "Y" : "";
},
},
docdisflg:{
get() {
return this.model.bfdgrp.blk.docdisflg != "";
},
set(val) {
this.model.bfdgrp.blk.docdisflg = val ? "X" : "";
},
}
},
methods: { ...Event },
created: function () {},
......
......@@ -32,6 +32,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......@@ -74,6 +75,7 @@
style="margin-left: 10px; padding: 0 10px"
size="small"
type="primary"
disabled
>
...
</c-button>
......
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