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
}, },
} }
}, },
......
...@@ -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%"
...@@ -139,27 +139,49 @@ ...@@ -139,27 +139,49 @@
</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">
<el-form-item label="到期日" prop="bfdgrp.rec.matdat">
<c-date-picker <c-date-picker
type="date" type="date"
v-model="model.bfdgrp.rec.matdat" v-model="model.bfdgrp.rec.matdat"
style="width: 100%" style="width: 100%"
placeholder="请选择远期单据到期日" placeholder="请选择到期日"
disabled disabled
></c-date-picker> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </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="24">
<c-col :span="12"> <c-col :span="12">
<el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat"> <el-form-item label="到单日期" prop="bfdgrp.rec.rcvdat">
...@@ -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
...@@ -290,8 +341,7 @@ ...@@ -290,8 +341,7 @@
<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>
...@@ -305,7 +355,7 @@ ...@@ -305,7 +355,7 @@
</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"
...@@ -644,7 +694,7 @@ export default { ...@@ -644,7 +694,7 @@ export default {
data() { data() {
return {}; return {};
}, },
computed:{ computed: {
sndmsg: { sndmsg: {
get() { get() {
return this.model.sndmsg === "X"; return this.model.sndmsg === "X";
......
...@@ -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,9 +311,7 @@ ...@@ -295,9 +311,7 @@
</c-col> </c-col>
<!-- next part --> <!-- next part -->
<!-- left --> <c-col :span="24" style="margin-bottom: 35px">
<c-col :span="12">
<c-col :span="24" style="margin-bottom:35px">
<c-istream-table <c-istream-table
:list="model.liaall.tenstm.rows || []" :list="model.liaall.tenstm.rows || []"
:columns="stmData.columns" :columns="stmData.columns"
...@@ -306,7 +320,8 @@ ...@@ -306,7 +320,8 @@
> >
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<!-- left -->
<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="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>
...@@ -470,8 +464,28 @@ ...@@ -470,8 +464,28 @@
></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";
}, },
...@@ -878,13 +892,13 @@ export default { ...@@ -878,13 +892,13 @@ export default {
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>
......
...@@ -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%"
...@@ -141,12 +141,20 @@ ...@@ -141,12 +141,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 +195,20 @@ ...@@ -187,12 +195,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 +217,9 @@ ...@@ -201,9 +217,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 +227,9 @@ ...@@ -211,9 +227,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 +252,14 @@ ...@@ -236,14 +252,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 +269,27 @@ ...@@ -253,6 +269,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
...@@ -273,57 +310,56 @@ ...@@ -273,57 +310,56 @@
</c-col> </c-col>
<!-- next part --> <!-- next part -->
<!-- left --> <c-col :span="24" style="height: 24px; margin-top: -10px">
<c-col :span="12"> <el-form-item :label="model.bftp.docgrdm.docdsclab" class="messageLabel">
<c-col :span="24" style="height: 24px; margin-top: 20px"> <c-button style="float: right" @click="addTableValue" type="primary"
<el-form-item >新增单据</c-button
:label="model.bftp.docgrdm.docdsclab"
class="messageLabel"
> >
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24" style="height: 0px; margin-top: 5px"> <c-col :span="24" style="height: 0px">
<el-divider></el-divider> <el-divider></el-divider>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24" style="margin-bottom: 30px">
<c-table <c-table
:data="model.bftp.docgrdm.docgrd" style="text-align: center"
style="width: 100%; margin-bottom: 100px" :list="TableValue"
:paginationShow="false"
:border="true"
> >
<el-table-column prop="cmail1" label="1st"> </el-table-column> <el-table-column
<el-table-column prop="cmail2" label="2st"> </el-table-column> label="1st"
<el-table-column label="Document" prop="docnam"> prop="cmail1"
width="auto"
></el-table-column>
<el-table-column
label="2st"
prop="cmail2"
width="auto"
></el-table-column>
<el-table-column label="Document" prop="docnam" width="auto">
<template slot-scope="scope"> <template slot-scope="scope">
<c-select v-model="scope.row.ptydbt"> <!-- {{scope.row.docnam}} -->
<c-select
style="width: 100%"
placeholder="请选择"
v-model="scope.row.docnam"
>
<el-option <el-option
v-for="item in codes.ptydbt" v-for="item in codeTable"
:key="item.value" :key="item.value"
:label="item.value" :label="item.label"
:value="item.value" :value="item.value"
> >
<span style="float: left">{{ item.label }}</span>
</el-option> </el-option>
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="" prop="det" width="80px" fixed="right"> <el-table-column label="操作" width="170px" fixed="right">
<template slot-scope="scope" slot="header"> <template slot-scope="scope">
<el-button <c-button @click="deleteTable(scope.row)" type="primary"
circle >删除</c-button
style="padding: 4px"
class="el-icon-plus"
size="mini"
@click="addRow(scope)"
>
</el-button>
<el-button
style="padding: 4px"
circle
class="el-icon-minus"
size="mini"
@click="removeRow(scope)"
> >
</el-button>
</template> </template>
</el-table-column> </el-table-column>
</c-table> </c-table>
...@@ -375,11 +411,9 @@ ...@@ -375,11 +411,9 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
</c-col>
<!-- right --> <!-- left -->
<c-col :span="12"> <c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="付款人" prop="bfdgrp.rec.payrol"> <el-form-item label="付款人" prop="bfdgrp.rec.payrol">
<c-select <c-select
...@@ -399,7 +433,6 @@ ...@@ -399,7 +433,6 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="BIC" prop="bfdgrp.oth.pts.extkey"> <el-form-item label="BIC" prop="bfdgrp.oth.pts.extkey">
<c-input <c-input
...@@ -423,7 +456,10 @@ ...@@ -423,7 +456,10 @@
grp: 'bfdgrp', grp: 'bfdgrp',
}" }"
></c-ptapdome> ></c-ptapdome>
</c-col>
<!-- right -->
<c-col :span="12">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="交单人" prop="bfdgrp.rec.docprbrol"> <el-form-item label="交单人" prop="bfdgrp.rec.docprbrol">
<c-select <c-select
...@@ -447,7 +483,7 @@ ...@@ -447,7 +483,7 @@
<c-ptap <c-ptap
:model="model" :model="model"
:argadr="{ :argadr="{
title: '受益人', title: '',
grp: 'bfdgrp', grp: 'bfdgrp',
rol: 'prb', rol: 'prb',
}" }"
...@@ -474,7 +510,7 @@ ...@@ -474,7 +510,7 @@
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="3" style="float:right;"> <c-col :span="3" style="float: right">
<c-checkbox v-model="model.ameadrflg" disabled <c-checkbox v-model="model.ameadrflg" disabled
>Ammendment Ben. Address</c-checkbox >Ammendment Ben. Address</c-checkbox
> >
...@@ -772,14 +808,57 @@ export default { ...@@ -772,14 +808,57 @@ export default {
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return {}; return {
TableValue: [
{
id: 0,
cmail1: "1",
cmail2: "2",
docnam: "1",
},
],
newValue: {
id: 0,
cmail1: "",
cmail2: "",
docnam: "",
},
codeTable: [
{ label: "增值税发票", value: "1" },
{ label: "发票", value: "2" },
{ label: "装箱单", value: "3" },
{ label: "空运单", value: "4" },
{ label: "海运提单", value: "5" },
{ label: "铁路运单", value: "6" },
{ label: "货物收据", value: "7" },
{ label: "邮政收据", value: "8" },
],
};
}, },
computed: { computed: {
flag() { flag() {
return this.model.mtabut.coninf.usr.extkey == ""; return this.model.mtabut.coninf.usr.extkey == "";
}, },
}, },
methods: { ...Event }, methods: {
...Event,
addTableValue() {
var index = this.TableValue.length;
var newTableValue = this.newValue;
if (index > 0) {
newTableValue.id = this.TableValue[index - 1].id + 1;
}
this.TableValue.push(newTableValue);
},
deleteTable(row) {
for (let i = 0; i < this.TableValue.length; i++) {
if (this.TableValue[i].id == row.id) {
this.TableValue.splice(i, 1);
break;
}
}
},
},
created: function () {}, created: function () {},
}; };
</script> </script>
......
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