@@ -110,7 +110,7 @@
<script>
export default {
props: {
- objItem: {
+ item: {
type: Object,
default: () => {}
},
@@ -128,17 +128,17 @@
watch: {
- immediate: true,
- deep: true,
- handler(newVal) {
- this.item = newVal
- if(this.item.workReportInfo.formedNum) {
- this.blurNum()
- }
- this.$forceUpdate()
- },
+ // objItem: {
+ // immediate: true,
+ // deep: true,
+ // handler(newVal) {
+ // this.item = newVal
+ // if(this.item.workReportInfo.formedNum) {
+ // this.blurNum()
+ // }
+ // this.$forceUpdate()
+ // },
notFormed: {
immediate: true,
deep: true,
@@ -151,8 +151,6 @@
data() {
return {
-
- item: {},
notFormedList: []
}
@@ -22,7 +22,7 @@
</modelBom>
- <jobBom v-if='isLoad' :objItem='objData' :notFormed='objData.notFormedList' @penalize='penalize'
+ <jobBom v-if='isLoad' :item='objData' :notFormed='objData.notFormedList' @penalize='penalize'
@modeNum='modeNum'></jobBom>
<palletBom v-if="objData.palletList.length != 0" :palletList='objData.palletList'></palletBom>
@@ -45,7 +45,6 @@
import {
getByIdReport,
jobSave
} from '@/api/pda/jobBooking.js'