|
|
@@ -154,7 +154,6 @@
|
|
|
</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>
|
|
|
@@ -162,15 +161,15 @@
|
|
|
</div>
|
|
|
|
|
|
<workOrderBom2
|
|
|
- :item="objData"
|
|
|
- v-if="objData"
|
|
|
- :isDetails="true"
|
|
|
- ></workOrderBom2>
|
|
|
+ :item="objData"
|
|
|
+ v-if="objData"
|
|
|
+ :isDetails="true"
|
|
|
+ ></workOrderBom2>
|
|
|
|
|
|
- <!-- <detailsBom
|
|
|
+ <detailsBom
|
|
|
v-if="objData.detailList.length != 0"
|
|
|
:detailList="objData.detailList"
|
|
|
- ></detailsBom> -->
|
|
|
+ ></detailsBom>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -201,12 +200,9 @@
|
|
|
|
|
|
// import packingBom from '../jobBooking/components/packingBomDetails.vue';
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
+ import detailsBom from '../warehousing/components/detailsBom.vue';
|
|
|
import workOrderBom2 from '../warehousing/components/workOrderBom.vue';
|
|
|
|
|
|
-
|
|
|
export default {
|
|
|
components: {
|
|
|
workOrderBom,
|
|
|
@@ -230,8 +226,8 @@
|
|
|
packingTgBom,
|
|
|
// packingBom,
|
|
|
|
|
|
- // detailsBom,
|
|
|
- workOrderBom2
|
|
|
+ detailsBom,
|
|
|
+ workOrderBom2
|
|
|
},
|
|
|
props: {
|
|
|
routeObj: {
|
|
|
@@ -284,9 +280,9 @@
|
|
|
workOrderId: this.routeObj.id,
|
|
|
taskId: taskId
|
|
|
};
|
|
|
- console.log( this.taskType)
|
|
|
+ console.log(this.taskType);
|
|
|
let URL = this.taskType == 5 ? listApplystorage : listWorkReport;
|
|
|
- console.log(URL)
|
|
|
+ console.log(URL);
|
|
|
URL(param).then((res) => {
|
|
|
this.list = JSON.parse(JSON.stringify(res));
|
|
|
});
|
|
|
@@ -328,15 +324,14 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
.title_card {
|
|
|
- height: 35px;
|
|
|
- width: 100%;
|
|
|
- background: #157A2C;
|
|
|
- font-size: 16px;
|
|
|
- color: #fff;
|
|
|
- line-height: 35px;
|
|
|
- padding: 0 20px;
|
|
|
- box-sizing: border-box;
|
|
|
- }
|
|
|
+ height: 35px;
|
|
|
+ width: 100%;
|
|
|
+ background: #157a2c;
|
|
|
+ font-size: 16px;
|
|
|
+ color: #fff;
|
|
|
+ line-height: 35px;
|
|
|
+ padding: 0 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ }
|
|
|
</style>
|