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