Commit a295e7ee by SunJie

setpan

parent bcd122a0
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey"> <el-form-item label="开证行BIC" prop="didgrp.iss.pts.extkey">
<c-input <c-input
disabled @change="changeExtkey"
v-model="model.didgrp.iss.pts.extkey" v-model="model.didgrp.iss.pts.extkey"
maxlength="16" maxlength="16"
placeholder="请输入External Key of Address" placeholder="请输入External Key of Address"
......
...@@ -249,7 +249,7 @@ ...@@ -249,7 +249,7 @@
</el-table-column> </el-table-column>
<el-table-column label="Disp" width="auto"> <el-table-column label="Disp" width="auto">
<template #default="scope"> <template #default="scope">
<el-select v-model="scope.row.dsp"> <el-select v-model="scope.row.dsp" @change="dispDefault">
<el-option <el-option
v-for="item in codes.setfeldsp" v-for="item in codes.setfeldsp"
:key="item.value" :key="item.value"
...@@ -412,6 +412,7 @@ export default { ...@@ -412,6 +412,7 @@ export default {
}, },
methods: { methods: {
...Event, ...Event,
//第一个表格
addRow() { addRow() {
let newRow = { ...dialog }; let newRow = { ...dialog };
this.model.setmod.setfog.setfol.push(newRow); this.model.setmod.setfog.setfol.push(newRow);
...@@ -419,14 +420,26 @@ export default { ...@@ -419,14 +420,26 @@ export default {
removeRow() { removeRow() {
this.model.setmod.setfog.setfol.pop(); this.model.setmod.setfog.setfol.pop();
}, },
saveDialog() {
this.visiable = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog;
},
// 第二个表格
detail1(index, row) { detail1(index, row) {
Api.post("ditopn/executeRule/det",this.model).then(res=>{ Api.post("ditopn/executeDefault/det",this.model).then(res=>{
this.dialogVisible = true; this.dialogVisible = true;
this.dialog = row; this.dialog = row;
this.index = index; this.index = index;
}) })
}, },
dispDefault(){
Api.post("ditopn/executeDefault/mac",this.model).then(res=>{
Utils.copyValueFromVO(this.model, res.data)
})
},
// 第三个表格
detail2(index, row) { detail2(index, row) {
Api.post("ditopn/executeRule/det",this.model).then(res=>{ Api.post("ditopn/executeRule/det",this.model).then(res=>{
this.dialogVisible2 = true; this.dialogVisible2 = true;
...@@ -434,10 +447,6 @@ export default { ...@@ -434,10 +447,6 @@ export default {
this.dialog2 = row this.dialog2 = row
}) })
}, },
saveDialog() {
this.visiable = false;
this.model.setmod.setfog.setfol[this.index] = this.dialog;
},
}, },
created: function () {}, created: function () {},
}; };
......
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