Commit 42b9f15b authored by 高宇's avatar 高宇

数组中输入框必填校验

parent 1bfe58b9
......@@ -5,13 +5,13 @@
:disabled="disabledShow || text === undefined || text === null || (text.length <= maxLength)"
placement="top"
>
<span v-if="text === undefined || text === null || text.length <= maxLength">
<span style="cursor: pointer" v-if="text === undefined || text === null || text.length <= maxLength">
{{ text || '' }}
</span>
<span v-else>
<span style="cursor: pointer" v-else>
{{ text.substring(0, maxLength) + '...' }}
</span>
<div style="" slot="content">
<div style="cursor: pointer" slot="content">
{{ text || '' }}
</div>
</el-tooltip>
......
......@@ -147,17 +147,17 @@
{{ scope.row.jcRank || '-' }}
</template>
</el-table-column>
<el-table-column label="抽样" prop="jcFacadeCy" :show-overflow-tooltip="true">
<template slot-scope="scope">
{{ scope.row.jcFacadeCy || '-' }}
</template>
</el-table-column>
<el-table-column label="不合格" prop="jcFacadeBl" :show-overflow-tooltip="true" width="70%">
<template slot-scope="scope">
{{ scope.row.jcFacadeBl || '-' }}
</template>
</el-table-column>
<el-table-column label="检查结果" prop="jcResult" :show-overflow-tooltip="true" width="70%">
<!-- <el-table-column label="抽样" prop="jcFacadeCy" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.jcFacadeCy || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column label="不合格" prop="jcFacadeBl" :show-overflow-tooltip="true">-->
<!-- <template slot-scope="scope">-->
<!-- {{ scope.row.jcFacadeBl || '-' }}-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="检查结果" prop="jcResult" :show-overflow-tooltip="true" >
<template slot-scope="scope">
<span v-if="scope.row.jcResult=='1'">OK</span>
<span v-else-if="scope.row.jcResult=='2'">NO</span>
......@@ -185,7 +185,7 @@
<span v-else>-</span>
</template>
</el-table-column>
<el-table-column label="操作" class-name="small-padding fixed-width" width="120px">
<el-table-column label="操作" class-name="small-padding fixed-width" width="100px">
<template slot-scope="scope">
<el-button
v-show="scope.row.approveStatus=='1'&&loginId!=scope.row.updateBy"
......
This diff is collapsed.
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