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
<el-form-item label="Collection Number" prop="bcdgrp.rec.ownref" style="width: 100%"> label="Collection Number"
<c-fullbox> prop="bcdgrp.rec.ownref"
<c-input v-model="model.bcdgrp.rec.ownref" maxlength="16" placeholder="请输入Collection Number" style="width: 100%"
style="width: 100%" >
disabled> <c-fullbox>
</c-input> <c-input
<template slot="footer"> v-model="model.bcdgrp.rec.ownref"
<c-button maxlength="16"
style="margin-left:8px; padding: 0 12px" placeholder="请输入Collection Number"
size="small" style="width: 100%"
type="primary" disabled
@click=""> >
<span style="font-family: '宋体'; font-weight: bold">i</span> </c-input>
</c-button> <template slot="footer">
</template> <c-button
</c-fullbox> style="margin-left: 8px; padding: 0 12px"
</el-form-item> size="small"
</c-col> type="primary"
<c-col :span="12"> @click=""
<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" <span style="font-family: '宋体'; font-weight: bold">i</span>
disabled> </c-button>
</c-input> </template>
</el-form-item> </c-fullbox>
</c-col> </el-form-item>
<c-col :span="12"> </c-col>
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.max.amt"> <c-col :span="12">
<c-input v-model="model.bcdgrp.cbs.max.amt" style="text-align: left; width: 100%" <el-form-item label="Document Amount" prop="bcdgrp.cbs.max.cur">
disabled></c-input> <c-input
</el-form-item> v-model="model.bcdgrp.cbs.max.cur"
</c-col> style="width: 100%"
<c-col :span="12"> placeholder="请选择Document Amount"
<el-form-item label="Open Amount" prop="bcdgrp.cbs.opn1.cur"> disabled
<c-input 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
<el-form-item style="text-align: left" label-width="0" prop="bcdgrp.cbs.opn1.amt"> style="text-align: left"
<c-input v-model="model.bcdgrp.cbs.opn1.amt" style="text-align: left; width: 100%" label-width="0"
disabled></c-input> prop="bcdgrp.cbs.max.amt"
</el-form-item> >
</c-col> <c-input
<c-col :span="12"> v-model="model.bcdgrp.cbs.max.amt"
<el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat"> style="text-align: left; width: 100%"
<c-date-picker type="date" v-model="model.bcdgrp.rec.rcvdat" style="width:100%" disabled
value-format="yyyy-MM-dd" placeholder="请选择Docs Received on" disabled></c-date-picker> ></c-input>
</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="Open Amount" prop="bcdgrp.cbs.opn1.cur">
<c-date-picker type="date" v-model="model.bcdgrp.rec.advdat" style="width:100%" <c-input
value-format="yyyy-MM-dd" placeholder="请选择Advised on" disabled></c-date-picker> v-model="model.bcdgrp.cbs.opn1.cur"
</el-form-item> style="width: 100%"
</c-col> placeholder="请选择Open Amount"
<c-col :span="12"> disabled
<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-input>
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
<el-form-item label="Remitted on" prop="bcdgrp.rec.predat"> style="text-align: left"
<c-date-picker type="date" v-model="model.bcdgrp.rec.predat" style="width:100%" label-width="0"
value-format="yyyy-MM-dd" placeholder="请选择Remitted on" disabled></c-date-picker> prop="bcdgrp.cbs.opn1.amt"
</el-form-item> >
</c-col> <c-input
<c-col :span="24"> v-model="model.bcdgrp.cbs.opn1.amt"
<el-form-item label="Payment Condition" prop="bcdgrp.rec.doctypcod"> style="text-align: left; width: 100%"
<c-input v-model="model.bcdgrp.rec.doctypcod" style="width:100%" placeholder="请选择Payment Condition" disabled
disabled> ></c-input>
</c-input> </el-form-item>
</el-form-item> </c-col>
</c-col> <c-col :span="12">
<c-col :span="24"> <el-form-item label="Docs Received on" prop="bcdgrp.rec.rcvdat">
<el-form-item label="Document Set Status" prop="bcdgrp.rec.docsta"> <c-date-picker
<c-input v-model="model.bcdgrp.rec.docsta" style="width:100%" placeholder="请输入Document Set Status" type="date"
disabled> v-model="model.bcdgrp.rec.rcvdat"
</c-input> style="width: 100%"
</el-form-item> value-format="yyyy-MM-dd"
</c-col> placeholder="请选择Docs Received on"
<c-col :span="12"> disabled
<el-form-item label="Amount Accepted" prop="setmod.doccur"> ></c-date-picker>
<c-input v-model="model.setmod.doccur" style="width:100%" placeholder="Amount Accepted" disabled> </el-form-item>
</c-input> </c-col>
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label="Advised on" prop="bcdgrp.rec.advdat">
<c-col :span="12"> <c-date-picker
<el-form-item style="text-align: left" label-width="0" prop="setmod.docamt"> type="date"
<c-input v-model="model.setmod.docamt" style="text-align: left; width: 100%" v-model="model.bcdgrp.rec.advdat"
placeholder="请输入document amount"></c-input> style="width: 100%"
</el-form-item> value-format="yyyy-MM-dd"
</c-col> placeholder="请选择Advised on"
<c-col :span="24"> disabled
<c-edit-table :model="model" v-bind="docgrd"> ></c-date-picker>
</c-edit-table> </el-form-item>
</c-col> </c-col>
</el-col> <c-col :span="12">
<!-- ====================右边======================= --> <el-form-item label="Maturity Date" prop="bcdgrp.rec.matdat">
<el-col :span="11" :offset="1"> <c-date-picker
<c-col :span="24"> type="date"
<el-form-item label="Name" prop="bcdgrp.rec.nam" style="width: 100%"> v-model="model.bcdgrp.rec.matdat"
<c-input v-model="model.bcdgrp.rec.nam" maxlength="40" style="width: 100%" disabled></c-input> style="width: 100%"
</el-form-item> value-format="yyyy-MM-dd"
</c-col> placeholder="请选择Maturity Date"
<c-col :span="24"> disabled
<el-form-item style="text-align: right" label="Drawee Ref." prop="bcdgrp.dre.pts.ref"> ></c-date-picker>
<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="12">
<c-col :span="24"> <el-form-item label="Remitted on" prop="bcdgrp.rec.predat">
<el-form-item prop="bcdgrp.dre.pts.nam"> <c-date-picker
<c-input v-model="model.bcdgrp.dre.pts.nam" maxlength="40" style="width: 100%" disabled></c-input> type="date"
</el-form-item> v-model="model.bcdgrp.rec.predat"
</c-col> style="width: 100%"
<c-col :span="24"> value-format="yyyy-MM-dd"
<el-form-item style="text-align: right" label="Remitting Bank Ref." prop="bcdgrp.rmi.pts.ref"> placeholder="请选择Remitted on"
<c-input v-model="model.bcdgrp.rmi.pts.ref" maxlength="16" style="width: 100%" disabled> disabled
</c-input> ></c-date-picker>
</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 label="Payment Condition" prop="bcdgrp.rec.doctypcod">
<c-input v-model="model.bcdgrp.rmi.pts.nam" maxlength="40" style="width: 100%" disabled></c-input> <c-input
</el-form-item> v-model="model.bcdgrp.rec.doctypcod"
</c-col> style="width: 100%"
<c-col :span="24"> placeholder="请选择Payment Condition"
<el-form-item style="text-align: right" label="Drawer Ref." prop="bcdgrp.drr.pts.ref"> disabled
<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 label="Document Set Status" prop="bcdgrp.rec.docsta">
<c-input v-model="model.bcdgrp.drr.pts.ref" maxlength="40" style="width: 100%" disabled></c-input> <c-input
</el-form-item> v-model="model.bcdgrp.rec.docsta"
</c-col> style="width: 100%"
<c-col :span="24"> placeholder="请输入Document Set Status"
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat"> disabled
<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> </c-input>
</el-form-item> </el-form-item>
</c-col> </c-col>
</el-col> <c-col :span="12">
</div> <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>
</el-form-item>
</c-col>
<c-col :span="12">
<el-form-item
style="text-align: left"
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>
</c-col>
<c-col :span="24">
<!-- <c-edit-table :model="model" v-bind="docgrd">
</c-edit-table> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
code: 'docpre',
}"
></c-docpre>
</c-col>
</el-col>
<!-- ====================右边======================= -->
<el-col :span="11" :offset="1">
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
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>
</c-col>
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
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>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item
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>
</el-form-item>
</c-col>
<c-col :span="24">
<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>
</el-form-item>
</c-col>
<c-col :span="24">
<el-form-item label="Accepted on" prop="bcdgrp.rec.accdat">
<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>
</c-col>
</el-col>
</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: {
props: ["model", "codes"], "c-docpre": Docpre,
mixins: [commonProcess], },
data() { inject: ["root"],
return { props: ["model", "codes"],
docgrd: { mixins: [commonProcess],
columns: [{ data() {
title: "lst1", return {};
width: "80px", },
dataIndex: "cmail1", methods: {
show: "input", ...Event,
}, },
{ created: function () {},
title: "2nd", };
width: "80px",
dataIndex: "cmail2",
show: "input",
},
{
title: "Document",
width: "320px",
dataIndex: "docnam",
show: "input",
},
],
urls: "bctp.docgrdm.docgrd",
},
}
},
methods: {
...Event
},
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-col> -->
<c-docpre
:model="model"
:argadr="{
path: 'bcdgrp.blk.docpre',
grp: 'bctp',
rol: 'blk',
}"></c-docpre>
</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