|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
- <div class="feed_box">
|
|
|
|
|
|
|
+ <div class="" v-if="taskType != 5">
|
|
|
<div v-for="(objData, index) in list" :key="index" class="card_box">
|
|
<div v-for="(objData, index) in list" :key="index" class="card_box">
|
|
|
<div class="rx-bc">
|
|
<div class="rx-bc">
|
|
|
<div class="item_box rx-bc">
|
|
<div class="item_box rx-bc">
|
|
@@ -63,7 +63,9 @@
|
|
|
</palletBom>
|
|
</palletBom>
|
|
|
|
|
|
|
|
<revolvingDiskBom
|
|
<revolvingDiskBom
|
|
|
- v-if="objData.revolvingDiskList && objData.revolvingDiskList.length > 0"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ objData.revolvingDiskList && objData.revolvingDiskList.length > 0
|
|
|
|
|
+ "
|
|
|
pattern="job"
|
|
pattern="job"
|
|
|
:revolvingDiskList="objData.revolvingDiskList"
|
|
:revolvingDiskList="objData.revolvingDiskList"
|
|
|
></revolvingDiskBom>
|
|
></revolvingDiskBom>
|
|
@@ -71,7 +73,8 @@
|
|
|
<semiProductJobBom
|
|
<semiProductJobBom
|
|
|
v-if="
|
|
v-if="
|
|
|
objData.semiProductList &&
|
|
objData.semiProductList &&
|
|
|
- (objData.semiProductList.length != 0) & (taskType != 6) && objData.singleReport == 1
|
|
|
|
|
|
|
+ (objData.semiProductList.length != 0) & (taskType != 6) &&
|
|
|
|
|
+ objData.singleReport == 1
|
|
|
"
|
|
"
|
|
|
:list="objData.semiProductList"
|
|
:list="objData.semiProductList"
|
|
|
:item="objData"
|
|
:item="objData"
|
|
@@ -82,7 +85,8 @@
|
|
|
<semiProductJobBomPL
|
|
<semiProductJobBomPL
|
|
|
v-if="
|
|
v-if="
|
|
|
objData.semiProductList &&
|
|
objData.semiProductList &&
|
|
|
- (objData.semiProductList.length != 0) & (taskType != 6) && objData.singleReport ==0
|
|
|
|
|
|
|
+ (objData.semiProductList.length != 0) & (taskType != 6) &&
|
|
|
|
|
+ objData.singleReport == 0
|
|
|
"
|
|
"
|
|
|
:list="objData.semiProductList"
|
|
:list="objData.semiProductList"
|
|
|
:item="objData"
|
|
:item="objData"
|
|
@@ -101,7 +105,10 @@
|
|
|
></oneJobQualityBom>
|
|
></oneJobQualityBom>
|
|
|
|
|
|
|
|
<byProductBom
|
|
<byProductBom
|
|
|
- v-if="objData.productRecycleList && objData.productRecycleList.length != 0"
|
|
|
|
|
|
|
+ v-if="
|
|
|
|
|
+ objData.productRecycleList &&
|
|
|
|
|
+ objData.productRecycleList.length != 0
|
|
|
|
|
+ "
|
|
|
:list="objData.productRecycleList"
|
|
:list="objData.productRecycleList"
|
|
|
:isDetails="true"
|
|
:isDetails="true"
|
|
|
>
|
|
>
|
|
@@ -134,7 +141,7 @@
|
|
|
:list="objData.packInfo.pickOutInList"
|
|
:list="objData.packInfo.pickOutInList"
|
|
|
:isWarehousing="true"
|
|
:isWarehousing="true"
|
|
|
:isDetails="true"
|
|
:isDetails="true"
|
|
|
- :item='objData'
|
|
|
|
|
|
|
+ :item="objData"
|
|
|
></packingTgBom>
|
|
></packingTgBom>
|
|
|
|
|
|
|
|
<!-- <packingBom
|
|
<!-- <packingBom
|
|
@@ -145,6 +152,27 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+
|
|
|
|
|
+ <div v-if="taskType == 5">
|
|
|
|
|
+
|
|
|
|
|
+ <div class="card_box" v-for="(objData, index) in list" :key="index">
|
|
|
|
|
+ <div class="rx-bc title_card">
|
|
|
|
|
+ <div>{{ index + 1 }}</div>
|
|
|
|
|
+ <div>报工时间: {{ objData.createTime }}</div>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <workOrderBom2
|
|
|
|
|
+ :item="objData"
|
|
|
|
|
+ v-if="objData"
|
|
|
|
|
+ :isDetails="true"
|
|
|
|
|
+ ></workOrderBom2>
|
|
|
|
|
+
|
|
|
|
|
+ <!-- <detailsBom
|
|
|
|
|
+ v-if="objData.detailList.length != 0"
|
|
|
|
|
+ :detailList="objData.detailList"
|
|
|
|
|
+ ></detailsBom> -->
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
@@ -170,7 +198,15 @@
|
|
|
|
|
|
|
|
import revolvingDiskBom from '../feeding/components/revolvingDiskBom.vue';
|
|
import revolvingDiskBom from '../feeding/components/revolvingDiskBom.vue';
|
|
|
import packingTgBom from '../jobBooking/components/packingTgBom.vue';
|
|
import packingTgBom from '../jobBooking/components/packingTgBom.vue';
|
|
|
|
|
+
|
|
|
// import packingBom from '../jobBooking/components/packingBomDetails.vue';
|
|
// import packingBom from '../jobBooking/components/packingBomDetails.vue';
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ import workOrderBom2 from '../warehousing/components/workOrderBom.vue';
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
workOrderBom,
|
|
workOrderBom,
|
|
@@ -191,11 +227,11 @@
|
|
|
// sampleBom,
|
|
// sampleBom,
|
|
|
palletBom,
|
|
palletBom,
|
|
|
revolvingDiskBom,
|
|
revolvingDiskBom,
|
|
|
- packingTgBom
|
|
|
|
|
|
|
+ packingTgBom,
|
|
|
// packingBom,
|
|
// packingBom,
|
|
|
|
|
|
|
|
// detailsBom,
|
|
// detailsBom,
|
|
|
- // workOrderBom2
|
|
|
|
|
|
|
+ workOrderBom2
|
|
|
},
|
|
},
|
|
|
props: {
|
|
props: {
|
|
|
routeObj: {
|
|
routeObj: {
|
|
@@ -248,7 +284,9 @@
|
|
|
workOrderId: this.routeObj.id,
|
|
workOrderId: this.routeObj.id,
|
|
|
taskId: taskId
|
|
taskId: taskId
|
|
|
};
|
|
};
|
|
|
|
|
+ console.log( this.taskType)
|
|
|
let URL = this.taskType == 5 ? listApplystorage : listWorkReport;
|
|
let URL = this.taskType == 5 ? listApplystorage : listWorkReport;
|
|
|
|
|
+ console.log(URL)
|
|
|
URL(param).then((res) => {
|
|
URL(param).then((res) => {
|
|
|
this.list = JSON.parse(JSON.stringify(res));
|
|
this.list = JSON.parse(JSON.stringify(res));
|
|
|
});
|
|
});
|
|
@@ -289,4 +327,16 @@
|
|
|
margin-left: 8px;
|
|
margin-left: 8px;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+ .title_card {
|
|
|
|
|
+ height: 35px;
|
|
|
|
|
+ width: 100%;
|
|
|
|
|
+ background: #157A2C;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ color: #fff;
|
|
|
|
|
+ line-height: 35px;
|
|
|
|
|
+ padding: 0 20px;
|
|
|
|
|
+ box-sizing: border-box;
|
|
|
|
|
+ }
|
|
|
</style>
|
|
</style>
|