|
|
@@ -29,7 +29,7 @@
|
|
|
|
|
|
<view v-if="clientEnvironmentId == 3 || objData.singleReport !== 1">
|
|
|
|
|
|
- <jobBom v-if='isLoad' :item='objData' ref='jobRef' :notFormed='objData.notFormedList'
|
|
|
+ <jobBom v-if='isLoad' :item='objData' ref='jobReftg' :notFormed='objData.notFormedList'
|
|
|
@penalize='penalize' @modeNum='modeNum'></jobBom>
|
|
|
</view>
|
|
|
|
|
|
@@ -56,7 +56,7 @@
|
|
|
<view v-if="clientEnvironmentId == 3 || this.objData.singleReport !== 1">
|
|
|
<semiProductJobBom
|
|
|
v-if='objData.semiProductList && objData.semiProductList.length != 0 && taskType != 4 && taskType != 6 && objData.singleReport == 1'
|
|
|
- :item='objData' :list='objData.semiProductList' :equipmentList="objData.equipmentList">
|
|
|
+ :item='objData' :list='objData.semiProductList' :equipmentList="objData.equipmentList" @weightEmit='weightEmit'>
|
|
|
</semiProductJobBom>
|
|
|
</view>
|
|
|
|
|
|
@@ -375,7 +375,14 @@ export default {
|
|
|
},
|
|
|
|
|
|
methods: {
|
|
|
-
|
|
|
+ weightEmit(formedWeight,notFormedWeight){
|
|
|
+ this.$refs.jobReftg.fWeightInput(formedWeight,notFormedWeight)
|
|
|
+ this.$nextTick(() => {
|
|
|
+ this.$set(this.objData.workReportInfo,'formedWeight',formedWeight)
|
|
|
+ this.$set(this.objData.workReportInfo,'notFormedWeight',notFormedWeight)
|
|
|
+ })
|
|
|
+ this.$forceUpdate()
|
|
|
+ },
|
|
|
|
|
|
// 相机扫码
|
|
|
HandlScanCode() {
|
|
|
@@ -955,7 +962,6 @@ export default {
|
|
|
|
|
|
},
|
|
|
|
|
|
-
|
|
|
checkPack() {
|
|
|
uni.hideLoading();
|
|
|
return new Promise((resolve) => {
|
|
|
@@ -1094,6 +1100,7 @@ export default {
|
|
|
|
|
|
})
|
|
|
},
|
|
|
+
|
|
|
|
|
|
|
|
|
},
|