修改bug

This commit is contained in:
‘937886381’
2024-03-08 16:20:03 +08:00
parent a81f961aca
commit 2e214b52a6
11 changed files with 46 additions and 27 deletions

View File

@@ -114,10 +114,12 @@ export default {
inspectionDetList:[],
workshopSectionList: [],
};
},
mounted() {
this.getProductionLineList()
this.getQualityInspectionDetList()
},
created () {
},
mounted() {
// this.getList()
// this.getWorksectionList();
// this.getCode('/base/equipment-group-alarm/getCode').then((code) => {
@@ -139,7 +141,9 @@ export default {
methods: {
init(obj) {
// console.log(productionLineId);
console.log(obj);
console.log(obj)
this.getProductionLineList()
this.getQualityInspectionDetList()
this.visible = true
// if(obj.id)
if (obj) {

View File

@@ -97,11 +97,13 @@ export default {
// },
{
prop: 'productionLineName',
label: '产线',
label: '产线',
width:120,
},
{
prop: 'sectionName',
label: '工段',
label: '工段',
width: 120,
},
{
prop: 'inspectionInfoList',

View File

@@ -22,8 +22,7 @@
</el-col>
<el-col :span="8">
<el-form-item label="报废时间" prop="logTime">
<el-date-picker v-model="dataForm.logTime" type="datetime" value-format="yyyy-MM-dd HH:mm:ss"
placeholder="选择日期">
<el-date-picker v-model="dataForm.logTime" type="datetime" value-format="timestamp" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>

View File

@@ -1,7 +1,7 @@
/*
* @Author: zhp
* @Date: 2024-02-28 09:51:25
* @LastEditTime: 2024-02-28 10:05:00
* @LastEditTime: 2024-03-08 13:46:46
* @LastEditors: zhp
* @Description:
*/
@@ -41,7 +41,7 @@ export default {
console.log(response)
this.dataForm = response.data
this.dataForm.detId = response.data.detIdList
this.dataForm.logTime = new Date(response.data.createTime)
this.dataForm.logTime = new Date(response.data.logTime)
// if (this.setData) {
// this.setDataForm()

View File

@@ -36,7 +36,7 @@ const tableProps = [
// filter: parseTime
// },
{
prop: 'logTime',
prop: 'createTime',
label: '报废时间',
filter: parseTime
},

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-11-06 15:15:30
* @LastEditTime: 2023-12-01 16:33:41
* @LastEditTime: 2024-03-08 08:38:25
* @LastEditors: zhp
* @Description:
-->
@@ -22,7 +22,7 @@
</el-row>
<el-row :gutter="24">
<el-col :span="12">
<el-form-item label="描述类型" prop="description" label-width="110px">
<el-form-item label="报废类型描述" prop="description" label-width="110px">
<el-input v-model="dataForm.description" clearable placeholder="描述类型" />
</el-form-item>
</el-col>