Commit cb0abf51 authored by zhengke's avatar zhengke

1

parents 341a4d32 115540f8
<style lang="scss">
.customform .q-table__bottom{
min-height: 0;
}
.customform .q-table__bottom {
min-height: 0;
}
</style>
<template>
<div class="customform">
......@@ -16,30 +16,30 @@
</template>
<template v-slot:body-cell-CustomerState="props">
<q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.CustomerState==1">
{{props.row.CustomerStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.CustomerStateStr}}
</q-chip>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.CustomerState==1">
{{props.row.CustomerStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.CustomerStateStr}}
</q-chip>
</q-td>
</template>
<template v-slot:body-cell-ApproveState="props">
<q-td>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.ApproveState==1">
{{props.row.ApproveStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.ApproveStateStr}}
</q-chip>
<q-chip color="teal" text-color="white" size="sm" v-if="props.row.ApproveState==1">
{{props.row.ApproveStateStr}}
</q-chip>
<q-chip color="red" text-color="white" size="sm" v-else>
{{props.row.ApproveStateStr}}
</q-chip>
</q-td>
</template>
<template v-slot:body-cell-optioned="props">
<q-td :props="props" style="width:200px;">
<q-btn flat size="xs" icon="edit" v-if="authObj.isShowEdit" color="accent" style="font-weight:400" label="编辑"
@click="EditCustom(props.row)" />
<q-btn flat v-if="(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit" size="xs" icon="edit" color="accent"
style="font-weight:400" label="客户审批" @click="AuditCustomer(props.row,1)" />
<q-btn flat v-if="(props.row.ApproveState==0||props.row.ApproveState==2)&&!authObj.isShowEdit" size="xs"
icon="edit" color="accent" style="font-weight:400" label="客户审批" @click="AuditCustomer(props.row,1)" />
<q-btn flat v-if="props.row.ApproveState==1" size="xs" icon="iconfont icon-View" color="accent"
style="font-weight:400" label="查看" @click="AuditCustomer(props.row,2)" />
<q-btn flat v-if="props.row.ApproveState==0" size="xs" icon="delete" color="negative" style="font-weight:400"
......@@ -51,7 +51,7 @@
</q-td>
</template>
<template v-slot:bottom>
<div></div>
<div></div>
</template>
</q-table>
<perCustomer-form v-if="isShowCustomForm" :customerObj="customerObj" @close="closeCustomForm"
......@@ -219,5 +219,4 @@
},
}
}
</script>
</script>
\ No newline at end of file
......@@ -28,7 +28,6 @@
<q-select @input="resetSearch" clearable filled v-model="msg.ApproveState" :options="ApproveStateList"
emit-value map-options label="审核状态" />
</div>
</div>
</div>
<div class="page-content">
......@@ -73,7 +72,6 @@
},
loading: false,
tabCheck: 1,
//审核状态列表
ApproveStateList: [{
label: "通过",
......
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