统计
This commit is contained in:
@@ -123,14 +123,14 @@ export default {
|
||||
async initData () {
|
||||
let res = await productionStatistics()
|
||||
this.resData = res.result
|
||||
this.taskData = [...res.result.productionTask]
|
||||
this.realqty = res.result.materialTask[0].real_qty
|
||||
this.planqty = res.result.materialTask[0].plan_qty
|
||||
this.showNum1 = (res.result.finishedRes[0].real_qty + '').split('')
|
||||
this.showNum2 = (res.result.finishedRes[1].real_qty + '').split('')
|
||||
this.showNum3 = (res.result.finishedRes[2].real_qty + '').split('')
|
||||
this.setEchart01()
|
||||
this.taskData = [...res.result.productionTask]
|
||||
this.setEchart05()
|
||||
this.realqty = res.result.materialTask[0].real_qty
|
||||
this.planqty = res.result.materialTask[0].plan_qty
|
||||
this.setEchart01()
|
||||
// 五种状态:未成产、已下发、生产中、停止、完成
|
||||
},
|
||||
setEchart01 () {
|
||||
|
||||
Reference in New Issue
Block a user