Commit ed63efc7 by SunJie

detail

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