|
@@ -152,7 +152,6 @@ export default {
|
|
|
|
|
|
|
|
watch: {
|
|
watch: {
|
|
|
item: {
|
|
item: {
|
|
|
- immediate: true,
|
|
|
|
|
deep: true,
|
|
deep: true,
|
|
|
handler(newVal) {
|
|
handler(newVal) {
|
|
|
console.log('jhsaighajighsag',newVal)
|
|
console.log('jhsaighajighsag',newVal)
|
|
@@ -176,13 +175,10 @@ export default {
|
|
|
newVal.workReportInfo.formedNum = formedNum;
|
|
newVal.workReportInfo.formedNum = formedNum;
|
|
|
newVal.workReportInfo.notFormedNum = noFormingNum;
|
|
newVal.workReportInfo.notFormedNum = noFormingNum;
|
|
|
newVal.workReportInfo.formedWeight = parseFloat(formedWeight.toFixed(2))
|
|
newVal.workReportInfo.formedWeight = parseFloat(formedWeight.toFixed(2))
|
|
|
- this.$set(this.item.workReportInfo,'formedWeight',formedWeight.toFixed(2))
|
|
|
|
|
|
|
+ // this.$set(this.item.workReportInfo,'formedWeight',formedWeight.toFixed(2))
|
|
|
newVal.workReportInfo.notFormedWeight = parseFloat(notFormedWeight.toFixed(2))
|
|
newVal.workReportInfo.notFormedWeight = parseFloat(notFormedWeight.toFixed(2))
|
|
|
- this.$set(this.item.workReportInfo,'notFormedWeight',notFormedWeight.toFixed(2))
|
|
|
|
|
|
|
+ // this.$set(this.item.workReportInfo,'notFormedWeight',notFormedWeight.toFixed(2))
|
|
|
this.$forceUpdate()
|
|
this.$forceUpdate()
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|