This commit is contained in:
‘937886381’
2024-04-28 11:04:33 +08:00
parent 5721816782
commit 1b8f2522c1
11 changed files with 752 additions and 184 deletions

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2024-04-15 10:49:13
* @LastEditTime: 2024-04-17 16:14:51
* @LastEditTime: 2024-04-26 15:06:28
* @LastEditors: zhp
* @Description:
-->
@@ -36,7 +36,7 @@
<script>
// import { parseTime } from '../../core/mixins/code-filter';
// import { getGlassPage, exportGlasscExcel } from '@/api/report/glass';
import { getOrderList, getCostPage } from '@/api/cost/index';
// import inputTable from './inputTable.vue';
import lineChart from './lineChart';
import moment from 'moment'
@@ -47,8 +47,8 @@ export default {
data() {
return {
listQuery: {
pageSize: 10,
pageNo: 1,
current: 1,
size: 10,
factoryId: null,
total: 0,
type: null,
@@ -230,7 +230,7 @@ export default {
mounted() {
this.getDict()
// this.getCurrentYearFirst()
// this.getDataList()
this.getDataList()
},
methods: {
buttonClick() {
@@ -264,10 +264,14 @@ export default {
}
},
async getDict() {
this.$refs.lineChart.initChart()
// this.$refs.lineChart.initChart()
// 产线列表
// const res = await getCorePLList();
// this.proLineList = res.data;
const res = await getOrderList({
current:1,
size:999,
});
console.log(res)
this.mainFormConfig[0].selectOptions = res.data;
},
// 获取数据列表
multipliedByHundred(str) {
@@ -293,6 +297,10 @@ export default {
},
async getDataList() {
const res = await getCostPage({
current: 1,
size: 999,
});
},
add0(m) {
return m < 10 ? '0' + m : m