change
This commit is contained in:
@@ -132,15 +132,16 @@ export default {
|
||||
// },
|
||||
async initData () {
|
||||
let res = await productionStatistics()
|
||||
this.resData = res
|
||||
this.taskData = [...res.productionTask]
|
||||
this.realqty = res.materialTask[0].real_qty
|
||||
this.planqty = res.materialTask[0].plan_qty
|
||||
this.showNum1 = (res.finishedTask[0].real_qty + '').split('')
|
||||
this.showNum2 = (res.finishedTask[1].real_qty + '').split('')
|
||||
this.showNum3 = (res.finishedTask[2].real_qty + '').split('')
|
||||
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.setEchart05()
|
||||
console.log(this.resData.materialTask[0].plan_qty)
|
||||
},
|
||||
setEchart01 () {
|
||||
let data = [
|
||||
|
||||
Reference in New Issue
Block a user