Commit 673bfe37 authored by 黄奎's avatar 黄奎

也没修过

parent c34b1628
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
<div class="col-12" style="margin:20 24px;"> <div class="col-12" style="margin:20 24px;">
<q-input filled stack-label :dense="false" class="col-12" label="地址" v-model="objOption.Address" /> <q-input filled stack-label :dense="false" class="col-12" label="地址" v-model="objOption.Address" />
</div> </div>
<div style="margin:30px 10px 0 0;text-align:right;"> <div style="margin:30px 10px 0 0;text-align:right;">
<q-btn color="accent" class="q-mr-md" icon="add" label="保存" @click="saveConfig()" /> <q-btn color="accent" class="q-mr-md" icon="add" label="保存" @click="saveConfig()" />
</div> </div>
......
...@@ -42,9 +42,9 @@ ...@@ -42,9 +42,9 @@
</template> </template>
<template v-slot:body-cell-optioned="props"> <template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:200px;"> <q-td :props="props" style="width:200px;">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" /> <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑" @click="EditCustom(props.rows)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="账户管理" /> <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="客户审批" @click="AuditCustomer(props.rows)" />
<q-btn flat size="xs" icon="edit" color="negative" style="font-weight:400" label="交易详情" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
...@@ -140,12 +140,18 @@ ...@@ -140,12 +140,18 @@
}, },
//新增或者修改 //新增或者修改
EditCustom(obj) { EditCustom(obj) {
console.log("Edit",obj)
if (obj) { if (obj) {
this.customerObj = obj this.customerObj = obj
} else { } else {
this.customerObj = null this.customerObj = null
} }
this.isShowCustomForm = true this.isShowCustomForm = true
},
//客户审核
AuditCustomer(obj)
{
}, },
refreshQuestion() { refreshQuestion() {
......
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