|
@@ -43,8 +43,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
<semiProductJobBomPL
|
|
<semiProductJobBomPL
|
|
|
- v-if='objData.semiProductListPL && objData.semiProductListPL.length != 0 && taskType != 4 && taskType != 6 && objData.singleReport == 0'
|
|
|
|
|
- :item='objData' :list='objData.semiProductListPL' :equipmentList="objData.equipmentList">
|
|
|
|
|
|
|
+ v-if='objData.semiProductList && objData.semiProductList.length != 0 && taskType != 4 && taskType != 6 && objData.singleReport == 0'
|
|
|
|
|
+ :item='objData' :list='objData.semiProductList' :equipmentList="objData.equipmentList">
|
|
|
</semiProductJobBomPL>
|
|
</semiProductJobBomPL>
|
|
|
|
|
|
|
|
|
|
|
|
@@ -473,7 +473,6 @@
|
|
|
this.objData['palletList'] = []
|
|
this.objData['palletList'] = []
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
-
|
|
|
|
|
if (!this.objData.hasOwnProperty('revolvingDiskList')) {
|
|
if (!this.objData.hasOwnProperty('revolvingDiskList')) {
|
|
|
this.objData['revolvingDiskList'] = []
|
|
this.objData['revolvingDiskList'] = []
|
|
|
}
|
|
}
|
|
@@ -522,7 +521,7 @@
|
|
|
a
|
|
a
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
- this.objData.semiProductListPL = this.objData.semiProductList
|
|
|
|
|
|
|
+ this.objData.semiProductList = this.objData.semiProductList
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@@ -690,7 +689,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
if (this.objData.productRecycleList.length > 0 && this.clientEnvironmentId != 2) {
|
|
if (this.objData.productRecycleList.length > 0 && this.clientEnvironmentId != 2) {
|
|
|
-
|
|
|
|
|
const isRecycle = await this.checkRecycle()
|
|
const isRecycle = await this.checkRecycle()
|
|
|
if (!isRecycle) {
|
|
if (!isRecycle) {
|
|
|
return false
|
|
return false
|
|
@@ -702,7 +700,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
if (this.taskType == 4 && this.clientEnvironmentId != 3) {
|
|
if (this.taskType == 4 && this.clientEnvironmentId != 3) {
|
|
|
const isPack = await this.checkPack()
|
|
const isPack = await this.checkPack()
|
|
|
|
|
|
|
@@ -715,7 +712,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- if (this.objData.currentTaskDiagram.isFirstTask == 0) { // isFirstTask 1是 判断是否首工序
|
|
|
|
|
|
|
+ if (this.objData.currentTaskDiagram.isFirstTask == 0 ) { // isFirstTask 1是 判断是否首工序
|
|
|
|
|
|
|
|
const isFirstTask = await this.checkFirstTask()
|
|
const isFirstTask = await this.checkFirstTask()
|
|
|
if (!isFirstTask) {
|
|
if (!isFirstTask) {
|
|
@@ -737,7 +734,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
|
jobSave(this.objData).then(res => {
|
|
jobSave(this.objData).then(res => {
|
|
|
|
|
|
|
|
|
|
|
|
@@ -928,6 +924,7 @@
|
|
|
this.objData['turnover'] = res.extInfo.turnover
|
|
this.objData['turnover'] = res.extInfo.turnover
|
|
|
this.objData['productRecycleList'] = res.extInfo.productRecycleList
|
|
this.objData['productRecycleList'] = res.extInfo.productRecycleList
|
|
|
this.objData['semiProductList'] = res.extInfo.semiProductList
|
|
this.objData['semiProductList'] = res.extInfo.semiProductList
|
|
|
|
|
+
|
|
|
this.objData['modelList'] = res.extInfo.modelList
|
|
this.objData['modelList'] = res.extInfo.modelList
|
|
|
|
|
|
|
|
|
|
|