|
|
|
@ -12,7 +12,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
<div class="topNum differenceValue">
|
|
|
|
|
{{
|
|
|
|
|
(['0', '0', '0', '0']).concat((Math.abs(practicalNum - planNum)).toString().split('')).slice(-4).join('')
|
|
|
|
|
(['0', '0', '0', '0']).concat(differenceNum.toString().split('')).slice(-4).join('')
|
|
|
|
|
}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="title" v-for="(i,k) in title"
|
|
|
|
@ -385,6 +385,7 @@ export default {
|
|
|
|
|
show: 0,
|
|
|
|
|
planNum: 0,
|
|
|
|
|
practicalNum: 0,
|
|
|
|
|
differenceNum: 0,
|
|
|
|
|
total: {},
|
|
|
|
|
title: [
|
|
|
|
|
'生产计划',
|
|
|
|
@ -442,6 +443,7 @@ export default {
|
|
|
|
|
f: (e) => {
|
|
|
|
|
this.planNum = e[0].X_VALUE
|
|
|
|
|
this.practicalNum = e[0].Y_VALUE_ONE
|
|
|
|
|
this.differenceNum = e[0].Y_VALUE_TWO
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|