Commit bee651e5 by liyixun

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents 6d08c223 84584dad
...@@ -68,5 +68,7 @@ export default { ...@@ -68,5 +68,7 @@ export default {
"oldbodgrp.rec.matpertyp" :Utils.defaultFunction, "oldbodgrp.rec.matpertyp" :Utils.defaultFunction,
"botamep.amedat" :Utils.defaultFunction, "botamep.amedat" :Utils.defaultFunction,
"oldbodgrp.rec.matpercnt" :Utils.defaultFunction, "oldbodgrp.rec.matpercnt" :Utils.defaultFunction,
"bodgrp.blk.docpre" :Utils.defaultFunction,
"botp.docgrdm.docgrd" :Utils.defaultFunction,
} }
//你可以添加自动default处理 //你可以添加自动default处理
...@@ -213,6 +213,7 @@ export default class Botset{ ...@@ -213,6 +213,7 @@ export default class Botset{
account:"", // ACT .lendoc.account account:"", // ACT .lendoc.account
vercerref:"", // Verification Certificate Number .lendoc.vercerref vercerref:"", // Verification Certificate Number .lendoc.vercerref
decnum:"", // Declaration Number .lendoc.decnum decnum:"", // Declaration Number .lendoc.decnum
botsetl1blk:"",
}, },
bopmod:{ bopmod:{
szflg:"", // 申报类型 .bopmod.szflg szflg:"", // 申报类型 .bopmod.szflg
......
...@@ -12,7 +12,17 @@ ...@@ -12,7 +12,17 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onColinsButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="
showGridPromptDialog(
'bctp.colins.buttxmsel',
null,
null,
{ TXT: 'bcdgrp.blk.colins' },
{ TXT: false },
'doxpDialog'
)
">
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -25,7 +35,17 @@ ...@@ -25,7 +35,17 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onDftinsButtxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="
showGridPromptDialog(
'bctp.dftins.buttxmsel',
null,
null,
{ TXT: 'bcdgrp.blk.dftins' },
{ TXT: false },
'doxpDialog'
)
">
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
...@@ -48,7 +68,17 @@ ...@@ -48,7 +68,17 @@
</c-col> </c-col>
<c-col :span="1"> <c-col :span="1">
<c-button size="small" type="primary" icon="el-icon-search" @click="onOthins1Buttxmsel"> <c-button size="small" type="primary" icon="el-icon-search"
@click="
showGridPromptDialog(
'bctp.othins.buttxmsel',
null,
null,
{ TXT: 'bcdgrp.blk.othins' },
{ TXT: false },
'doxpDialog'
)
">
</c-button> </c-button>
</c-col> </c-col>
</c-col> </c-col>
......
...@@ -259,7 +259,7 @@ ...@@ -259,7 +259,7 @@
v-model="model.bcdgrp.blk.bcgdet" v-model="model.bcdgrp.blk.bcgdet"
maxlength="45" maxlength="45"
show-word-limit show-word-limit
disabled :disabled="model.bcdgrp.blk.bcgdetflg!='X'"
placeholder="请输入Maturity Text" placeholder="请输入Maturity Text"
></c-input> ></c-input>
</el-form-item> </el-form-item>
......
...@@ -22,6 +22,7 @@ ...@@ -22,6 +22,7 @@
v-model="model.bcdgrp.dre.pts.extkey" v-model="model.bcdgrp.dre.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.dre.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -79,7 +80,7 @@ ...@@ -79,7 +80,7 @@
v-model="model.bcdgrp.co2.pts.extkey" v-model="model.bcdgrp.co2.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.co2.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -170,7 +171,7 @@ ...@@ -170,7 +171,7 @@
v-model="model.bcdgrp.rmi.pts.extkey" v-model="model.bcdgrp.rmi.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.rmi.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
...@@ -226,7 +227,7 @@ ...@@ -226,7 +227,7 @@
v-model="model.bcdgrp.drr.pts.extkey" v-model="model.bcdgrp.drr.pts.extkey"
maxlength="50" maxlength="50"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
@keyup.enter.native="showGridPromptDialog('bcdgrp.drr.pts.extkey')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<c-button <c-button
......
...@@ -79,6 +79,13 @@ ...@@ -79,6 +79,13 @@
:promptData="promptData" :promptData="promptData"
v-on:select-ety="selectEty" v-on:select-ety="selectEty"
></c-grid-ety-prompt-dialog> ></c-grid-ety-prompt-dialog>
<c-grid-ety-prompt-dialog
ref="doxpDialog"
:isPty="false"
:promptData="promptData"
@select-ety="selectMsg"
>
</c-grid-ety-prompt-dialog>
</div> </div>
</c-page> </c-page>
</template> </template>
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
v-model="model.cnybop.cnylib.sforeigncountrycode" v-model="model.cnybop.cnylib.sforeigncountrycode"
maxlength="3" maxlength="3"
placeholder="请输入境外企业国别地区代码" placeholder="请输入境外企业国别地区代码"
@keyup.enter.native="eventFunction('cnybop.cnylib.sforeigncountrycode')" @keyup.enter.native="showGridPromptDialog('cnybop.cnylib.sforeigncountrycode')"
></c-input> ></c-input>
<template slot="footer"> <template slot="footer">
<!-- @click="showGridPromptDialog('cnybop.libcty.selbut1',null,null,{TXT:'cnybop.cnylib.sforeigncountrycode'},{TXT:false},'doxpDialog')" --> <!-- @click="showGridPromptDialog('cnybop.libcty.selbut1',null,null,{TXT:'cnybop.cnylib.sforeigncountrycode'},{TXT:false},'doxpDialog')" -->
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
size="small" size="small"
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="onLibctySelbut1" @click="showGridPromptDialog('cnybop.codcny.selbut1', null, null,{COD: 'cnybop.cnylib.sforeigncountrycode'}, {TXT: false},'doxpDialog')"
> >
? ?
</c-button> </c-button>
......
...@@ -180,7 +180,6 @@ export default { ...@@ -180,7 +180,6 @@ export default {
}, },
methods:{ methods:{
getType(idx) { getType(idx) {
console.log(this.codes);
for (let i = 0; i < this.codes.doceotCortyp.length; i++) { for (let i = 0; i < this.codes.doceotCortyp.length; i++) {
const c = this.codes.doceotCortyp[i]; const c = this.codes.doceotCortyp[i];
......
...@@ -64,7 +64,6 @@ export default { ...@@ -64,7 +64,6 @@ export default {
getBlk(dtyp, rec) { getBlk(dtyp, rec) {
let blk = { blkMsg: {}, rulePath: "" }; let blk = { blkMsg: {}, rulePath: "" };
let tp = rec.slice(0, 2); let tp = rec.slice(0, 2);
console.log('tp is :',tp);
switch (dtyp) { switch (dtyp) {
case "dogp": case "dogp":
blk.blkMsg = { blk.blkMsg = {
......
...@@ -258,7 +258,9 @@ ...@@ -258,7 +258,9 @@
</el-table-column> </el-table-column>
</c-table> </c-table>
</c-col> </c-col>
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" /> <div style="height=500px">
<setpan-dialog ref="setpanDialog" :model="model" :idx="index" :codes="codes" />
</div>
<c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px"> <c-col :span="23" style="margin-left:9px;height:24px;margin-top:25px">
<el-form-item class="formItemLabel" label="Settlement:" label-width="100px"> <el-form-item class="formItemLabel" label="Settlement:" label-width="100px">
<span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span> <span style="color:red">{{ this.model.setmod.dspflg == 'C'? "temporary":"" }}</span>
......
<template> <template>
<el-dialog <el-dialog
v-if="visiable" v-if="visiable"
:visible.sync="visiable" :visible.sync="visiable"
center center
fullscreen destroy-on-close
destroy-on-close :before-close="beforeClose"
:before-close="beforeClose" width="70%"
> >
<c-col> <el-form v-model="formData" label-width="150px">
<el-form v-model="formData" inline> <c-row>
<c-col> <c-col>
<c-col :span="8"> <c-col :span="12">
<el-form-item label="费用代码"> <el-form-item label="费用代码">
<c-input v-model="formData.feecod" disabled /> <c-input v-model="formData.feecod" disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="16"> <c-col :span="12">
<el-form-item label="中文描述"> <el-form-item label="中文描述">
<c-input v-model="formData.feetxt" style="width: 350px" /> <c-col :span="13">
<c-select <c-input v-model="formData.feetxt" />
v-model="formData.modflg" </c-col>
disabled <c-col :span="11">
:code="codes.modflg" <el-form-item label="" label-width="5px">
style="width: 350px; margin-left: 100px" <c-select
/> v-model="formData.modflg"
</el-form-item> disabled
</c-col> :code="codes.modflg"
</c-col> />
<c-col> </el-form-item>
<c-col :span="6"> </c-col>
<el-form-item label="详细信息"> </el-form-item>
<c-input v-model="formData.feetxtinf" /> </c-col>
</el-form-item> </c-col>
</c-col> <c-col :span="24">
<c-col :span="6"> <c-col :span="6">
<el-form-item label="起算时间"> <el-form-item label="详细信息">
<!-- <c-input v-model="formData.dat1" type="date" /> --> <c-input v-model="formData.feetxtinf" />
<c-date-picker </el-form-item>
type="date" </c-col>
v-model="formData.dat1" <c-col :span="6">
format="yyyy-MM-dd" <el-form-item label="起算时间">
style="width: 100%" <!-- <c-input v-model="formData.dat1" type="date" /> -->
placeholder="请选择起算时间" <c-date-picker
></c-date-picker> type="date"
</el-form-item> v-model="formData.dat1"
</c-col> format="yyyy-MM-dd"
<c-col :span="6"> style="width: 100%"
<el-form-item label="结束时间"> placeholder="请选择起算时间"
<c-date-picker ></c-date-picker>
type="date" </el-form-item>
v-model="formData.dat2" </c-col>
format="yyyy-MM-dd" <c-col :span="6">
style="width: 100%" <el-form-item label="结束时间">
placeholder="请选择结束时间" <c-date-picker
></c-date-picker> type="date"
</el-form-item> v-model="formData.dat2"
</c-col> format="yyyy-MM-dd"
<c-col :span="6"> style="width: 100%"
<el-form-item label="收取份数"> placeholder="请选择结束时间"
<c-input v-model="formData.unt" /> ></c-date-picker>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> <c-col :span="6">
<c-col> <el-form-item label="收取份数">
<el-form-item label="费用换算"> <c-input v-model="formData.unt" />
<c-select v-model="formData.usrcur"> </el-form-item>
<el-option </c-col>
v-for="item in codes.cur" </c-col>
:label="item.label" <c-col :span="24">
:value="item.value" <c-col :span="12">
:key="item.value" <el-form-item label="费用换算">
/> <c-col :span="13">
</c-select> <c-select
<c-input v-model="formData.usrcur"
v-model="formData.usramt" style="width: 100%"
style="width: 200px; margin-left: 50px" >
/> <el-option
</el-form-item> v-for="item in codes.cur"
</c-col> :label="item.label"
<c-col> :value="item.value"
<c-col :span="8"> :key="item.value"
<el-form-item label="应收费用"> />
<c-input </c-select>
v-model="formData.cur" </c-col>
disabled <c-col :span="11">
style="width: 100px; margin-right: 10px" <el-form-item label="" label-width="5px">
/> <c-input v-model="formData.usramt" />
<c-input </el-form-item>
v-model="formData.ogiamt" </c-col>
disabled </el-form-item>
style="width: 200px" </c-col>
/> <c-col :span="12">
</el-form-item> <el-form-item label="应收费用">
</c-col> <c-col :span="13">
<c-col :span="8"> <c-input v-model="formData.cur" disabled />
<el-form-item label="优惠百分比"> </c-col>
<c-input v-model="formData.dctrat"> <c-col :span="11">
<template #suffix>%</template> <el-form-item label="" label-width="5px">
</c-input> <c-input
</el-form-item> v-model="formData.ogiamt"
</c-col> disabled
<c-col :span="8"> />
<el-form-item label="Period calculation starting at"> </el-form-item>
<c-input v-model="formData.datrefbeg" disabled /> </c-col>
</el-form-item> </el-form-item>
</c-col> </c-col>
</c-col> </c-col>
<c-col> <c-col :span="24">
<c-col :span="8"> <c-col :span="12">
<el-form-item label="付款方"> <el-form-item label="优惠百分比">
<c-select v-model="formData.rol"> <c-input v-model="formData.dctrat">
<el-option <template #suffix>%</template>
v-for="item in codes.setfelRol" </c-input>
:label="item.label" </el-form-item>
:value="item.value" </c-col>
:key="item.value" <c-col :span="12">
/> <el-form-item label="Period calculation starting at">
</c-select> <c-input v-model="formData.datrefbeg" disabled />
</el-form-item> </el-form-item>
</c-col> </c-col>
<c-col :span="8"> </c-col>
<el-form-item label="优惠金额"> <c-col :span="24">
<c-input v-model="formData.dctamt" /> <c-col :span="12">
</el-form-item> <c-col :span="12">
</c-col> <el-form-item label="付款方">
<c-col :span="8"> <c-select v-model="formData.rol">
<el-form-item label="优惠后实收费用金额"> <el-option
<c-input v-model="formData.amt" /> v-for="item in codes.setfelRol"
</el-form-item> :label="item.label"
</c-col> :value="item.value"
</c-col> :key="item.value"
<c-col> />
<el-form-item </c-select>
:label=" </el-form-item>
idx == 0 </c-col>
? 'Per mile fee depending on duration' <c-col :span="12">
: 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.' <el-form-item label="优惠金额">
" <c-input v-model="formData.dctamt" />
/> </el-form-item>
</c-col> </c-col>
<c-col :span="12"> </c-col>
<c-col v-if="idx == 0">
<c-col>
<el-form-item label="千分率">
<c-input v-model="formData.wrkfec.ratcal" style="width: 200px" />
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最小值">
<c-select v-model="formData.wrkfec.mincur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<!-- v-model="formData.fecp1.fec.minamt" -->
<c-input
style="width: 200px"
v-model="formData.wrkfec.minamt"
/>
<!-- <c-input
style="width: 200px"
v-model="formData.wrkfec.minfcc"
/> -->
</el-form-item>
</c-col>
<c-col>
<el-form-item label="最大值">
<c-select v-model="formData.wrkfec.maxcur" style="width: 200px">
<el-option
v-for="item in codes.cur"
:label="item.label"
:value="item.value"
:key="item.value"
/>
</c-select>
<c-input <c-col :span="12">
style="width: 200px;" <el-form-item label="优惠后实收费用金额">
v-model="formData.wrkfec.maxamt" <c-input v-model="formData.amt" />
/> </el-form-item>
<!-- <c-input </c-col>
style="width: 200px" </c-col>
v-model="formData.wrkfec.maxfcc" <c-col :span="24">
/> --> <el-form-item
</el-form-item> :label="
</c-col> idx == 0
<c-col> ? 'Per mile fee depending on duration'
<el-form-item> : 'A fixed amount per unit is caculated. This type will, for example, be used for correspondence charges.'
<c-checkbox label="每个计费区间与最大值/最小值比较" v-model="formData.fecp1.jnwshx" /> "
</el-form-item> label-width="700px"
</c-col> />
</c-col> </c-col>
<c-col v-else> <c-col :span="12">
<el-form-item label="Amount"> <c-col v-if="idx == 0">
<c-select v-model="formData.wrkfec.ratcur"> <c-col>
<el-option <el-form-item label="千分率">
v-for="item in codes.cur" <c-input v-model="formData.wrkfec.ratcal" />
:key="item.value" </el-form-item>
:label="item.label" </c-col>
:value="item.value" <c-col>
> <el-form-item label="最小值">
</el-option> <c-col :span="13">
</c-select> <c-select
<c-input style="width:200px;" v-model="formData.wrkfec.untamt"> v-model="formData.wrkfec.mincur"
</c-input> style="width: 100%"
</el-form-item> >
</c-col> <el-option
<c-col> v-for="item in codes.cur"
<el-form-item label="销项税"> :label="item.label"
<c-input :value="item.value"
v-model="formData.fecp1.taxrat" :key="item.value"
disabled />
style="width: 200px" </c-select>
/> </c-col>
</el-form-item> <c-col :span="11">
</c-col> <el-form-item label="" label-width="5px">
<c-col> <c-input
<el-form-item label="客户属性"> v-model="formData.wrkfec.minamt"
<c-input />
v-model="formData.fecp1.custyp" </el-form-item>
disabled </c-col>
style="width: 200px" </el-form-item>
/> </c-col>
</el-form-item> <c-col>
</c-col> <el-form-item label="最大值">
</c-col> <c-col :span="13">
<c-col v-if="idx == 0" :span="12"> <c-select
<el-form-item label="Caiculation Base"> v-model="formData.wrkfec.maxcur"
<c-input style="width: 100%"
v-model="formData.wrkfec.calcbs" >
disabled <el-option
style="width: 200px" v-for="item in codes.cur"
/> :label="item.label"
</el-form-item> :value="item.value"
<br /> :key="item.value"
<el-form-item label="Calc.Period"> />
<c-select v-model="formData.wrkfec.pertyp"> </c-select>
<el-option </c-col>
v-for="item in codes.pertyp" <c-col :span="11">
:label="item.label" <el-form-item label="" label-width="5px">
:value="item.value" <c-input
:key="item.value" v-model="formData.wrkfec.maxamt"
/> />
</c-select> </el-form-item>
</el-form-item> </c-col>
<br /> </el-form-item>
<el-form-item label="Min.Periods"> </c-col>
<c-input v-model="formData.wrkfec.permin" style="width: 200px" /> <c-col>
</el-form-item> <el-form-item>
<br /> <c-checkbox
<el-form-item label="Rates to Apply per Period Tier" /> label="每个计费区间与最大值/最小值比较"
<br /> v-model="formData.fecp1.jnwshx"
<el-form-item label="from Perimod"> />
<c-input style="width: 200px" v-model="formData.wrkfec.perbegtr2" /> </el-form-item>
<c-input </c-col>
</c-col>
style="width: 200px; margin-left: 50px" <c-col v-else>
v-model="formData.wrkfec.perrattr2" <el-form-item label="Amount">
/> <c-col :span="13">
</el-form-item> <c-select v-model="formData.wrkfec.ratcur">
<el-form-item label="from Perimod"> <el-option
<c-input v-for="item in codes.cur"
:key="item.value"
style="width: 200px" :label="item.label"
v-model="formData.wrkfec.perbegtr3" :value="item.value"
/> >
<c-input </el-option>
disabled </c-select>
style="width: 200px; margin-left: 50px" </c-col>
v-model="formData.wrkfec.perrattr3" <c-col :span="11">
/> <el-form-item label="" label-width="5px">
</el-form-item> <c-input v-model="formData.wrkfec.untamt">
<el-form-item label="from Perimod"> </c-input>
<c-input </el-form-item>
disabled </c-col>
style="width: 200px" </el-form-item>
v-model="formData.wrkfec.perbegtr4" </c-col>
/> <c-col>
<c-input <el-form-item label="销项税">
disabled <c-input v-model="formData.fecp1.taxrat" disabled />
style="width: 200px; margin-left: 50px" </el-form-item>
v-model="formData.wrkfec.perrattr4" </c-col>
/> <c-col>
</el-form-item> <el-form-item label="客户属性">
<el-form-item label="from Perimod"> <c-input v-model="formData.fecp1.custyp" disabled />
<c-input </el-form-item>
disabled </c-col>
style="width: 200px" </c-col>
v-model="formData.wrkfec.perbegtr5" <c-col v-if="idx == 0" :span="12">
/> <el-form-item label="Caiculation Base">
<c-input <c-input v-model="formData.wrkfec.calcbs" disabled />
disabled </el-form-item>
style="width: 200px; margin-left: 50px" <br />
v-model="formData.wrkfec.perrattr5" <el-form-item label="Calc.Period">
/> <c-select v-model="formData.wrkfec.pertyp">
</el-form-item> <el-option
</c-col> v-for="item in codes.pertyp"
<c-col>&nbsp;</c-col> :label="item.label"
<c-col :span="18" :offset="6"> :value="item.value"
<el-form-item label="收费的说明信息"> :key="item.value"
<c-input />
v-model="formData.inftxt" </c-select>
disabled </el-form-item>
rows="10" <br />
type="textarea" <el-form-item label="Min.Periods">
style="width: 500px;" <c-input v-model="formData.wrkfec.permin" />
/> </el-form-item>
</el-form-item> <br />
</c-col> <el-form-item label="Rates to Apply per Period Tier" />
</el-form> <br />
<c-col :span="4" :offset="8"> <el-form-item label="from Perimod">
<c-button type="primary" @click="saveDialog"> <c-col :span="12">
确 定 <c-input v-model="formData.wrkfec.perbegtr2" />
</c-button> </c-col>
</c-col> <c-col :span="11" :offset="1">
<c-col :span="6"> <c-input v-model="formData.wrkfec.perrattr2" />
<c-button @click="visiable = false">取 消</c-button> </c-col>
</c-col> </el-form-item>
<c-col>&nbsp;</c-col> <el-form-item label="from Perimod">
</c-col> <c-col :span="12">
</el-dialog> <c-input v-model="formData.wrkfec.perbegtr3" />
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr3"
/>
</c-col>
</el-form-item>
<el-form-item label="from Perimod">
<c-col :span="12">
<c-input
disabled
v-model="formData.wrkfec.perbegtr4"
/>
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr4"
/>
</c-col>
</el-form-item>
<el-form-item label="from Perimod">
<c-col :span="12">
<c-input
disabled
v-model="formData.wrkfec.perbegtr5"
/>
</c-col>
<c-col :span="11" :offset="1">
<c-input
disabled
v-model="formData.wrkfec.perrattr5"
/>
</c-col>
</el-form-item>
</c-col>
<c-col>&nbsp;</c-col>
<c-col :span="18" :offset="6">
<el-form-item label="收费的说明信息">
<c-input
v-model="formData.inftxt"
disabled
rows="10"
type="textarea"
style="width: 500px"
/>
</el-form-item>
</c-col>
<c-col :span="4" :offset="8">
<c-button type="primary" @click="saveDialog">
确 定
</c-button>
</c-col>
<c-col :span="6">
<c-button @click="visiable = false">取 消</c-button>
</c-col>
<c-col>&nbsp;</c-col>
</c-row>
</el-form>
</el-dialog>
</template> </template>
<script> <script>
export default { export default {
props: { props: {
model: Object, model: Object,
idx: Number, idx: Number,
codes: Object, codes: Object,
}, },
data() { data() {
return { return {
formData: {}, formData: {},
visiable: false, visiable: false,
}; };
}, },
methods: { methods: {
saveDialog() { saveDialog() {
this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData); this.model.setmod.setfeg.setfel.splice(this.idx, 1, this.formData);
this.visiable = false; this.visiable = false;
},
beforeClose(done) {
this.visiable = false;
done();
},
}, },
beforeClose(done) {
this.visiable = false;
done()
}
},
}; };
</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