修复客户名字错误

This commit is contained in:
huangdeliang 2021-01-29 14:45:42 +08:00
parent 3c7e7a0f00
commit e1cff320bd
3 changed files with 10 additions and 10 deletions
stdiet-ui/src/views/custom
customer
healthy
order

@ -228,7 +228,7 @@
<el-row :gutter="15">
<el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-col :span="12">
<el-form-item label="客户名字" prop="customer">
<el-form-item label="客户名字" prop="name">
<el-input v-model="form.name" placeholder="请输入名字" />
</el-form-item>
</el-col>
@ -383,7 +383,7 @@ export default {
form: {},
//
rules: {
customer: [
name: [
{ required: true, message: "客户姓名不能为空", trigger: "blur" },
],
phone: [

@ -487,7 +487,7 @@
<!-- 查看详情 -->
<el-dialog title="客户健康评估表" v-if="healthyDetailOpen" :visible.sync="healthyDetailOpen" width="1000px" append-to-body>
<!-- 基础信息 -->
<div v-for="(item,index) in healthyDetailList.slice(0,1)" style="margin-bottom: 50px;">
<div v-for="(item,index) in healthyDetailList.slice(0,1)" style="margin-bottom: 50px;" :key="index">
<div>
<p class="p_title_1" style="margin-top: 5px;">{{titleArray[index]}}</p>
<TableDetailMessage :data="item" ></TableDetailMessage>
@ -495,7 +495,7 @@
</div>
<!-- 剩余其他信息 -->
<div style="height:400px;overflow: auto">
<div v-for="(item,index) in healthyDetailList.slice(1,10)" v-show="titleShowArray[index]" style="margin-bottom: 50px;">
<div v-for="(item,index) in healthyDetailList.slice(1,10)" v-show="titleShowArray[index]" style="margin-bottom: 50px;" :key="index">
<div>
<p class="p_title_1" style="margin-top: 5px;">{{titleArray[index+1]}}</p>
<TableDetailMessage :data="item" v-if="index != healthyDetailList.length-2"></TableDetailMessage>

@ -736,11 +736,11 @@ export default {
cursor: pointer;
}
.warning-row {
background: oldlace !important;
}
// .warning-row {
// background: oldlace !important;
// }
.success-row {
background: #f0f9eb !important;
}
// .success-row {
// background: #f0f9eb !important;
// }
</style>