修改数据

master
夜笙歌 3 months ago
parent 788e4b5348
commit c1ed165b45

@ -105,7 +105,7 @@
<!-- 添加或修改记录对话框 --> <!-- 添加或修改记录对话框 -->
<el-dialog :title="title" :visible.sync="open" width="600px" append-to-body> <el-dialog :title="title" :visible.sync="open" :width="70*vw +'px'" append-to-body v-dialogDrag>
<el-form ref="form" :model="form" :rules="rules" label-width="100px"> <el-form ref="form" :model="form" :rules="rules" label-width="100px">
<el-row gutter="15"> <el-row gutter="15">
<el-col :span="11"> <el-col :span="11">
@ -119,25 +119,31 @@
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form>
<el-divider content-position="center">工位缺陷明细信息</el-divider> <el-row>
<el-col :span="12">
<el-divider content-position="center">工位缺陷明细信息</el-divider>
<el-table :data="qualityDefectstList" ref="detailElectricalinspection" <el-table :data="qualityDefectstList" ref="detailElectricalinspection"
> >
<el-table-column type="selection" width="50" align="center"/> <el-table-column type="selection" width="50" align="center"/>
<el-table-column label="序号" prop="SEQ" width="150"> <el-table-column label="序号" prop="SEQ" width="150">
</el-table-column> </el-table-column>
<el-table-column label="缺陷名称" prop="QUALITY_DEFECT_NAME" width="150"> <el-table-column label="缺陷名称" prop="QUALITY_DEFECT_NAME" width="150">
</el-table-column> </el-table-column>
<el-table-column label="数量" prop="DEFECT_NUMBER" width="150"> <el-table-column label="数量" prop="DEFECT_NUMBER" width="150">
</el-table-column> </el-table-column>
<el-table-column label="比例" prop="RATE" width="150"> <el-table-column label="比例" prop="RATE" width="150">
</el-table-column> </el-table-column>
</el-table> </el-table>
</el-form> </el-col>
<div class="chart1"> <el-col :span="12" style="position: relative">
<Chart ref="chart1"></Chart> <div class="chart1">
</div> <Chart ref="chart1"></Chart>
</div>
</el-col>
</el-row>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button @click="cancel"> </el-button> <el-button @click="cancel"> </el-button>
</div> </div>
@ -165,6 +171,7 @@ export default {
}, },
data() { data() {
return { return {
vw,
// //
loading: true, loading: true,
// //
@ -335,7 +342,7 @@ export default {
axisTick: { axisTick: {
alignWithLabel: true, alignWithLabel: true,
}, },
axisLabel:{ axisLabel: {
interval: 0 interval: 0
} }
@ -419,7 +426,10 @@ export default {
<style> <style>
.chart1 { .chart1 {
width: 100%; width: 100%;
height: 200px; height: 240px;
margin-top: 12px; margin-top: 12px;
position: absolute;
top: 50%;
transform: translateY(50%);
} }
</style> </style>

Loading…
Cancel
Save