修改bug

This commit is contained in:
‘937886381’
2024-03-07 16:28:23 +08:00
parent 2c06d68d72
commit 39493549b9
11 changed files with 221 additions and 128 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-12-12 13:45:25
* @LastEditTime: 2024-03-04 16:51:18
* @LastEditTime: 2024-03-07 16:10:47
* @LastEditors: zhp
* @Description:
-->
@@ -26,7 +26,7 @@
background: '#F2F4F9',
color: '#606266'
}">
<el-table-column :label="'许昌安彩成品生产汇总' + timeTips" align="center">
<el-table-column :label="'许昌安彩成品生产汇总' + timeTips" align="center">
<el-table-column prop="glassType" label="品种" align="center">
<template slot-scope="scope">
<el-input v-if="!disabled" v-model="scope.row.glassType" :disabled="disabled"></el-input>
@@ -187,7 +187,7 @@ import {
// import Editor from '@/components/Editor';
import moment from 'moment';
// import DialogForm from './dialogForm.vue';
import { getCorePLList } from '@/api/base/coreProductionLine'
// import basicPageMixin from '@/mixins/lb/basicPageMixin';
const tableProps = [
{
@@ -458,8 +458,14 @@ export default {
// this.searchBarFormConfig[0].defaultSelect = [];
// }
this.getDataList()
this.getDict()
},
methods: {
async getDict() {
// 产线列表
const res = await getCorePLList()
this.proLineList = res.data;
},
timeSelect() {
// switch (this.queryParams.timeDim) {
// case '1':
@@ -563,6 +569,15 @@ export default {
this.remark = res.data[index].remark
}
});
// res.data.list.forEach(item => {
// this.proLineList.forEach(it => {
// if (item.lineId === it.id) {
// console.log(item)
// item.lineName = it.name
// }
// })
// })
this.list = res.data
},
},