Commit ed63efc7 by SunJie

detail

parent 96e67670
......@@ -387,7 +387,7 @@ export default {
this.title = row.pandsc
this.centerDialogVisible = true,
this.dialog = rtnmsg.data.trnmod_trndoc_doceot[index]
console.log(this.dialog.rcv.namelc);
this.index = index
}
},
async BlurBennam(e){
......
......@@ -134,7 +134,7 @@
:disabled="
model.trnmod.trndoc.doceot[scope.row.index]
.pandsc == 'MT799' &&
model.didgrp.rec.elcflg=='Y'
model.didgrp.rec.elcflg == 'Y'
"
@click="handleDisplay(scope.row.index, scope.row)"
>显示</el-button
......@@ -330,24 +330,32 @@
</c-button>
</el-form-item>
<el-form-item v-else label="BIC">
<el-input v-model="dialog.rcv.pts.extkey" />
<el-input v-model="dialog.rcv.pts.extkey" />
</el-form-item>
<el-form-item
v-if="title == 'elcs.101.001.01'"
label="行联行号"
>
<el-input v-model="dialog.rcv.pts.bankno"/>
<el-input v-model="dialog.rcv.pts.bankno" />
</el-form-item>
<el-form-item label-width="30px">
<el-input
:value="title != 'elcs.101.001.01'?dialog.rcv.namelc:dialog.rcv.pts.jigomc"
:value="
title != 'elcs.101.001.01'
? dialog.rcv.namelc
: dialog.rcv.pts.jigomc
"
:disabled="title != 'elcs.101.001.01'"
type="textarea"
:rows="2"
/>
<br />
<el-input
:value="title != 'elcs.101.001.01'?dialog.rcv.adrelc:dialog.rcv.pts.dizzhii"
:value="
title != 'elcs.101.001.01'
? dialog.rcv.adrelc
: dialog.rcv.pts.dizzhii
"
type="textarea"
:rows="2"
/>
......@@ -375,7 +383,11 @@
label="Adress Amend"
label-width="120px"
>
<el-input type="textarea" v-model="dialog.adrblk" :rows="4" />
<el-input
type="textarea"
v-model="dialog.adrblk"
:rows="4"
/>
</el-form-item>
</el-col>
<el-col :span="12" v-else>
......@@ -452,7 +464,7 @@
<span class="dialog-footer">
<el-button
type="primary"
@click="centerDialogVisible = false"
@click="saveDialog"
>确 定</el-button
>
<el-button @click="centerDialogVisible = false"
......@@ -473,6 +485,7 @@ export default {
props: ["model", "codes"],
data() {
return {
index:0,
title: "",
dialog: {
rcv: {
......@@ -495,7 +508,14 @@ export default {
},
};
},
methods: { ...Event },
methods: {
...Event,
saveDialog() {
this.centerDialogVisible = false;
console.log(this.model);
this.model.trnmod.trndoc.doceot.splice(this.index,1,this.dialog);
}
},
created: function () {},
};
</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