Browse Source

2023-12-06 设备和质量修改

java8
fengyuan_yang 2 years ago
parent
commit
927a146250
  1. 3
      src/views/modules/eam/eamWorkOrderForCheck.vue
  2. 1
      src/views/modules/eam/eamWorkOrderForMaintenance.vue
  3. 23
      src/views/modules/reportWorkOrder/reportCheckOrder.vue
  4. 1
      src/views/modules/reportWorkOrder/reportDefectOrder.vue
  5. 1
      src/views/modules/reportWorkOrder/reportMaintenanceOrder.vue

3
src/views/modules/eam/eamWorkOrderForCheck.vue

@ -377,6 +377,7 @@
planDate: new Date(),
page: 1,
limit: 10,
searchType: 'checkOrder'
},
height: 200,
pageIndex: 1,
@ -982,7 +983,7 @@
},
//
searchClick(){
searchClick () {
this.searchData.planDate = ''
this.getDataList()
},

1
src/views/modules/eam/eamWorkOrderForMaintenance.vue

@ -425,6 +425,7 @@
page: 1,
planDate: new Date(),
limit: 10,
searchType: 'maintenanceOrder'
},
height: 200,
pageIndex: 1,

23
src/views/modules/reportWorkOrder/reportCheckOrder.vue

@ -59,6 +59,7 @@
</download-excel>
</el-form-item>
</el-form>
<el-table
:height="height"
:data="dataList"
@ -111,6 +112,7 @@
</template>
</el-table-column>
</el-table>
<el-pagination
@size-change="sizeChangeHandle"
@current-change="currentChangeHandle"
@ -123,9 +125,6 @@
<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-item :label="'工厂编码'">-->
<!-- <el-input v-model="saveData.site" disabled style="width: 120px"></el-input>-->
<!-- </el-form-item>-->
<el-form-item :label="'工单号'">
<el-input v-model="saveData.orderNo" disabled style="width: 221px"></el-input>
</el-form-item>
@ -237,6 +236,16 @@
</el-select>
</template>
</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
prop=""
header-align="center"
@ -351,6 +360,7 @@
</el-dialog>
<Chooselist ref="baseList" @getBaseData="getBaseData"></Chooselist>
<!-- 上传文件的modal -->
<comEamItemImageUploadFile ref="comEamItemImageUploadFile" @refreshPageTables="getInspectionFormData()" v-drag></comEamItemImageUploadFile>
</div>
@ -422,6 +432,7 @@
endDate: '',
page: 1,
limit: 10,
searchType: 'reportCheck'
},
height: 200,
pageIndex: 1,
@ -1074,7 +1085,7 @@
}
},
//
searchClick(){
searchClick () {
this.searchData.planDate = ''
this.getDataList()
},
@ -1092,7 +1103,7 @@
this.dataListLoading = false
})
},
//excel
// excel
async createExportData() {
this.searchData.limit = -1
this.searchData.page = 1
@ -1185,7 +1196,7 @@
return
}
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 = '不合格'
}
}

1
src/views/modules/reportWorkOrder/reportDefectOrder.vue

@ -394,6 +394,7 @@
endDate:'',
page: 1,
limit: 10,
searchType: 'reportDefect'
},
height: 200,
pageIndex: 1,

1
src/views/modules/reportWorkOrder/reportMaintenanceOrder.vue

@ -472,6 +472,7 @@
endDate:'',
page: 1,
limit: 10,
searchType: 'reportMaintenance'
},
height: 200,
pageIndex: 1,

Loading…
Cancel
Save