|
|
@ -59,6 +59,7 @@ |
|
|
</download-excel> |
|
|
</download-excel> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
</el-form> |
|
|
</el-form> |
|
|
|
|
|
|
|
|
<el-table |
|
|
<el-table |
|
|
:height="height" |
|
|
:height="height" |
|
|
:data="dataList" |
|
|
:data="dataList" |
|
|
@ -111,6 +112,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
</el-table> |
|
|
</el-table> |
|
|
|
|
|
|
|
|
<el-pagination |
|
|
<el-pagination |
|
|
@size-change="sizeChangeHandle" |
|
|
@size-change="sizeChangeHandle" |
|
|
@current-change="currentChangeHandle" |
|
|
@current-change="currentChangeHandle" |
|
|
@ -123,9 +125,6 @@ |
|
|
|
|
|
|
|
|
<el-dialog title="执行点检工单" :close-on-click-modal="false" v-drag :visible.sync="detailModelFlag" width="1200px"> |
|
|
<el-dialog title="执行点检工单" :close-on-click-modal="false" v-drag :visible.sync="detailModelFlag" width="1200px"> |
|
|
<el-form :inline="true" label-position="top" @keyup.enter.native="getDataList()"> |
|
|
<el-form :inline="true" label-position="top" @keyup.enter.native="getDataList()"> |
|
|
<!-- <el-form-item :label="'工厂编码'">--> |
|
|
|
|
|
<!-- <el-input v-model="saveData.site" disabled style="width: 120px"></el-input>--> |
|
|
|
|
|
<!-- </el-form-item>--> |
|
|
|
|
|
<el-form-item :label="'工单号'"> |
|
|
<el-form-item :label="'工单号'"> |
|
|
<el-input v-model="saveData.orderNo" disabled style="width: 221px"></el-input> |
|
|
<el-input v-model="saveData.orderNo" disabled style="width: 221px"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
@ -237,6 +236,16 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
|
|
|
<el-table-column |
|
|
|
|
|
prop="" |
|
|
|
|
|
header-align="center" |
|
|
|
|
|
align="center" |
|
|
|
|
|
min-width="120" |
|
|
|
|
|
label="备注"> |
|
|
|
|
|
<template slot-scope="scope"> |
|
|
|
|
|
<el-input :ref="`itemNotes${scope.$index}`" v-model="scope.row.itemNotes" @keyup.enter.native="focusNextInput(scope.$index, 'itemNotes')" style="height: 11px;padding: 0px " allow-create>;width:98%"></el-input> |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
prop="" |
|
|
prop="" |
|
|
header-align="center" |
|
|
header-align="center" |
|
|
@ -351,6 +360,7 @@ |
|
|
</el-dialog> |
|
|
</el-dialog> |
|
|
|
|
|
|
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist> |
|
|
|
|
|
|
|
|
<!-- 上传文件的modal --> |
|
|
<!-- 上传文件的modal --> |
|
|
<comEamItemImageUploadFile ref="comEamItemImageUploadFile" @refreshPageTables="getInspectionFormData()" v-drag></comEamItemImageUploadFile> |
|
|
<comEamItemImageUploadFile ref="comEamItemImageUploadFile" @refreshPageTables="getInspectionFormData()" v-drag></comEamItemImageUploadFile> |
|
|
</div> |
|
|
</div> |
|
|
@ -422,6 +432,7 @@ |
|
|
endDate: '', |
|
|
endDate: '', |
|
|
page: 1, |
|
|
page: 1, |
|
|
limit: 10, |
|
|
limit: 10, |
|
|
|
|
|
searchType: 'reportCheck' |
|
|
}, |
|
|
}, |
|
|
height: 200, |
|
|
height: 200, |
|
|
pageIndex: 1, |
|
|
pageIndex: 1, |
|
|
@ -1074,7 +1085,7 @@ |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 重置查询时间 |
|
|
// 重置查询时间 |
|
|
searchClick(){ |
|
|
|
|
|
|
|
|
searchClick () { |
|
|
this.searchData.planDate = '' |
|
|
this.searchData.planDate = '' |
|
|
this.getDataList() |
|
|
this.getDataList() |
|
|
}, |
|
|
}, |
|
|
@ -1092,7 +1103,7 @@ |
|
|
this.dataListLoading = false |
|
|
this.dataListLoading = false |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
//导出excel |
|
|
|
|
|
|
|
|
// 导出excel |
|
|
async createExportData() { |
|
|
async createExportData() { |
|
|
this.searchData.limit = -1 |
|
|
this.searchData.limit = -1 |
|
|
this.searchData.page = 1 |
|
|
this.searchData.page = 1 |
|
|
@ -1185,7 +1196,7 @@ |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
if(this.detailList[i].valueTypeDb === 'N' && this.detailList[i].numberValue != '' && this.detailList[i].numberValue != null){ |
|
|
if(this.detailList[i].valueTypeDb === 'N' && this.detailList[i].numberValue != '' && this.detailList[i].numberValue != null){ |
|
|
if((this.detailList[i].minValue != "" && this.detailList[i].minValue != null && this.detailList[i].minValue > this.detailList[i].numberValue) || (this.detailList[i].minValue != ""&& this.detailList[i].minValue != null && this.detailList[i].maxValue < this.detailList[i].numberValue)){ |
|
|
|
|
|
|
|
|
if((this.detailList[i].minValue != "" && this.detailList[i].minValue != null && this.detailList[i].minValue > this.detailList[i].numberValue) || (this.detailList[i].minValue != "" && this.detailList[i].minValue != null && this.detailList[i].maxValue < this.detailList[i].numberValue)){ |
|
|
this.detailList[i].itemResult = '不合格' |
|
|
this.detailList[i].itemResult = '不合格' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|