Commit 8d73de14 authored by 黄奎's avatar 黄奎

页面修改

parent 673bfe37
...@@ -42,9 +42,11 @@ ...@@ -42,9 +42,11 @@
</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="编辑" @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)" /> @click="EditCustom(props.rows)" />
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="客户审批"
@click="AuditCustomer(props.rows)" />
</q-td> </q-td>
</template> </template>
</q-table> </q-table>
...@@ -140,7 +142,7 @@ ...@@ -140,7 +142,7 @@
}, },
//新增或者修改 //新增或者修改
EditCustom(obj) { EditCustom(obj) {
console.log("Edit",obj)
if (obj) { if (obj) {
this.customerObj = obj this.customerObj = obj
} else { } else {
...@@ -149,9 +151,13 @@ ...@@ -149,9 +151,13 @@
this.isShowCustomForm = true this.isShowCustomForm = true
}, },
//客户审核 //客户审核
AuditCustomer(obj) AuditCustomer(obj) {
{ if (obj) {
this.customerObj = obj
} else {
this.customerObj = null
}
this.isShowRightForm = true
}, },
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