|
|
@@ -112,7 +112,7 @@
|
|
|
<span slot="action" slot-scope="text, record">
|
|
|
<a @click="handleEdit(record)">编辑</a>
|
|
|
<a-divider type="vertical" />
|
|
|
- <a @click="configuration(record)">{{record.busPayInterfaceConfig? '配置':'新增'}}</a>
|
|
|
+ <a @click="configuration(record)">配置</a>
|
|
|
<a-divider type="vertical" />
|
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
|
<a>删除</a>
|
|
|
@@ -241,6 +241,11 @@
|
|
|
methods: {
|
|
|
configuration(record){
|
|
|
// this.$refs.modalFormPay.edit()
|
|
|
+ if (!record.busPayInterfaceConfig) {
|
|
|
+ record.busPayInterfaceConfig = {
|
|
|
+ payTypeId:record.id
|
|
|
+ }
|
|
|
+ }
|
|
|
this.$refs.modalFormPay.edit(record.busPayInterfaceConfig);
|
|
|
this.$refs.modalFormPay.title = record.busPayInterfaceConfig ? '配置' : '新增';
|
|
|
this.$refs.modalFormPay.disableSubmit = false;
|