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

页面修改

parent 673bfe37
......@@ -42,9 +42,11 @@
</template>
<template v-slot:body-cell-optioned="props">
<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="客户审批" @click="AuditCustomer(props.rows)" />
<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="客户审批"
@click="AuditCustomer(props.rows)" />
</q-td>
</template>
</q-table>
......@@ -140,7 +142,7 @@
},
//新增或者修改
EditCustom(obj) {
console.log("Edit",obj)
if (obj) {
this.customerObj = obj
} else {
......@@ -149,9 +151,13 @@
this.isShowCustomForm = true
},
//客户审核
AuditCustomer(obj)
{
AuditCustomer(obj) {
if (obj) {
this.customerObj = obj
} else {
this.customerObj = null
}
this.isShowRightForm = true
},
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