Commit a295e7ee by SunJie

setpan

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