Commit 3d3d0d2a by wangren

bctacc、bctdav、bctrad、bctset、bctame交易微调

parent 5f5fdfce
...@@ -53,6 +53,7 @@ export default class Bctacc{ ...@@ -53,6 +53,7 @@ export default class Bctacc{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
}, },
blk:{ blk:{
docpre:"",
colins:"", // Collection Instructions .bcdgrp.blk.colins colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins dftins:"", // Draft Instructions .bcdgrp.blk.dftins
othins:"", // Other Instructions .bcdgrp.blk.othins othins:"", // Other Instructions .bcdgrp.blk.othins
...@@ -76,6 +77,7 @@ export default class Bctacc{ ...@@ -76,6 +77,7 @@ export default class Bctacc{
mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab
}, },
docgrdm:{ docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
}, },
drep:{ drep:{
......
...@@ -41,6 +41,7 @@ export default class Bctame{ ...@@ -41,6 +41,7 @@ export default class Bctame{
}, },
}, },
blk:{ blk:{
docpre:"",
bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet
bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg
colins:"", // Collection Instructions .bcdgrp.blk.colins colins:"", // Collection Instructions .bcdgrp.blk.colins
...@@ -89,6 +90,7 @@ export default class Bctame{ ...@@ -89,6 +90,7 @@ export default class Bctame{
extkey:"", // Responsible User .bctp.usr.extkey extkey:"", // Responsible User .bctp.usr.extkey
}, },
docgrdm:{ docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
}, },
drep:{ drep:{
......
...@@ -50,6 +50,7 @@ export default class Bctdav{ ...@@ -50,6 +50,7 @@ export default class Bctdav{
}, },
}, },
blk:{ blk:{
docpre:"",
bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet bcgdet:"", // Maturity Text .bcdgrp.blk.bcgdet
bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg bcgdetflg:"", // BC Tenor Details modified .bcdgrp.blk.bcgdetflg
colins:"", // Collection Instructions .bcdgrp.blk.colins colins:"", // Collection Instructions .bcdgrp.blk.colins
...@@ -93,6 +94,8 @@ export default class Bctdav{ ...@@ -93,6 +94,8 @@ export default class Bctdav{
}, },
docgrdm:{ docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
}, },
drep:{ drep:{
ptsget:{ ptsget:{
......
...@@ -66,6 +66,7 @@ export default class Bctdor{ ...@@ -66,6 +66,7 @@ export default class Bctdor{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
}, },
blk:{ blk:{
docpre:"",
resrej:"", // Reason .bcdgrp.blk.resrej resrej:"", // Reason .bcdgrp.blk.resrej
colins:"", // Collection Instructions .bcdgrp.blk.colins colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins dftins:"", // Draft Instructions .bcdgrp.blk.dftins
...@@ -106,6 +107,10 @@ export default class Bctdor{ ...@@ -106,6 +107,10 @@ export default class Bctdor{
}, },
}, },
bctp:{ bctp:{
docgrdm:{
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
docgrd:[],
},
recget:{ recget:{
sdamod:{ sdamod:{
seainf:"", // .bctp.recget.sdamod.seainf seainf:"", // .bctp.recget.sdamod.seainf
......
...@@ -51,6 +51,7 @@ export default class Bctrad{ ...@@ -51,6 +51,7 @@ export default class Bctrad{
dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn dbfadrblkcn:"", // Chinese address .bcdgrp.drr.dbfadrblkcn
}, },
blk:{ blk:{
docpre:"",
colinssnm:"", // Instructions for Second Mail .bcdgrp.blk.colinssnm colinssnm:"", // Instructions for Second Mail .bcdgrp.blk.colinssnm
colins:"", // Collection Instructions .bcdgrp.blk.colins colins:"", // Collection Instructions .bcdgrp.blk.colins
dftins:"", // Draft Instructions .bcdgrp.blk.dftins dftins:"", // Draft Instructions .bcdgrp.blk.dftins
...@@ -75,6 +76,7 @@ export default class Bctrad{ ...@@ -75,6 +76,7 @@ export default class Bctrad{
mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab mattxtlab:"", // Label for MATTXT .bctp.matp.mattxtlab
}, },
docgrdm:{ docgrdm:{
docgrd:[],
docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab docdsclab:"", // Label of document description .bctp.docgrdm.docdsclab
}, },
co2p:{ co2p:{
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<!-- ====================左边======================= --> <!-- ====================左边======================= -->
<el-col :span="11"> <el-col :span="11">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" style="width: 100%"> <el-form-item
label="Collection Number"
prop="bcdgrp.rec.ownref"
style="width: 100%"
>
<c-fullbox> <c-fullbox>
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number" <c-input
v-model="model.bcdgrp.rec.ownref"
maxlength="16"
placeholder="请输入Collection Number"
style="width: 100%" style="width: 100%"
disabled> disabled
>
</c-input> </c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
style="margin-left:8px; padding: 0 12px" style="margin-left: 8px; padding: 0 12px"
size="small" size="small"
type="primary" type="primary"
@click=""> @click=""
>
<span style="font-family: '宋体'; font-weight: bold">i</span> <span style="font-family: '宋体'; font-weight: bold">i</span>
</c-button> </c-button>
</template> </template>
...@@ -24,178 +32,280 @@ ...@@ -24,178 +32,280 @@
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur"> <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
<c-input v-model="model.bcdgrp.cbs.max.cur" style="width:100%" placeholder="请选择Document Amount" <c-input
disabled> v-model="model.bcdgrp.cbs.max.cur"
style="width: 100%"
placeholder="请选择Document Amount"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt"> <el-form-item
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 100%" style="text-align: left"
disabled></c-input> label-width="0"
prop="bcdgrp.cbs.max.amt"
>
<c-input
v-model="model.bcdgrp.cbs.max.amt"
style="text-align: left; width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur"> <el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-input v-model="model.bcdgrp.cbs.opn1.cur" style="width:100%" placeholder="请选择Open Amount" <c-input
disabled> v-model="model.bcdgrp.cbs.opn1.cur"
style="width: 100%"
placeholder="请选择Open Amount"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt"> <el-form-item
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 100%" style="text-align: left"
disabled></c-input> label-width="0"
prop="bcdgrp.cbs.opn1.amt"
>
<c-input
v-model="model.bcdgrp.cbs.opn1.amt"
style="text-align: left; width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat"> <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:100%" <c-date-picker
value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker> type="date"
v-model="model.bcdgrp.rec.rcvdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Docs Received on"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Advised on" prop="bcdgrp.rec.advdat"> <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:100%" <c-date-picker
value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker> type="date"
v-model="model.bcdgrp.rec.advdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Advised on"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat"> <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.matdat" style="width:100%" <c-date-picker
value-format="yyyy-MM-dd" placeholder="请选择Maturity Date" disabled></c-date-picker> type="date"
v-model="model.bcdgrp.rec.matdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Maturity Date"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat"> <el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:100%" <c-date-picker
value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker> type="date"
v-model="model.bcdgrp.rec.predat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Remitted on"
disabled
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod"> <el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition" <c-input
disabled> v-model="model.bcdgrp.rec.doctypcod"
style="width: 100%"
placeholder="请选择Payment Condition"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta"> <el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input v-model="model.bcdgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status" <c-input
disabled> v-model="model.bcdgrp.rec.docsta"
style="width: 100%"
placeholder="请输入Document Set Status"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item label="Amount Accepted" prop="setmod.doccur"> <el-form-item label="Amount Accepted" prop="setmod.doccur">
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="Amount Accepted" disabled> <c-input
v-model="model.setmod.doccur"
style="width: 100%"
placeholder="Amount Accepted"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> <c-col :span="12">
<el-form-item style="text-align: left" label-width="0" prop="setmod.docamt"> <el-form-item
<c-input v-model="model.setmod.docamt" style="text-align: left; width: 100%" style="text-align: left"
placeholder="请输入document amount"></c-input> label-width="0"
prop="setmod.docamt"
>
<c-input
v-model="model.setmod.docamt"
style="text-align: left; width: 100%"
placeholder="请输入document amount"
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd"> <!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> </c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
code: 'docpre',
}"
></c-docpre>
</c-col> </c-col>
</el-col> </el-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<el-col :span="11" :offset="1"> <el-col :span="11" :offset="1">
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%"> <el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%">
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input> <c-input
v-model="model.bcdgrp.rec.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item style="text-align: right" label="Drawee Ref." prop="bcdgrp.dre.pts.ref"> <el-form-item
<c-input v-model="model.bcdgrp.dre.pts.ref" maxlength="16" style="width: 100%" disabled></c-input> style="text-align: right"
label="Drawee Ref."
prop="bcdgrp.dre.pts.ref"
>
<c-input
v-model="model.bcdgrp.dre.pts.ref"
maxlength="16"
style="width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="bcdgrp.dre.pts.nam"> <el-form-item prop="bcdgrp.dre.pts.nam">
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input> <c-input
v-model="model.bcdgrp.dre.pts.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item style="text-align: right" label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref"> <el-form-item
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled> style="text-align: right"
label="Remitting Bank Ref."
prop="bcdgrp.rmi.pts.ref"
>
<c-input
v-model="model.bcdgrp.rmi.pts.ref"
maxlength="16"
style="width: 100%"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="bcdgrp.rmi.pts.nam"> <el-form-item prop="bcdgrp.rmi.pts.nam">
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input> <c-input
v-model="model.bcdgrp.rmi.pts.nam"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item style="text-align: right" label="Drawer Ref." prop="bcdgrp.drr.pts.ref"> <el-form-item
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="16" style="width: 100%" disabled> style="text-align: right"
label="Drawer Ref."
prop="bcdgrp.drr.pts.ref"
>
<c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="16"
style="width: 100%"
disabled
>
</c-input> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item prop="bcdgrp.drr.pts.ref"> <el-form-item prop="bcdgrp.drr.pts.ref">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input> <c-input
v-model="model.bcdgrp.drr.pts.ref"
maxlength="40"
style="width: 100%"
disabled
></c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat"> <el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
<c-date-picker type="date" v-model="model.bcdgrp.rec.accdat" style="width:100%" <c-date-picker
value-format="yyyy-MM-dd" placeholder="请选择Accepted on"></c-date-picker> type="date"
v-model="model.bcdgrp.rec.accdat"
style="width: 100%"
value-format="yyyy-MM-dd"
placeholder="请选择Accepted on"
></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> </el-col>
</div> </div>
</template> </template>
<script> <script>
import Api from "~/service/Api" import Api from "~/service/Api";
import commonProcess from "~/mixin/commonProcess"; import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctacc/Event" import Event from "~/model/Bctacc/Event";
import Docpre from "~/views/Public/Docpre";
export default { export default {
inject: ['root'], components: {
"c-docpre": Docpre,
},
inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
data() { data() {
return { return {};
docgrd: {
columns: [{
title: "lst1",
width: "80px",
dataIndex: "cmail1",
show: "input",
},
{
title: "2nd",
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "input",
},
],
urls: "bctp.docgrdm.docgrd",
},
}
}, },
methods: { methods: {
...Event ...Event,
}, },
created: function () { created: function () {},
};
}
}
</script> </script>
<style> <style></style>
</style>
\ No newline at end of file
...@@ -299,8 +299,13 @@ ...@@ -299,8 +299,13 @@
>BC Tenor Details modified</c-checkbox >BC Tenor Details modified</c-checkbox
> --> > -->
</c-col> </c-col>
<c-docpre
<c-edit-table :model="model" v-bind="ptsaddg"> </c-edit-table> :model="model"
:argadr="{
path:'bcdgrp.blk.docpre',
grp: 'bctp',
code:'docpre'
}"></c-docpre>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
...@@ -390,9 +395,13 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -390,9 +395,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable"; import CodeTable from "~/config/CodeTable";
import Event from "~/model/Bctame/Event"; import Event from "~/model/Bctame/Event";
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { "c-ptap": Ptap }, components: {
"c-ptap": Ptap,
"c-docpre": Docpre,
},
inject: ["root"], inject: ["root"],
props: ["model", "codes"], props: ["model", "codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -239,10 +239,17 @@ ...@@ -239,10 +239,17 @@
> >
</c-istream-table> </c-istream-table>
--> -->
<c-edit-table :model="model" v-bind="docgrd"> <!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> </c-edit-table>
</c-col> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</c-col> </c-col>
</c-col> </c-col>
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
...@@ -508,9 +515,13 @@ import commonProcess from "~/mixin/commonProcess"; ...@@ -508,9 +515,13 @@ import commonProcess from "~/mixin/commonProcess";
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctdav/Event" import Event from "~/model/Bctdav/Event"
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { "c-ptap": Ptap }, components: {
"c-ptap": Ptap ,
"c-docpre" : Docpre
},
inject: ['root'], inject: ['root'],
props:["model","codes"], props:["model","codes"],
mixins: [commonProcess], mixins: [commonProcess],
......
...@@ -89,8 +89,15 @@ ...@@ -89,8 +89,15 @@
</c-button> </c-button>
</c-col> </c-col>
<c-col :span="24"> <c-col :span="24">
<c-edit-table :model="model" v-bind="docgrd"> <!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> </c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</c-col> </c-col>
</c-col> </c-col>
<!-- ====================右边======================= --> <!-- ====================右边======================= -->
...@@ -203,10 +210,12 @@ ...@@ -203,10 +210,12 @@
import CodeTable from "~/config/CodeTable" import CodeTable from "~/config/CodeTable"
import Event from "~/model/Bctrad/Event" import Event from "~/model/Bctrad/Event"
import Ptap from "~/views/Public/Ptap"; import Ptap from "~/views/Public/Ptap";
import Docpre from "~/views/Public/Docpre";
export default { export default {
components: { components: {
"c-ptap": Ptap "c-ptap": Ptap,
"c-docpre" : Docpre
}, },
inject: ['root'], inject: ['root'],
props: ["model", "codes"], props: ["model", "codes"],
......
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
> >
</c-istream-table> </c-istream-table>
</c-col> </c-col>
<c-col :span="24">
<c-docpre <c-docpre
:model="model" :model="model"
:argadr="{ :argadr="{
...@@ -147,8 +147,9 @@ ...@@ -147,8 +147,9 @@
grp: 'bctp', grp: 'bctp',
rol: 'blk', rol: 'blk',
}"></c-docpre> }"></c-docpre>
</c-col> </c-col>
</c-col>
<!-- ========================右边======================= --> <!-- ========================右边======================= -->
<c-col :span="11" :offset="1"> <c-col :span="11" :offset="1">
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</c-input> </c-input>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="Document" prop="docnam" width="auto"> <el-table-column label="Document" width="180px" prop="docnam" >
<template slot-scope="scope"> <template slot-scope="scope">
<!-- {{scope.row.docnam}} --> <!-- {{scope.row.docnam}} -->
<c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam" <c-select style="width: 100%" placeholder="请选择" v-model="scope.row.docnam"
...@@ -37,10 +37,10 @@ ...@@ -37,10 +37,10 @@
</c-select> </c-select>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="操作" width="170px" fixed="right"> <el-table-column label="操作" width="70px" fixed="right">
<template slot-scope="scope"> <template slot-scope="scope" >
<div v-if="ifShowDelete"> <div v-if="ifShowDelete" >
<c-button @click="deleteTable(scope.$index)" type="primary">删除</c-button> <c-button style="margin-left:-5px" @click="deleteTable(scope.$index)" type="primary">删除</c-button>
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
......
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