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

数组中输入框必填校验

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